0

I want to read an image from folder and display then from user input insert some details in dataframe. I need to loop 1000 images for annotation but i only see input not the image ''' img =Image('/content/drive/MyDrive/dataset/images/01.jpg',cv2.IMREAD_UNCHANGED) cv2_imshow(img) id = input("Enter id ") '''

1 Answers1

0

Google colab crashes if you try to display image using cv2.imshow() instead import from google.colab.patches import cv2_imshow and display using cv2_imshow()

Reference: https://stackoverflow.com/a/57651882/12606908

Faizanur Rahman
  • 474
  • 3
  • 12