con / annotator /canny /__init__.py
ddoc's picture
Upload 921 files
9855482
Raw
History Blame Contribute Delete
123 Bytes
import cv2
def apply_canny(img, low_threshold, high_threshold):
return cv2.Canny(img, low_threshold, high_threshold)