We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ccef42 commit d03f256Copy full SHA for d03f256
roboflow/roboflowpy.py
@@ -123,7 +123,7 @@ def run_video_inference_api(args):
123
# Pass model_id and version
124
job_id, signed_url, expire_time = model.predict_video(
125
args.video_file,
126
- fps=40,
+ args.fps,
127
prediction_type="batch-video",
128
)
129
results = model.poll_until_video_results(job_id)
@@ -376,6 +376,12 @@ def _add_run_video_inference_api_parser(subparsers):
376
dest="video_file",
377
help="path to video file",
378
379
+ run_video_inference_api_parser.add_argument(
380
+ "-fps",
381
+ dest="fps",
382
+ type=int,
383
+ help="fps",
384
+ )
385
run_video_inference_api_parser.set_defaults(func=run_video_inference_api)
386
387
0 commit comments