Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV unable to read certain jpg's

OpenCV can't open certain jpg files:

import cv2

img = cv2.imread('/absolute_path/sun_afmzwxkzmxkbamqi.jpg',0)

img is None # True

Image can be downloaded here: https://www.dropbox.com/s/aaldwlvp2zwqcqg/sun_afmzwxkzmxkbamqi.jpg?dl=0

click to hide/show revision 2
No.2 Revision

updated 2016-02-08 23:59:51 -0600

berak gravatar image

OpenCV unable to read certain jpg's

OpenCV can't open certain jpg files:

import cv2

img = cv2.imread('/absolute_path/sun_afmzwxkzmxkbamqi.jpg',0)

img is None # True

Image can be downloaded here: https://www.dropbox.com/s/aaldwlvp2zwqcqg/sun_afmzwxkzmxkbamqi.jpg?dl=0

image description

OpenCV unable to read certain jpg's

OpenCV can't open certain jpg files:

import cv2

img = cv2.imread('/absolute_path/sun_afmzwxkzmxkbamqi.jpg',0)

img is None # True

Image can be downloaded here: https://www.dropbox.com/s/aaldwlvp2zwqcqg/sun_afmzwxkzmxkbamqi.jpg?dl=0

image description

Specs: OpenCV 3.1.0 Ubuntu 14.04.1 LTS Installed via Anaconda.

Media I/O: ZLib: build (ver 1.2.8) JPEG: build (ver 90) WEBP: build (ver 0.3.1) PNG: build (ver 1.6.19) TIFF: build (ver 42 - 4.0.2) JPEG 2000: build (ver 1.900.1) OpenEXR: build (ver 1.7.1) GDAL: NO

OpenCV unable to read certain jpg's

OpenCV can't open certain jpg files:

import cv2

img = cv2.imread('/absolute_path/sun_afmzwxkzmxkbamqi.jpg',0)

img is None # True

Image can be downloaded here: https://www.dropbox.com/s/aaldwlvp2zwqcqg/sun_afmzwxkzmxkbamqi.jpg?dl=0

image description

Specs: Specs:

OpenCV 3.1.0 3.1.0

Ubuntu 14.04.1 LTS LTS

Installed via Anaconda.

Media I/O: ZLib: build (ver 1.2.8) JPEG: build (ver 90) WEBP: build (ver 0.3.1) PNG: build (ver 1.6.19) TIFF: build (ver 42 - 4.0.2) JPEG 2000: build (ver 1.900.1) OpenEXR: build (ver 1.7.1) GDAL: NO

click to hide/show revision 5
No.5 Revision

updated 2016-02-09 02:31:56 -0600

berak gravatar image

OpenCV unable to read certain jpg's

OpenCV can't open certain jpg files:

import cv2

img = cv2.imread('/absolute_path/sun_afmzwxkzmxkbamqi.jpg',0)

img is None # True

Image can be downloaded here: https://www.dropbox.com/s/aaldwlvp2zwqcqg/sun_afmzwxkzmxkbamqi.jpg?dl=0

image description

Specs:

OpenCV 3.1.0

Ubuntu 14.04.1 LTS

Installed via Anaconda.

Media I/O: ZLib: build (ver 1.2.8) JPEG: build (ver 90) WEBP: build (ver 0.3.1) PNG: build (ver 1.6.19) TIFF: build (ver 42 - 4.0.2) JPEG 2000: build (ver 1.900.1) OpenEXR: build (ver 1.7.1) GDAL: NO