My code looks like this:
import cv2 import numpy as np img = cv2.imread(\'my_image.png\') gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) edges = cv2.Canny(gray