Open in Web IDE
Quickly and easily edit multiple files in your project.
Edit
Edit this file only.
import cv2
def apply_canny(img, low_threshold, high_threshold):
return cv2.Canny(img, low_threshold, high_threshold)