Ask Your Question

xamox's profile - activity

2018-06-18 10:13:36 -0500 received badge  Notable Question (source)
2017-10-11 13:20:16 -0500 received badge  Famous Question (source)
2015-03-03 03:56:35 -0500 received badge  Popular Question (source)
2014-03-12 12:29:09 -0500 received badge  Notable Question (source)
2013-10-14 13:49:34 -0500 commented answer Does CUDA model effect (increase performance) of python module?

Okay, thanks for the heads up.

2013-10-14 09:32:46 -0500 received badge  Student (source)
2013-10-14 09:28:12 -0500 asked a question Does CUDA model effect (increase performance) of python module?

I'm assuming that if I build with CUDA support to use the GPU that I should see performance increase through the python modules as well as these are essentially just calling the C/C++ functions correct?

2013-06-28 06:11:45 -0500 received badge  Popular Question (source)
2012-12-17 11:55:54 -0500 commented answer How do I get Prosilica / Allied Vision Camera (PVAPI) working with OpenCV 2.4?

Any ideas why this might be happening?

2012-11-27 14:27:49 -0500 received badge  Supporter (source)
2012-11-27 14:27:44 -0500 received badge  Scholar (source)
2012-08-13 10:29:18 -0500 commented answer How do I get Prosilica / Allied Vision Camera (PVAPI) working with OpenCV 2.4?

Thank, I now see that the wrapper is is marked as yes to build. I am trying to run the example application here: https://github.com/xamox/OpenCV-Camera/blob/master/show-camera.cpp

Except I've uncommented the: CvCapture* capture = cvCaptureFromCAM( CV_CAP_PVAPI )

It will build but I'm getting capture is NULL.

2012-08-10 15:23:57 -0500 asked a question How do I get Prosilica / Allied Vision Camera (PVAPI) working with OpenCV 2.4?

I have a prosilica (allied vision) manta G032C GiG-E camera that I am trying to get working with OpenCV 2.4 under Ubuntu Linux 12.04. Currently I have the Prosilica camera drivers installed and can run the SampleViewer application and see images fine. What I am trying to do now is build OpenCV with the PvAPI wrapper that is included.

I tried to run:

cmake -D WITH_PVAPI=ON ..

from the build directory, but the status output looks like this:

-- Detected version of GNU GCC: 46 (406)
-- Extracting svn version, please wait...
-- SVNVERSION: exported
-- Found OpenEXR: /usr/lib/libIlmImf.so
-- checking for module 'gstreamer-app-0.10'
--   package 'gstreamer-app-0.10' not found
-- checking for module 'libdc1394-2'
--   package 'libdc1394-2' not found
-- checking for module 'libdc1394'
--   package 'libdc1394' not found
-- Looking for linux/videodev.h
-- Looking for linux/videodev.h - not found
-- Looking for linux/videodev2.h
-- Looking for linux/videodev2.h - found
-- checking for module 'libavcodec'
--   package 'libavcodec' not found
-- checking for module 'libavformat'
--   package 'libavformat' not found
-- checking for module 'libavutil'
--   package 'libavutil' not found
-- checking for module 'libswscale'
--   package 'libswscale' not found
-- Looking for libavformat/avformat.h
-- Looking for libavformat/avformat.h - not found
-- Looking for ffmpeg/avformat.h
-- Looking for ffmpeg/avformat.h - not found
CUDA_TOOLKIT_ROOT_DIR not found or specified
-- Could NOT find CUDA (missing:  CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) (Required is at least version "4.1")
-- Found Sphinx 1.1.3: /usr/bin/sphinx-build
-- 
-- General configuration for OpenCV 2.4.2 =====================================
-- 
--   Platform:
--     Host:                        Linux 3.2.0-27-generic x86_64
--     CMake:                       2.8.7
--     CMake generator:             Unix Makefiles
--     CMake build tool:            /usr/bin/make
--     Configuration:               Release
-- 
--   C/C++:
--     Built as dynamic libs?:      YES
--     C++ Compiler:                /usr/bin/c++ (ver 4.6.3)
--     C++ flags (Release):         -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -ffunction-sections -O3 -DNDEBUG  -DNDEBUG
--     C++ flags (Debug):           -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -ffunction-sections -g  -O0 -DDEBUG -D_DEBUG -ggdb3
--     C Compiler:                  /usr/bin/gcc
--     C flags (Release):           -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -ffunction-sections -O3 -DNDEBUG  -DNDEBUG
--     C flags (Debug):             -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -ffunction-sections -g  -O0 -DDEBUG -D_DEBUG -ggdb3
--     Linker flags (Release):      
--     Linker flags (Debug):        
--     Precompiled headers:         NO
-- 
--   OpenCV modules:
--     To be built:                 core imgproc flann highgui features2d calib3d ml video objdetect contrib nonfree gpu legacy photo python stitching ts videostab
--     Disabled:                    -
--     Disabled by dependency:      -
--     Unavailable:                 androidcamera java world
-- 
--   GUI: 
--     QT 4.x:                      NO
--     GTK+ 2.x:                    YES (ver 2.24.10)
--     GThread :                    YES (ver 2.32.3)
--     GtkGlExt:                    NO
--     OpenGL support:              NO
-- 
--   Media I/O: 
--     ZLib:                        /usr/lib/x86_64-linux-gnu/libz.so (ver 1.2.3.4)
--     JPEG:                        /usr/lib/x86_64-linux-gnu/libjpeg.so (ver )
--     PNG:                         /usr/lib/x86_64-linux-gnu ...
(more)
2012-08-09 11:49:26 -0500 answered a question Camera is not working in OpenCV on Ubuntu 12.04 with version 2.3.1 or 2.4.2

Okay, this appears to be working with OpenCV 2.4.2. Not sure what I was doing differently before, verified for 2.3 I run:

sudo make uninstall

before 2.4 running:

sudo make install

So maybe something was cached, or I had never completely removed 2.3 before, which still is not working but 2.4 is, which is fine.

2012-08-09 10:40:45 -0500 commented answer Camera is not working in OpenCV on Ubuntu 12.04 with version 2.3.1 or 2.4.2

Alas, I got quite excited as I thought this may fix it, but still getting NULL when trying to capture even with sudo.

2012-08-08 15:41:04 -0500 asked a question Camera is not working in OpenCV on Ubuntu 12.04 with version 2.3.1 or 2.4.2

I have tried to build the example but am getting a NULL when trying to capture the device.

Feel free to grab my code here at test for yourself: https://github.com/xamox/OpenCV-Camera

The camera works fine as I'm able to use it with Cheese, Guvcview. I have tested a lot of variations to the cvCaptureFromCAM( CV_CAP_ANY ), as in 0,1,2,-1, etc. I also tried using the VideoCapture function, but doesn't appear to be working.

I'm not sure what I need to do to get it working. I've tried building OpenCV 2.3.1 and 2.4.2 from source, everything builds fine, I can import in python, just can't seem to get the webcam to work. I have also tested a few external logitech webcams I have laying around. Any help would be appreciated.