Open Sylvain-Laine opened 3 years ago
Hey @Sylvain-Laine, those config examples you posted are for the current beta build. I'm working on releasing 1.0.0 today as well which will include that.
I'll take a look at your other requests in a bit, but that should be the reason for the config inconsistencies.
Ok, thank you for the repply, i will update this issue, after the 1.0.0 release, I toyed with the config in the past days, updated it today with the information available, but i already had the same problems before. I hope i'll come back with good news :)
1.0.0
is released now. So the config you have above should work.
I will work on adding in support for filtering based off the camera and triggered media like you suggested. I think those make sense to add in!
Everything works thank you ! I didn't quite understand the configuration section for "camerar / [cam] / snapshot / url" I thought (falsly) that it was an override of the frigate snapshot, but this point is addressed in the issue #110
The support for filtering based off the camera and triggered media will be a great improvement for the ui ! Thank you
Hey @Sylvain-Laine, I got the new filters added to the beta build, docker pull jakowenko/double-take:beta
. Let me know what you think!
Perfect ! Thanks
Juste a quick update, the filters do work great, but they are reset after a delete operation, this is just for quality of use.
This may need another [FR], but i was thinking of another filter which may be great for debugging, not so important for normal use: The ability to filter by frigate event (even the events with no return from detectors).
Glad they are working! I can work on the filter resetting logic and make it better. It's a little tricky because if no matches are in the database, then there's no filters, but as soon as one comes in I need to update all the filters so it shows on the page, this is when the "reset" of the filters happens.
I'll update it though so they don't reset after the delete operation. Only when the WebSocket receives new matches.
How did you think the other debug filter would work? No images would be saved for these events, so I'm not sure what to display. I guess I could start saving 1 image for maybe each Frigate event that doesn't find any faces. I just don't want to save too many or it would get out of control. Then you could see an image for each Frigate event that triggered Double Take.
Everything is written to a messages.log
file, so you could always look through there for debugging the Frigate events too. Though not as clean as being on the UI.
Maybe a filter logic based on both trained folders / entry in the configuration instead of matches in database, it's a little more tricky because you still need to be able to shows matches in db that are no longer in the configuration after a change... But as i said, this is juste quality of use, the filters are fine ! And the difference between v1.0.0 and the current beta build is perfect ! Great Job !
For the frigate event filter, im still thinking about it, i'll come back to you after having some time to formulate the use case in the details.
Hey @Sylvain-Laine, I got the new filters added to the beta build,
docker pull jakowenko/double-take:beta
. Let me know what you think!
can you do such a selection-filter accordingly also for the train-page?
@ozett the training page already filters images when you select a name from the dropdown. I don't see a lot of other value added by adding more filters. What else were you hoping to filter by?
i have now 5 page of faces. i dont want to filter by person, i want to images regardless of the person-category to improve quality i would check from time to time if images have a too low box-area. or to sort out images that matched, but had not been trained on again
First, apologies for my english, and my first time on github !
Just to preface my case and my tests, my need is: I've got cameras that dont work well with frigate for their main_stream, they work well for the sub_stream and the person detection work as intended For the face detection with double take, i need to use an overide of the snapshot to process the detectors at max resolution
I did a lot of trial and error and have some errors and requests:
Even with this config, the default mqtt topics are processed, latest and snapshot are not (as intended).
url: http://[ip]:8123/local/test.jpg works but not with a refresh from the ui only after a hard reboot and not consistently, sometimes it takes many reboot/refresh for being taken into account
in the matches part of the ui, when the snapshot is processed, it's not listed under the cam entity but under "manual", to me the parameter is supposed to be an overide of the frigate snapshot.jpg
The url is processed only one time, for me if no match is found, the default attempts config for snapshot should be applied, and the overiden snapshot refreshed. with snapshot: 10 or 0 in the frigate - attempts config their is no differences
I tried to use a dynamiq url generated by an Api (in my case a reolink one : http://[ip]/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=wuuPhkmUCeI9WG7C&user=[user]&password=[pass] ) but this is not taken into acount, I tried to send the same url via the double take api (curl --location --request GET 'url') but it was not processed either.
Request: On the Macthes UI: Beeing able to filter by camera entity Beeing able to filter by trigered media (latest,snapshot,mqtt,...)