INNER CODE UNIT · Python

apply_canny

3DTopia/MaterialAnything · models/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…