Closed connectnet closed 4 years ago
I think the tags are case sensitive. Try [monitor-2]
not [Monitor-2]
Thats what I also thought, but with [monitor-2]
its still the same.
Please post debug logs of /var/log/zm/zmesdetect_m2.log
when you trigger a detection
Here is the zmesdetect_m2 for Monitor-2 (Plate is 12345):
01/29/20 15:33:17 zmesdetect_m2[9502] INF zm_detect.py:145 [---------| app version: 5.4.2 |------------]
01/29/20 15:33:17 zmesdetect_m2[9502] DBG utils.py:229 [secret filename: /etc/zm/secrets.ini]
01/29/20 15:33:17 zmesdetect_m2[9502] DBG utils.py:203 [Secret token found in config: !ZM_PORTAL]
01/29/20 15:33:17 zmesdetect_m2[9502] DBG utils.py:203 [Secret token found in config: !ZM_API_PORTAL]
01/29/20 15:33:17 zmesdetect_m2[9502] DBG utils.py:203 [Secret token found in config: !ZM_USER]
01/29/20 15:33:17 zmesdetect_m2[9502] DBG utils.py:203 [Secret token found in config: !ZM_PASSWORD]
01/29/20 15:33:17 zmesdetect_m2[9502] DBG utils.py:203 [Secret token found in config: !ML_USER]
01/29/20 15:33:17 zmesdetect_m2[9502] DBG utils.py:203 [Secret token found in config: !ML_PASSWORD]
01/29/20 15:33:17 zmesdetect_m2[9502] DBG utils.py:254 [allowing self-signed certs to work...]
01/29/20 15:33:17 zmesdetect_m2[9502] DBG utils.py:304 [key [config] is '/var/lib/zmeventnotification/models/yolov3/yolov3.cfg' after substitution]
01/29/20 15:33:17 zmesdetect_m2[9502] DBG utils.py:304 [key [weights] is '/var/lib/zmeventnotification/models/yolov3/yolov3.weights' after substitution]
01/29/20 15:33:17 zmesdetect_m2[9502] DBG utils.py:304 [key [labels] is '/var/lib/zmeventnotification/models/yolov3/yolov3_classes.txt' after substitution]
01/29/20 15:33:17 zmesdetect_m2[9502] DBG utils.py:304 [key [tiny_config] is '/var/lib/zmeventnotification/models/tinyyolo/yolov3-tiny.cfg' after substitution]
01/29/20 15:33:17 zmesdetect_m2[9502] DBG utils.py:304 [key [tiny_weights] is '/var/lib/zmeventnotification/models/tinyyolo/yolov3-tiny.weights' after substitution]
01/29/20 15:33:17 zmesdetect_m2[9502] DBG utils.py:304 [key [tiny_labels] is '/var/lib/zmeventnotification/models/tinyyolo/yolov3-tiny.txt' after substitution]
01/29/20 15:33:17 zmesdetect_m2[9502] DBG utils.py:304 [key [known_images_path] is '/var/lib/zmeventnotification/known_faces' after substitution]
01/29/20 15:33:17 zmesdetect_m2[9502] INF zm_detect.py:167 [Importing local classes for Yolo/Face]
01/29/20 15:33:17 zmesdetect_m2[9502] DBG utils.py:128 [Trying to download http://127.0.0.1/zm/index.php?view=image&eid=1031&fid=alarm&username=user&password=*****]
01/29/20 15:33:17 zmesdetect_m2[9502] DBG utils.py:142 [Trying to download http://127.0.0.1/zm/index.php?view=image&eid=1031&fid=snapshot&username=user&password=*****]
01/29/20 15:33:17 zmesdetect_m2[9502] DBG zm_detect.py:209 [No polygon area specfied, so adding a full image polygon:[{'name': 'full_image', 'value': [(0, 0), (1920, 0), (1920, 1080), (0, 1080)]}]]
01/29/20 15:33:17 zmesdetect_m2[9502] DBG zm_detect.py:211 [resizing to 1200 before analysis...]
01/29/20 15:33:17 zmesdetect_m2[9502] DBG utils.py:37 [resized polygons x=0.625/y=0.625: [{'name': 'full_image', 'value': [(0, 0), (1200, 0), (1200, 675), (0, 675)]}]]
01/29/20 15:33:17 zmesdetect_m2[9502] DBG zm_detect.py:229 [User ALPR if vehicle found: True]
01/29/20 15:33:18 zmesdetect_m2[9502] DBG face.py:20 [Initializing face recognition with model:hog upsample:1, jitters:1]
01/29/20 15:33:18 zmesdetect_m2[9502] DBG face.py:39 [pre-trained faces found, using that. If you want to add new images, remove: /var/lib/zmeventnotification/known_faces/faces.dat]
01/29/20 15:33:18 zmesdetect_m2[9502] DBG zm_detect.py:271 [|--> model:face init took: 1.363976s]
01/29/20 15:33:18 zmesdetect_m2[9502] DBG zm_detect.py:300 [Using model: face with /var/lib/zmeventnotification/images/1031-alarm.jpg]
01/29/20 15:33:19 zmesdetect_m2[9502] DBG zm_detect.py:308 [|--> model:face detection took: 0.458396s]
01/29/20 15:33:19 zmesdetect_m2[9502] DBG zm_detect.py:316 [Appending known faces to filter list]
01/29/20 15:33:19 zmesdetect_m2[9502] DBG zm_detect.py:426 [There was no vehicle detected by Yolo in this image]
01/29/20 15:33:19 zmesdetect_m2[9502] DBG zm_detect.py:480 [No match found in /var/lib/zmeventnotification/images/1031-alarm.jpg using model:face]
01/29/20 15:33:19 zmesdetect_m2[9502] DBG zm_detect.py:300 [Using model: face with /var/lib/zmeventnotification/images/1031-snapshot.jpg]
01/29/20 15:33:19 zmesdetect_m2[9502] DBG zm_detect.py:308 [|--> model:face detection took: 0.448293s]
01/29/20 15:33:19 zmesdetect_m2[9502] DBG zm_detect.py:316 [Appending known faces to filter list]
01/29/20 15:33:19 zmesdetect_m2[9502] DBG zm_detect.py:440 [No vehicle detected, and no more images to try]
01/29/20 15:33:19 zmesdetect_m2[9502] DBG zm_detect.py:480 [No match found in /var/lib/zmeventnotification/images/1031-snapshot.jpg using model:face]
01/29/20 15:33:19 zmesdetect_m2[9502] DBG zm_detect.py:271 [|--> model:yolo init took: 2.8e-05s]
01/29/20 15:33:19 zmesdetect_m2[9502] DBG zm_detect.py:300 [Using model: yolo with /var/lib/zmeventnotification/images/1031-alarm.jpg]
01/29/20 15:33:19 zmesdetect_m2[9502] DBG yolo.py:50 [Initializing Yolo]
01/29/20 15:33:19 zmesdetect_m2[9502] DBG yolo.py:51 [config:/var/lib/zmeventnotification/models/yolov3/yolov3.cfg, weights:/var/lib/zmeventnotification/models/yolov3/yolov3.weights]
01/29/20 15:33:20 zmesdetect_m2[9502] INF yolo.py:102 [object:person at [670, 119, 774, 373] has a acceptable confidence:0.9989027380943298 compared to min confidence of: 0.3, adding]
01/29/20 15:33:20 zmesdetect_m2[9502] INF yolo.py:102 [object:car at [60, 194, 260, 366] has a acceptable confidence:0.9939146637916565 compared to min confidence of: 0.3, adding]
01/29/20 15:33:20 zmesdetect_m2[9502] INF yolo.py:102 [object:person at [763, 133, 823, 325] has a acceptable confidence:0.9779075384140015 compared to min confidence of: 0.3, adding]
01/29/20 15:33:20 zmesdetect_m2[9502] INF yolo.py:102 [object:car at [579, 108, 737, 216] has a acceptable confidence:0.9127088785171509 compared to min confidence of: 0.3, adding]
01/29/20 15:33:20 zmesdetect_m2[9502] INF yolo.py:104 [rejecting object:handbag at [749, 240, 783, 288] because its confidence is :0.23707309365272522 compared to min confidence of: 0.3]
01/29/20 15:33:20 zmesdetect_m2[9502] DBG zm_detect.py:308 [|--> model:yolo detection took: 1.323698s]
01/29/20 15:33:20 zmesdetect_m2[9502] DBG image_manip.py:127 [intersection: polygon in process=[(670, 119), (774, 119), (774, 373), (670, 373)]]
01/29/20 15:33:20 zmesdetect_m2[9502] DBG image_manip.py:133 [full_image intersects object:person[[(670, 119), (774, 119), (774, 373), (670, 373)]]]
01/29/20 15:33:20 zmesdetect_m2[9502] DBG image_manip.py:127 [intersection: polygon in process=[(60, 194), (260, 194), (260, 366), (60, 366)]]
01/29/20 15:33:20 zmesdetect_m2[9502] DBG image_manip.py:133 [full_image intersects object:car[[(60, 194), (260, 194), (260, 366), (60, 366)]]]
01/29/20 15:33:20 zmesdetect_m2[9502] DBG image_manip.py:127 [intersection: polygon in process=[(763, 133), (823, 133), (823, 325), (763, 325)]]
01/29/20 15:33:20 zmesdetect_m2[9502] DBG image_manip.py:133 [full_image intersects object:person[[(763, 133), (823, 133), (823, 325), (763, 325)]]]
01/29/20 15:33:20 zmesdetect_m2[9502] DBG image_manip.py:127 [intersection: polygon in process=[(579, 108), (737, 108), (737, 216), (579, 216)]]
01/29/20 15:33:20 zmesdetect_m2[9502] DBG image_manip.py:133 [full_image intersects object:car[[(579, 108), (737, 108), (737, 216), (579, 216)]]]
01/29/20 15:33:20 zmesdetect_m2[9502] DBG zm_detect.py:352 [Invoking ALPR as detected object is a vehicle or, we are trying hard to look for plates...]
01/29/20 15:33:20 zmesdetect_m2[9502] DBG alpr.py:62 [PlateRecognizer ALPR initialized with options: {'regions': ['de'], 'stats': 'no', 'min_dscore': 0.1, 'min_score': 0.2} and url: https://api.platerecognizer.com/v1]
01/29/20 15:33:20 zmesdetect_m2[9502] DBG alpr.py:36 [supplied object is a file]
01/29/20 15:33:21 zmesdetect_m2[9502] DBG alpr.py:97 [ALPR JSON: {'processing_time': 186.465, 'results': [{'box': {'ymin': 431, 'xmin': 262, 'ymax': 460, 'xmax': 340}, 'plate': '12345', 'region': {'score': 0.862, 'code': 'de'}, 'vehicle': {'score': 0.609, 'type': 'Car'}, 'score': 0.903, 'candidates': [{'score': 0.903, 'plate': '12345'}, {'score': 0.735, 'plate': '12345'}], 'dscore': 0.882}], 'filename': '14_33_b1031-alarm.jpg', 'version': 1, 'camera_id': None, 'timestamp': '2020-01-29T14:33:21.756578Z'}]
01/29/20 15:33:22 zmesdetect_m2[9502] DBG alpr.py:51 [ALPR will use 1920x1080 but Yolo uses 1200x675 so ALPR boxes will be scaled 0.625x and 0.625y]
01/29/20 15:33:22 zmesdetect_m2[9502] DBG image_manip.py:162 [Checking vehicle plates for validity]
01/29/20 15:33:22 zmesdetect_m2[9502] DBG image_manip.py:201 [Plate:12345 at POLYGON ((164 269, 212 269, 212 288, 164 288, 164 269)) intersects polygon:full_image at POLYGON ((0 0, 1200 0, 1200 675, 0 675, 0 0)) but does not contain polgyon, assuming it to be VALID]
01/29/20 15:33:22 zmesdetect_m2[9502] INF zm_detect.py:387 [ALPR Found 12345 at [164, 269, 212, 288] with score:0.903]
01/29/20 15:33:22 zmesdetect_m2[9502] INF zm_detect.py:473 [labels found: ['person', 'car', 'person', 'car', '12345']]
01/29/20 15:33:22 zmesdetect_m2[9502] DBG zm_detect.py:474 [match found in /var/lib/zmeventnotification/images/1031-alarm.jpg, breaking file loop...]
01/29/20 15:33:22 zmesdetect_m2[9502] DBG zm_detect.py:522 [Writing out debug bounding box image to /var/lib/zmeventnotification/images/1031-alarm-bbox.jpg...]
01/29/20 15:33:22 zmesdetect_m2[9502] DBG zm_detect.py:527 [Writing detected image to /var/cache/zoneminder/events/2/2020-01-29/1031/objdetect.jpg]
01/29/20 15:33:22 zmesdetect_m2[9502] DBG zm_detect.py:534 [Writing JSON output to /var/cache/zoneminder/events/2/2020-01-29/1031/objects.json]
01/29/20 15:33:22 zmesdetect_m2[9502] INF zm_detect.py:545 [Removing matches to past detections]
01/29/20 15:33:22 zmesdetect_m2[9502] DBG image_manip.py:27 [trying to load /var/lib/zmeventnotification/images/monitor-2-data.pkl]
01/29/20 15:33:22 zmesdetect_m2[9502] DBG image_manip.py:92 [past detection 12345@[(163, 269), (211, 269), (211, 287), (163, 269)] approximately matches 12345@[(164, 269), (212, 269), (212, 288), (164, 269)] removing]
01/29/20 15:33:22 zmesdetect_m2[9502] DBG zm_detect.py:548 [Saving detections for monitor 2 for future match]
01/29/20 15:33:22 zmesdetect_m2[9502] INF zm_detect.py:573 [Prediction string:[a] detected:person:100% car:99% ]
01/29/20 15:33:47 zmesdetect_m2[9788] INF zm_detect.py:145 [---------| app version: 5.4.2 |------------]
01/29/20 15:33:47 zmesdetect_m2[9788] DBG utils.py:229 [secret filename: /etc/zm/secrets.ini]
01/29/20 15:33:47 zmesdetect_m2[9788] DBG utils.py:203 [Secret token found in config: !ZM_PORTAL]
01/29/20 15:33:47 zmesdetect_m2[9788] DBG utils.py:203 [Secret token found in config: !ZM_API_PORTAL]
01/29/20 15:33:47 zmesdetect_m2[9788] DBG utils.py:203 [Secret token found in config: !ZM_USER]
01/29/20 15:33:47 zmesdetect_m2[9788] DBG utils.py:203 [Secret token found in config: !ZM_PASSWORD]
01/29/20 15:33:47 zmesdetect_m2[9788] DBG utils.py:203 [Secret token found in config: !ML_USER]
01/29/20 15:33:47 zmesdetect_m2[9788] DBG utils.py:203 [Secret token found in config: !ML_PASSWORD]
01/29/20 15:33:47 zmesdetect_m2[9788] DBG utils.py:254 [allowing self-signed certs to work...]
01/29/20 15:33:47 zmesdetect_m2[9788] DBG utils.py:304 [key [config] is '/var/lib/zmeventnotification/models/yolov3/yolov3.cfg' after substitution]
01/29/20 15:33:47 zmesdetect_m2[9788] DBG utils.py:304 [key [weights] is '/var/lib/zmeventnotification/models/yolov3/yolov3.weights' after substitution]
01/29/20 15:33:47 zmesdetect_m2[9788] DBG utils.py:304 [key [labels] is '/var/lib/zmeventnotification/models/yolov3/yolov3_classes.txt' after substitution]
01/29/20 15:33:47 zmesdetect_m2[9788] DBG utils.py:304 [key [tiny_config] is '/var/lib/zmeventnotification/models/tinyyolo/yolov3-tiny.cfg' after substitution]
01/29/20 15:33:47 zmesdetect_m2[9788] DBG utils.py:304 [key [tiny_weights] is '/var/lib/zmeventnotification/models/tinyyolo/yolov3-tiny.weights' after substitution]
01/29/20 15:33:47 zmesdetect_m2[9788] DBG utils.py:304 [key [tiny_labels] is '/var/lib/zmeventnotification/models/tinyyolo/yolov3-tiny.txt' after substitution]
01/29/20 15:33:47 zmesdetect_m2[9788] DBG utils.py:304 [key [known_images_path] is '/var/lib/zmeventnotification/known_faces' after substitution]
01/29/20 15:33:47 zmesdetect_m2[9788] INF zm_detect.py:167 [Importing local classes for Yolo/Face]
01/29/20 15:33:47 zmesdetect_m2[9788] DBG utils.py:128 [Trying to download http://127.0.0.1/zm/index.php?view=image&eid=1032&fid=alarm&username=user&password=*****]
01/29/20 15:33:47 zmesdetect_m2[9788] DBG utils.py:142 [Trying to download http://127.0.0.1/zm/index.php?view=image&eid=1032&fid=snapshot&username=user&password=*****]
01/29/20 15:33:47 zmesdetect_m2[9788] DBG zm_detect.py:209 [No polygon area specfied, so adding a full image polygon:[{'name': 'full_image', 'value': [(0, 0), (1920, 0), (1920, 1080), (0, 1080)]}]]
01/29/20 15:33:47 zmesdetect_m2[9788] DBG zm_detect.py:211 [resizing to 1200 before analysis...]
01/29/20 15:33:47 zmesdetect_m2[9788] DBG utils.py:37 [resized polygons x=0.625/y=0.625: [{'name': 'full_image', 'value': [(0, 0), (1200, 0), (1200, 675), (0, 675)]}]]
01/29/20 15:33:47 zmesdetect_m2[9788] DBG zm_detect.py:229 [User ALPR if vehicle found: True]
01/29/20 15:33:49 zmesdetect_m2[9788] DBG face.py:20 [Initializing face recognition with model:hog upsample:1, jitters:1]
01/29/20 15:33:49 zmesdetect_m2[9788] DBG face.py:39 [pre-trained faces found, using that. If you want to add new images, remove: /var/lib/zmeventnotification/known_faces/faces.dat]
01/29/20 15:33:49 zmesdetect_m2[9788] DBG zm_detect.py:271 [|--> model:face init took: 1.598013s]
01/29/20 15:33:49 zmesdetect_m2[9788] DBG zm_detect.py:300 [Using model: face with /var/lib/zmeventnotification/images/1032-alarm.jpg]
01/29/20 15:33:49 zmesdetect_m2[9788] DBG zm_detect.py:308 [|--> model:face detection took: 0.459639s]
01/29/20 15:33:49 zmesdetect_m2[9788] DBG zm_detect.py:316 [Appending known faces to filter list]
01/29/20 15:33:49 zmesdetect_m2[9788] DBG zm_detect.py:426 [There was no vehicle detected by Yolo in this image]
01/29/20 15:33:49 zmesdetect_m2[9788] DBG zm_detect.py:480 [No match found in /var/lib/zmeventnotification/images/1032-alarm.jpg using model:face]
01/29/20 15:33:49 zmesdetect_m2[9788] DBG zm_detect.py:300 [Using model: face with /var/lib/zmeventnotification/images/1032-snapshot.jpg]
01/29/20 15:33:50 zmesdetect_m2[9788] DBG zm_detect.py:308 [|--> model:face detection took: 0.458967s]
01/29/20 15:33:50 zmesdetect_m2[9788] DBG zm_detect.py:316 [Appending known faces to filter list]
01/29/20 15:33:50 zmesdetect_m2[9788] DBG zm_detect.py:440 [No vehicle detected, and no more images to try]
01/29/20 15:33:50 zmesdetect_m2[9788] DBG zm_detect.py:480 [No match found in /var/lib/zmeventnotification/images/1032-snapshot.jpg using model:face]
01/29/20 15:33:50 zmesdetect_m2[9788] DBG zm_detect.py:271 [|--> model:yolo init took: 2.9e-05s]
01/29/20 15:33:50 zmesdetect_m2[9788] DBG zm_detect.py:300 [Using model: yolo with /var/lib/zmeventnotification/images/1032-alarm.jpg]
01/29/20 15:33:50 zmesdetect_m2[9788] DBG yolo.py:50 [Initializing Yolo]
01/29/20 15:33:50 zmesdetect_m2[9788] DBG yolo.py:51 [config:/var/lib/zmeventnotification/models/yolov3/yolov3.cfg, weights:/var/lib/zmeventnotification/models/yolov3/yolov3.weights]
01/29/20 15:33:51 zmesdetect_m2[9788] INF yolo.py:102 [object:car at [380, 110, 716, 244] has a acceptable confidence:0.9930741786956787 compared to min confidence of: 0.3, adding]
01/29/20 15:33:51 zmesdetect_m2[9788] INF yolo.py:102 [object:car at [58, 194, 260, 366] has a acceptable confidence:0.9909840226173401 compared to min confidence of: 0.3, adding]
01/29/20 15:33:51 zmesdetect_m2[9788] DBG zm_detect.py:308 [|--> model:yolo detection took: 1.287796s]
01/29/20 15:33:51 zmesdetect_m2[9788] DBG image_manip.py:127 [intersection: polygon in process=[(380, 110), (716, 110), (716, 244), (380, 244)]]
01/29/20 15:33:51 zmesdetect_m2[9788] DBG image_manip.py:133 [full_image intersects object:car[[(380, 110), (716, 110), (716, 244), (380, 244)]]]
01/29/20 15:33:51 zmesdetect_m2[9788] DBG image_manip.py:127 [intersection: polygon in process=[(58, 194), (260, 194), (260, 366), (58, 366)]]
01/29/20 15:33:51 zmesdetect_m2[9788] DBG image_manip.py:133 [full_image intersects object:car[[(58, 194), (260, 194), (260, 366), (58, 366)]]]
01/29/20 15:33:51 zmesdetect_m2[9788] DBG zm_detect.py:352 [Invoking ALPR as detected object is a vehicle or, we are trying hard to look for plates...]
01/29/20 15:33:51 zmesdetect_m2[9788] DBG alpr.py:62 [PlateRecognizer ALPR initialized with options: {'regions': ['de'], 'stats': 'no', 'min_dscore': 0.1, 'min_score': 0.2} and url: https://api.platerecognizer.com/v1]
01/29/20 15:33:51 zmesdetect_m2[9788] DBG alpr.py:36 [supplied object is a file]
01/29/20 15:33:52 zmesdetect_m2[9788] DBG alpr.py:97 [ALPR JSON: {'processing_time': 208.485, 'results': [{'box': {'ymin': 431, 'xmin': 261, 'ymax': 460, 'xmax': 340}, 'plate': '12345', 'region': {'score': 0.834, 'code': 'de'}, 'vehicle': {'score': 0.604, 'type': 'Car'}, 'score': 0.901, 'candidates': [{'score': 0.901, 'plate': '12345'}, {'score': 0.731, 'plate': '12345'}], 'dscore': 0.869}], 'filename': '14_33_b1032-alarm.jpg', 'version': 1, 'camera_id': None, 'timestamp': '2020-01-29T14:33:52.584888Z'}]
01/29/20 15:33:52 zmesdetect_m2[9788] DBG alpr.py:51 [ALPR will use 1920x1080 but Yolo uses 1200x675 so ALPR boxes will be scaled 0.625x and 0.625y]
01/29/20 15:33:52 zmesdetect_m2[9788] DBG image_manip.py:162 [Checking vehicle plates for validity]
01/29/20 15:33:52 zmesdetect_m2[9788] DBG image_manip.py:201 [Plate:12345 at POLYGON ((163 269, 212 269, 212 288, 163 288, 163 269)) intersects polygon:full_image at POLYGON ((0 0, 1200 0, 1200 675, 0 675, 0 0)) but does not contain polgyon, assuming it to be VALID]
01/29/20 15:33:53 zmesdetect_m2[9788] INF zm_detect.py:387 [ALPR Found 12345 at [163, 269, 212, 288] with score:0.901]
01/29/20 15:33:53 zmesdetect_m2[9788] INF zm_detect.py:473 [labels found: ['car', 'car', '12345']]
01/29/20 15:33:53 zmesdetect_m2[9788] DBG zm_detect.py:474 [match found in /var/lib/zmeventnotification/images/1032-alarm.jpg, breaking file loop...]
01/29/20 15:33:53 zmesdetect_m2[9788] DBG zm_detect.py:522 [Writing out debug bounding box image to /var/lib/zmeventnotification/images/1032-alarm-bbox.jpg...]
01/29/20 15:33:53 zmesdetect_m2[9788] DBG zm_detect.py:527 [Writing detected image to /var/cache/zoneminder/events/2/2020-01-29/1032/objdetect.jpg]
01/29/20 15:33:53 zmesdetect_m2[9788] DBG zm_detect.py:534 [Writing JSON output to /var/cache/zoneminder/events/2/2020-01-29/1032/objects.json]
01/29/20 15:33:53 zmesdetect_m2[9788] INF zm_detect.py:545 [Removing matches to past detections]
01/29/20 15:33:53 zmesdetect_m2[9788] DBG image_manip.py:27 [trying to load /var/lib/zmeventnotification/images/monitor-2-data.pkl]
01/29/20 15:33:53 zmesdetect_m2[9788] DBG image_manip.py:92 [past detection car@[(60, 194), (260, 194), (260, 366), (60, 194)] approximately matches car@[(58, 194), (260, 194), (260, 366), (58, 194)] removing]
01/29/20 15:33:53 zmesdetect_m2[9788] DBG image_manip.py:92 [past detection 12345@[(164, 269), (212, 269), (212, 288), (164, 269)] approximately matches 12345@[(163, 269), (212, 269), (212, 288), (163, 269)] removing]
01/29/20 15:33:53 zmesdetect_m2[9788] DBG zm_detect.py:548 [Saving detections for monitor 2 for future match]
01/29/20 15:33:53 zmesdetect_m2[9788] INF zm_detect.py:573 [Prediction string:[a] detected:car:99% ]
there is something wrong with your monitor name in the config. It is not picking up the data under [monitor-2]
- if it did you'd see log messages saying keys were overridden. I tested on my install and it works fine, so it is likely a monitor id/name issue in your config (or its not picking the objectconfig you think it is)
ok. I got it. My monitors in zoneminder are named in german [Monitor-1] [Monitor-2] etc. But in objectconfig.ini it has to be named in lower case letters [monitor-1] [monitor-2] etc. Thats what you write in the first comment. Sorry for that. Now it "overrides" as required in the "Monitor specific setting section"
01/29/20 16:16:47 zmesdetect_m2[17131] DBG utils.py:273 [[monitor-2] overrides key:detect_pattern with value:.*]
01/29/20 16:16:47 zmesdetect_m2[17131] DBG utils.py:273 [[monitor-2] overrides key:wait with value:5]
01/29/20 16:16:47 zmesdetect_m2[17131] DBG utils.py:273 [[monitor-2] overrides key:detection_mode with value:first]
01/29/20 16:16:47 zmesdetect_m2[17131] DBG utils.py:273 [[monitor-2] overrides key:models with value:yolo]
01/29/20 16:16:47 zmesdetect_m2[17131] DBG utils.py:273 [[monitor-2] overrides key:poly_color with value:(255,0,0)]
01/29/20 16:16:47 zmesdetect_m2[17131] DBG utils.py:273 [[monitor-2] overrides key:delete_after_analyze with value:yes]
Thanks a lot for your patience.
Hi there! Zoneminder Vers. 1.34.0 / ZMeventnotification Vers. 5.4.2
I have a question for enabling only one monitor for the ALPR regcognition. This is my objectconfig.ini:
So when I activate ALPR in section general:
all Monitors are sending pics to the alpr cloud-service when they detect cars with plates. So but thats not what I want. I only want that Monitor-3 detects plates and send the pictures into the cloud. Independently what Im writing into the Monitor section:
it detects also alpr. Whats wrong? Is it my fault? Thanks for your help.