Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Scaling frame for analysis #14

Open
alexandre-leites opened this issue May 21, 2024 · 3 comments
Open

[Feature Request] Scaling frame for analysis #14

alexandre-leites opened this issue May 21, 2024 · 3 comments

Comments

@alexandre-leites
Copy link

Would be nice to have the option to scale the frame being analysed to a smaller resolution, send it to the pipeline, and scale back the results.

In certains case, the scaling is way less resource intensive than analysing a full frame image/video. For example, you could scale a 4K video to 720p, send it to analyses, and scale back the "coordinates" of the mask before aplying it, so you can have the mask work on the original source without wasting resources analysing a full 4K frame.

I have seen this on other projects and it normally works fine depending on what you are trying to track or find in the frame.

@alexandre-leites alexandre-leites changed the title Scaling frame for analysis [Feature Request] Scaling frame for analysis May 21, 2024
@ogges
Copy link

ogges commented May 22, 2024

Maybe a quick win could be, not to scan the whole scene, and only have the detection on a specific part activated.
Like shown in the following picture, that should also increase the performance

A-Screenshot-from-the-Youtube-channel-of-Channels-Television-reporting-the-submission

@royshil
Copy link
Contributor

royshil commented May 29, 2024

im implementing this now, shuold be out tonight(-ish)

@royshil
Copy link
Contributor

royshil commented May 30, 2024

implemented in #17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants