[Bug 398925] Re: conversion from PIL image to OpenCV image fails
fixed in 2.1 (natty) ** Changed in: opencv (Ubuntu) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/398925 Title: conversion from PIL image to OpenCV image fails -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 398925] Re: conversion from PIL image to OpenCV image fails
** Changed in: opencv (Ubuntu) Status: New = Confirmed -- conversion from PIL image to OpenCV image fails https://bugs.launchpad.net/bugs/398925 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 398925] Re: conversion from PIL image to OpenCV image fails
** Bug watch added: SourceForge.net Tracker #1618474 http://sourceforge.net/support/tracker.php?aid=1618474 ** Also affects: opencvlib via http://sourceforge.net/support/tracker.php?aid=1618474 Importance: Unknown Status: Unknown -- conversion from PIL image to OpenCV image fails https://bugs.launchpad.net/bugs/398925 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 398925] Re: conversion from PIL image to OpenCV image fails
The bug is known upstream (at http://sourceforge.net/support/tracker.php?aid=1618474) and is fixed in upstream CVS (at http://opencvlibrary.cvs.sourceforge.net/opencvlibrary/opencv/interfaces/swig/python/imagedata.i?r1=1.3r2=1.4). The patch from CVS is attached below. It applies without problems, but apparently the _cv.cpp file which is generated by Swig is not regenerated automatically. Adding --with-swig to the configure flags (for example in debian/rules, at the end of confflags = line) is a workaround for this. ** Attachment added: Patch for interfaces/swig/python/imagedata.i from OpenCV CVS, from rev 1.3 to 1.4 http://launchpadlibrarian.net/35952187/fix-sf-1618474-from-cvs.diff -- conversion from PIL image to OpenCV image fails https://bugs.launchpad.net/bugs/398925 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs