I am trying to learn contours in python using cv2.
I tried the following code given in a tutorial guide:
import cv2 import numpy as np from matplotli
If you are getting this error on a raspberry PI with PI camera, try running this command first:
sudo modprobe bcm2835-v4l2