Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
PAIR
/
Text2Video-Zero
like
380
Runtime error
App
Files
Files
Community
37
Fetching metadata from the HF Docker repository...
refs/pr/37
Text2Video-Zero
/
annotator
/
canny
/
__init__.py
lev1
auto anotators
f7ac35e
about 3 years ago
raw
Copy download link
history
blame
Safe
155 Bytes
import
cv2
class
CannyDetector
:
def
__call__
(
self, img, low_threshold, high_threshold
):
return
cv2.Canny(img, low_threshold, high_threshold)