zmeventnotification - Different confidence for different cameras or times?
Posted: Tue Nov 03, 2020 10:40 am
I'll explain the actual issue in case theirs a better solution I'm not thinking of.
I have my yolo_min_confidence set to 0.5 (50%). This is a good balance for me for detecting people across my setup.
Camera 1 is a close range camera and typically gets 90%+ confidence when it sees a person, so this could be increased. However camera 2 is a long range camera and typically the confidence of detecting a person needs to be around 50% to ensure it picks up the majority of people.
The issue I'm having is that I have an email notification setup to notify me if Camera 1 detects a person during the middle of the night. It occasionally decides (increasingly with the dark winter mornings) that it is seeing people where there is none. Last night I got over 40 emails as it decided a plastic pelican was a person with 70% confidence.
The way I see it I need to get one of two things working:
1: Individual confidence levels per camera, so I can set camera 1 to 90% and leave camera 2 to 50%
2: Only email if the confidence level > 90%
I don't think 2 is possible with ZoneMinder and I would prefer 1 anyway, as it will remove false positives from being saved in my logs.
Any suggestions if this is possible to do with zmeventnotification? Its been so long since I've used it, but I'm fairly certain I can only use the one objectcongi.ini per setup and so only one yolo_min_confidence.
Thanks..
I have my yolo_min_confidence set to 0.5 (50%). This is a good balance for me for detecting people across my setup.
Camera 1 is a close range camera and typically gets 90%+ confidence when it sees a person, so this could be increased. However camera 2 is a long range camera and typically the confidence of detecting a person needs to be around 50% to ensure it picks up the majority of people.
The issue I'm having is that I have an email notification setup to notify me if Camera 1 detects a person during the middle of the night. It occasionally decides (increasingly with the dark winter mornings) that it is seeing people where there is none. Last night I got over 40 emails as it decided a plastic pelican was a person with 70% confidence.
The way I see it I need to get one of two things working:
1: Individual confidence levels per camera, so I can set camera 1 to 90% and leave camera 2 to 50%
2: Only email if the confidence level > 90%
I don't think 2 is possible with ZoneMinder and I would prefer 1 anyway, as it will remove false positives from being saved in my logs.
Any suggestions if this is possible to do with zmeventnotification? Its been so long since I've used it, but I'm fairly certain I can only use the one objectcongi.ini per setup and so only one yolo_min_confidence.
Thanks..