I am going crazy as I am unable to read the image using cv2 library. I am running this code in Jupyter Notebook. I have the image in folder as shown below:
image_path = 'traffic-light.png'
image = cv2.imread(image_path)
When I run the code, I get the following error:
[ WARN:[email protected]] global loadsave.cpp:248 findDecoder imread_('traffic-light.png'): can't open/read file: check file path/integrity
4