Ask Your Question

otterb's profile - activity

2013-02-24 04:40:21 -0500 commented answer CMU1394 from cv2 python binding?

@berak thank for the pointer to cv::getBuildInformation(). In python, I did cv2.getBuildInformation() with 2.4.4beta and 2.4.3, and they have nothing about CMU but DirectShow: YES. I guess I should check if the camera manufacture provided a DirectShow driver or filter. In fact, their SDK mentions about a filter and I did install the registry entries for them by following the installation guide. But, so far no luck.

2013-02-23 09:30:11 -0500 commented answer CMU1394 from cv2 python binding?

scanned the constant range from 0 to 10000 by [n for n in range(10000) if cv2.VideoCapture(n).isOpened()] and got no luck. Tested with ver 2.4.2.

2013-02-22 12:30:48 -0500 commented answer CMU1394 from cv2 python binding?

Thanks a lot for your suggestion. I checked all the constants under cv2 and but no luck. It seems none of these are exposed to python. I will see if manually putting the constants in highgui_c.h work or not.

2013-02-18 10:01:40 -0500 received badge  Editor (source)
2013-02-18 09:25:49 -0500 answered a question Divide picture into blocks
2013-02-17 04:30:50 -0500 asked a question CMU1394 from cv2 python binding?

Hi there,

I have a firewire camera that works fine with the CMU1394 demo software on Windows and want to use it from python cv2.CaptureVideo. I guess the release versions till 2.4.3 do not support CMU1394. I get CaptureVideo(0).isOpened() -> False.

My question is if I build with proper CMake options and/or _highgui.h setting, would I be able to use CMU from python? If so, how exactly should I go about?

I've read: C/C+ example for frame acquision with CMU and _highgui.h modification to enable CMU. But, I cannot even find _highgui.h in git head version. Does it still exist?

I also found this in the latest CMakeLists.txt: OCV_OPTION(WITH_1394 "Include IEEE1394 support" ON IF (UNIX AND NOT ANDROID AND NOT IOS AND NOT CARMA) ) Does this mean IEEE1394 is supported only in Linux now?

PS I could somehow compile the opencv source on Windows but this did not give me what i wanted.

PS Thanks to motmot project, I could use libcamiface and its python binding and get the frame as numpy array, plug that into cv2 for displaying and saving as avi.

But, I am still interested to know if there is CMU or DirectShow option with cv2 python binding.