[UI] Display current state from state classification in dashboard and live debug view
Describe what you are trying to accomplish and why in non technical terms I want to be able to look at a page in the UI and see what the -current- state is for object detection, primarily for the classification data, also to be able to see this in the various camera debug views.
This would help in both debugging issues, as well as knowing if it's working correctly in the first place. it would also make the classification and state functions much more useful to be able to see it right in the UI.
Describe the solution you'd like
- On the classification page/objects/:
- In addition to the list of recent classifications, (new page? new section?)
- show the last detected image of that object
- when it was last detected
- the camera it came from
- and if it's currently in view in any cameras. (Perhaps a list of the cameras that currently can see it.)
- In addition to the list of recent classifications, (new page? new section?)
- on the classification page, states:
- indicate the current state of that object.
- the time of the last state change. (or the elapsed time in that state.)
- the last image showing that state.
- in the camera debug view:
- have the option to show state and classification data in that view as well.
- perhaps adding something that you could understand why it's not classifying something (i.e. "garage door closed: only at 60% match" or something?
Describe alternatives you've considered I can see that I can get some of this via home assistant and MQTT, but that seems like a long way to go around to get the info is less helpful for troubleshooting.
Additional context
Source: blakeblackshear/frigate