Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
nowsyn
/
AnyControl
like
6
Running
on
Zero
App
Files
Files
Community
1
54a7220
AnyControl
/
annotator
/
canny
/
__init__.py
nowsyn
upload codes
54a7220
3 months ago
raw
Copy download link
history
blame
No virus
163 Bytes
import
cv2
class
CannyDetector
:
def
__call__
(
self, img, low_threshold=
100
, high_threshold=
200
):
return
cv2.Canny(img, low_threshold, high_threshold)