Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Datasets:
artdwn
/
stable-diffusion-backup
like
1
ArXiv:
arxiv:
2211.06679
Dataset card
Files
Files and versions
Community
main
stable-diffusion-backup
/
extensions
/
sd-webui-controlnet
/
annotator
/
canny
/
__init__.py
artdwn
Upload folder using huggingface_hub
3a1d71c
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)