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