Using 1394 (Point Grey) Camera w/ Python

asked 2016-11-21 18:46:29 -0600

Hi everyone,

I have a Point Grey Chameleon Camera and have it working on my Raspberry Pi with OpenCV. To get a videocapture working with OpenCV I installed libdc1394 and had to compile OpenCV with 1394 flag enabled. I have gotten OpenCV and the camera to get a video stream by calling, Videocapture cap(CV_CAP_FIREWIRE + 0) using c++ code.

However I want to do my programming in python and I don't know how to call it in python. I have been using the command cv2.videocapture(CV_CAP_FIREWIRE + 0) and it does not produce a video capture. How can I access my camera that is using libdc1394 in python? Thanks

edit retag flag offensive close merge delete

Comments

  • cv2.CAP_FIREWIRE
  • check, if your cv2.so actually has support: print(cv2.getBuildInformation())
berak gravatar imageberak ( 2016-11-22 01:39:55 -0600 )edit

Thanks this worked!

idkvince gravatar imageidkvince ( 2016-11-22 22:46:48 -0600 )edit