Page 1 of 1

eventserver - alerts based on percentage

Posted: Wed Dec 30, 2020 4:36 pm
by tamos2006
Hi everyone,
I just make everything working(took 1 day or two), im using zmeventnotification with the ML hooks.
for the past day im getting false-positive alerts.
on the false-positive alerts the image contains 'person' with 20-50% of accuracy, although on true alerts the accuracy is around 80+%
I wanna set a limit of percentage for the alerts(for example: mute 'person' alerts when accuracy < 60%).
from looking at https://zmeventnotification.readthedocs ... rules-file i can only see rules based on time of the day.
this is something can be achieved?

thanks!

Re: eventserver - alerts based on percentage

Posted: Wed Dec 30, 2020 5:45 pm
by Magic919
Use object_min_confidence=0.6

Re: eventserver - alerts based on percentage

Posted: Wed Dec 30, 2020 6:08 pm
by tamos2006
thanks ill try that.

Re: eventserver - alerts based on percentage

Posted: Wed Dec 30, 2020 6:12 pm
by Magic919
Just to add, not in the rules file. Standard config file.

Re: eventserver - alerts based on percentage

Posted: Wed Dec 30, 2020 7:58 pm
by tamos2006
yeah found that, is it possible to change this percentage based on the object?
car - 30%
person - 60%
etc

Re: eventserver - alerts based on percentage

Posted: Wed Dec 30, 2020 8:28 pm
by Magic919
I don’t know. A quick look at the docs suggests ml_sequence might do it.

Re: eventserver - alerts based on percentage

Posted: Wed Dec 30, 2020 9:02 pm
by asker
tamos2006 wrote: Wed Dec 30, 2020 7:58 pm yeah found that, is it possible to change this percentage based on the object?
car - 30%
person - 60%
etc
Short answer - No.
Longer answer - the new ml_sequence approach can do this, but in a very inefficient way and I wouldn't recommend it. But possible.