object_detection_pattern with old ZMES and new MLAPI for specific monitors
Posted: Sun Oct 31, 2021 5:36 pm
Hello!
I can't seem to have object_detection_pattern to work for specific monitors with mlapi
MLAPI.log
mlapiconfig.ini monitor specific setting
objectconfig.ini
objectconfig.ini global pattern
object_detection_pattern=(person|car|motorbike|bus|truck|boat|cat|dog|bicycle)
mlapiconfig.ini global pattern
object_detection_pattern=(person|car|motorbike|bus|truck|boat|bicycle|cat|dog)
So... mlapi completely ignores monitor specific settings from both ini's and uses global pattern, what could be wrong? In logs on start it says that loaded pattern.
python mlapi.py --version
2.2.23
objectconfig.ini version 1.2 (dunno how to get version of ZMES, but i have zoneminder 1.34)
I can't seem to have object_detection_pattern to work for specific monitors with mlapi
MLAPI.log
Code: Select all
Oct 31 2021 20:12:40.938412 [DBG 2] Found monitor specific section for monitor: 13
Oct 31 2021 20:12:40.938434 [DBG 2] stream sequence not found in globals
Oct 31 2021 20:12:40.938459 [DBG 2] match_past_detections is not a polygon, adding it as unknown string key
Oct 31 2021 20:12:40.938477 [DBG 2] [monitor-13] overrides key:object_detection_pattern with value:(person|bicycle|cat|dog)
Oct 31 2021 20:12:40.938496 [DBG 2] [monitor-13] overrides key:wait with value:1
Code: Select all
[monitor-13]
match_past_detections=yes
object_detection_pattern=(person|bicycle|cat|dog)
wait=1
Code: Select all
[monitor-13]
object_detection_pattern=(person|cat|dog)
match_past_detections=yes
detection_seq=object
wait=1
object_detection_pattern=(person|car|motorbike|bus|truck|boat|cat|dog|bicycle)
mlapiconfig.ini global pattern
object_detection_pattern=(person|car|motorbike|bus|truck|boat|bicycle|cat|dog)
So... mlapi completely ignores monitor specific settings from both ini's and uses global pattern, what could be wrong? In logs on start it says that loaded pattern.
python mlapi.py --version
2.2.23
objectconfig.ini version 1.2 (dunno how to get version of ZMES, but i have zoneminder 1.34)