Questions tagged [imread]

Use this tag for questions regarding reading images in OpenCV, Matlab or similar image processing languages.

cv::imread() and cv2.imread() are ways to read images using OpenCV in C++ and Python.

imread(filename) is how you would read the image in Matlab.

273 questions
-2
votes
2 answers

How to read multiple images in python

I want read 100 colour images and use them for further processing. Suppose one image size is 256x 256 by reading it in python openCV its size is (256,256,3). I now want to read 100 images and after reading I have to get the size as (100,256,256,3).
-2
votes
1 answer

I cant using imread by path adress opencv 2.4.13 visual studio 2013

hi guys i cant reading image by this code but if i don't use a path address for image and copy image in right folder and use this img = imread("ali3.jpg"); its worked. i using windows 10 64 bit visual studio 2013 and opencv 2.4.13 thanks for…
H arad
  • 1
  • 4
-3
votes
1 answer

opencv2 python3 imread with NoneType

I program in Ubuntu system with python3, opencv2. There are several images in the folder that need to be processed. When I use imread, print(img.shape) shows AttributeError: 'NoneType' object has no attribute 'shape'. And I checked the created…
user271856
  • 11
  • 3
1 2 3
18
19