Hi
I am trying to capture at high rate(>100Hz) on point grey grasshopper. My understanding is that I need to change FORMAT7 packet size to do that. but I am running to the following issue:
from pydc1394 import Camera, Camera2, Format7, Mode
cam=camera2.Camera()
camprp=Format7(cam,7)
ArgumentError Traceback (most recent call last)
in ()
1 cam=camera2.Camera()
2 camprp=Format7(cam,7)
----> 3 camprp.color_coding
/Library/Python/2.7/site-packages/pydc1394-2.0-py2.7.egg/pydc1394/camera2.pyc in color_coding(self)
777 cc = color_coding_t()
778 dll.dc1394_format7_get_color_coding(
--> 779 self._cam, self._mode_id, byref(cc))
780 return color_coding_vals[cc.value]
781
**ArgumentError: argument 1: : expected LP_camera_t instance instead of Camera**
I can't tell if it is due to how I define Format7 instance or something else.
Thanks,
Eghbal
Hi I am trying to capture at high rate(>100Hz) on point grey grasshopper. My understanding is that I need to change FORMAT7 packet size to do that. but I am running to the following issue:
from pydc1394 import Camera, Camera2, Format7, Mode cam=camera2.Camera() camprp=Format7(cam,7)
ArgumentError Traceback (most recent call last)