cv2.imshow()
is disabled in colab. So, you can import this replacement function which addresses this problem.
First import the library: from google.colab.patches import cv2_imshow
And use cv2_imshow()
instead of cv2.imshow()
where needed.
cv2.imshow()
is disabled in colab. So, you can import this replacement function which addresses this problem.
First import the library: from google.colab.patches import cv2_imshow
And use cv2_imshow()
instead of cv2.imshow()
where needed.