Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
wenkai
/
FAPM
like
3
License:
mit
Model card
Files
Files and versions
Community
2
53bf553
FAPM
/
lavis
/
common
/
annotator
/
canny
/
__init__.py
wenkai
Upload 560 files
4b532c0
verified
3 months ago
raw
Copy download link
history
blame
No virus
161 Bytes
import
cv2
class
CannyDetector
:
def
__call__
(
self, img, low_threshold, high_threshold
):
return
cv2.Canny(img, low_threshold, high_threshold)