[Bug 480772] Re: OpenCV 2 incompatibilities

Andrew Mitchell ajmitch at ihug.co.nz
Tue May 25 21:53:55 BST 2010


** Changed in: harpia (Ubuntu Lucid)
       Status: Fix Released => In Progress

-- 
OpenCV 2 incompatibilities
https://bugs.launchpad.net/bugs/480772
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.

Status in Harpia Project: Fix Released
Status in “harpia” package in Ubuntu: Fix Released
Status in “harpia” source package in Lucid: In Progress

Bug description:
In Lucid Lynx, Ubuntu uses Opencv2.

OpenCV 2 changes the prototype of some functions (using for example default parameters):

/* save image to file */
CVAPI(int) cvSaveImage( const char* filename, const CvArr* image,
                        const int* params CV_DEFAULT(0) );

Since this third parameter is not accounted for in Harpia, the user will get errors when compiling/running any programs (even the samples).

TEST CASE: Open Harpia, go to "Help>Examples>01-Hello-World.hrp", press F9 (run). This will exit with a error message/red light
(the compile error msg can be viewed clicking twice on the "Show Image" block). This way the application is totally unusable.
Expected behavior would be to have a green light on the status message and seeing the image (lenna.png) when clicking twice on
the "Show Image" block.
"Help>Examples>04-Face-Detection-And-Cropping.hrp" should also work in machines with supported & configured webcam, this is also a test case for the added dependencies.






More information about the Ubuntu-sponsors mailing list