roboflow / inference

A fast, easy-to-use, production-ready inference server for computer vision supporting deployment of many popular model architectures and fine-tuned models.
https://inference.roboflow.com
Other
1.39k stars 134 forks source link

Subsampling video frame rate #779

Closed PawelPeczek-Roboflow closed 3 weeks ago

PawelPeczek-Roboflow commented 3 weeks ago

Description

This PR adds possibility to explicitly sub-sample video frame rate for each individual video source in InferencePipeline.

The functionality collides with max_fps setting which is now not satisfactory for clients. How it works now:

In this PR we are introducing new meaning for the max_fps option that can be optionally enabled via env flag and is announced to be the default behaviour end of Q4 2024.

This solution has various benefits:

Type of change

Please delete options that are not relevant.

How has this change been tested, please provide a testcase or example of how you tested the change?

YOUR_ANSWER

Any specific deployment considerations

For example, documentation changes, usability, usage/costs, secrets, etc.

Docs