Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
imform-dev
/
extensions
like
0
License:
agpl-3.0
Model card
Files
Files and versions
Community
main
extensions
/
sd-webui-controlnet
/
annotator
/
canny
/
__init__.py
방재호
init
b5ba7a5
over 1 year ago
raw
Copy download link
history
blame
contribute
delete
Safe
123 Bytes
import
cv2
def
apply_canny
(
img, low_threshold, high_threshold
):
return
cv2.Canny(img, low_threshold, high_threshold)