mirror of
https://github.com/lllyasviel/ControlNet.git
synced 2026-01-10 06:28:06 -05:00
6 lines
123 B
Python
6 lines
123 B
Python
import cv2
|
|
|
|
|
|
def apply_canny(img, low_threshold, high_threshold):
|
|
return cv2.Canny(img, low_threshold, high_threshold)
|