Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
ddoc
/
ct
like
0
Model card
Files
Files and versions
xet
Community
main
ct
/
annotator
/
canny
/
__init__.py
ddoc
Upload 934 files
67e6429
about 2 years 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)