Use Gaze Detection
Run a gaze detection model on frames in a video.
Use Gaze Detection with the Video Inference API
pip install roboflowfrom roboflow import Roboflow, GazeModel
rf = Roboflow(api_key="API_KEY")
model = GazeModel()
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?