INNER CODE UNIT · Python

apply_canny

Boese0601/MagicDance · model_lib/ControlNet/annotator/canny/__init__.py:4

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

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…