Display CV2 Image in Jupyter/Google Colab - Lua Software
code.luasoftware.com › tutorials › jupyterAug 13, 2020 · This following doesn’t work as there is no x-window in Jupyter or Google Colab. import cv2 cv2.imshow("result", image) Option 1: Google Colab If you are using Google Colab from google.colab.patches import cv2_imshow cv2_imshow(image) NOTE: source code fro cv2_imshow Option 2: IPython.display and PIL from PIL import Image from IPython.display import display, clear_output # convert color from ...