Use CLIP
Run CLIP on frames in a video.
Use CLIP with the Video Inference API
pip install roboflowfrom roboflow import Roboflow, CLIPModel
rf = Roboflow(api_key="API_KEY")
model = CLIPModel()
job_id, signed_url, expire_time = model.predict_video(
"football-video.mp4",
fps=5,
prediction_type="batch-video",
)
results = model.poll_until_video_results(job_id)
print(results)Last updated
Was this helpful?