Allow custom object thresholds based on time of the day
See original GitHub issueI would like to be able to set min_score and threshold (and maybe based on time of the day. Ideally the effective time range would be dynamically calculated based on location-based sunrise/sunset time ± custom offset (or somehow fed from Home Assistant?), but as easier initial solution it may be hard coded times in the YAML file. This would allow to lower the object detection sensitivity at night to generate alerts despite lower confidence level because lower image quality.
Perhaps add something like this:
filters:
person:
#Effective time range for this setting
#Day time
start_time: 08:00
end_time: 17:30
min_score: 0.5
threshold: 0.7
person:
#Night time
start_time: 17:30
end_time: 08:00
min_score: 0.4
threshold: 0.55
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Customize Threshold Values - Salesforce Help
We recommend you set custom values for every threshold. Choose values based on your unique business priorities, the conditions at and around each...
Read more >Create and Edit Thresholds - SevOne Cluster
Select Metric to create a threshold that triggers based on any data ... Select Enable During This Time to enable the threshold for...
Read more >How to customize the calculated SQL Server baseline threshold
This article describes advanced options that allows for manually adjusting and fine-tuning calculated ApexSQL Monitor baseline threshold values to meet specific ...
Read more >Microsoft 365 alert policies - Microsoft Purview (compliance)
This allows you to set up a policy to generate an alert every time an activity matches the policy conditions, when a certain...
Read more >Create a detection rule | Elastic Security Solution [8.5]
Custom query: Query-based rule, which searches the defined indices and creates ... of times the specified field's value is present and meets the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I don’t think I will approach it this way, but I can pin this issue so it stays open as a reminder.
I’d like to put in a vote for setting the thresholds via MQTT. Then I could have Node-Red/Home Assistant control the timing.