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

Frame Grab (API and UI) #5564

Closed
ccutrer opened this issue Feb 21, 2023 · 2 comments
Closed

Frame Grab (API and UI) #5564

ccutrer opened this issue Feb 21, 2023 · 2 comments
Labels
enhancement New feature or request pinned

Comments

@ccutrer
Copy link
Contributor

ccutrer commented Feb 21, 2023

Describe what you are trying to accomplish and why in non technical terms
I want to be able to grab a specific, frame (full resolution of recording stream, or down-converted to detection stream resolution) while watching a recording so that I can either send it to Frigate+ to improve the model, or for various other reasons that I feel this is the best frame.

Describe the solution you'd like
Firstly, an API similar to https://docs.frigate.video/integrations/api#get-vodcamerastartstart-timestampendend-timestampindexm3u8 that has a single arbitrary timestamp (sub-second resolution, or frame number after a specific second starts would probably be necessary) and returns a JPG.

Second, in the UI while watching a recording or clip, while paused, a "snapshot" button would trigger an automatic download of the current frame (frame-step forward and back buttons would make it much easier to select the correct frame), or a Frigate+ button would send this frame to Frigate+ for annotation.

Describe alternatives you've considered
Screenshotting the paused frame is likely to have reduced quality due to either difficulties in cropping the screenshot to the exact area, the video window in your viewing app not exactly matching the recording resolution, etc.

Downloading the recording/clip and then extracting it yourself via ffmpeg, etc. is a lot of extra steps.

@ccutrer ccutrer added the enhancement New feature or request label Feb 21, 2023
@NickM-27
Copy link
Sponsor Collaborator

the api for this has been added in #6194

@NickM-27
Copy link
Sponsor Collaborator

This has been implemented in 0.14 UI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pinned
Projects
None yet
Development

No branches or pull requests

2 participants