Re: Video io, 'get' not working with OpenCv
Seems like the python bindings disabled that functionality
https://code.ros.org/trac/opencv/changeset/6358
On Thu, Dec 22, 2011 at 12:31 PM, Pieter Holtzhausen
Hello
Yeah opencv made their python bindings work a bit less well with 2.3.1 A workaround is to use cv.fromarray(img_mat) instead of img_mat wherever it complains in video.py. It is strange since automatic conversion was one of the cool features of the binding system...but I'll investigate a bit further.
Regards Pieter
On Thu, Dec 22, 2011 at 10:51 AM, robbert
wrote: On 17-12-11 23:55, Stéfan van der Walt wrote:
Hi Robbert
On Sat, Dec 17, 2011 at 7:50 AM, robbert
wrote: I've wrote a little test program to a extract a frame of a video file (for processing), but I can't get it work.
Thanks for the report. This works using GStreamer, so tomorrow I'll compile OpenCV and determine what the problem is.
Thanks Stéfan & Christoph for your responses. If this problem is solved, I've probably all the necessary toolboxes to leave matlab behind!
In the meanwhile I tried to install the alternative back-end, GStreamer, but without success. The python demo's (of GStreamer) wont work, so there is no point in posting the error that scikits-image generates.
kind regards,
Robbert
participants (1)
-
Pieter Holtzhausen