I’m trying to run some old code from gaussian filter when I find out that python launcher gets stuck trying to do the imshow function. I tried:
- Used Matplotlib to display a graph to see if the python launcher was the problem but no, graph showed up fine.
- Remove process in between just to have the image read and display in fear that something in my code was breaking the launcher but no success.
- Reinstalled opencv-python but no success.
Also saw one question like this in the google search but OP deleted it.
Has anyone encounter this issue or has any fix for this?
Example code:
import cv2 as cv
filename = 'chessboard.png'
img = cv.imread(filename)
cv.imshow('dst',img)
cv.waitKey(0)
OS: MacOS Big Sur (11.0.1)
Kenil Vasani
I resolved the issue with below steps:
pip install opencv-python opencv-python-headless