My Jupyter Notebook has the following code to upload an image to Colab:
from google.colab import files uploaded = files.upload()
I get prompted
after you uploaded it to your notebook, do this
import cv2 import numpy as np from google.colab.patches import cv2_imshow img = cv2.imread('./your image file.jpg') cv2_imshow(img) cv2.waitKey()