Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

No communication between OpenCV and FlyCapture (Point Grey) in Linux 14.04

I am trying to use ArUco program (http://www.uco.es/investiga/grupos/ava/node/26) with a PontGrey Grasshopper 3. (USB 3.0). The problem is that when I run the program 'cpp-example-calibration' from OpenCV to create the file 'camera.yml' (http://maztories.blogspot.nl/2013/07/camera-calibration-with-opencv.html) I get the error: Could not initialize video (0) capture

As I understand, there is no communication between OpenCV and the camera. For this reason I tried to use the examples for Windows given in the bottom of the page https://www.ptgrey.com/KB/10861 (where it says 'These examples') without success due to the errors:

  • han@han-H81M-S2H:~/Desktop/FlyCap-OpenCV_samples/FlyCap2_to_MatImage$g++ FlyCap2_to_MatImage.cpp
  • /tmp/ccPj46ef.o: In function `main':
  • FlyCap2_to_MatImage.cpp:(.text+0x2a): undefined reference to `FlyCapture2::Error::Error()'
  • FlyCap2_to_MatImage.cpp:(.text+0x39): undefined reference to `FlyCapture2::Camera::Camera()'
  • ...
  • FlyCap2_to_MatImage.cpp:(.text._ZN2cv3Mat7releaseEv[_ZN2cv3Mat7releaseEv]+0x47): undefined reference to `cv::Mat::deallocate()'
  • collect2: error: ld returned 1 exit status

The same PointGrey webpage mentions that 'OpenCV does not support machine vision standards such as USB3 Vision and GigE Vision'.

What can I do to solve this problem? please Help :)

No communication between OpenCV and FlyCapture (Point Grey) in Linux 14.04

I am trying to use ArUco program (http://www.uco.es/investiga/grupos/ava/node/26) with a PontGrey Grasshopper 3. (USB 3.0). The problem is that when I run the program 'cpp-example-calibration' from OpenCV to create the file 'camera.yml' (http://maztories.blogspot.nl/2013/07/camera-calibration-with-opencv.html) I get the error: Could not initialize video (0) capture

As I understand, there is no communication between OpenCV and the camera. For this reason I tried to use the examples for Windows given in the bottom of the page https://www.ptgrey.com/KB/10861 (where it says 'These examples') without success due to the errors:

  • han@han-H81M-S2H:~/Desktop/FlyCap-OpenCV_samples/FlyCap2_to_MatImage$g++ FlyCap2_to_MatImage.cpp
  • /tmp/ccPj46ef.o: In function `main':
  • FlyCap2_to_MatImage.cpp:(.text+0x2a): undefined reference to `FlyCapture2::Error::Error()'
  • FlyCap2_to_MatImage.cpp:(.text+0x39): undefined reference to `FlyCapture2::Camera::Camera()'
  • ...
  • FlyCap2_to_MatImage.cpp:(.text._ZN2cv3Mat7releaseEv[_ZN2cv3Mat7releaseEv]+0x47): undefined reference to `cv::Mat::deallocate()'
  • collect2: error: ld returned 1 exit status

The same PointGrey webpage mentions that 'OpenCV does not support machine vision standards such as USB3 Vision and GigE Vision'.Vision'. and the Support Assistant wrote me in a mail: 'we wouldn't be able to provide support for using our cameras with opencv on Linux.'.

What can I do to solve this problem? Do you know how to solve this? please Help :)