Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
WGlint
/
SD_UI
like
0
arxiv:
2211.06679
Model card
Files
Files and versions
Community
main
SD_UI
/
extensions
/
sd-webui-controlnet
/
annotator
/
canny
/
__init__.py
WGlint
Upload folder using huggingface_hub
d5e1b1b
verified
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)