Jul-04-2022, 02:18 PM
I have the following error:
Error:
currrent_pixel = my_image.load()
AttributeError: 'numpy.ndarray' object has no attribute 'load'
in the following code:import cv2 import numpy as np my_image = cv2.imread(path_of_my_image, cv2.IMREAD_UNCHANGED) currrent_pixel = my_image.load()What is wrong???