OpenCV reports IO Error opening valid image files (Bug #6)


Added by [email protected] - over 15 years ago. Updated over 15 years ago.


Status:Done Start date:
Priority:High Due date:
Assignee:James Bowman % Done:

0%

Category:core
Target version:-
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

OpenCV fails to open an image taken with Canon Powershot SD780 IS (jpg attached). The file does open successfully with several viewers (I tried Kuickshow and Gimp). When I converted the image to png with Gimp, OpenCV could then open it. Tested with both C and Python interfaces and found the same behaviour. I'm including opencv2 in my manifest and have svn'uped to revision 25819 in that package.

Thanks for developing a great product! Dave.

https://code.ros.org/trac/ros-pkg/ticket/3309


Associated revisions

Revision de7de55d
Added by Andrey Kamaev over 12 years ago

Merge pull request #6 from taka-no-me/surf_descriptor

History

Updated by James Bowman over 15 years ago

Added test case in r2315 which loads the file in bth PIL and OpenCV. Seems to work OK on Ubuntu 8.0.

David, perhaps running this test case on your system would be helpful.
From your OpenCV directory:

python tests/python/ticket_6.py
  • Status changed from Open to Done
  • (deleted custom field) set to fixed

Also available in: Atom PDF