Python & .jp2 - imread() error on Windows only (Bug #3640)
Description
Attempting to open some JPEG2000 files fails on Windows 7.
im = cv2.imread("chartsample.jp2")
error: cannot decode code stream
It succeeds on Linux (CentOS 6) and Mac (OS X 10).
Is there any workarounds?
History
Updated by chuansheng wei almost 11 years ago
i've try myself to read the img on ubuntu and win7,it succeed on both system. maybe your windows7 system got some problem
Updated by Alexander Shishkov almost 11 years ago
- Category set to highgui-images
- Assignee set to Alexander Smorkalov
- Difficulty set to Medium
- Affected version changed from 2.4.8 (latest release) to 2.4.0 - 2.4.8
Updated by Andrew Senin almost 11 years ago
- Status changed from New to Open
Updated by Maksim Shabunin over 9 years ago
Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4727