Files
INTUIA/Testes/from roboflow import Roboflow, GazeModel.py
T

19 lines
400 B
Python
Raw Normal View History

2026-03-15 13:27:50 +00:00
from roboflow import Roboflow, GazeModel
from roboflow import Roboflow
rf = Roboflow(api_key="GAaWU6nPcVjTK3itrWLl")
project = rf.workspace().project("expression-recon")
model = project.version("1").model
job_id, signed_url, expire_time = model.predict_video(
"YOUR_VIDEO.mp4",
fps=5,
prediction_type="batch-video",
)
results = model.poll_until_video_results(job_id)
print(results)