imshow: The function is not implemented
- Python
- OpenCV
You may see
Why it happens
- opencv-python-headless is installed, perhaps beside the normal one.
- You're in Colab, which has no windows.
How to fix it
pip uninstall opencv-python opencv-python-headless, thenpip install opencv-python.- In Colab use
from google.colab.patches import cv2_imshow.
It worked if: The window opens.
Tutorials where it can happen
From the official documentation. Wording from the OpenCV source; the two packages from the opencv-python page. Sources: opencv-python: README and questions.
Didn't help? Search another error or ask us.

