Python & .jp2 - imread() error on Windows only (Bug #3640)


Added by Yasuyuki Araki almost 11 years ago. Updated over 9 years ago.


Status:Open Start date:2014-04-10
Priority:Normal Due date:
Assignee:Alexander Smorkalov % Done:

0%

Category:highgui-images
Target version:-
Affected version:2.4.0 - 2.4.8 Operating System:Windows
Difficulty:Medium HW Platform:x86
Pull request:

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?


chartsample.jp2 (458.4 kB) Yasuyuki Araki, 2014-04-10 10:30 am


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

Also available in: Atom PDF