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

Detection boxes on go2rtc live stream in the Frigate card #1604

Open
barzag opened this issue Oct 2, 2024 · 2 comments
Open

Detection boxes on go2rtc live stream in the Frigate card #1604

barzag opened this issue Oct 2, 2024 · 2 comments
Labels
feature New feature or request

Comments

@barzag
Copy link

barzag commented Oct 2, 2024

Hi,

Thank you for this amazing card! I wanted to ask if it's possible to display detection boxes on the live stream when using the go2rtc provider within the Frigate card? Currently, I don't see the detection overlays when using go2rtc. Is there an option or any planned support for this feature?

Thanks in advance for your help!

@dermotduffy
Copy link
Owner

No such plans currently.

This might be tricky. Only way I can think of doing this is to use the box parameter from the Frigate events stream to "manually draw" the box on top of the various different live providers (e.g. HA, go2rtc, image). Problems:

  • The actual size of the video element may be substantially different from the actual video content in it (e.g. letterboxing / fullscreen has large blank bands in the same video element), so I suspect actually getting these boxes in the correct place may not be possible.
  • This would only update every time Frigate updates the MQTT events stream. I'm not sure, but that might mean the boxes don't move as often as you expect.

For reference, is there something in the Frigate UI or elsewhere that you're trying to replicate? Got a screenshot?

@dermotduffy dermotduffy added the feature New feature or request label Oct 2, 2024
@barzag
Copy link
Author

barzag commented Oct 2, 2024

I want to replicate the display of the Debug tab in Frigate, but with a live stream like go2rtc, including the detection boxes (person, animal, etc.). I hope I'm clear?

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

No branches or pull requests

2 participants