So, I was trying to open an image in PyCharm using OpenCV. I have used the following code:
import cv2
img = cv2.imread('arduino.jpg', cv2.IMREAD_GRAYSCALE)
cv2.imshow('image', img)
cv2.waitKey(0)
cv2.destroyAllWindows()
However, when I run the code, the Rocket symbol pops up in the taskbar but I don't see the image anywhere. I am using a Mac Mini.
Edit By the rocket symbol, I meant this: link
My screen: link
Versions:
Python: 3.9.12
numpy: 1.21.6
opencv-contrib-python: 4.1.2.30
opencv-python: 4.2.0.34
pip: 10.0.1
setuptools: 39.0.1
These are all the libraries I got(from numpy to setuptools).