georgefen/Face-Landmark-ControlNet
116
1import cv22 3 4class CannyDetector:5 def __call__(self, img, low_threshold, high_threshold):6 return cv2.Canny(img, low_threshold, high_threshold)7 1import cv22 3 4class CannyDetector:5 def __call__(self, img, low_threshold, high_threshold):6 return cv2.Canny(img, low_threshold, high_threshold)7