Closed tubalainen closed 2 years ago
Question 1: To what HTTP functions does the configuration snapshots: configuration corresponds to?
snapshots
configures the properties of the images that are saved along with the events.
Question 2: Has the HTTP API Best Snapshot feature been removed in the Version 11 - RC1? I cannot find it in the documentation (any more). RC1 docs
Yes, it was removed. The endpoint was left in so it would not completely fail, but it was from many versions ago and had some issues so it was replaced with latest event thumbnail / snapshot
Question 3: And, is there a reason why I cannot append the params to snapshot.jpg or best.jpg?
As has been the case with other endpoints, the parameters only applied when the event was ongoing and if the event has ended the snapshot is returned as is, definitely an improvement to be had to adjust it even after that case.
There are certainly ways to use the MQTT messages to get a best thumbnail and keep it, but the removal of the best thumbnail like it was kept in frigate was deliberate. You can check out https://github.com/blakeblackshear/frigate/pull/2944 and the linked tickets for more context on that.
Thanks for your answers Nick! That's too bad for my needs, really liked the "best.jpg" feature. I can always make an automation in HA that posts a jpeg similar to best.jpg on an internal web server. The gauntlet has been thrown and the changes has been made. :)
Describe the problem you are having
The Best Snapshots configuration is not honoured when accessing the HTTP API.
When accessing the HTTP API endpoint
http://192.168.xx.xx:5000/api/cam1_framsidan/person/best.jpg?h=1920
it presents a picture in 175x175 pixels resolution.Using the HTTP API snapshot URL works and it presents an image according to the configuration, but I am no able to append the different
params
like&h=1920
-http://192.168.xx.xx:5000/api/cam1_framsidan/person/snapshot.jpg?h=1920
Frigate presents a picture according to the configuration height setting.Personally I use the "best.jpg" to present to an external screen and it always shows (in the example) the best and latest person - no false positives. If I use
snapshot.jpg
on thelabel
(in this example - person) it will show the last detection (in my case, with cluttered lawns with toys etc) often false positives, its impossible to "tweak configuration" for all the different scenarios of toy placements. Thats why I really enjoyed and usebest.jpg
.Question 1: To what HTTP functions does the configuration
snapshots:
configuration corresponds to? Question 2: Has the HTTP API Best Snapshot feature been removed in the Version 11 - RC1? I cannot find it in the documentation (any more). RC1 docs Question 3: And, is there a reason why I cannot append theparams
tosnapshot.jpg
orbest.jpg
?Pledge: Please bring back a fully featured
best.jpg
to the API and please let us use theparams
on bothbest.jpg
andsnapshot.jpg
via the HTTP API. Thanks :)Version
0.11.0-37325C7
Frigate config file
Relevant log output
FFprobe output from your camera
Frigate stats
Operating system
Debian
Install method
Docker CLI
Coral version
USB
Network connection
Wired
Camera make and model
N/A
Any other information that may be helpful
No response