Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
camenduru
/
text2-video-zero
like
7
Text-to-Video
arxiv:
2303.13439
Model card
Files
Files and versions
xet
Community
2
refs/pr/2
text2-video-zero
/
annotator
/
canny
/
__init__.py
camenduru
thanks to Text2Video-Zero team ❤
b944fa1
almost 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)