eventserver - alerts based on percentage

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
tamos2006
Posts: 3
Joined: Wed Dec 30, 2020 4:28 pm

eventserver - alerts based on percentage

Post 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!
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: eventserver - alerts based on percentage

Post by Magic919 »

Use object_min_confidence=0.6
-
tamos2006
Posts: 3
Joined: Wed Dec 30, 2020 4:28 pm

Re: eventserver - alerts based on percentage

Post by tamos2006 »

thanks ill try that.
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: eventserver - alerts based on percentage

Post by Magic919 »

Just to add, not in the rules file. Standard config file.
-
tamos2006
Posts: 3
Joined: Wed Dec 30, 2020 4:28 pm

Re: eventserver - alerts based on percentage

Post by tamos2006 »

yeah found that, is it possible to change this percentage based on the object?
car - 30%
person - 60%
etc
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: eventserver - alerts based on percentage

Post by Magic919 »

I don’t know. A quick look at the docs suggests ml_sequence might do it.
-
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: eventserver - alerts based on percentage

Post 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.
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Post Reply