Didn't expect to hear from the man immediately... thanks!
It never generated one, so nothing to delete. Folder and files all owned by www-data, but even root wouldn't generate it.
Code: Select all
05/25/20 11:52:46 zmesdetect_m5[5713] INF zm_detect.py:177 [---------| hook version: 5.13.3, ES version: 5.13 , OpenCV version: 4.2.0|------------]
05/25/20 11:52:46 zmesdetect_m5[5713] DBG-1 utils.py:265 [secret filename: /etc/zm/secrets.ini]
05/25/20 11:52:46 zmesdetect_m5[5713] DBG-2 utils.py:238 [Secret token found in config: !ZM_PORTAL]
05/25/20 11:52:46 zmesdetect_m5[5713] DBG-2 utils.py:238 [Secret token found in config: !ZM_API_PORTAL]
05/25/20 11:52:46 zmesdetect_m5[5713] DBG-2 utils.py:238 [Secret token found in config: !ZM_USER]
05/25/20 11:52:46 zmesdetect_m5[5713] DBG-2 utils.py:238 [Secret token found in config: !ZM_PASSWORD]
05/25/20 11:52:46 zmesdetect_m5[5713] DBG-2 utils.py:238 [Secret token found in config: !PLATEREC_ALPR_KEY]
05/25/20 11:52:46 zmesdetect_m5[5713] DBG-1 utils.py:288 [allowing self-signed certs to work...]
05/25/20 11:52:46 zmesdetect_m5[5713] DBG-2 utils.py:343 [key [config] is '/var/lib/zmeventnotification/models/yolov3/yolov3.cfg' after substitution]
05/25/20 11:52:46 zmesdetect_m5[5713] DBG-2 utils.py:343 [key [weights] is '/var/lib/zmeventnotification/models/yolov3/yolov3.weights' after substitution]
05/25/20 11:52:46 zmesdetect_m5[5713] DBG-2 utils.py:343 [key [labels] is '/var/lib/zmeventnotification/models/yolov3/yolov3_classes.txt' after substitution]
05/25/20 11:52:46 zmesdetect_m5[5713] DBG-2 utils.py:343 [key [tiny_config] is '/var/lib/zmeventnotification/models/tinyyolo/yolov3-tiny.cfg' after substitution]
05/25/20 11:52:46 zmesdetect_m5[5713] DBG-2 utils.py:343 [key [tiny_weights] is '/var/lib/zmeventnotification/models/tinyyolo/yolov3-tiny.weights' after substitution]
05/25/20 11:52:46 zmesdetect_m5[5713] DBG-2 utils.py:343 [key [tiny_labels] is '/var/lib/zmeventnotification/models/tinyyolo/yolov3-tiny.txt' after substitution]
05/25/20 11:52:46 zmesdetect_m5[5713] DBG-2 utils.py:343 [key [known_images_path] is '/var/lib/zmeventnotification/known_faces' after substitution]
05/25/20 11:52:46 zmesdetect_m5[5713] DBG-2 utils.py:343 [key [unknown_images_path] is '/var/lib/zmeventnotification/unknown_faces' after substitution]
05/25/20 11:52:46 zmesdetect_m5[5713] INF zm_detect.py:206 [Importing local classes for Yolo/Face]
05/25/20 11:52:46 zmesdetect_m5[5713] DBG-1 utils.py:143 [Trying to download https://***hostname***/zm/index.php?view=image&eid=405627&fid=alarm&username=username&password=*****]
05/25/20 11:52:46 zmesdetect_m5[5713] DBG-1 utils.py:161 [Trying to download https://***hostname***/zm/index.php?view=image&eid=405627&fid=snapshot&username=username&password=*****]
05/25/20 11:52:46 zmesdetect_m5[5713] DBG-1 zm_detect.py:263 [No polygon area specfied, so adding a full image polygon:[{'name': 'full_image', 'value': [(0, 0), (640, 0), (640, 480), (0, 480)]}]]
05/25/20 11:52:46 zmesdetect_m5[5713] DBG-1 zm_detect.py:266 [resizing to 1200 before analysis...]
05/25/20 11:52:46 zmesdetect_m5[5713] DBG-2 utils.py:37 [resized polygons x=1.0/y=1.0: [{'name': 'full_image', 'value': [(0, 0), (640, 0), (640, 480), (0, 480)]}]]
05/25/20 11:52:46 zmesdetect_m5[5713] DBG-1 zm_detect.py:287 [User ALPR if vehicle found: False]
05/25/20 11:52:46 zmesdetect_m5[5713] DBG-1 zm_detect.py:369 [Using model: yolo with /var/lib/zmeventnotification/images/405627-alarm.jpg]
05/25/20 11:52:46 zmesdetect_m5[5713] DBG-1 yolo.py:48 [|---------- YOLO (input image: 640w*480h, resized to: 416w*416h) ----------|]
05/25/20 11:52:46 zmesdetect_m5[5713] DBG-1 yolo.py:59 [Initializing Yolo]
05/25/20 11:52:46 zmesdetect_m5[5713] DBG-2 yolo.py:61 [config:/var/lib/zmeventnotification/models/yolov3/yolov3.cfg, weights:/var/lib/zmeventnotification/models/yolov3/yolov3.weights]
05/25/20 11:52:49 zmesdetect_m5[5713] DBG-1 yolo.py:83 [Not using CUDA backend]
05/25/20 11:52:49 zmesdetect_m5[5713] DBG-1 yolo.py:88 [YOLO initialization (loading model from disk) took: 183.559 milliseconds]
05/25/20 11:52:52 zmesdetect_m5[5713] DBG-1 yolo.py:103 [YOLO detection took: 11.73 milliseconds]
05/25/20 11:52:52 zmesdetect_m5[5713] DBG-1 yolo.py:136 [YOLO NMS filtering took: 4.489 milliseconds]
05/25/20 11:52:52 zmesdetect_m5[5713] INF yolo.py:162 [object:person at [7, 296, 263, 480] has a acceptable confidence:0.9700866341590881 compared to min confidence of: 0.3, adding]
05/25/20 11:52:52 zmesdetect_m5[5713] INF yolo.py:162 [object:laptop at [201, 382, 375, 474] has a acceptable confidence:0.8613473176956177 compared to min confidence of: 0.3, adding]
05/25/20 11:52:52 zmesdetect_m5[5713] DBG-2 image_manip.py:269 [intersection: polygon in process=[(7, 296), (263, 296), (263, 480), (7, 480)]]
05/25/20 11:52:52 zmesdetect_m5[5713] DBG-2 image_manip.py:276 [full_image intersects object:person[[(7, 296), (263, 296), (263, 480), (7, 480)]]]
05/25/20 11:52:52 zmesdetect_m5[5713] DBG-2 image_manip.py:269 [intersection: polygon in process=[(201, 382), (375, 382), (375, 474), (201, 474)]]
05/25/20 11:52:52 zmesdetect_m5[5713] INF image_manip.py:283 [discarding "laptop" as it does not match your filters]
05/25/20 11:52:52 zmesdetect_m5[5713] DBG-1 image_manip.py:287 [full_image intersects object:laptop[[(201, 382), (375, 382), (375, 474), (201, 474)]] but does NOT match your detect_pattern filter of (person|car|motorbike|truck|dog|cat|bird)]
05/25/20 11:52:52 zmesdetect_m5[5713] DBG-2 zm_detect.py:598 [ALPR not in use, no need for look aheads in processing]
05/25/20 11:52:52 zmesdetect_m5[5713] INF zm_detect.py:615 [labels found: ['person']]
05/25/20 11:52:52 zmesdetect_m5[5713] DBG-2 zm_detect.py:618 [match found in /var/lib/zmeventnotification/images/405627-alarm.jpg, breaking file loop...]
05/25/20 11:52:57 zmesdetect_m5[5713] DBG-1 face_train.py:20 [Face Recognition library load time took: 0.009 milliseconds]
05/25/20 11:52:57 zmesdetect_m5[5713] DBG-1 face.py:24 [Initializing face recognition with model:cnn upsample:1, jitters:1]
05/25/20 11:52:57 zmesdetect_m5[5713] DBG-1 face.py:53 [trained file not found, reading from images and doing training...]
05/25/20 11:52:57 zmesdetect_m5[5713] DBG-1 face.py:56 [If you are using a GPU and run out of memory, do the training using zm_train_faces.py. In this case, other models like yolo may already take up a lot of GPU memory]
05/25/20 11:52:57 zmesdetect_m5[5713] DBG-1 face_train.py:53 [person_name is a directory. Processing all images inside it]
05/25/20 11:52:57 zmesdetect_m5[5713] DBG-1 face_train.py:58 [loading face from person_name/3.jpeg]
05/25/20 11:53:01 zmesdetect_m5[5789] INF zm_detect.py:177 [---------| hook version: 5.13.3, ES version: 5.13 , OpenCV version: 4.2.0|------------]
05/25/20 11:53:01 zmesdetect_m5[5789] DBG-1 utils.py:265 [secret filename: /etc/zm/secrets.ini]
05/25/20 11:53:01 zmesdetect_m5[5789] DBG-2 utils.py:238 [Secret token found in config: !ZM_PORTAL]
05/25/20 11:53:01 zmesdetect_m5[5789] DBG-2 utils.py:238 [Secret token found in config: !ZM_API_PORTAL]
05/25/20 11:53:01 zmesdetect_m5[5789] DBG-2 utils.py:238 [Secret token found in config: !ZM_USER]
05/25/20 11:53:01 zmesdetect_m5[5789] DBG-2 utils.py:238 [Secret token found in config: !ZM_PASSWORD]
05/25/20 11:53:01 zmesdetect_m5[5789] DBG-2 utils.py:238 [Secret token found in config: !PLATEREC_ALPR_KEY]
05/25/20 11:53:01 zmesdetect_m5[5789] DBG-1 utils.py:288 [allowing self-signed certs to work...]
05/25/20 11:53:01 zmesdetect_m5[5789] DBG-2 utils.py:343 [key [config] is '/var/lib/zmeventnotification/models/yolov3/yolov3.cfg' after substitution]
05/25/20 11:53:01 zmesdetect_m5[5789] DBG-2 utils.py:343 [key [weights] is '/var/lib/zmeventnotification/models/yolov3/yolov3.weights' after substitution]
05/25/20 11:53:01 zmesdetect_m5[5789] DBG-2 utils.py:343 [key [labels] is '/var/lib/zmeventnotification/models/yolov3/yolov3_classes.txt' after substitution]
05/25/20 11:53:01 zmesdetect_m5[5789] DBG-2 utils.py:343 [key [tiny_config] is '/var/lib/zmeventnotification/models/tinyyolo/yolov3-tiny.cfg' after substitution]
05/25/20 11:53:01 zmesdetect_m5[5789] DBG-2 utils.py:343 [key [tiny_weights] is '/var/lib/zmeventnotification/models/tinyyolo/yolov3-tiny.weights' after substitution]
05/25/20 11:53:01 zmesdetect_m5[5789] DBG-2 utils.py:343 [key [tiny_labels] is '/var/lib/zmeventnotification/models/tinyyolo/yolov3-tiny.txt' after substitution]
05/25/20 11:53:01 zmesdetect_m5[5789] DBG-2 utils.py:343 [key [known_images_path] is '/var/lib/zmeventnotification/known_faces' after substitution]
05/25/20 11:53:01 zmesdetect_m5[5789] DBG-2 utils.py:343 [key [unknown_images_path] is '/var/lib/zmeventnotification/unknown_faces' after substitution]
05/25/20 11:53:01 zmesdetect_m5[5789] INF zm_detect.py:206 [Importing local classes for Yolo/Face]
05/25/20 11:53:01 zmesdetect_m5[5789] DBG-1 utils.py:143 [Trying to download https://***hostname***/zm/index.php?view=image&eid=405628&fid=alarm&username=username&password=*****]
05/25/20 11:53:01 zmesdetect_m5[5789] DBG-1 utils.py:161 [Trying to download https://***hostname***/zm/index.php?view=image&eid=405628&fid=snapshot&username=username&password=*****]
05/25/20 11:53:01 zmesdetect_m5[5789] DBG-1 zm_detect.py:263 [No polygon area specfied, so adding a full image polygon:[{'name': 'full_image', 'value': [(0, 0), (640, 0), (640, 480), (0, 480)]}]]
05/25/20 11:53:01 zmesdetect_m5[5789] DBG-1 zm_detect.py:266 [resizing to 1200 before analysis...]
05/25/20 11:53:01 zmesdetect_m5[5789] DBG-2 utils.py:37 [resized polygons x=1.0/y=1.0: [{'name': 'full_image', 'value': [(0, 0), (640, 0), (640, 480), (0, 480)]}]]
05/25/20 11:53:01 zmesdetect_m5[5789] DBG-1 zm_detect.py:287 [User ALPR if vehicle found: False]
05/25/20 11:53:01 zmesdetect_m5[5789] DBG-1 zm_detect.py:369 [Using model: yolo with /var/lib/zmeventnotification/images/405628-alarm.jpg]
05/25/20 11:53:01 zmesdetect_m5[5789] DBG-1 yolo.py:48 [|---------- YOLO (input image: 640w*480h, resized to: 416w*416h) ----------|]
05/25/20 11:53:01 zmesdetect_m5[5789] DBG-1 yolo.py:59 [Initializing Yolo]
05/25/20 11:53:01 zmesdetect_m5[5789] DBG-2 yolo.py:61 [config:/var/lib/zmeventnotification/models/yolov3/yolov3.cfg, weights:/var/lib/zmeventnotification/models/yolov3/yolov3.weights]
05/25/20 11:53:03 zmesdetect_m5[5789] DBG-1 yolo.py:83 [Not using CUDA backend]
05/25/20 11:53:03 zmesdetect_m5[5789] DBG-1 yolo.py:88 [YOLO initialization (loading model from disk) took: 687.538 milliseconds]
05/25/20 11:53:06 zmesdetect_m5[5789] DBG-1 yolo.py:103 [YOLO detection took: 992.804 milliseconds]
05/25/20 11:53:07 zmesdetect_m5[5789] DBG-1 yolo.py:136 [YOLO NMS filtering took: 2.414 milliseconds]
05/25/20 11:53:07 zmesdetect_m5[5789] INF yolo.py:162 [object:person at [388, 80, 440, 242] has a acceptable confidence:0.38470223546028137 compared to min confidence of: 0.3, adding]
05/25/20 11:53:07 zmesdetect_m5[5789] DBG-2 image_manip.py:269 [intersection: polygon in process=[(388, 80), (440, 80), (440, 242), (388, 242)]]
05/25/20 11:53:07 zmesdetect_m5[5789] DBG-2 image_manip.py:276 [full_image intersects object:person[[(388, 80), (440, 80), (440, 242), (388, 242)]]]
05/25/20 11:53:07 zmesdetect_m5[5789] DBG-2 zm_detect.py:598 [ALPR not in use, no need for look aheads in processing]
05/25/20 11:53:07 zmesdetect_m5[5789] INF zm_detect.py:615 [labels found: ['person']]
05/25/20 11:53:07 zmesdetect_m5[5789] DBG-2 zm_detect.py:618 [match found in /var/lib/zmeventnotification/images/405628-alarm.jpg, breaking file loop...]
05/25/20 11:53:11 zmesdetect_m5[5789] DBG-1 face_train.py:20 [Face Recognition library load time took: 0.009 milliseconds]
05/25/20 11:53:11 zmesdetect_m5[5789] DBG-1 face.py:24 [Initializing face recognition with model:cnn upsample:1, jitters:1]
05/25/20 11:53:11 zmesdetect_m5[5789] DBG-1 face.py:53 [trained file not found, reading from images and doing training...]
05/25/20 11:53:11 zmesdetect_m5[5789] DBG-1 face.py:56 [If you are using a GPU and run out of memory, do the training using zm_train_faces.py. In this case, other models like yolo may already take up a lot of GPU memory]
05/25/20 11:53:11 zmesdetect_m5[5789] DBG-1 face_train.py:53 [person_name is a directory. Processing all images inside it]
05/25/20 11:53:11 zmesdetect_m5[5789] DBG-1 face_train.py:58 [loading face from person_name/3.jpeg]
05/25/20 12:46:34 zmesdetect_m5[10840] INF zm_detect.py:177 [---------| hook version: 5.13.3, ES version: 5.13 , OpenCV version: 4.2.0|------------]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-1 utils.py:265 [secret filename: /etc/zm/secrets.ini]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-2 utils.py:238 [Secret token found in config: !ZM_PORTAL]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-2 utils.py:238 [Secret token found in config: !ZM_API_PORTAL]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-2 utils.py:238 [Secret token found in config: !ZM_USER]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-2 utils.py:238 [Secret token found in config: !ZM_PASSWORD]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-2 utils.py:238 [Secret token found in config: !PLATEREC_ALPR_KEY]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-1 utils.py:288 [allowing self-signed certs to work...]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-2 utils.py:307 [[monitor-5] overrides key:import_zm_zones with value:yes]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-2 utils.py:307 [[monitor-5] overrides key:detect_pattern with value:(person)]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-2 utils.py:307 [[monitor-5] overrides key:models with value:yolo]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-2 utils.py:307 [[monitor-5] overrides key:frame_id with value:bestmatch]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-2 utils.py:307 [[monitor-5] overrides key:match_past_detections with value:no]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-2 utils.py:60 [Getting ZM zones using https://***hostname***/zm/api/zones/forMonitor/5.json?user=xxx&pass=yyy]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-1 utils.py:94 [importing zoneminder polygon: DoorPad [1,275 82,232 250,223 544,291 639,479 0,479]]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-1 utils.py:94 [importing zoneminder polygon: EntryLight [6,241 19,230 28,255 14,264]]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-1 utils.py:94 [importing zoneminder polygon: Window1 [592,33 609,33 595,177 558,312 547,282]]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-1 utils.py:94 [importing zoneminder polygon: GarageSideEntry [406,242 402,54 531,52 526,150 504,282 391,256]]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-1 utils.py:94 [importing zoneminder polygon: DrivewayEntry [140,111 293,80 310,235 246,222 84,230 118,191 182,170]]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-1 utils.py:94 [importing zoneminder polygon: Window2 [45,116 138,111 180,169 115,190 83,231]]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-2 utils.py:343 [key [config] is '/var/lib/zmeventnotification/models/yolov3/yolov3.cfg' after substitution]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-2 utils.py:343 [key [weights] is '/var/lib/zmeventnotification/models/yolov3/yolov3.weights' after substitution]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-2 utils.py:343 [key [labels] is '/var/lib/zmeventnotification/models/yolov3/yolov3_classes.txt' after substitution]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-2 utils.py:343 [key [tiny_config] is '/var/lib/zmeventnotification/models/tinyyolo/yolov3-tiny.cfg' after substitution]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-2 utils.py:343 [key [tiny_weights] is '/var/lib/zmeventnotification/models/tinyyolo/yolov3-tiny.weights' after substitution]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-2 utils.py:343 [key [tiny_labels] is '/var/lib/zmeventnotification/models/tinyyolo/yolov3-tiny.txt' after substitution]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-2 utils.py:343 [key [known_images_path] is '/var/lib/zmeventnotification/known_faces' after substitution]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-2 utils.py:343 [key [unknown_images_path] is '/var/lib/zmeventnotification/unknown_faces' after substitution]
05/25/20 12:46:34 zmesdetect_m5[10840] INF zm_detect.py:206 [Importing local classes for Yolo/Face]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-1 utils.py:143 [Trying to download https://***hostname***/zm/index.php?view=image&eid=405631&fid=alarm&username=username&password=*****]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-1 utils.py:161 [Trying to download https://***hostname***/zm/index.php?view=image&eid=405631&fid=snapshot&username=username&password=*****]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-1 zm_detect.py:266 [resizing to 1200 before analysis...]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-2 utils.py:37 [resized polygons x=1.0/y=1.0: [{'name': 'DoorPad', 'value': [(1, 275), (82, 232), (250, 223), (544, 291), (639, 479), (0, 479)]}, {'name': 'EntryLight', 'value': [(6, 241), (19, 230), (28, 255), (14, 264)]}, {'name': 'Window1', 'value': [(592, 33), (609, 33), (595, 177), (558, 312), (547, 282)]}, {'name': 'GarageSideEntry', 'value': [(406, 242), (402, 54), (531, 52), (526, 150), (504, 282), (391, 256)]}, {'name': 'DrivewayEntry', 'value': [(140, 111), (293, 80), (310, 235), (246, 222), (84, 230), (118, 191), (182, 170)]}, {'name': 'Window2', 'value': [(45, 116), (138, 111), (180, 169), (115, 190), (83, 231)]}]]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-1 zm_detect.py:287 [User ALPR if vehicle found: False]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-1 zm_detect.py:369 [Using model: yolo with /var/lib/zmeventnotification/images/405631-alarm.jpg]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-1 yolo.py:48 [|---------- YOLO (input image: 640w*480h, resized to: 416w*416h) ----------|]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-1 yolo.py:59 [Initializing Yolo]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-2 yolo.py:61 [config:/var/lib/zmeventnotification/models/yolov3/yolov3.cfg, weights:/var/lib/zmeventnotification/models/yolov3/yolov3.weights]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-1 yolo.py:83 [Not using CUDA backend]
05/25/20 12:46:34 zmesdetect_m5[10840] DBG-1 yolo.py:88 [YOLO initialization (loading model from disk) took: 434.54 milliseconds]
05/25/20 12:46:38 zmesdetect_m5[10840] DBG-1 yolo.py:103 [YOLO detection took: 186.499 milliseconds]
05/25/20 12:46:38 zmesdetect_m5[10840] DBG-1 yolo.py:136 [YOLO NMS filtering took: 2.549 milliseconds]
05/25/20 12:46:38 zmesdetect_m5[10840] INF yolo.py:162 [object:person at [10, 278, 268, 478] has a acceptable confidence:0.9766791462898254 compared to min confidence of: 0.3, adding]
05/25/20 12:46:38 zmesdetect_m5[10840] INF yolo.py:162 [object:laptop at [199, 385, 373, 475] has a acceptable confidence:0.9535558819770813 compared to min confidence of: 0.3, adding]
05/25/20 12:46:38 zmesdetect_m5[10840] INF yolo.py:171 [rejecting object:chair at [304, 392, 528, 476] because its confidence is :0.23611921072006226 compared to min confidence of: 0.3]
05/25/20 12:46:38 zmesdetect_m5[10840] DBG-2 image_manip.py:269 [intersection: polygon in process=[(10, 278), (268, 278), (268, 478), (10, 478)]]
05/25/20 12:46:38 zmesdetect_m5[10840] DBG-2 image_manip.py:276 [DoorPad intersects object:person[[(10, 278), (268, 278), (268, 478), (10, 478)]]]
05/25/20 12:46:38 zmesdetect_m5[10840] DBG-2 image_manip.py:269 [intersection: polygon in process=[(199, 385), (373, 385), (373, 475), (199, 475)]]
05/25/20 12:46:38 zmesdetect_m5[10840] INF image_manip.py:283 [discarding "laptop" as it does not match your filters]
05/25/20 12:46:38 zmesdetect_m5[10840] DBG-1 image_manip.py:287 [DoorPad intersects object:laptop[[(199, 385), (373, 385), (373, 475), (199, 475)]] but does NOT match your detect_pattern filter of (person)]
05/25/20 12:46:38 zmesdetect_m5[10840] DBG-2 zm_detect.py:598 [ALPR not in use, no need for look aheads in processing]
05/25/20 12:46:39 zmesdetect_m5[10840] INF zm_detect.py:615 [labels found: ['person']]
05/25/20 12:46:39 zmesdetect_m5[10840] DBG-2 zm_detect.py:618 [match found in /var/lib/zmeventnotification/images/405631-alarm.jpg, breaking file loop...]
05/25/20 12:46:39 zmesdetect_m5[10840] DBG-1 zm_detect.py:700 [Writing detected image to /var/cache/zoneminder/events/5/2020-05-25/405631/objdetect.jpg]
05/25/20 12:46:39 zmesdetect_m5[10840] DBG-1 zm_detect.py:704 [Writing JSON output to /var/cache/zoneminder/events/5/2020-05-25/405631/objects.json]
05/25/20 12:46:39 zmesdetect_m5[10840] INF zm_detect.py:757 [Prediction string:[a] detected:person:98% ]
05/25/20 12:46:39 zmesdetect_m5[10840] DBG-1 zm_detect.py:760 [Prediction string JSON:[{"type": "object", "label": "person", "box": [10, 278, 268, 478], "confidence": "97.67%"}]]
05/25/20 14:37:17 zmesdetect_m5[23318] INF zm_detect.py:177 [---------| hook version: 5.13.3, ES version: 5.13 , OpenCV version: 4.2.0|------------]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-1 utils.py:265 [secret filename: /etc/zm/secrets.ini]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-2 utils.py:238 [Secret token found in config: !ZM_PORTAL]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-2 utils.py:238 [Secret token found in config: !ZM_API_PORTAL]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-2 utils.py:238 [Secret token found in config: !ZM_USER]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-2 utils.py:238 [Secret token found in config: !ZM_PASSWORD]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-2 utils.py:238 [Secret token found in config: !PLATEREC_ALPR_KEY]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-1 utils.py:288 [allowing self-signed certs to work...]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-2 utils.py:307 [[monitor-5] overrides key:import_zm_zones with value:yes]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-2 utils.py:307 [[monitor-5] overrides key:detect_pattern with value:(person)]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-2 utils.py:307 [[monitor-5] overrides key:models with value:yolo]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-2 utils.py:307 [[monitor-5] overrides key:frame_id with value:bestmatch]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-2 utils.py:307 [[monitor-5] overrides key:match_past_detections with value:no]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-2 utils.py:60 [Getting ZM zones using https://***hostname***/zm/api/zones/forMonitor/5.json?user=xxx&pass=yyy]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-1 utils.py:94 [importing zoneminder polygon: DoorPad [1,275 82,232 250,223 544,291 639,479 0,479]]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-1 utils.py:94 [importing zoneminder polygon: EntryLight [6,241 19,230 28,255 14,264]]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-1 utils.py:94 [importing zoneminder polygon: Window1 [592,33 609,33 595,177 558,312 547,282]]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-1 utils.py:94 [importing zoneminder polygon: GarageSideEntry [406,242 402,54 531,52 526,150 504,282 391,256]]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-1 utils.py:94 [importing zoneminder polygon: DrivewayEntry [140,111 293,80 310,235 246,222 84,230 118,191 182,170]]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-1 utils.py:94 [importing zoneminder polygon: Window2 [45,116 138,111 180,169 115,190 83,231]]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-2 utils.py:343 [key [config] is '/var/lib/zmeventnotification/models/yolov3/yolov3.cfg' after substitution]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-2 utils.py:343 [key [weights] is '/var/lib/zmeventnotification/models/yolov3/yolov3.weights' after substitution]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-2 utils.py:343 [key [labels] is '/var/lib/zmeventnotification/models/yolov3/yolov3_classes.txt' after substitution]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-2 utils.py:343 [key [tiny_config] is '/var/lib/zmeventnotification/models/tinyyolo/yolov3-tiny.cfg' after substitution]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-2 utils.py:343 [key [tiny_weights] is '/var/lib/zmeventnotification/models/tinyyolo/yolov3-tiny.weights' after substitution]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-2 utils.py:343 [key [tiny_labels] is '/var/lib/zmeventnotification/models/tinyyolo/yolov3-tiny.txt' after substitution]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-2 utils.py:343 [key [known_images_path] is '/var/lib/zmeventnotification/known_faces' after substitution]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-2 utils.py:343 [key [unknown_images_path] is '/var/lib/zmeventnotification/unknown_faces' after substitution]
05/25/20 14:37:17 zmesdetect_m5[23318] INF zm_detect.py:206 [Importing local classes for Yolo/Face]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-1 utils.py:143 [Trying to download https://***hostname***/zm/index.php?view=image&eid=405637&fid=alarm&username=username&password=*****]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-1 utils.py:161 [Trying to download https://***hostname***/zm/index.php?view=image&eid=405637&fid=snapshot&username=username&password=*****]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-1 zm_detect.py:266 [resizing to 1200 before analysis...]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-2 utils.py:37 [resized polygons x=1.0/y=1.0: [{'name': 'DoorPad', 'value': [(1, 275), (82, 232), (250, 223), (544, 291), (639, 479), (0, 479)]}, {'name': 'EntryLight', 'value': [(6, 241), (19, 230), (28, 255), (14, 264)]}, {'name': 'Window1', 'value': [(592, 33), (609, 33), (595, 177), (558, 312), (547, 282)]}, {'name': 'GarageSideEntry', 'value': [(406, 242), (402, 54), (531, 52), (526, 150), (504, 282), (391, 256)]}, {'name': 'DrivewayEntry', 'value': [(140, 111), (293, 80), (310, 235), (246, 222), (84, 230), (118, 191), (182, 170)]}, {'name': 'Window2', 'value': [(45, 116), (138, 111), (180, 169), (115, 190), (83, 231)]}]]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-1 zm_detect.py:287 [User ALPR if vehicle found: False]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-1 zm_detect.py:369 [Using model: yolo with /var/lib/zmeventnotification/images/405637-alarm.jpg]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-1 yolo.py:48 [|---------- YOLO (input image: 640w*480h, resized to: 416w*416h) ----------|]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-1 yolo.py:59 [Initializing Yolo]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-2 yolo.py:61 [config:/var/lib/zmeventnotification/models/yolov3/yolov3.cfg, weights:/var/lib/zmeventnotification/models/yolov3/yolov3.weights]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-1 yolo.py:83 [Not using CUDA backend]
05/25/20 14:37:17 zmesdetect_m5[23318] DBG-1 yolo.py:88 [YOLO initialization (loading model from disk) took: 369.957 milliseconds]
05/25/20 14:37:21 zmesdetect_m5[23318] DBG-1 yolo.py:103 [YOLO detection took: 81.65 milliseconds]
05/25/20 14:37:21 zmesdetect_m5[23318] DBG-1 yolo.py:136 [YOLO NMS filtering took: 2.503 milliseconds]
05/25/20 14:37:21 zmesdetect_m5[23318] DBG-2 zm_detect.py:598 [ALPR not in use, no need for look aheads in processing]
05/25/20 14:37:21 zmesdetect_m5[23318] DBG-1 zm_detect.py:627 [No match found in /var/lib/zmeventnotification/images/405637-alarm.jpg using model:yolo]
05/25/20 14:37:21 zmesdetect_m5[23318] DBG-1 zm_detect.py:369 [Using model: yolo with /var/lib/zmeventnotification/images/405637-snapshot.jpg]
05/25/20 14:37:21 zmesdetect_m5[23318] DBG-1 yolo.py:48 [|---------- YOLO (input image: 640w*480h, resized to: 416w*416h) ----------|]
05/25/20 14:37:23 zmesdetect_m5[23318] DBG-1 yolo.py:103 [YOLO detection took: 246.303 milliseconds]
05/25/20 14:37:24 zmesdetect_m5[23318] DBG-1 yolo.py:136 [YOLO NMS filtering took: 2.901 milliseconds]
05/25/20 14:37:24 zmesdetect_m5[23318] DBG-2 zm_detect.py:598 [ALPR not in use, no need for look aheads in processing]
05/25/20 14:37:24 zmesdetect_m5[23318] DBG-1 zm_detect.py:627 [No match found in /var/lib/zmeventnotification/images/405637-snapshot.jpg using model:yolo]
05/25/20 14:37:24 zmesdetect_m5[23318] INF zm_detect.py:640 [No patterns found using any models in all files]
I shut off face detection after the first two failures grabbed in this log, so that at least the object detection would work until I got this sorted out, which is why additional logs didn't show the same failures. It just fails silently.
I tried running the examples for the face_recognition project in a Python3 shell. I'm able to do the
example successfully on one of my training images, and successfully exported a photo with lines around the features. However,
segfaults with no error message at all at face_recognition.face_encodings() regardless of the photo I use.
When I took your face_train.py and executed it line-by-line in the shell, it segfaulted on the face_locations() command.