Using cv2.imread: "<built-in function imread> returned NULL without setting an error", as if it can't open the picture or get the data
Using cv2.imread: "<built-in function imread> returned NULL without setting an error", as if it can't open the picture or get the data Question: This is the part of my code that gives the problem. It is supposed to count the amount of green pixels in a picture: img = Image.open(‘path.tif’) BLACK_MIN = np.array([0, 20, 20], …