File size: 123 Bytes
3f9c56c
 
 
 
 
1
2
3
4
5
6
import cv2


def apply_canny(img, low_threshold, high_threshold):
    return cv2.Canny(img, low_threshold, high_threshold)