Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 11/21/21 08:19:59.435239 zm_mlapi[1223] DBG1 new_yaml.py:242 [config:init: the supplied config file exists -> '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:19:59.464451 zm_mlapi[1223] DBG1 new_yaml.py:68 [config:hash: the SHA-256 hex digest for file '/var/lib/zmeventnotification/mlapiconfig.yml' -> 64887f41bd4469f01a01ceec67ccd643a287e016aa777e7d2042790cd5c14c30]
- 11/21/21 08:19:59.503658 zm_mlapi[1223] DBG1 new_yaml.py:265 [config::init: default configuration built (no secrets or substitution vars replaced, yet!)]
- 11/21/21 08:19:59.504459 zm_mlapi[1223] DBG1 new_yaml.py:170 [config:mlapi:proc: 21 built in default keys added to the 'base' config -> ['host', 'wsgi_server', 'same_model_high_conf', 'sanitize_str', 'log_user', 'log_group', 'log_name', 'force_mpd', 'auth_enabled', 'wait', 'max_detection_size', 'detection_sequence', 'smart_fs_thresh', 'object_framework', 'fp16_target', 'alpr_api_type', 'alpr_url', 'openalpr_recognize_vehicle', 'openalpr_country', 'openalpr_state', 'openalpr_min_confidence']]
- 11/21/21 08:19:59.504738 zm_mlapi[1223] DBG1 new_yaml.py:114 [config:mlapi:proc: substituting '{{variables}}' for the 'base' config keys]
- 11/21/21 08:19:59.505457 zm_mlapi[1223] DBG1 new_yaml.py:136 [config:mlapi: successfully replaced 3 default sub vars in the base config -> ['coral_models', 'base_data_path', 'yolo4_models']]
- 11/21/21 08:19:59.505809 zm_mlapi[1223] DBG1 new_yaml.py:285 [config:mlapi: the configured secrets file exists and is a file -> '/etc/zm/zm_secrets.yml']
- 11/21/21 08:19:59.506183 zm_mlapi[1223] DBG1 new_yaml.py:68 [config:hash: the SHA-256 hex digest for file '/etc/zm/zm_secrets.yml' -> 596f81f53027bc145563678e9079e717f30bd6c73af2b8dc9a9107e6fbf9ebad]
- 11/21/21 08:19:59.506563 zm_mlapi[1223] DBG1 new_yaml.py:291 [config:mlapi: starting '{[secrets]}' substitution]
- 11/21/21 08:19:59.511965 zm_mlapi[1223] DBG1 new_yaml.py:324 [config:mlapi: successfully replaced 3 secrets in the base config -> ['PLATEREC_ALPR_KEY', 'mlapi_one_key', 'MLAPI_SECRET_KEY']]
- 11/21/21 08:19:59.51239 zm_mlapi[1223] DBG1 new_yaml.py:329 [config:mlapi: there are 2 secrets configured that have no substitution candidates in the base config or the secrets file -> ['AWS_SECRET_ACCESS_KEY', 'AWS_ACCESS_KEY_ID']]
- 11/21/21 08:19:59.514028 zm_mlapi[1223] DBG1 new_yaml.py:358 [config:mlapi: starting '{{variable}}' substitution]
- 11/21/21 08:19:59.519105 zm_mlapi[1223] DBG1 new_yaml.py:375 [config:mlapi: successfully replaced 51 sub vars in the base config -> ['match_past_detections', 'past_det_max_diff_area', 'tpu_min_confidence', 'tpu_object_framework', 'cpu_max_processes', 'save_unknown_faces_leeway_pixels', 'smart_fps_thresh', 'face_recog_dist_threshold', 'frame_set', 'tpu_max_lock_wait', 'tpu_efficientdet_lite3', 'yolo4_object_weights', 'tpu_object_labels', 'alpr_key', 'face_train_model', 'object_detection_pattern', 'contained_area', 'tpu_object_weights_mobilenetv2', 'unknown_images_path', 'max_detection_size', 'openalpr_cmdline_binary', 'tpu_object_weights_mobiledet', 'yolo4_object_labels', 'gpu_max_processes', 'object_min_confidence', 'known_images_path', 'face_upsample_times', 'model_sequence', 'openalpr_cmdline_min_confidence', 'face_detection_pattern', 'yolo4_object_config', 'yolo4_object_processor', 'tpu_max_processes', 'face_num_jitters', 'gpu_max_lock_wait', 'same_model_sequence_strategy', 'show_models', 'tpu_tf2_mobilenetv2', 'yolo4_object_framework', 'platerec_min_dscore', 'cpu_max_lock_wait', 'save_unknown_faces', 'platerec_stats', 'disable_locks', 'platerec_min_score', 'face_detection_framework', 'alpr_detection_pattern', 'frame_strategy', 'openalpr_cmdline_params', 'tpu_face_weights_mobilenetv2', 'face_model']]
- 11/21/21 08:19:59.520263 zm_mlapi[1223] DBG1 new_yaml.py:187 [config:mlapi:proc: Base config has been built, all properly configured {[secrets]} and {{vars}} have been replaced! Remember you must manually build per monitor overrode configurations]
- 11/21/21 08:19:59.520614 zm_mlapi[1223] DBG1 new_yaml.py:416 [config:mlapi:6942069: attempting to build an overrode config from monitor '6942069' overrides]
- 11/21/21 08:19:59.521247 zm_mlapi[1223] DBG1 new_yaml.py:432 [config:mlapi:6942069: monitor '6942069' overrides, starting '{[secrets]}' substitution]
- 11/21/21 08:19:59.521521 zm_mlapi[1223] DBG1 new_yaml.py:474 [config:mlapi:6942069: no secrets were replace during overrode config build]
- 11/21/21 08:19:59.521791 zm_mlapi[1223] DBG1 new_yaml.py:512 [config:mlapi:6942069: no vars were replace during overrode config build]
- 11/21/21 08:19:59.522127 zm_mlapi[1223] DBG1 new_yaml.py:547 [config:mlapi:6942069: polygon specified -> 'front_yard_polygonzone' for monitor 6942069, validating polygon shape...]
- 11/21/21 08:19:59.522496 zm_mlapi[1223] DBG1 new_yaml.py:575 [config:mlapi:6942069: creating new entry in polygons!]
- 11/21/21 08:19:59.522771 zm_mlapi[1223] DBG1 new_yaml.py:583 [config:mlapi:6942069: successfully validated polygon for defined zone 'front_yard' -> [(0, 877), (2170, 553), (3822, 1131), (3822, 2141), (0, 2159)]]
- 11/21/21 08:19:59.523047 zm_mlapi[1223] DBG1 new_yaml.py:542 [config:mlapi:6942069: detection pattern for monitor '6942069' defined zone 'front_yard' -> (person|dog|cat)]
- 11/21/21 08:19:59.523598 zm_mlapi[1223] DBG1 new_yaml.py:598 [config:mlapi:6942069: 3 keys overridden in the 'base' config -> ['object_detection_pattern', 'frame_set', 'model_sequence']]
- 11/21/21 08:19:59.523868 zm_mlapi[1223] DBG1 new_yaml.py:603 [config:mlapi:6942069: 5 keys that did not have a 'base' value to override that are now in the 'base' config -> ['front_yard_polygonzone', 'front_yard_zone_detection_pattern', 'person_max_detection_size', 'person_min_confidence', 'defined zones']]
- 11/21/21 08:19:59.697826 zm_mlapi[1223] DBG1 ZMLog:336 [mlapi:signal handlers: Setting up for log 'rotation' and log 'interrupt']
- 11/21/21 08:19:59.524525 zm_mlapi[1223] DBG1 mlapi.py:162 [perf:mlapi:init: total time to build initial config -> 0.089335]
- 11/21/21 08:19:59.524382 zm_mlapi[1223] DBG1 new_yaml.py:637 [config:init:log: Zoneminder is installed]
- 11/21/21 08:19:59.707664 zm_mlapi[1223] DBG1 ZMLog:336 [|*** FORKED NEO - Machine Learning API (mlapi) version: 3.0.3 - pyzm version: 1.0.3 - OpenCV version: 4.5.4 ***|]
- 11/21/21 08:19:59.710896 zm_mlapi[1223] DBG1 ZMLog:336 [mlapi: using 'Flask' with a maximum of '1' processes as WSGI server @ 0.0.0.0:5000]
- 11/21/21 08:19:59.714197 zm_mlapi[1223] DBG1 ZMLog:336 [Connected to ZoneMinder Logging system with user 'root' -> '/var/log/zm/zm_mlapi.log']
- 11/21/21 08:20:04.982876 zm_mlapi[1223] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:20:04.989441 zm_mlapi[1223] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:20:04.995565 zm_mlapi[1223] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:20:05.0016 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.012042]
- 11/21/21 08:20:05.008152 zm_mlapi[1223] DBG1 mlapi:450 [mlapi:detect: monitor 6 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:20:05.014269 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:20:05.038267 zm_mlapi[1223] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:20:05.048196 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:20:05.053373 zm_mlapi[1223] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:20:05.062217 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:20:05.070659 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '213']
- 11/21/21 08:20:05.078678 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:20:05.08436 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 213]
- 11/21/21 08:20:05.089405 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:20:05.097088 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:20:05.119189 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:20:05.125801 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 213 - converting 'snapshot' to a frame ID -> s-18]
- 11/21/21 08:20:05.131848 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-18] - [Frame Buffer Length: 48] - [Previous Frame Buffer Length: 0]
- 11/21/21 08:20:05.13837 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=213&fid=18 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NDA0LCJleHAiOjE2Mzc0NzU2MDQsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.SmC2Se2uYUMLdb-IhLYBWFqzUmCOd4Zk-CKGCNYrWNU...'}]
- 11/21/21 08:20:05.308637 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:20:05.315754 zm_mlapi[1223] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1920, 0), (1920, 1080), (0, 1080)]]
- 11/21/21 08:20:05.322289 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:20:05.327432 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:20:05.358389 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:20:05.373992 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:20:05.383067 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-18]
- 11/21/21 08:20:05.390493 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-18 took 74.41 ms]
- 11/21/21 08:20:05.398447 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [1 frames processed: ['18']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 18] [Maximum # of frames to process: 3]]
- 11/21/21 08:20:05.417902 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:20:05.423786 zm_mlapi[1223] DBG2 Media:482 [media:read:image: Event: 213 - converting 'alarm' to a frame ID -> a-5]
- 11/21/21 08:20:05.428287 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-5] - [Frame Buffer Length: 48] - [Previous Frame Buffer Length: 48]
- 11/21/21 08:20:05.432517 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=213&fid=5 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NDA0LCJleHAiOjE2Mzc0NzU2MDQsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.SmC2Se2uYUMLdb-IhLYBWFqzUmCOd4Zk-CKGCNYrWNU...'}]
- 11/21/21 08:20:05.581849 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:20:05.59115 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:20:05.599793 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:20:05.604863 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:20:05.610762 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:20:05.619565 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-5]
- 11/21/21 08:20:05.629482 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-5 took 38.71 ms]
- 11/21/21 08:20:05.636808 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [2 frames processed: ['18', '5']] - [0 Frames skipped: []] - [Requested FID: snapshot] [Last Requested Frame ID: 5] [Maximum # of frames to process: 3]]
- 11/21/21 08:20:05.655469 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:20:05.66272 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 213 - converting 'snapshot' to a frame ID -> s-18]
- 11/21/21 08:20:05.668721 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-18] - [Frame Buffer Length: 48] - [Previous Frame Buffer Length: 48]
- 11/21/21 08:20:05.673614 zm_mlapi[1223] DBG1 Media:502 [media:read:image: the frame buffer (48) for event '213' is no longer growing. All out of bound frame ID's will be skipped instead of being reduced to the last available frame buffer ID]
- 11/21/21 08:20:05.677831 zm_mlapi[1223] DBG1 Media:519 [media:read:image: skipping frame ID: 's-18' as it has already been processed for event 213 -> processed Frame IDs: ['18', '5']]
- 11/21/21 08:20:05.682381 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:20:05.687617 zm_mlapi[1223] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': office (6)->'Event': 213 -> complete detection sequence took: 617.45 ms]
- 11/21/21 08:20:05.698154 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:20:14.989322 zm_mlapi[1223] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:20:14.994577 zm_mlapi[1223] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:20:14.999548 zm_mlapi[1223] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:20:15.004769 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.010633]
- 11/21/21 08:20:15.009821 zm_mlapi[1223] DBG1 mlapi:450 [mlapi:detect: monitor 6 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:20:15.014497 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:20:15.020914 zm_mlapi[1223] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:20:15.026735 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:20:15.030595 zm_mlapi[1223] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:20:15.035324 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:20:15.03997 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '214']
- 11/21/21 08:20:15.044714 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:20:15.049724 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 214]
- 11/21/21 08:20:15.054268 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:20:15.058983 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:20:15.075831 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:20:15.080575 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 214 - converting 'snapshot' to a frame ID -> s-19]
- 11/21/21 08:20:15.085122 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-19] - [Frame Buffer Length: 35] - [Previous Frame Buffer Length: 48]
- 11/21/21 08:20:15.090052 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=214&fid=19 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NDE0LCJleHAiOjE2Mzc0NzU2MTQsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.fLoTZojFviNTlpWivydeQsTwXa82jkrrenSHoFRuuOo...'}]
- 11/21/21 08:20:15.245666 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:20:15.259355 zm_mlapi[1223] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1920, 0), (1920, 1080), (0, 1080)]]
- 11/21/21 08:20:15.265386 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:20:15.274923 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:20:15.280263 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:20:15.28799 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:20:15.296249 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-19]
- 11/21/21 08:20:15.303367 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-19 took 44.15 ms]
- 11/21/21 08:20:15.308631 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [1 frames processed: ['19']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 19] [Maximum # of frames to process: 3]]
- 11/21/21 08:20:15.326832 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:20:15.330743 zm_mlapi[1223] DBG2 Media:482 [media:read:image: Event: 214 - converting 'alarm' to a frame ID -> a-15]
- 11/21/21 08:20:15.335949 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-15] - [Frame Buffer Length: 51] - [Previous Frame Buffer Length: 35]
- 11/21/21 08:20:15.34017 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=214&fid=15 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NDE0LCJleHAiOjE2Mzc0NzU2MTQsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.fLoTZojFviNTlpWivydeQsTwXa82jkrrenSHoFRuuOo...'}]
- 11/21/21 08:20:15.49529 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:20:15.50099 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:20:15.504859 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:20:15.508574 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:20:15.514187 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:20:15.522064 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-15]
- 11/21/21 08:20:15.527305 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-15 took 26.28 ms]
- 11/21/21 08:20:15.534118 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [2 frames processed: ['19', '15']] - [0 Frames skipped: []] - [Requested FID: snapshot] [Last Requested Frame ID: 15] [Maximum # of frames to process: 3]]
- 11/21/21 08:20:15.55088 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:20:15.556047 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 214 - converting 'snapshot' to a frame ID -> s-19]
- 11/21/21 08:20:15.56315 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-19] - [Frame Buffer Length: 51] - [Previous Frame Buffer Length: 51]
- 11/21/21 08:20:15.568215 zm_mlapi[1223] DBG1 Media:519 [media:read:image: skipping frame ID: 's-19' as it has already been processed for event 214 -> processed Frame IDs: ['19', '15']]
- 11/21/21 08:20:15.572957 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:20:15.578352 zm_mlapi[1223] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': office (6)->'Event': 214 -> complete detection sequence took: 538.65 ms]
- 11/21/21 08:20:15.582912 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:20:29.939296 zm_mlapi[1223] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:20:29.943841 zm_mlapi[1223] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:20:29.947774 zm_mlapi[1223] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:20:29.951696 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.007986]
- 11/21/21 08:20:29.955629 zm_mlapi[1223] DBG1 mlapi:450 [mlapi:detect: monitor 6 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:20:29.959567 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:20:29.964826 zm_mlapi[1223] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:20:29.968732 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:20:29.971765 zm_mlapi[1223] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:20:29.975568 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:20:29.979748 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '215']
- 11/21/21 08:20:29.983658 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:20:29.987633 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 215]
- 11/21/21 08:20:29.992054 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:20:29.996177 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:20:30.014617 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:20:30.019148 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 215 - converting 'snapshot' to a frame ID -> s-18]
- 11/21/21 08:20:30.0236 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-18] - [Frame Buffer Length: 82] - [Previous Frame Buffer Length: 51]
- 11/21/21 08:20:30.028216 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=215&fid=18 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NDI5LCJleHAiOjE2Mzc0NzU2MjksInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.Otsg66k_uHvchkQ93NlX2xF0R6B9dg34FmVyR73Qhg0...'}]
- 11/21/21 08:20:30.169164 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:20:30.174771 zm_mlapi[1223] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1920, 0), (1920, 1080), (0, 1080)]]
- 11/21/21 08:20:30.178975 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:20:30.182979 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:20:30.186149 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:20:30.190707 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:20:30.195953 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-18]
- 11/21/21 08:20:30.200343 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-18 took 25.72 ms]
- 11/21/21 08:20:30.204566 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [1 frames processed: ['18']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 18] [Maximum # of frames to process: 3]]
- 11/21/21 08:20:30.221245 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:20:30.225413 zm_mlapi[1223] DBG2 Media:482 [media:read:image: Event: 215 - converting 'alarm' to a frame ID -> a-15]
- 11/21/21 08:20:30.230282 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-15] - [Frame Buffer Length: 82] - [Previous Frame Buffer Length: 82]
- 11/21/21 08:20:30.2345 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=215&fid=15 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NDI5LCJleHAiOjE2Mzc0NzU2MjksInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.Otsg66k_uHvchkQ93NlX2xF0R6B9dg34FmVyR73Qhg0...'}]
- 11/21/21 08:20:30.385267 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:20:30.39026 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:20:30.394495 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:20:30.397631 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:20:30.4018 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:20:30.40672 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-15]
- 11/21/21 08:20:30.410798 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-15 took 20.59 ms]
- 11/21/21 08:20:30.414777 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [2 frames processed: ['18', '15']] - [0 Frames skipped: []] - [Requested FID: snapshot] [Last Requested Frame ID: 15] [Maximum # of frames to process: 3]]
- 11/21/21 08:20:30.429749 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:20:30.433866 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 215 - converting 'snapshot' to a frame ID -> s-18]
- 11/21/21 08:20:30.438001 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-18] - [Frame Buffer Length: 82] - [Previous Frame Buffer Length: 82]
- 11/21/21 08:20:30.443042 zm_mlapi[1223] DBG1 Media:502 [media:read:image: the frame buffer (82) for event '215' is no longer growing. All out of bound frame ID's will be skipped instead of being reduced to the last available frame buffer ID]
- 11/21/21 08:20:30.448176 zm_mlapi[1223] DBG1 Media:519 [media:read:image: skipping frame ID: 's-18' as it has already been processed for event 215 -> processed Frame IDs: ['18', '15']]
- 11/21/21 08:20:30.45367 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:20:30.458301 zm_mlapi[1223] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': office (6)->'Event': 215 -> complete detection sequence took: 478.62 ms]
- 11/21/21 08:20:30.461604 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:20:34.905067 zm_mlapi[1223] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:20:34.909711 zm_mlapi[1223] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:20:34.914332 zm_mlapi[1223] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:20:34.918416 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.008797]
- 11/21/21 08:20:34.923804 zm_mlapi[1223] DBG1 mlapi:450 [mlapi:detect: monitor 6 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:20:34.927869 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:20:34.933452 zm_mlapi[1223] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:20:34.937598 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:20:34.940692 zm_mlapi[1223] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:20:34.944707 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:20:34.948832 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '216']
- 11/21/21 08:20:34.952775 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:20:34.956881 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 216]
- 11/21/21 08:20:34.960897 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:20:34.965071 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:20:34.979494 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:20:34.983696 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 216 - converting 'snapshot' to a frame ID -> s-17]
- 11/21/21 08:20:34.988114 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-17] - [Frame Buffer Length: 17] - [Previous Frame Buffer Length: 82]
- 11/21/21 08:20:34.992993 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=216&fid=17 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NDM0LCJleHAiOjE2Mzc0NzU2MzQsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.KGPc7BSS9qoIon3VbJltwUdZJfC1EV1xxicZ0djGNmE...'}]
- 11/21/21 08:20:35.136501 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:20:35.1422 zm_mlapi[1223] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1920, 0), (1920, 1080), (0, 1080)]]
- 11/21/21 08:20:35.146841 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:20:35.150876 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:20:35.154368 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:20:35.158465 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:20:35.163456 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-17]
- 11/21/21 08:20:35.167322 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-17 took 25.33 ms]
- 11/21/21 08:20:35.171483 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [1 frames processed: ['17']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 17] [Maximum # of frames to process: 3]]
- 11/21/21 08:20:35.188471 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:20:35.192669 zm_mlapi[1223] DBG2 Media:482 [media:read:image: Event: 216 - converting 'alarm' to a frame ID -> a-8]
- 11/21/21 08:20:35.196579 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-8] - [Frame Buffer Length: 32] - [Previous Frame Buffer Length: 17]
- 11/21/21 08:20:35.200613 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=216&fid=8 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NDM0LCJleHAiOjE2Mzc0NzU2MzQsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.KGPc7BSS9qoIon3VbJltwUdZJfC1EV1xxicZ0djGNmE...'}]
- 11/21/21 08:20:35.344076 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:20:35.349012 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:20:35.352978 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:20:35.356172 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:20:35.36021 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:20:35.365349 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-8]
- 11/21/21 08:20:35.369427 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-8 took 20.41 ms]
- 11/21/21 08:20:35.373389 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [2 frames processed: ['17', '8']] - [0 Frames skipped: []] - [Requested FID: snapshot] [Last Requested Frame ID: 8] [Maximum # of frames to process: 3]]
- 11/21/21 08:20:35.388881 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:20:35.392988 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 216 - converting 'snapshot' to a frame ID -> s-17]
- 11/21/21 08:20:35.396777 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-17] - [Frame Buffer Length: 32] - [Previous Frame Buffer Length: 32]
- 11/21/21 08:20:35.400691 zm_mlapi[1223] DBG1 Media:519 [media:read:image: skipping frame ID: 's-17' as it has already been processed for event 216 -> processed Frame IDs: ['17', '8']]
- 11/21/21 08:20:35.406505 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:20:35.413661 zm_mlapi[1223] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': office (6)->'Event': 216 -> complete detection sequence took: 464.83 ms]
- 11/21/21 08:20:35.41725 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:20:49.9543 zm_mlapi[1223] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:20:49.958732 zm_mlapi[1223] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:20:49.962594 zm_mlapi[1223] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:20:49.966545 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.007914]
- 11/21/21 08:20:49.970457 zm_mlapi[1223] DBG1 mlapi:450 [mlapi:detect: monitor 6 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:20:49.974947 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:20:49.98216 zm_mlapi[1223] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:20:49.986513 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:20:49.989641 zm_mlapi[1223] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:20:49.993661 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:20:49.998254 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '217']
- 11/21/21 08:20:50.002904 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:20:50.008463 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 217]
- 11/21/21 08:20:50.013882 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:20:50.018573 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:20:50.041706 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:20:50.046518 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 217 - converting 'snapshot' to a frame ID -> s-37]
- 11/21/21 08:20:50.050777 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-37] - [Frame Buffer Length: 52] - [Previous Frame Buffer Length: 32]
- 11/21/21 08:20:50.055204 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=217&fid=37 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NDQ5LCJleHAiOjE2Mzc0NzU2NDksInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.iKomidF9HRurdAuZeLe0Hn_itapK9BuCtPJKEucndA8...'}]
- 11/21/21 08:20:50.212133 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:20:50.217428 zm_mlapi[1223] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1920, 0), (1920, 1080), (0, 1080)]]
- 11/21/21 08:20:50.223109 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:20:50.228439 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:20:50.232632 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:20:50.237759 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:20:50.244258 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-37]
- 11/21/21 08:20:50.249394 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-37 took 32.12 ms]
- 11/21/21 08:20:50.252963 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [1 frames processed: ['37']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 37] [Maximum # of frames to process: 3]]
- 11/21/21 08:20:50.268928 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:20:50.273202 zm_mlapi[1223] DBG2 Media:482 [media:read:image: Event: 217 - converting 'alarm' to a frame ID -> a-5]
- 11/21/21 08:20:50.277632 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-5] - [Frame Buffer Length: 52] - [Previous Frame Buffer Length: 52]
- 11/21/21 08:20:50.282343 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=217&fid=5 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NDQ5LCJleHAiOjE2Mzc0NzU2NDksInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.iKomidF9HRurdAuZeLe0Hn_itapK9BuCtPJKEucndA8...'}]
- 11/21/21 08:20:50.427422 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:20:50.432522 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:20:50.437215 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:20:50.441351 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:20:50.446105 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:20:50.45111 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-5]
- 11/21/21 08:20:50.454989 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-5 took 22.62 ms]
- 11/21/21 08:20:50.458885 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [2 frames processed: ['37', '5']] - [0 Frames skipped: []] - [Requested FID: snapshot] [Last Requested Frame ID: 5] [Maximum # of frames to process: 3]]
- 11/21/21 08:20:50.479884 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:20:50.484434 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 217 - converting 'snapshot' to a frame ID -> s-37]
- 11/21/21 08:20:50.488509 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-37] - [Frame Buffer Length: 67] - [Previous Frame Buffer Length: 52]
- 11/21/21 08:20:50.492545 zm_mlapi[1223] DBG1 Media:519 [media:read:image: skipping frame ID: 's-37' as it has already been processed for event 217 -> processed Frame IDs: ['37', '5']]
- 11/21/21 08:20:50.496979 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:20:50.500988 zm_mlapi[1223] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': office (6)->'Event': 217 -> complete detection sequence took: 502.92 ms]
- 11/21/21 08:20:50.504163 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:20:59.952911 zm_mlapi[1223] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:20:59.9579 zm_mlapi[1223] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:20:59.96237 zm_mlapi[1223] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:20:59.966581 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.008839]
- 11/21/21 08:20:59.970912 zm_mlapi[1223] DBG1 mlapi:450 [mlapi:detect: monitor 6 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:20:59.975485 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:20:59.982275 zm_mlapi[1223] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:20:59.987774 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:20:59.991259 zm_mlapi[1223] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:20:59.995448 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:20:59.99994 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '218']
- 11/21/21 08:21:00.004273 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:21:00.008485 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 218]
- 11/21/21 08:21:00.012984 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:21:00.017051 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:21:00.035937 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:21:00.040487 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 218 - converting 'snapshot' to a frame ID -> s-41]
- 11/21/21 08:21:00.046126 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-41] - [Frame Buffer Length: 41] - [Previous Frame Buffer Length: 67]
- 11/21/21 08:21:00.051366 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=218&fid=41 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NDU5LCJleHAiOjE2Mzc0NzU2NTksInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.L9-UX9ut8OL54mINkFvgg7cDt0nUdWAQrT4_iPgsKfY...'}]
- 11/21/21 08:21:00.210185 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:21:00.215946 zm_mlapi[1223] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1920, 0), (1920, 1080), (0, 1080)]]
- 11/21/21 08:21:00.221799 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:21:00.225975 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:21:00.229941 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:21:00.234061 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:21:00.240575 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-41]
- 11/21/21 08:21:00.245207 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-41 took 29.23 ms]
- 11/21/21 08:21:00.249782 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [1 frames processed: ['41']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 41] [Maximum # of frames to process: 3]]
- 11/21/21 08:21:00.266614 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:21:00.273084 zm_mlapi[1223] DBG2 Media:482 [media:read:image: Event: 218 - converting 'alarm' to a frame ID -> a-14]
- 11/21/21 08:21:00.278306 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-14] - [Frame Buffer Length: 41] - [Previous Frame Buffer Length: 41]
- 11/21/21 08:21:00.283048 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=218&fid=14 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NDU5LCJleHAiOjE2Mzc0NzU2NTksInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.L9-UX9ut8OL54mINkFvgg7cDt0nUdWAQrT4_iPgsKfY...'}]
- 11/21/21 08:21:00.439261 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:21:00.444764 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:21:00.449454 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:21:00.452797 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:21:00.457145 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:21:00.463101 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-14]
- 11/21/21 08:21:00.469035 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-14 took 24.09 ms]
- 11/21/21 08:21:00.474054 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [2 frames processed: ['41', '14']] - [0 Frames skipped: []] - [Requested FID: snapshot] [Last Requested Frame ID: 14] [Maximum # of frames to process: 3]]
- 11/21/21 08:21:00.491132 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:21:00.49553 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 218 - converting 'snapshot' to a frame ID -> s-41]
- 11/21/21 08:21:00.499412 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-41] - [Frame Buffer Length: 41] - [Previous Frame Buffer Length: 41]
- 11/21/21 08:21:00.503346 zm_mlapi[1223] DBG1 Media:502 [media:read:image: the frame buffer (41) for event '218' is no longer growing. All out of bound frame ID's will be skipped instead of being reduced to the last available frame buffer ID]
- 11/21/21 08:21:00.507315 zm_mlapi[1223] DBG1 Media:519 [media:read:image: skipping frame ID: 's-41' as it has already been processed for event 218 -> processed Frame IDs: ['41', '14']]
- 11/21/21 08:21:00.511794 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:21:00.515789 zm_mlapi[1223] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': office (6)->'Event': 218 -> complete detection sequence took: 516.26 ms]
- 11/21/21 08:21:00.518548 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:21:15.005226 zm_mlapi[1223] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:21:15.011181 zm_mlapi[1223] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:21:15.016522 zm_mlapi[1223] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:21:15.021479 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.0105]
- 11/21/21 08:21:15.025786 zm_mlapi[1223] DBG1 mlapi:450 [mlapi:detect: monitor 6 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:21:15.029801 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:21:15.03578 zm_mlapi[1223] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:21:15.040527 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:21:15.043797 zm_mlapi[1223] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:21:15.048772 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:21:15.055328 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '219']
- 11/21/21 08:21:15.060789 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:21:15.06649 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 219]
- 11/21/21 08:21:15.072346 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:21:15.079368 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:21:15.09693 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:21:15.101685 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 219 - converting 'snapshot' to a frame ID -> s-21]
- 11/21/21 08:21:15.107314 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-21] - [Frame Buffer Length: 37] - [Previous Frame Buffer Length: 41]
- 11/21/21 08:21:15.114704 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=219&fid=21 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NDc0LCJleHAiOjE2Mzc0NzU2NzQsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.TVXTEg_1vRIIECIzZMQfAhmzAsIX0CsWRp3E9QW4W54...'}]
- 11/21/21 08:21:15.280959 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:21:15.285958 zm_mlapi[1223] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1920, 0), (1920, 1080), (0, 1080)]]
- 11/21/21 08:21:15.28996 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:21:15.294065 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:21:15.297434 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:21:15.302762 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:21:15.3104 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-21]
- 11/21/21 08:21:15.317129 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-21 took 31.02 ms]
- 11/21/21 08:21:15.323492 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [1 frames processed: ['21']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 21] [Maximum # of frames to process: 3]]
- 11/21/21 08:21:15.341284 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:21:15.347302 zm_mlapi[1223] DBG2 Media:482 [media:read:image: Event: 219 - converting 'alarm' to a frame ID -> a-16]
- 11/21/21 08:21:15.353179 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-16] - [Frame Buffer Length: 37] - [Previous Frame Buffer Length: 37]
- 11/21/21 08:21:15.358692 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=219&fid=16 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NDc0LCJleHAiOjE2Mzc0NzU2NzQsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.TVXTEg_1vRIIECIzZMQfAhmzAsIX0CsWRp3E9QW4W54...'}]
- 11/21/21 08:21:15.512121 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:21:15.520328 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:21:15.531378 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:21:15.536872 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:21:15.541246 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:21:15.547514 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-16]
- 11/21/21 08:21:15.552173 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-16 took 31.97 ms]
- 11/21/21 08:21:15.558482 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [2 frames processed: ['21', '16']] - [0 Frames skipped: []] - [Requested FID: snapshot] [Last Requested Frame ID: 16] [Maximum # of frames to process: 3]]
- 11/21/21 08:21:15.580834 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:21:15.585904 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 219 - converting 'snapshot' to a frame ID -> s-21]
- 11/21/21 08:21:15.590977 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-21] - [Frame Buffer Length: 53] - [Previous Frame Buffer Length: 37]
- 11/21/21 08:21:15.597806 zm_mlapi[1223] DBG1 Media:519 [media:read:image: skipping frame ID: 's-21' as it has already been processed for event 219 -> processed Frame IDs: ['21', '16']]
- 11/21/21 08:21:15.606864 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:21:15.61231 zm_mlapi[1223] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': office (6)->'Event': 219 -> complete detection sequence took: 556.99 ms]
- 11/21/21 08:21:15.617317 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:21:24.983072 zm_mlapi[1223] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:21:24.988636 zm_mlapi[1223] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:21:24.994234 zm_mlapi[1223] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:21:24.998871 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.010476]
- 11/21/21 08:21:25.004747 zm_mlapi[1223] DBG1 mlapi:450 [mlapi:detect: monitor 6 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:21:25.010606 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:21:25.019349 zm_mlapi[1223] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:21:25.025147 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:21:25.029915 zm_mlapi[1223] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:21:25.035054 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:21:25.039756 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '220']
- 11/21/21 08:21:25.044742 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:21:25.04938 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 220]
- 11/21/21 08:21:25.053874 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:21:25.058355 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:21:25.079574 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:21:25.083903 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 220 - converting 'snapshot' to a frame ID -> s-16]
- 11/21/21 08:21:25.088938 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-16] - [Frame Buffer Length: 61] - [Previous Frame Buffer Length: 53]
- 11/21/21 08:21:25.093699 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=220&fid=16 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NDg0LCJleHAiOjE2Mzc0NzU2ODQsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.ZQPv4jVzi8aFG0ymZGoX7KMlbgs8Tec1kXtH8Kz8pS8...'}]
- 11/21/21 08:21:25.255041 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:21:25.262011 zm_mlapi[1223] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1920, 0), (1920, 1080), (0, 1080)]]
- 11/21/21 08:21:25.268552 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:21:25.2755 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:21:25.281238 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:21:25.286654 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:21:25.29209 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-16]
- 11/21/21 08:21:25.296418 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-16 took 34.43 ms]
- 11/21/21 08:21:25.30087 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [1 frames processed: ['16']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 16] [Maximum # of frames to process: 3]]
- 11/21/21 08:21:25.316919 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:21:25.321873 zm_mlapi[1223] DBG2 Media:482 [media:read:image: Event: 220 - converting 'alarm' to a frame ID -> a-8]
- 11/21/21 08:21:25.326733 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-8] - [Frame Buffer Length: 61] - [Previous Frame Buffer Length: 61]
- 11/21/21 08:21:25.331109 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=220&fid=8 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NDg0LCJleHAiOjE2Mzc0NzU2ODQsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.ZQPv4jVzi8aFG0ymZGoX7KMlbgs8Tec1kXtH8Kz8pS8...'}]
- 11/21/21 08:21:25.491447 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:21:25.498458 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:21:25.503188 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:21:25.507879 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:21:25.527427 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:21:25.533964 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-8]
- 11/21/21 08:21:25.538736 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-8 took 40.48 ms]
- 11/21/21 08:21:25.542927 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [2 frames processed: ['16', '8']] - [0 Frames skipped: []] - [Requested FID: snapshot] [Last Requested Frame ID: 8] [Maximum # of frames to process: 3]]
- 11/21/21 08:21:25.559219 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:21:25.563857 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 220 - converting 'snapshot' to a frame ID -> s-16]
- 11/21/21 08:21:25.569291 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-16] - [Frame Buffer Length: 61] - [Previous Frame Buffer Length: 61]
- 11/21/21 08:21:25.574091 zm_mlapi[1223] DBG1 Media:502 [media:read:image: the frame buffer (61) for event '220' is no longer growing. All out of bound frame ID's will be skipped instead of being reduced to the last available frame buffer ID]
- 11/21/21 08:21:25.578668 zm_mlapi[1223] DBG1 Media:519 [media:read:image: skipping frame ID: 's-16' as it has already been processed for event 220 -> processed Frame IDs: ['16', '8']]
- 11/21/21 08:21:25.583732 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:21:25.587765 zm_mlapi[1223] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': office (6)->'Event': 220 -> complete detection sequence took: 548.13 ms]
- 11/21/21 08:21:25.593112 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:21:34.941378 zm_mlapi[1223] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:21:34.947696 zm_mlapi[1223] DBG1 mlapi:438 [mlapi:detect: the config file has changed since it was last read, rebuilding config!]
- 11/21/21 08:21:34.952009 zm_mlapi[1223] DBG1 new_yaml:242 [config:init: the supplied config file exists -> '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:21:34.957405 zm_mlapi[1223] DBG1 new_yaml:68 [config:hash: the SHA-256 hex digest for file '/var/lib/zmeventnotification/mlapiconfig.yml' -> 14cb6216c4cec14ea9629d48c31ef14a1802b915edecf10a1ef1d12d929ead2d]
- 11/21/21 08:21:35.002244 zm_mlapi[1223] DBG1 new_yaml:265 [config::init: default configuration built (no secrets or substitution vars replaced, yet!)]
- 11/21/21 08:21:35.008343 zm_mlapi[1223] DBG1 new_yaml:170 [config:mlapi:proc: 21 built in default keys added to the 'base' config -> ['host', 'wsgi_server', 'same_model_high_conf', 'sanitize_str', 'log_user', 'log_group', 'log_name', 'force_mpd', 'auth_enabled', 'wait', 'max_detection_size', 'detection_sequence', 'smart_fs_thresh', 'object_framework', 'fp16_target', 'alpr_api_type', 'alpr_url', 'openalpr_recognize_vehicle', 'openalpr_country', 'openalpr_state', 'openalpr_min_confidence']]
- 11/21/21 08:21:35.013097 zm_mlapi[1223] DBG1 new_yaml:114 [config:mlapi:proc: substituting '{{variables}}' for the 'base' config keys]
- 11/21/21 08:21:35.017377 zm_mlapi[1223] DBG1 new_yaml:136 [config:mlapi: successfully replaced 3 default sub vars in the base config -> ['coral_models', 'base_data_path', 'yolo4_models']]
- 11/21/21 08:21:35.021468 zm_mlapi[1223] DBG1 new_yaml:285 [config:mlapi: the configured secrets file exists and is a file -> '/etc/zm/zm_secrets.yml']
- 11/21/21 08:21:35.025856 zm_mlapi[1223] DBG1 new_yaml:68 [config:hash: the SHA-256 hex digest for file '/etc/zm/zm_secrets.yml' -> 596f81f53027bc145563678e9079e717f30bd6c73af2b8dc9a9107e6fbf9ebad]
- 11/21/21 08:21:35.030349 zm_mlapi[1223] DBG1 new_yaml:291 [config:mlapi: starting '{[secrets]}' substitution]
- 11/21/21 08:21:35.039822 zm_mlapi[1223] DBG1 new_yaml:324 [config:mlapi: successfully replaced 3 secrets in the base config -> ['PLATEREC_ALPR_KEY', 'mlapi_one_key', 'MLAPI_SECRET_KEY']]
- 11/21/21 08:21:35.044319 zm_mlapi[1223] DBG1 new_yaml:329 [config:mlapi: there are 2 secrets configured that have no substitution candidates in the base config or the secrets file -> ['AWS_SECRET_ACCESS_KEY', 'AWS_ACCESS_KEY_ID']]
- 11/21/21 08:21:35.049472 zm_mlapi[1223] DBG1 new_yaml:358 [config:mlapi: starting '{{variable}}' substitution]
- 11/21/21 08:21:35.054403 zm_mlapi[1223] DBG1 new_yaml:375 [config:mlapi: successfully replaced 51 sub vars in the base config -> ['match_past_detections', 'past_det_max_diff_area', 'tpu_min_confidence', 'tpu_object_framework', 'cpu_max_processes', 'save_unknown_faces_leeway_pixels', 'smart_fps_thresh', 'face_recog_dist_threshold', 'frame_set', 'tpu_max_lock_wait', 'tpu_efficientdet_lite3', 'yolo4_object_weights', 'tpu_object_labels', 'alpr_key', 'face_train_model', 'object_detection_pattern', 'contained_area', 'tpu_object_weights_mobilenetv2', 'unknown_images_path', 'max_detection_size', 'openalpr_cmdline_binary', 'tpu_object_weights_mobiledet', 'yolo4_object_labels', 'gpu_max_processes', 'object_min_confidence', 'known_images_path', 'face_upsample_times', 'model_sequence', 'openalpr_cmdline_min_confidence', 'face_detection_pattern', 'yolo4_object_config', 'yolo4_object_processor', 'tpu_max_processes', 'face_num_jitters', 'gpu_max_lock_wait', 'same_model_sequence_strategy', 'show_models', 'tpu_tf2_mobilenetv2', 'yolo4_object_framework', 'platerec_min_dscore', 'cpu_max_lock_wait', 'save_unknown_faces', 'platerec_stats', 'disable_locks', 'platerec_min_score', 'face_detection_framework', 'alpr_detection_pattern', 'frame_strategy', 'openalpr_cmdline_params', 'tpu_face_weights_mobilenetv2', 'face_model']]
- 11/21/21 08:21:35.059826 zm_mlapi[1223] DBG1 new_yaml:187 [config:mlapi:proc: Base config has been built, all properly configured {[secrets]} and {{vars}} have been replaced! Remember you must manually build per monitor overrode configurations]
- 11/21/21 08:21:35.064048 zm_mlapi[1223] DBG1 new_yaml:416 [config:mlapi:6942069: attempting to build an overrode config from monitor '6942069' overrides]
- 11/21/21 08:21:35.069125 zm_mlapi[1223] DBG1 new_yaml:432 [config:mlapi:6942069: monitor '6942069' overrides, starting '{[secrets]}' substitution]
- 11/21/21 08:21:35.074178 zm_mlapi[1223] DBG1 new_yaml:474 [config:mlapi:6942069: no secrets were replace during overrode config build]
- 11/21/21 08:21:35.07807 zm_mlapi[1223] DBG1 new_yaml:512 [config:mlapi:6942069: no vars were replace during overrode config build]
- 11/21/21 08:21:35.081744 zm_mlapi[1223] DBG1 new_yaml:547 [config:mlapi:6942069: polygon specified -> 'front_yard_polygonzone' for monitor 6942069, validating polygon shape...]
- 11/21/21 08:21:35.085826 zm_mlapi[1223] DBG1 new_yaml:575 [config:mlapi:6942069: creating new entry in polygons!]
- 11/21/21 08:21:35.090006 zm_mlapi[1223] DBG1 new_yaml:583 [config:mlapi:6942069: successfully validated polygon for defined zone 'front_yard' -> [(0, 877), (2170, 553), (3822, 1131), (3822, 2141), (0, 2159)]]
- 11/21/21 08:21:35.094306 zm_mlapi[1223] DBG1 new_yaml:542 [config:mlapi:6942069: detection pattern for monitor '6942069' defined zone 'front_yard' -> (person|dog|cat)]
- 11/21/21 08:21:35.098681 zm_mlapi[1223] DBG1 new_yaml:598 [config:mlapi:6942069: 3 keys overridden in the 'base' config -> ['object_detection_pattern', 'frame_set', 'model_sequence']]
- 11/21/21 08:21:35.102883 zm_mlapi[1223] DBG1 new_yaml:603 [config:mlapi:6942069: 5 keys that did not have a 'base' value to override that are now in the 'base' config -> ['front_yard_polygonzone', 'front_yard_zone_detection_pattern', 'person_max_detection_size', 'person_min_confidence', 'defined zones']]
- 11/21/21 08:21:35.107026 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.159829]
- 11/21/21 08:21:35.110799 zm_mlapi[1223] DBG1 mlapi:450 [mlapi:detect: monitor 2 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:21:35.114715 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:21:35.120325 zm_mlapi[1223] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:21:35.124602 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:21:35.127569 zm_mlapi[1223] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:21:35.132184 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:21:35.137839 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '222']
- 11/21/21 08:21:35.143654 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:21:35.148806 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 222]
- 11/21/21 08:21:35.153517 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:21:35.157885 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:21:35.175081 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:21:35.179508 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 222 - converting 'snapshot' to a frame ID -> s-17]
- 11/21/21 08:21:35.183577 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-17] - [Frame Buffer Length: 17] - [Previous Frame Buffer Length: 61]
- 11/21/21 08:21:35.187611 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=222&fid=17 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NDk0LCJleHAiOjE2Mzc0NzU2OTQsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.4iezK4XSiVCrHLu9T9-2_Rz6yQqQnkOBK0PBgMCQZOU...'}]
- 11/21/21 08:21:35.250361 zm_mlapi[1223] DBG4 Media:618 [api: raising BAD_IMAGE ValueError for a 404 (image does not exist)]
- 11/21/21 08:21:35.25556 zm_mlapi[1223] DBG1 Media:621 ['std.out' --> DEBUG:MEDIA! exception=BAD_IMAGE]
- 11/21/21 08:21:35.262338 zm_mlapi[1223] DBG1 Media:626 ['std.out' --> BEFORE REQUEST: it is not a past event and sleep_time=2.0 -- requesting event data from ZM API g.event_tot_frames=17]
- 11/21/21 08:21:35.284244 zm_mlapi[1223] DBG1 Media:631 ['std.out' --> AFTER REQUEST: ZM Frame Buffer has 33 frames, we want this frame id -> 17]
- 11/21/21 08:21:37.292043 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=222&fid=17 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NDk0LCJleHAiOjE2Mzc0NzU2OTQsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.4iezK4XSiVCrHLu9T9-2_Rz6yQqQnkOBK0PBgMCQZOU...'}]
- 11/21/21 08:21:37.406094 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
- 11/21/21 08:21:37.410859 zm_mlapi[1223] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1280, 0), (1280, 720), (0, 720)]]
- 11/21/21 08:21:37.414959 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:21:37.419032 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:21:37.422836 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:21:37.427984 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:21:37.433532 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-17]
- 11/21/21 08:21:37.438427 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-17 took 27.71 ms]
- 11/21/21 08:21:37.442446 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [1 frames processed: ['17']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 17] [Maximum # of frames to process: 3]]
- 11/21/21 08:21:37.462652 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:21:37.467422 zm_mlapi[1223] DBG2 Media:482 [media:read:image: Event: 222 - converting 'alarm' to a frame ID -> a-11]
- 11/21/21 08:21:37.4721 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-11] - [Frame Buffer Length: 65] - [Previous Frame Buffer Length: 33]
- 11/21/21 08:21:37.476573 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=222&fid=11 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NDk0LCJleHAiOjE2Mzc0NzU2OTQsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.4iezK4XSiVCrHLu9T9-2_Rz6yQqQnkOBK0PBgMCQZOU...'}]
- 11/21/21 08:21:37.579208 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
- 11/21/21 08:21:37.584661 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:21:37.589326 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:21:37.593955 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:21:37.599151 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:21:37.605549 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-11]
- 11/21/21 08:21:37.609583 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-11 took 25.41 ms]
- 11/21/21 08:21:37.61371 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [2 frames processed: ['17', '11']] - [0 Frames skipped: []] - [Requested FID: snapshot] [Last Requested Frame ID: 11] [Maximum # of frames to process: 3]]
- 11/21/21 08:21:37.630644 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:21:37.635691 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 222 - converting 'snapshot' to a frame ID -> s-17]
- 11/21/21 08:21:37.640013 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-17] - [Frame Buffer Length: 65] - [Previous Frame Buffer Length: 65]
- 11/21/21 08:21:37.64405 zm_mlapi[1223] DBG1 Media:519 [media:read:image: skipping frame ID: 's-17' as it has already been processed for event 222 -> processed Frame IDs: ['17', '11']]
- 11/21/21 08:21:37.648113 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:21:37.652562 zm_mlapi[1223] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': entrance (2)->'Event': 222 -> complete detection sequence took: 2515.01 ms]
- 11/21/21 08:21:37.656316 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:21:37.663243 zm_mlapi[1223] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:21:37.667541 zm_mlapi[1223] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:21:37.671806 zm_mlapi[1223] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:21:37.676821 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.009383]
- 11/21/21 08:21:37.680923 zm_mlapi[1223] DBG1 mlapi:450 [mlapi:detect: monitor 6 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:21:37.684969 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:21:37.690344 zm_mlapi[1223] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:21:37.694453 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:21:37.697583 zm_mlapi[1223] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:21:37.701565 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:21:37.70599 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '221']
- 11/21/21 08:21:37.710632 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:21:37.715557 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 221]
- 11/21/21 08:21:37.719949 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:21:37.725217 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:21:37.745489 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:21:37.74963 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 221 - converting 'snapshot' to a frame ID -> s-89]
- 11/21/21 08:21:37.753642 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-89] - [Frame Buffer Length: 104] - [Previous Frame Buffer Length: 65]
- 11/21/21 08:21:37.757851 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=221&fid=89 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NDk0LCJleHAiOjE2Mzc0NzU2OTQsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.4iezK4XSiVCrHLu9T9-2_Rz6yQqQnkOBK0PBgMCQZOU...'}]
- 11/21/21 08:21:37.917736 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:21:37.922753 zm_mlapi[1223] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1920, 0), (1920, 1080), (0, 1080)]]
- 11/21/21 08:21:37.92709 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:21:37.931825 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:21:37.935554 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:21:37.939664 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:21:37.944722 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-89]
- 11/21/21 08:21:37.948698 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-89 took 26.01 ms]
- 11/21/21 08:21:37.952742 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [1 frames processed: ['89']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 89] [Maximum # of frames to process: 3]]
- 11/21/21 08:21:37.973773 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:21:37.979957 zm_mlapi[1223] DBG2 Media:482 [media:read:image: Event: 221 - converting 'alarm' to a frame ID -> a-14]
- 11/21/21 08:21:37.984678 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-14] - [Frame Buffer Length: 119] - [Previous Frame Buffer Length: 104]
- 11/21/21 08:21:37.989012 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=221&fid=14 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NDk0LCJleHAiOjE2Mzc0NzU2OTQsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.4iezK4XSiVCrHLu9T9-2_Rz6yQqQnkOBK0PBgMCQZOU...'}]
- 11/21/21 08:21:38.15478 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:21:38.159771 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:21:38.164123 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:21:38.167441 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:21:38.172936 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:21:38.178235 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-14]
- 11/21/21 08:21:38.182661 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-14 took 22.64 ms]
- 11/21/21 08:21:38.187411 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [2 frames processed: ['89', '14']] - [0 Frames skipped: []] - [Requested FID: snapshot] [Last Requested Frame ID: 14] [Maximum # of frames to process: 3]]
- 11/21/21 08:21:38.203269 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:21:38.207634 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 221 - converting 'snapshot' to a frame ID -> s-89]
- 11/21/21 08:21:38.211844 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-89] - [Frame Buffer Length: 119] - [Previous Frame Buffer Length: 119]
- 11/21/21 08:21:38.216144 zm_mlapi[1223] DBG1 Media:519 [media:read:image: skipping frame ID: 's-89' as it has already been processed for event 221 -> processed Frame IDs: ['89', '14']]
- 11/21/21 08:21:38.220925 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:21:38.224935 zm_mlapi[1223] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': office (6)->'Event': 221 -> complete detection sequence took: 519.15 ms]
- 11/21/21 08:21:38.228252 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:21:44.999704 zm_mlapi[1223] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:21:45.006041 zm_mlapi[1223] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:21:45.010789 zm_mlapi[1223] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:21:45.015408 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.009403]
- 11/21/21 08:21:45.019722 zm_mlapi[1223] DBG1 mlapi:450 [mlapi:detect: monitor 6 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:21:45.024112 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:21:45.030676 zm_mlapi[1223] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:21:45.036465 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:21:45.039967 zm_mlapi[1223] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:21:45.044362 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:21:45.049115 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '223']
- 11/21/21 08:21:45.053164 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:21:45.057727 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 223]
- 11/21/21 08:21:45.062284 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:21:45.06643 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:21:45.08641 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:21:45.091324 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 223 - converting 'snapshot' to a frame ID -> s-15]
- 11/21/21 08:21:45.095641 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-15] - [Frame Buffer Length: 45] - [Previous Frame Buffer Length: 119]
- 11/21/21 08:21:45.099634 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=223&fid=15 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NTA0LCJleHAiOjE2Mzc0NzU3MDQsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.pEDtZY0sWq-mcetz2l9Hgfz35z68NJDqe8oqudMJIlc...'}]
- 11/21/21 08:21:45.275 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:21:45.280436 zm_mlapi[1223] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1920, 0), (1920, 1080), (0, 1080)]]
- 11/21/21 08:21:45.284824 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:21:45.289208 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:21:45.292784 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:21:45.297016 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:21:45.30187 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-15]
- 11/21/21 08:21:45.305843 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-15 took 25.46 ms]
- 11/21/21 08:21:45.309886 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [1 frames processed: ['15']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 15] [Maximum # of frames to process: 3]]
- 11/21/21 08:21:45.326936 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:21:45.331106 zm_mlapi[1223] DBG2 Media:482 [media:read:image: Event: 223 - converting 'alarm' to a frame ID -> a-8]
- 11/21/21 08:21:45.335049 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-8] - [Frame Buffer Length: 45] - [Previous Frame Buffer Length: 45]
- 11/21/21 08:21:45.338905 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=223&fid=8 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NTA0LCJleHAiOjE2Mzc0NzU3MDQsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.pEDtZY0sWq-mcetz2l9Hgfz35z68NJDqe8oqudMJIlc...'}]
- 11/21/21 08:21:45.502339 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:21:45.507618 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:21:45.512188 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:21:45.515838 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:21:45.520953 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:21:45.527613 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-8]
- 11/21/21 08:21:45.532529 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-8 took 24.23 ms]
- 11/21/21 08:21:45.538073 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [2 frames processed: ['15', '8']] - [0 Frames skipped: []] - [Requested FID: snapshot] [Last Requested Frame ID: 8] [Maximum # of frames to process: 3]]
- 11/21/21 08:21:45.553503 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:21:45.557742 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 223 - converting 'snapshot' to a frame ID -> s-15]
- 11/21/21 08:21:45.561696 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-15] - [Frame Buffer Length: 45] - [Previous Frame Buffer Length: 45]
- 11/21/21 08:21:45.565715 zm_mlapi[1223] DBG1 Media:502 [media:read:image: the frame buffer (45) for event '223' is no longer growing. All out of bound frame ID's will be skipped instead of being reduced to the last available frame buffer ID]
- 11/21/21 08:21:45.570051 zm_mlapi[1223] DBG1 Media:519 [media:read:image: skipping frame ID: 's-15' as it has already been processed for event 223 -> processed Frame IDs: ['15', '8']]
- 11/21/21 08:21:45.575113 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:21:45.579167 zm_mlapi[1223] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': office (6)->'Event': 223 -> complete detection sequence took: 530.23 ms]
- 11/21/21 08:21:45.582931 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:21:49.981264 zm_mlapi[1223] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:21:49.98588 zm_mlapi[1223] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:21:49.989998 zm_mlapi[1223] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:21:49.994257 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.008374]
- 11/21/21 08:21:49.998739 zm_mlapi[1223] DBG1 mlapi:450 [mlapi:detect: monitor 4 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:21:50.003837 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:21:50.013869 zm_mlapi[1223] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:21:50.018855 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:21:50.022007 zm_mlapi[1223] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:21:50.026624 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:21:50.031061 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '224']
- 11/21/21 08:21:50.035419 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:21:50.040379 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 224]
- 11/21/21 08:21:50.045061 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:21:50.049646 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:21:50.069024 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:21:50.073036 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 224 - converting 'snapshot' to a frame ID -> s-33]
- 11/21/21 08:21:50.076896 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-33] - [Frame Buffer Length: 65] - [Previous Frame Buffer Length: 45]
- 11/21/21 08:21:50.080893 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=224&fid=33 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NTA5LCJleHAiOjE2Mzc0NzU3MDksInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.yTTPaut8mmmJ9vWS8berzxh7GOSlqO36WcTkUarRLd8...'}]
- 11/21/21 08:21:50.184136 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
- 11/21/21 08:21:50.188726 zm_mlapi[1223] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1280, 0), (1280, 720), (0, 720)]]
- 11/21/21 08:21:50.193051 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:21:50.198375 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:21:50.202225 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:21:50.206329 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:21:50.21125 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-33]
- 11/21/21 08:21:50.215182 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-33 took 26.45 ms]
- 11/21/21 08:21:50.219558 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [1 frames processed: ['33']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 33] [Maximum # of frames to process: 3]]
- 11/21/21 08:21:50.236115 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:21:50.240993 zm_mlapi[1223] DBG2 Media:482 [media:read:image: Event: 224 - converting 'alarm' to a frame ID -> a-25]
- 11/21/21 08:21:50.245507 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-25] - [Frame Buffer Length: 65] - [Previous Frame Buffer Length: 65]
- 11/21/21 08:21:50.252059 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=224&fid=25 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NTA5LCJleHAiOjE2Mzc0NzU3MDksInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.yTTPaut8mmmJ9vWS8berzxh7GOSlqO36WcTkUarRLd8...'}]
- 11/21/21 08:21:50.367919 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
- 11/21/21 08:21:50.37264 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:21:50.377302 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:21:50.380705 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:21:50.384785 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:21:50.389696 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-25]
- 11/21/21 08:21:50.394082 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-25 took 21.33 ms]
- 11/21/21 08:21:50.399313 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [2 frames processed: ['33', '25']] - [0 Frames skipped: []] - [Requested FID: snapshot] [Last Requested Frame ID: 25] [Maximum # of frames to process: 3]]
- 11/21/21 08:21:50.417711 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:21:50.422088 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 224 - converting 'snapshot' to a frame ID -> s-33]
- 11/21/21 08:21:50.425948 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-33] - [Frame Buffer Length: 81] - [Previous Frame Buffer Length: 65]
- 11/21/21 08:21:50.429856 zm_mlapi[1223] DBG1 Media:519 [media:read:image: skipping frame ID: 's-33' as it has already been processed for event 224 -> processed Frame IDs: ['33', '25']]
- 11/21/21 08:21:50.433307 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:21:50.437328 zm_mlapi[1223] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': bruno (4)->'Event': 224 -> complete detection sequence took: 406.48 ms]
- 11/21/21 08:21:50.440398 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:21:54.983079 zm_mlapi[1223] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:21:54.987677 zm_mlapi[1223] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:21:54.991865 zm_mlapi[1223] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:21:54.99656 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.008613]
- 11/21/21 08:21:55.002079 zm_mlapi[1223] DBG1 mlapi:450 [mlapi:detect: monitor 6 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:21:55.006785 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:21:55.012759 zm_mlapi[1223] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:21:55.017916 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:21:55.021413 zm_mlapi[1223] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:21:55.0281 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:21:55.03353 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '225']
- 11/21/21 08:21:55.038819 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:21:55.044227 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 225]
- 11/21/21 08:21:55.049605 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:21:55.053902 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:21:55.076765 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:21:55.081028 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 225 - converting 'snapshot' to a frame ID -> s-47]
- 11/21/21 08:21:55.084991 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-47] - [Frame Buffer Length: 47] - [Previous Frame Buffer Length: 81]
- 11/21/21 08:21:55.088898 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=225&fid=47 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NTE0LCJleHAiOjE2Mzc0NzU3MTQsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.JOQK7iypNCl4WwUmjVUZY4eeZ5Xq4wk6DllI7kvh-rg...'}]
- 11/21/21 08:21:55.211499 zm_mlapi[1223] DBG4 Media:618 [api: raising BAD_IMAGE ValueError for a 404 (image does not exist)]
- 11/21/21 08:21:55.216173 zm_mlapi[1223] DBG1 Media:621 ['std.out' --> DEBUG:MEDIA! exception=BAD_IMAGE]
- 11/21/21 08:21:55.221124 zm_mlapi[1223] DBG1 Media:626 ['std.out' --> BEFORE REQUEST: it is not a past event and sleep_time=2.0 -- requesting event data from ZM API g.event_tot_frames=47]
- 11/21/21 08:21:55.238199 zm_mlapi[1223] DBG1 Media:631 ['std.out' --> AFTER REQUEST: ZM Frame Buffer has 47 frames, we want this frame id -> 47]
- 11/21/21 08:21:57.24613 zm_mlapi[1223] DBG1 Media:610 [media:read:image:grabbing frame: the requested frame ID: 47 is out of bounds of the current frame buffer by 0 frames. Setting frame ID to last available frame (45) and retrying...]
- 11/21/21 08:21:57.251114 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=225&fid=45 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NTE0LCJleHAiOjE2Mzc0NzU3MTQsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.JOQK7iypNCl4WwUmjVUZY4eeZ5Xq4wk6DllI7kvh-rg...'}]
- 11/21/21 08:21:57.40212 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:21:57.406986 zm_mlapi[1223] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1920, 0), (1920, 1080), (0, 1080)]]
- 11/21/21 08:21:57.411065 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:21:57.415107 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:21:57.418136 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:21:57.42236 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:21:57.428539 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-47]
- 11/21/21 08:21:57.433268 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-47 took 26.12 ms]
- 11/21/21 08:21:57.437777 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [1 frames processed: ['47']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 47] [Maximum # of frames to process: 3]]
- 11/21/21 08:21:57.45987 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:21:57.464614 zm_mlapi[1223] DBG2 Media:482 [media:read:image: Event: 225 - converting 'alarm' to a frame ID -> a-14]
- 11/21/21 08:21:57.47001 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-14] - [Frame Buffer Length: 77] - [Previous Frame Buffer Length: 47]
- 11/21/21 08:21:57.474459 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=225&fid=14 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NTE0LCJleHAiOjE2Mzc0NzU3MTQsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.JOQK7iypNCl4WwUmjVUZY4eeZ5Xq4wk6DllI7kvh-rg...'}]
- 11/21/21 08:21:57.622332 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:21:57.627449 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:21:57.631447 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:21:57.635192 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:21:57.639573 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:21:57.64482 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-14]
- 11/21/21 08:21:57.648767 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-14 took 21.39 ms]
- 11/21/21 08:21:57.653013 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [2 frames processed: ['47', '14']] - [0 Frames skipped: []] - [Requested FID: snapshot] [Last Requested Frame ID: 14] [Maximum # of frames to process: 3]]
- 11/21/21 08:21:57.669733 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:21:57.674537 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 225 - converting 'snapshot' to a frame ID -> s-47]
- 11/21/21 08:21:57.67982 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-47] - [Frame Buffer Length: 77] - [Previous Frame Buffer Length: 77]
- 11/21/21 08:21:57.683756 zm_mlapi[1223] DBG1 Media:519 [media:read:image: skipping frame ID: 's-47' as it has already been processed for event 225 -> processed Frame IDs: ['47', '14']]
- 11/21/21 08:21:57.688823 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:21:57.69278 zm_mlapi[1223] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': office (6)->'Event': 225 -> complete detection sequence took: 2659.73 ms]
- 11/21/21 08:21:57.696012 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:21:59.974074 zm_mlapi[1223] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:21:59.97916 zm_mlapi[1223] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:21:59.983494 zm_mlapi[1223] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:21:59.987534 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.008729]
- 11/21/21 08:21:59.992151 zm_mlapi[1223] DBG1 mlapi:450 [mlapi:detect: monitor 4 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:21:59.997358 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:22:00.003255 zm_mlapi[1223] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:22:00.009462 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:22:00.013658 zm_mlapi[1223] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:22:00.018245 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:22:00.022676 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '226']
- 11/21/21 08:22:00.026915 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:22:00.030987 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 226]
- 11/21/21 08:22:00.036084 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:22:00.041271 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:22:00.058346 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:22:00.063061 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 226 - converting 'snapshot' to a frame ID -> s-22]
- 11/21/21 08:22:00.067317 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-22] - [Frame Buffer Length: 37] - [Previous Frame Buffer Length: 77]
- 11/21/21 08:22:00.071354 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=226&fid=22 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NTE5LCJleHAiOjE2Mzc0NzU3MTksInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.HFOYp7epvvf8KshGBfQ0ZP-ZL6AZ1BXxBGjsqp7IgVQ...'}]
- 11/21/21 08:22:00.183632 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
- 11/21/21 08:22:00.189186 zm_mlapi[1223] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1280, 0), (1280, 720), (0, 720)]]
- 11/21/21 08:22:00.194099 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:22:00.199858 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:22:00.204475 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:22:00.209221 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:22:00.214395 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-22]
- 11/21/21 08:22:00.219346 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-22 took 30.29 ms]
- 11/21/21 08:22:00.225545 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [1 frames processed: ['22']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 22] [Maximum # of frames to process: 3]]
- 11/21/21 08:22:00.24871 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:22:00.253942 zm_mlapi[1223] DBG2 Media:482 [media:read:image: Event: 226 - converting 'alarm' to a frame ID -> a-12]
- 11/21/21 08:22:00.258512 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-12] - [Frame Buffer Length: 37] - [Previous Frame Buffer Length: 37]
- 11/21/21 08:22:00.263014 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=226&fid=12 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NTE5LCJleHAiOjE2Mzc0NzU3MTksInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.HFOYp7epvvf8KshGBfQ0ZP-ZL6AZ1BXxBGjsqp7IgVQ...'}]
- 11/21/21 08:22:00.371716 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
- 11/21/21 08:22:00.37647 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:22:00.380566 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:22:00.384209 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:22:00.389047 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:22:00.394967 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-12]
- 11/21/21 08:22:00.400324 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-12 took 23.90 ms]
- 11/21/21 08:22:00.405605 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [2 frames processed: ['22', '12']] - [0 Frames skipped: []] - [Requested FID: snapshot] [Last Requested Frame ID: 12] [Maximum # of frames to process: 3]]
- 11/21/21 08:22:00.426199 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:22:00.430986 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 226 - converting 'snapshot' to a frame ID -> s-22]
- 11/21/21 08:22:00.435464 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-22] - [Frame Buffer Length: 52] - [Previous Frame Buffer Length: 37]
- 11/21/21 08:22:00.441276 zm_mlapi[1223] DBG1 Media:519 [media:read:image: skipping frame ID: 's-22' as it has already been processed for event 226 -> processed Frame IDs: ['22', '12']]
- 11/21/21 08:22:00.446463 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:22:00.450815 zm_mlapi[1223] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': bruno (4)->'Event': 226 -> complete detection sequence took: 428.16 ms]
- 11/21/21 08:22:00.454172 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:22:00.460306 zm_mlapi[1223] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:22:00.4643 zm_mlapi[1223] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:22:00.468167 zm_mlapi[1223] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:22:00.472107 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.007958]
- 11/21/21 08:22:00.47605 zm_mlapi[1223] DBG1 mlapi:450 [mlapi:detect: monitor 5 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:22:00.4811 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:22:00.4875 zm_mlapi[1223] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:22:00.494702 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:22:00.499324 zm_mlapi[1223] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:22:00.505465 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:22:00.513817 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '227']
- 11/21/21 08:22:00.519087 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:22:00.524977 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 227]
- 11/21/21 08:22:00.530805 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:22:00.536166 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:22:00.55674 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:22:00.561658 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 227 - converting 'snapshot' to a frame ID -> s-59]
- 11/21/21 08:22:00.566138 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-59] - [Frame Buffer Length: 59] - [Previous Frame Buffer Length: 52]
- 11/21/21 08:22:00.571041 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=227&fid=59 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NTE5LCJleHAiOjE2Mzc0NzU3MTksInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.HFOYp7epvvf8KshGBfQ0ZP-ZL6AZ1BXxBGjsqp7IgVQ...'}]
- 11/21/21 08:22:00.683944 zm_mlapi[1223] DBG4 Media:618 [api: raising BAD_IMAGE ValueError for a 404 (image does not exist)]
- 11/21/21 08:22:00.688497 zm_mlapi[1223] DBG1 Media:621 ['std.out' --> DEBUG:MEDIA! exception=BAD_IMAGE]
- 11/21/21 08:22:00.693717 zm_mlapi[1223] DBG1 Media:626 ['std.out' --> BEFORE REQUEST: it is not a past event and sleep_time=2.0 -- requesting event data from ZM API g.event_tot_frames=59]
- 11/21/21 08:22:00.708864 zm_mlapi[1223] DBG1 Media:631 ['std.out' --> AFTER REQUEST: ZM Frame Buffer has 59 frames, we want this frame id -> 59]
- 11/21/21 08:22:02.716646 zm_mlapi[1223] DBG1 Media:610 [media:read:image:grabbing frame: the requested frame ID: 59 is out of bounds of the current frame buffer by 0 frames. Setting frame ID to last available frame (57) and retrying...]
- 11/21/21 08:22:02.721227 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=227&fid=57 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NTE5LCJleHAiOjE2Mzc0NzU3MTksInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.HFOYp7epvvf8KshGBfQ0ZP-ZL6AZ1BXxBGjsqp7IgVQ...'}]
- 11/21/21 08:22:02.8427 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
- 11/21/21 08:22:02.847736 zm_mlapi[1223] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1280, 0), (1280, 720), (0, 720)]]
- 11/21/21 08:22:02.851937 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:22:02.855971 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:22:02.859341 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:22:02.86339 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:22:02.868303 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-59]
- 11/21/21 08:22:02.873472 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-59 took 25.70 ms]
- 11/21/21 08:22:02.879439 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [1 frames processed: ['59']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 59] [Maximum # of frames to process: 3]]
- 11/21/21 08:22:02.898936 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:22:02.903497 zm_mlapi[1223] DBG2 Media:482 [media:read:image: Event: 227 - converting 'alarm' to a frame ID -> a-29]
- 11/21/21 08:22:02.90769 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-29] - [Frame Buffer Length: 95] - [Previous Frame Buffer Length: 59]
- 11/21/21 08:22:02.912169 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=227&fid=29 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NTE5LCJleHAiOjE2Mzc0NzU3MTksInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.HFOYp7epvvf8KshGBfQ0ZP-ZL6AZ1BXxBGjsqp7IgVQ...'}]
- 11/21/21 08:22:03.026923 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
- 11/21/21 08:22:03.032808 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:22:03.037774 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:22:03.041841 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:22:03.046726 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:22:03.052029 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-29]
- 11/21/21 08:22:03.056143 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-29 took 24.00 ms]
- 11/21/21 08:22:03.060318 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [2 frames processed: ['59', '29']] - [0 Frames skipped: []] - [Requested FID: snapshot] [Last Requested Frame ID: 29] [Maximum # of frames to process: 3]]
- 11/21/21 08:22:03.078148 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:22:03.082491 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 227 - converting 'snapshot' to a frame ID -> s-80]
- 11/21/21 08:22:03.086635 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-80] - [Frame Buffer Length: 95] - [Previous Frame Buffer Length: 95]
- 11/21/21 08:22:03.09083 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=227&fid=80 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NTE5LCJleHAiOjE2Mzc0NzU3MTksInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.HFOYp7epvvf8KshGBfQ0ZP-ZL6AZ1BXxBGjsqp7IgVQ...'}]
- 11/21/21 08:22:03.202334 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
- 11/21/21 08:22:03.208284 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:22:03.213514 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:22:03.217455 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:22:03.222944 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:22:03.229565 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-80]
- 11/21/21 08:22:03.234455 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-80 took 26.29 ms]
- 11/21/21 08:22:03.238592 zm_mlapi[1223] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': brunobed (5)->'Event': 227 -> complete detection sequence took: 2725.14 ms]
- 11/21/21 08:22:03.242001 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:22:09.964017 zm_mlapi[1223] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:22:09.969701 zm_mlapi[1223] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:22:09.974658 zm_mlapi[1223] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:22:09.978581 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.009002]
- 11/21/21 08:22:09.982554 zm_mlapi[1223] DBG1 mlapi:450 [mlapi:detect: monitor 6 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:22:09.986619 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:22:09.991942 zm_mlapi[1223] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:22:09.996029 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:22:09.99896 zm_mlapi[1223] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:22:10.003265 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:22:10.009433 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '229']
- 11/21/21 08:22:10.014592 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:22:10.019316 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 229]
- 11/21/21 08:22:10.024645 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:22:10.02931 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:22:10.049843 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:22:10.054316 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 229 - converting 'snapshot' to a frame ID -> s-15]
- 11/21/21 08:22:10.058284 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-15] - [Frame Buffer Length: 31] - [Previous Frame Buffer Length: 95]
- 11/21/21 08:22:10.062196 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=229&fid=15 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NTI5LCJleHAiOjE2Mzc0NzU3MjksInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.xp0muefhRTdIuTAIVmtcg1VIrP1xiiSbMVUk0fvJ6Bs...'}]
- 11/21/21 08:22:10.221991 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:22:10.227586 zm_mlapi[1223] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1920, 0), (1920, 1080), (0, 1080)]]
- 11/21/21 08:22:10.23362 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:22:10.23933 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:22:10.243091 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:22:10.247844 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:22:10.254513 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-15]
- 11/21/21 08:22:10.258995 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-15 took 31.42 ms]
- 11/21/21 08:22:10.263982 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [1 frames processed: ['15']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 15] [Maximum # of frames to process: 3]]
- 11/21/21 08:22:10.280775 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:22:10.286011 zm_mlapi[1223] DBG2 Media:482 [media:read:image: Event: 229 - converting 'alarm' to a frame ID -> a-11]
- 11/21/21 08:22:10.290054 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-11] - [Frame Buffer Length: 31] - [Previous Frame Buffer Length: 31]
- 11/21/21 08:22:10.295151 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=229&fid=11 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NTI5LCJleHAiOjE2Mzc0NzU3MjksInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.xp0muefhRTdIuTAIVmtcg1VIrP1xiiSbMVUk0fvJ6Bs...'}]
- 11/21/21 08:22:10.440408 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:22:10.4455 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:22:10.449718 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:22:10.453302 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:22:10.457319 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:22:10.462379 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-11]
- 11/21/21 08:22:10.466274 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-11 took 20.88 ms]
- 11/21/21 08:22:10.470201 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [2 frames processed: ['15', '11']] - [0 Frames skipped: []] - [Requested FID: snapshot] [Last Requested Frame ID: 11] [Maximum # of frames to process: 3]]
- 11/21/21 08:22:10.484469 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:22:10.488494 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 229 - converting 'snapshot' to a frame ID -> s-15]
- 11/21/21 08:22:10.492394 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-15] - [Frame Buffer Length: 31] - [Previous Frame Buffer Length: 31]
- 11/21/21 08:22:10.496316 zm_mlapi[1223] DBG1 Media:502 [media:read:image: the frame buffer (31) for event '229' is no longer growing. All out of bound frame ID's will be skipped instead of being reduced to the last available frame buffer ID]
- 11/21/21 08:22:10.500259 zm_mlapi[1223] DBG1 Media:519 [media:read:image: skipping frame ID: 's-15' as it has already been processed for event 229 -> processed Frame IDs: ['15', '11']]
- 11/21/21 08:22:10.505236 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:22:10.509163 zm_mlapi[1223] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': office (6)->'Event': 229 -> complete detection sequence took: 500.36 ms]
- 11/21/21 08:22:10.512163 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:22:10.518178 zm_mlapi[1223] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:22:10.522325 zm_mlapi[1223] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:22:10.526865 zm_mlapi[1223] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:22:10.531417 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.009138]
- 11/21/21 08:22:10.535764 zm_mlapi[1223] DBG1 mlapi:450 [mlapi:detect: monitor 4 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:22:10.540207 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:22:10.546018 zm_mlapi[1223] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:22:10.550447 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:22:10.553854 zm_mlapi[1223] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:22:10.557998 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:22:10.56256 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '228']
- 11/21/21 08:22:10.566897 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:22:10.571595 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 228]
- 11/21/21 08:22:10.577294 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:22:10.582765 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:22:10.602905 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:22:10.607879 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 228 - converting 'snapshot' to a frame ID -> s-13]
- 11/21/21 08:22:10.613047 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-13] - [Frame Buffer Length: 45] - [Previous Frame Buffer Length: 31]
- 11/21/21 08:22:10.61829 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=228&fid=13 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NTI5LCJleHAiOjE2Mzc0NzU3MjksInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.xp0muefhRTdIuTAIVmtcg1VIrP1xiiSbMVUk0fvJ6Bs...'}]
- 11/21/21 08:22:10.729659 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
- 11/21/21 08:22:10.734619 zm_mlapi[1223] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1280, 0), (1280, 720), (0, 720)]]
- 11/21/21 08:22:10.739152 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:22:10.743123 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:22:10.746373 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:22:10.750355 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:22:10.755336 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-13]
- 11/21/21 08:22:10.759305 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-13 took 24.76 ms]
- 11/21/21 08:22:10.763278 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [1 frames processed: ['13']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 13] [Maximum # of frames to process: 3]]
- 11/21/21 08:22:10.778816 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:22:10.782882 zm_mlapi[1223] DBG2 Media:482 [media:read:image: Event: 228 - converting 'alarm' to a frame ID -> a-1]
- 11/21/21 08:22:10.786798 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-1] - [Frame Buffer Length: 45] - [Previous Frame Buffer Length: 45]
- 11/21/21 08:22:10.790797 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=228&fid=1 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NTI5LCJleHAiOjE2Mzc0NzU3MjksInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.xp0muefhRTdIuTAIVmtcg1VIrP1xiiSbMVUk0fvJ6Bs...'}]
- 11/21/21 08:22:10.896557 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
- 11/21/21 08:22:10.901406 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:22:10.905482 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:22:10.908749 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:22:10.912842 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:22:10.917824 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-1]
- 11/21/21 08:22:10.921699 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-1 took 20.35 ms]
- 11/21/21 08:22:10.925623 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [2 frames processed: ['13', '1']] - [0 Frames skipped: []] - [Requested FID: snapshot] [Last Requested Frame ID: 1] [Maximum # of frames to process: 3]]
- 11/21/21 08:22:10.941595 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:22:10.945819 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 228 - converting 'snapshot' to a frame ID -> s-13]
- 11/21/21 08:22:10.949801 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-13] - [Frame Buffer Length: 45] - [Previous Frame Buffer Length: 45]
- 11/21/21 08:22:10.953714 zm_mlapi[1223] DBG1 Media:502 [media:read:image: the frame buffer (45) for event '228' is no longer growing. All out of bound frame ID's will be skipped instead of being reduced to the last available frame buffer ID]
- 11/21/21 08:22:10.957642 zm_mlapi[1223] DBG1 Media:519 [media:read:image: skipping frame ID: 's-13' as it has already been processed for event 228 -> processed Frame IDs: ['13', '1']]
- 11/21/21 08:22:10.961638 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:22:10.965494 zm_mlapi[1223] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': bruno (4)->'Event': 228 -> complete detection sequence took: 403.12 ms]
- 11/21/21 08:22:10.968567 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:22:15.003551 zm_mlapi[1223] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:22:15.009433 zm_mlapi[1223] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:22:15.014396 zm_mlapi[1223] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:22:15.018938 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.010341]
- 11/21/21 08:22:15.023117 zm_mlapi[1223] DBG1 mlapi:450 [mlapi:detect: monitor 2 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:22:15.030719 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:22:15.037194 zm_mlapi[1223] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:22:15.041697 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:22:15.044677 zm_mlapi[1223] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:22:15.049339 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:22:15.054811 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '230']
- 11/21/21 08:22:15.06175 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:22:15.066327 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 230]
- 11/21/21 08:22:15.070144 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:22:15.074155 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:22:15.09404 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:22:15.09841 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 230 - converting 'snapshot' to a frame ID -> s-34]
- 11/21/21 08:22:15.1033 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-34] - [Frame Buffer Length: 50] - [Previous Frame Buffer Length: 45]
- 11/21/21 08:22:15.107707 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=230&fid=34 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NTM0LCJleHAiOjE2Mzc0NzU3MzQsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.6U8uwvmyu2OuRDzkqPNgW5Ahi9CAlGptMIH42drLH50...'}]
- 11/21/21 08:22:15.216234 zm_mlapi[1223] DBG4 Media:618 [api: raising BAD_IMAGE ValueError for a 404 (image does not exist)]
- 11/21/21 08:22:15.22145 zm_mlapi[1223] DBG1 Media:621 ['std.out' --> DEBUG:MEDIA! exception=BAD_IMAGE]
- 11/21/21 08:22:15.227957 zm_mlapi[1223] DBG1 Media:626 ['std.out' --> BEFORE REQUEST: it is not a past event and sleep_time=2.0 -- requesting event data from ZM API g.event_tot_frames=50]
- 11/21/21 08:22:15.246604 zm_mlapi[1223] DBG1 Media:631 ['std.out' --> AFTER REQUEST: ZM Frame Buffer has 50 frames, we want this frame id -> 34]
- 11/21/21 08:22:17.254302 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=230&fid=34 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NTM0LCJleHAiOjE2Mzc0NzU3MzQsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.6U8uwvmyu2OuRDzkqPNgW5Ahi9CAlGptMIH42drLH50...'}]
- 11/21/21 08:22:17.36341 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
- 11/21/21 08:22:17.36805 zm_mlapi[1223] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1280, 0), (1280, 720), (0, 720)]]
- 11/21/21 08:22:17.372064 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:22:17.375947 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:22:17.379257 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:22:17.383285 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:22:17.388432 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-34]
- 11/21/21 08:22:17.392224 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-34 took 24.19 ms]
- 11/21/21 08:22:17.396269 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [1 frames processed: ['34']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 34] [Maximum # of frames to process: 3]]
- 11/21/21 08:22:17.416096 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:22:17.420745 zm_mlapi[1223] DBG2 Media:482 [media:read:image: Event: 230 - converting 'alarm' to a frame ID -> a-27]
- 11/21/21 08:22:17.424639 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-27] - [Frame Buffer Length: 82] - [Previous Frame Buffer Length: 50]
- 11/21/21 08:22:17.428722 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=230&fid=27 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NTM0LCJleHAiOjE2Mzc0NzU3MzQsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.6U8uwvmyu2OuRDzkqPNgW5Ahi9CAlGptMIH42drLH50...'}]
- 11/21/21 08:22:17.545732 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
- 11/21/21 08:22:17.550451 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:22:17.554506 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:22:17.55777 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:22:17.562694 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:22:17.568852 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-27]
- 11/21/21 08:22:17.573845 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-27 took 23.47 ms]
- 11/21/21 08:22:17.5779 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [2 frames processed: ['34', '27']] - [0 Frames skipped: []] - [Requested FID: snapshot] [Last Requested Frame ID: 27] [Maximum # of frames to process: 3]]
- 11/21/21 08:22:17.597325 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:22:17.601795 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 230 - converting 'snapshot' to a frame ID -> s-34]
- 11/21/21 08:22:17.605751 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-34] - [Frame Buffer Length: 98] - [Previous Frame Buffer Length: 82]
- 11/21/21 08:22:17.609777 zm_mlapi[1223] DBG1 Media:519 [media:read:image: skipping frame ID: 's-34' as it has already been processed for event 230 -> processed Frame IDs: ['34', '27']]
- 11/21/21 08:22:17.613733 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:22:17.617541 zm_mlapi[1223] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': entrance (2)->'Event': 230 -> complete detection sequence took: 2563.06 ms]
- 11/21/21 08:22:17.62063 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:22:24.962209 zm_mlapi[1223] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:22:24.97141 zm_mlapi[1223] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:22:24.977021 zm_mlapi[1223] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:22:24.981452 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.010066]
- 11/21/21 08:22:24.985379 zm_mlapi[1223] DBG1 mlapi:450 [mlapi:detect: monitor 6 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:22:24.989336 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:22:24.994492 zm_mlapi[1223] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:22:24.998577 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:22:25.001851 zm_mlapi[1223] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:22:25.007101 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:22:25.013153 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '231']
- 11/21/21 08:22:25.017213 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:22:25.021026 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 231]
- 11/21/21 08:22:25.025679 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:22:25.030674 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:22:25.051864 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:22:25.056246 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 231 - converting 'snapshot' to a frame ID -> s-29]
- 11/21/21 08:22:25.060235 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-29] - [Frame Buffer Length: 61] - [Previous Frame Buffer Length: 98]
- 11/21/21 08:22:25.06432 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=231&fid=29 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NTQ0LCJleHAiOjE2Mzc0NzU3NDQsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.jCezMf8B366xvnZKeQDy7-xegZF3qCYyBhitmvPMJGA...'}]
- 11/21/21 08:22:25.220565 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:22:25.225562 zm_mlapi[1223] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1920, 0), (1920, 1080), (0, 1080)]]
- 11/21/21 08:22:25.229792 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:22:25.233763 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:22:25.237033 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:22:25.241047 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:22:25.246268 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-29]
- 11/21/21 08:22:25.250101 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-29 took 24.60 ms]
- 11/21/21 08:22:25.254151 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [1 frames processed: ['29']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 29] [Maximum # of frames to process: 3]]
- 11/21/21 08:22:25.270926 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:22:25.275549 zm_mlapi[1223] DBG2 Media:482 [media:read:image: Event: 231 - converting 'alarm' to a frame ID -> a-14]
- 11/21/21 08:22:25.279505 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-14] - [Frame Buffer Length: 61] - [Previous Frame Buffer Length: 61]
- 11/21/21 08:22:25.283378 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=231&fid=14 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NTQ0LCJleHAiOjE2Mzc0NzU3NDQsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.jCezMf8B366xvnZKeQDy7-xegZF3qCYyBhitmvPMJGA...'}]
- 11/21/21 08:22:25.429872 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:22:25.436318 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:22:25.442719 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:22:25.447555 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:22:25.451947 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:22:25.458393 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-14]
- 11/21/21 08:22:25.462206 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-14 took 26.52 ms]
- 11/21/21 08:22:25.466201 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [2 frames processed: ['29', '14']] - [0 Frames skipped: []] - [Requested FID: snapshot] [Last Requested Frame ID: 14] [Maximum # of frames to process: 3]]
- 11/21/21 08:22:25.483785 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:22:25.489194 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 231 - converting 'snapshot' to a frame ID -> s-29]
- 11/21/21 08:22:25.494225 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-29] - [Frame Buffer Length: 61] - [Previous Frame Buffer Length: 61]
- 11/21/21 08:22:25.499446 zm_mlapi[1223] DBG1 Media:502 [media:read:image: the frame buffer (61) for event '231' is no longer growing. All out of bound frame ID's will be skipped instead of being reduced to the last available frame buffer ID]
- 11/21/21 08:22:25.50391 zm_mlapi[1223] DBG1 Media:519 [media:read:image: skipping frame ID: 's-29' as it has already been processed for event 231 -> processed Frame IDs: ['29', '14']]
- 11/21/21 08:22:25.509831 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:22:25.514484 zm_mlapi[1223] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': office (6)->'Event': 231 -> complete detection sequence took: 501.29 ms]
- 11/21/21 08:22:25.517898 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:22:34.916667 zm_mlapi[1223] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:22:34.9214 zm_mlapi[1223] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:22:34.925422 zm_mlapi[1223] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:22:34.929343 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.008097]
- 11/21/21 08:22:34.933474 zm_mlapi[1223] DBG1 mlapi:450 [mlapi:detect: monitor 6 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:22:34.937554 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:22:34.943594 zm_mlapi[1223] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:22:34.947573 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:22:34.95048 zm_mlapi[1223] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:22:34.95436 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:22:34.958375 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '232']
- 11/21/21 08:22:34.962328 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:22:34.966231 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 232]
- 11/21/21 08:22:34.970089 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:22:34.974423 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:22:34.990786 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:22:34.995038 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 232 - converting 'snapshot' to a frame ID -> s-26]
- 11/21/21 08:22:34.998899 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-26] - [Frame Buffer Length: 56] - [Previous Frame Buffer Length: 61]
- 11/21/21 08:22:35.002751 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=232&fid=26 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NTU0LCJleHAiOjE2Mzc0NzU3NTQsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.ap8q4nuovHyWQyvQDjU7gprkL_Rfi-2i1gUprIRSA_Q...'}]
- 11/21/21 08:22:35.155441 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:22:35.160242 zm_mlapi[1223] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1920, 0), (1920, 1080), (0, 1080)]]
- 11/21/21 08:22:35.164621 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:22:35.177204 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:22:35.185515 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:22:35.194045 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:22:35.199078 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-26]
- 11/21/21 08:22:35.202861 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-26 took 42.66 ms]
- 11/21/21 08:22:35.207279 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [1 frames processed: ['26']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 26] [Maximum # of frames to process: 3]]
- 11/21/21 08:22:35.222998 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:22:35.227519 zm_mlapi[1223] DBG2 Media:482 [media:read:image: Event: 232 - converting 'alarm' to a frame ID -> a-1]
- 11/21/21 08:22:35.231751 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-1] - [Frame Buffer Length: 56] - [Previous Frame Buffer Length: 56]
- 11/21/21 08:22:35.23594 zm_mlapi[1223] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=232&fid=1 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NTU0LCJleHAiOjE2Mzc0NzU3NTQsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.ap8q4nuovHyWQyvQDjU7gprkL_Rfi-2i1gUprIRSA_Q...'}]
- 11/21/21 08:22:35.394797 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:22:35.399637 zm_mlapi[1223] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:22:35.403638 zm_mlapi[1223] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:22:35.406877 zm_mlapi[1223] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:22:35.411002 zm_mlapi[1223] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:22:35.417244 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-1]
- 11/21/21 08:22:35.424457 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-1 took 24.67 ms]
- 11/21/21 08:22:35.429111 zm_mlapi[1223] DBG1 Media:446 [media:read:image: [2 frames processed: ['26', '1']] - [0 Frames skipped: []] - [Requested FID: snapshot] [Last Requested Frame ID: 1] [Maximum # of frames to process: 3]]
- 11/21/21 08:22:35.44628 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:22:35.452602 zm_mlapi[1223] DBG2 Media:488 [media:read:image: Event: 232 - converting 'snapshot' to a frame ID -> s-26]
- 11/21/21 08:22:35.457897 zm_mlapi[1223] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-26] - [Frame Buffer Length: 56] - [Previous Frame Buffer Length: 56]
- 11/21/21 08:22:35.4628 zm_mlapi[1223] DBG1 Media:502 [media:read:image: the frame buffer (56) for event '232' is no longer growing. All out of bound frame ID's will be skipped instead of being reduced to the last available frame buffer ID]
- 11/21/21 08:22:35.4671 zm_mlapi[1223] DBG1 Media:519 [media:read:image: skipping frame ID: 's-26' as it has already been processed for event 232 -> processed Frame IDs: ['26', '1']]
- 11/21/21 08:22:35.471686 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:22:35.475652 zm_mlapi[1223] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': office (6)->'Event': 232 -> complete detection sequence took: 517.31 ms]
- 11/21/21 08:22:35.478863 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:23:10.849417 zm_mlapi[1256] DBG1 new_yaml.py:242 [config:init: the supplied config file exists -> '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:23:10.878119 zm_mlapi[1256] DBG1 new_yaml.py:68 [config:hash: the SHA-256 hex digest for file '/var/lib/zmeventnotification/mlapiconfig.yml' -> 14cb6216c4cec14ea9629d48c31ef14a1802b915edecf10a1ef1d12d929ead2d]
- 11/21/21 08:23:10.917114 zm_mlapi[1256] DBG1 new_yaml.py:265 [config::init: default configuration built (no secrets or substitution vars replaced, yet!)]
- 11/21/21 08:23:10.917788 zm_mlapi[1256] DBG1 new_yaml.py:170 [config:mlapi:proc: 21 built in default keys added to the 'base' config -> ['host', 'wsgi_server', 'same_model_high_conf', 'sanitize_str', 'log_user', 'log_group', 'log_name', 'force_mpd', 'auth_enabled', 'wait', 'max_detection_size', 'detection_sequence', 'smart_fs_thresh', 'object_framework', 'fp16_target', 'alpr_api_type', 'alpr_url', 'openalpr_recognize_vehicle', 'openalpr_country', 'openalpr_state', 'openalpr_min_confidence']]
- 11/21/21 08:23:10.918111 zm_mlapi[1256] DBG1 new_yaml.py:114 [config:mlapi:proc: substituting '{{variables}}' for the 'base' config keys]
- 11/21/21 08:23:10.918846 zm_mlapi[1256] DBG1 new_yaml.py:136 [config:mlapi: successfully replaced 3 default sub vars in the base config -> ['base_data_path', 'yolo4_models', 'coral_models']]
- 11/21/21 08:23:10.919217 zm_mlapi[1256] DBG1 new_yaml.py:285 [config:mlapi: the configured secrets file exists and is a file -> '/etc/zm/zm_secrets.yml']
- 11/21/21 08:23:10.919589 zm_mlapi[1256] DBG1 new_yaml.py:68 [config:hash: the SHA-256 hex digest for file '/etc/zm/zm_secrets.yml' -> 596f81f53027bc145563678e9079e717f30bd6c73af2b8dc9a9107e6fbf9ebad]
- 11/21/21 08:23:10.919978 zm_mlapi[1256] DBG1 new_yaml.py:291 [config:mlapi: starting '{[secrets]}' substitution]
- 11/21/21 08:23:10.925332 zm_mlapi[1256] DBG1 new_yaml.py:324 [config:mlapi: successfully replaced 3 secrets in the base config -> ['PLATEREC_ALPR_KEY', 'mlapi_one_key', 'MLAPI_SECRET_KEY']]
- 11/21/21 08:23:10.925657 zm_mlapi[1256] DBG1 new_yaml.py:329 [config:mlapi: there are 2 secrets configured that have no substitution candidates in the base config or the secrets file -> ['AWS_SECRET_ACCESS_KEY', 'AWS_ACCESS_KEY_ID']]
- 11/21/21 08:23:10.926963 zm_mlapi[1256] DBG1 new_yaml.py:358 [config:mlapi: starting '{{variable}}' substitution]
- 11/21/21 08:23:10.931196 zm_mlapi[1256] DBG1 new_yaml.py:375 [config:mlapi: successfully replaced 51 sub vars in the base config -> ['face_num_jitters', 'model_sequence', 'past_det_max_diff_area', 'match_past_detections', 'save_unknown_faces', 'tpu_object_weights_mobiledet', 'tpu_tf2_mobilenetv2', 'tpu_max_lock_wait', 'platerec_min_score', 'yolo4_object_framework', 'cpu_max_processes', 'yolo4_object_labels', 'face_recog_dist_threshold', 'tpu_object_labels', 'same_model_sequence_strategy', 'face_detection_framework', 'alpr_detection_pattern', 'tpu_face_weights_mobilenetv2', 'face_upsample_times', 'tpu_efficientdet_lite3', 'cpu_max_lock_wait', 'tpu_object_weights_mobilenetv2', 'yolo4_object_weights', 'alpr_key', 'known_images_path', 'show_models', 'platerec_min_dscore', 'object_detection_pattern', 'face_train_model', 'yolo4_object_processor', 'yolo4_object_config', 'gpu_max_processes', 'tpu_max_processes', 'face_detection_pattern', 'unknown_images_path', 'face_model', 'openalpr_cmdline_binary', 'frame_set', 'openalpr_cmdline_params', 'save_unknown_faces_leeway_pixels', 'smart_fps_thresh', 'disable_locks', 'max_detection_size', 'tpu_object_framework', 'object_min_confidence', 'platerec_stats', 'tpu_min_confidence', 'frame_strategy', 'openalpr_cmdline_min_confidence', 'contained_area', 'gpu_max_lock_wait']]
- 11/21/21 08:23:10.932362 zm_mlapi[1256] DBG1 new_yaml.py:187 [config:mlapi:proc: Base config has been built, all properly configured {[secrets]} and {{vars}} have been replaced! Remember you must manually build per monitor overrode configurations]
- 11/21/21 08:23:10.932647 zm_mlapi[1256] DBG1 new_yaml.py:416 [config:mlapi:6942069: attempting to build an overrode config from monitor '6942069' overrides]
- 11/21/21 08:23:10.933213 zm_mlapi[1256] DBG1 new_yaml.py:432 [config:mlapi:6942069: monitor '6942069' overrides, starting '{[secrets]}' substitution]
- 11/21/21 08:23:10.933485 zm_mlapi[1256] DBG1 new_yaml.py:474 [config:mlapi:6942069: no secrets were replace during overrode config build]
- 11/21/21 08:23:10.933751 zm_mlapi[1256] DBG1 new_yaml.py:512 [config:mlapi:6942069: no vars were replace during overrode config build]
- 11/21/21 08:23:10.934088 zm_mlapi[1256] DBG1 new_yaml.py:547 [config:mlapi:6942069: polygon specified -> 'front_yard_polygonzone' for monitor 6942069, validating polygon shape...]
- 11/21/21 08:23:10.934458 zm_mlapi[1256] DBG1 new_yaml.py:575 [config:mlapi:6942069: creating new entry in polygons!]
- 11/21/21 08:23:10.934736 zm_mlapi[1256] DBG1 new_yaml.py:583 [config:mlapi:6942069: successfully validated polygon for defined zone 'front_yard' -> [(0, 877), (2170, 553), (3822, 1131), (3822, 2141), (0, 2159)]]
- 11/21/21 08:23:10.935016 zm_mlapi[1256] DBG1 new_yaml.py:542 [config:mlapi:6942069: detection pattern for monitor '6942069' defined zone 'front_yard' -> (person|dog|cat)]
- 11/21/21 08:23:10.935569 zm_mlapi[1256] DBG1 new_yaml.py:598 [config:mlapi:6942069: 3 keys overridden in the 'base' config -> ['object_detection_pattern', 'frame_set', 'model_sequence']]
- 11/21/21 08:23:10.935843 zm_mlapi[1256] DBG1 new_yaml.py:603 [config:mlapi:6942069: 5 keys that did not have a 'base' value to override that are now in the 'base' config -> ['front_yard_polygonzone', 'front_yard_zone_detection_pattern', 'person_max_detection_size', 'person_min_confidence', 'defined zones']]
- 11/21/21 08:23:11.106065 zm_mlapi[1256] DBG1 ZMLog:336 [mlapi:signal handlers: Setting up for log 'rotation' and log 'interrupt']
- 11/21/21 08:23:10.936494 zm_mlapi[1256] DBG1 mlapi.py:162 [perf:mlapi:init: total time to build initial config -> 0.087138]
- 11/21/21 08:23:10.936355 zm_mlapi[1256] DBG1 new_yaml.py:637 [config:init:log: Zoneminder is installed]
- 11/21/21 08:23:11.116147 zm_mlapi[1256] DBG1 ZMLog:336 [|*** FORKED NEO - Machine Learning API (mlapi) version: 3.0.3 - pyzm version: 1.0.3 - OpenCV version: 4.5.4 ***|]
- 11/21/21 08:23:11.119189 zm_mlapi[1256] DBG1 ZMLog:336 [mlapi: using 'Flask' with a maximum of '1' processes as WSGI server @ 0.0.0.0:5000]
- 11/21/21 08:23:11.122921 zm_mlapi[1256] DBG1 ZMLog:336 [Connected to ZoneMinder Logging system with user 'root' -> '/var/log/zm/zm_mlapi.log']
- 11/21/21 08:23:16.396456 zm_mlapi[1256] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:23:16.401211 zm_mlapi[1256] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:23:16.405894 zm_mlapi[1256] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:23:16.410479 zm_mlapi[1256] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.009557]
- 11/21/21 08:23:16.41439 zm_mlapi[1256] DBG1 mlapi:450 [mlapi:detect: monitor 2 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:23:16.419468 zm_mlapi[1256] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:23:16.438614 zm_mlapi[1256] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:23:16.44388 zm_mlapi[1256] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:23:16.447551 zm_mlapi[1256] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:23:16.451355 zm_mlapi[1256] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:23:16.455957 zm_mlapi[1256] DBG2 Media:117 [media: setting 'image' as type for event -> '233']
- 11/21/21 08:23:16.460744 zm_mlapi[1256] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:23:16.465111 zm_mlapi[1256] DBG2 Media:180 [media: using API calls for stream -> 233]
- 11/21/21 08:23:16.469129 zm_mlapi[1256] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:23:16.474678 zm_mlapi[1256] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:23:16.493502 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:23:16.497885 zm_mlapi[1256] DBG2 Media:488 [media:read:image: Event: 233 - converting 'snapshot' to a frame ID -> s-31]
- 11/21/21 08:23:16.501893 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-31] - [Frame Buffer Length: 70] - [Previous Frame Buffer Length: 0]
- 11/21/21 08:23:16.505942 zm_mlapi[1256] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=233&fid=31 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NTk2LCJleHAiOjE2Mzc0NzU3OTYsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.2Wddg_Yk1UgSgfbBpna5G2F45KxWplfhGKNMPxNXQp0...'}]
- 11/21/21 08:23:16.622313 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
- 11/21/21 08:23:16.626969 zm_mlapi[1256] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1280, 0), (1280, 720), (0, 720)]]
- 11/21/21 08:23:16.63142 zm_mlapi[1256] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:23:16.635571 zm_mlapi[1256] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:23:16.658777 zm_mlapi[1256] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:23:16.664865 zm_mlapi[1256] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:23:16.670775 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-31]
- 11/21/21 08:23:16.675239 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: s-31 took 47.94 ms]
- 11/21/21 08:23:16.680748 zm_mlapi[1256] DBG1 Media:446 [media:read:image: [1 frames processed: ['31']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 31] [Maximum # of frames to process: 3]]
- 11/21/21 08:23:16.703004 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:23:16.708251 zm_mlapi[1256] DBG2 Media:482 [media:read:image: Event: 233 - converting 'alarm' to a frame ID -> a-30]
- 11/21/21 08:23:16.713211 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-30] - [Frame Buffer Length: 70] - [Previous Frame Buffer Length: 70]
- 11/21/21 08:23:16.717314 zm_mlapi[1256] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=233&fid=30 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NTk2LCJleHAiOjE2Mzc0NzU3OTYsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.2Wddg_Yk1UgSgfbBpna5G2F45KxWplfhGKNMPxNXQp0...'}]
- 11/21/21 08:23:16.818062 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
- 11/21/21 08:23:16.823335 zm_mlapi[1256] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:23:16.828022 zm_mlapi[1256] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:23:16.831362 zm_mlapi[1256] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:23:16.835412 zm_mlapi[1256] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:23:16.840421 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-30]
- 11/21/21 08:23:16.844398 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: a-30 took 21.24 ms]
- 11/21/21 08:23:16.848323 zm_mlapi[1256] DBG1 Media:446 [media:read:image: [2 frames processed: ['31', '30']] - [0 Frames skipped: []] - [Requested FID: snapshot] [Last Requested Frame ID: 30] [Maximum # of frames to process: 3]]
- 11/21/21 08:23:16.867958 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:23:16.872104 zm_mlapi[1256] DBG2 Media:488 [media:read:image: Event: 233 - converting 'snapshot' to a frame ID -> s-31]
- 11/21/21 08:23:16.877128 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-31] - [Frame Buffer Length: 86] - [Previous Frame Buffer Length: 70]
- 11/21/21 08:23:16.881374 zm_mlapi[1256] DBG1 Media:519 [media:read:image: skipping frame ID: 's-31' as it has already been processed for event 233 -> processed Frame IDs: ['31', '30']]
- 11/21/21 08:23:16.885583 zm_mlapi[1256] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:23:16.889499 zm_mlapi[1256] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': entrance (2)->'Event': 233 -> complete detection sequence took: 434.12 ms]
- 11/21/21 08:23:16.895982 zm_mlapi[1256] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:23:16.902429 zm_mlapi[1256] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:23:16.906468 zm_mlapi[1256] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:23:16.910388 zm_mlapi[1256] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:23:16.914353 zm_mlapi[1256] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.008007]
- 11/21/21 08:23:16.918266 zm_mlapi[1256] DBG1 mlapi:450 [mlapi:detect: monitor 6 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:23:16.923235 zm_mlapi[1256] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:23:16.93117 zm_mlapi[1256] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:23:16.937451 zm_mlapi[1256] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:23:16.942255 zm_mlapi[1256] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:23:16.948296 zm_mlapi[1256] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:23:16.953712 zm_mlapi[1256] DBG2 Media:117 [media: setting 'image' as type for event -> '234']
- 11/21/21 08:23:16.958817 zm_mlapi[1256] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:23:16.962624 zm_mlapi[1256] DBG2 Media:180 [media: using API calls for stream -> 234]
- 11/21/21 08:23:16.966788 zm_mlapi[1256] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:23:16.970827 zm_mlapi[1256] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:23:16.989574 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:23:16.993872 zm_mlapi[1256] DBG2 Media:488 [media:read:image: Event: 234 - converting 'snapshot' to a frame ID -> s-8]
- 11/21/21 08:23:16.997932 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-8] - [Frame Buffer Length: 39] - [Previous Frame Buffer Length: 86]
- 11/21/21 08:23:17.002309 zm_mlapi[1256] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=234&fid=8 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NTk2LCJleHAiOjE2Mzc0NzU3OTYsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.2Wddg_Yk1UgSgfbBpna5G2F45KxWplfhGKNMPxNXQp0...'}]
- 11/21/21 08:23:17.163611 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:23:17.169152 zm_mlapi[1256] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1920, 0), (1920, 1080), (0, 1080)]]
- 11/21/21 08:23:17.173926 zm_mlapi[1256] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:23:17.178142 zm_mlapi[1256] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:23:17.182325 zm_mlapi[1256] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:23:17.186194 zm_mlapi[1256] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:23:17.191559 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-8]
- 11/21/21 08:23:17.195959 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: s-8 took 26.86 ms]
- 11/21/21 08:23:17.201142 zm_mlapi[1256] DBG1 Media:446 [media:read:image: [1 frames processed: ['8']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 8] [Maximum # of frames to process: 3]]
- 11/21/21 08:23:17.216903 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:23:17.221901 zm_mlapi[1256] DBG2 Media:482 [media:read:image: Event: 234 - converting 'alarm' to a frame ID -> a-7]
- 11/21/21 08:23:17.227053 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-7] - [Frame Buffer Length: 39] - [Previous Frame Buffer Length: 39]
- 11/21/21 08:23:17.232851 zm_mlapi[1256] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=234&fid=7 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NTk2LCJleHAiOjE2Mzc0NzU3OTYsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.2Wddg_Yk1UgSgfbBpna5G2F45KxWplfhGKNMPxNXQp0...'}]
- 11/21/21 08:23:17.386381 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:23:17.391835 zm_mlapi[1256] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:23:17.396156 zm_mlapi[1256] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:23:17.399434 zm_mlapi[1256] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:23:17.403639 zm_mlapi[1256] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:23:17.408727 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-7]
- 11/21/21 08:23:17.412687 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: a-7 took 21.01 ms]
- 11/21/21 08:23:17.416778 zm_mlapi[1256] DBG1 Media:446 [media:read:image: [2 frames processed: ['8', '7']] - [0 Frames skipped: []] - [Requested FID: snapshot] [Last Requested Frame ID: 7] [Maximum # of frames to process: 3]]
- 11/21/21 08:23:17.432475 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:23:17.438097 zm_mlapi[1256] DBG2 Media:488 [media:read:image: Event: 234 - converting 'snapshot' to a frame ID -> s-8]
- 11/21/21 08:23:17.443688 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-8] - [Frame Buffer Length: 39] - [Previous Frame Buffer Length: 39]
- 11/21/21 08:23:17.450386 zm_mlapi[1256] DBG1 Media:502 [media:read:image: the frame buffer (39) for event '234' is no longer growing. All out of bound frame ID's will be skipped instead of being reduced to the last available frame buffer ID]
- 11/21/21 08:23:17.455231 zm_mlapi[1256] DBG1 Media:519 [media:read:image: skipping frame ID: 's-8' as it has already been processed for event 234 -> processed Frame IDs: ['8', '7']]
- 11/21/21 08:23:17.460078 zm_mlapi[1256] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:23:17.46456 zm_mlapi[1256] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': office (6)->'Event': 234 -> complete detection sequence took: 510.60 ms]
- 11/21/21 08:23:17.467912 zm_mlapi[1256] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:23:21.356191 zm_mlapi[1256] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:23:21.360951 zm_mlapi[1256] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:23:21.365669 zm_mlapi[1256] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:23:21.371019 zm_mlapi[1256] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.010081]
- 11/21/21 08:23:21.375429 zm_mlapi[1256] DBG1 mlapi:450 [mlapi:detect: monitor 3 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:23:21.378587 zm_mlapi[1256] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:23:21.384048 zm_mlapi[1256] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:23:21.388808 zm_mlapi[1256] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:23:21.392051 zm_mlapi[1256] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:23:21.396573 zm_mlapi[1256] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:23:21.401276 zm_mlapi[1256] DBG2 Media:117 [media: setting 'image' as type for event -> '235']
- 11/21/21 08:23:21.406127 zm_mlapi[1256] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:23:21.411406 zm_mlapi[1256] DBG2 Media:180 [media: using API calls for stream -> 235]
- 11/21/21 08:23:21.416158 zm_mlapi[1256] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:23:21.422719 zm_mlapi[1256] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:23:21.439408 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:23:21.44382 zm_mlapi[1256] DBG2 Media:488 [media:read:image: Event: 235 - converting 'snapshot' to a frame ID -> s-5]
- 11/21/21 08:23:21.448437 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-5] - [Frame Buffer Length: 20] - [Previous Frame Buffer Length: 39]
- 11/21/21 08:23:21.453298 zm_mlapi[1256] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=235&fid=5 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NjAxLCJleHAiOjE2Mzc0NzU4MDEsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.p-jeRXOfu2YnozYL-gOJ8-Oo5w7KuKwTGDfn0xRRFII...'}]
- 11/21/21 08:23:21.510158 zm_mlapi[1256] DBG4 Media:618 [api: raising BAD_IMAGE ValueError for a 404 (image does not exist)]
- 11/21/21 08:23:21.515285 zm_mlapi[1256] DBG1 Media:621 ['std.out' --> DEBUG:MEDIA! exception=BAD_IMAGE]
- 11/21/21 08:23:21.520835 zm_mlapi[1256] DBG1 Media:626 ['std.out' --> BEFORE REQUEST: it is not a past event and sleep_time=2.0 -- requesting event data from ZM API g.event_tot_frames=20]
- 11/21/21 08:23:21.536128 zm_mlapi[1256] DBG1 Media:631 ['std.out' --> AFTER REQUEST: ZM Frame Buffer has 20 frames, we want this frame id -> 5]
- 11/21/21 08:23:23.543511 zm_mlapi[1256] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=235&fid=5 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NjAxLCJleHAiOjE2Mzc0NzU4MDEsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.p-jeRXOfu2YnozYL-gOJ8-Oo5w7KuKwTGDfn0xRRFII...'}]
- 11/21/21 08:23:23.747363 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1072, 1920)]
- 11/21/21 08:23:23.752937 zm_mlapi[1256] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1920, 0), (1920, 1072), (0, 1072)]]
- 11/21/21 08:23:23.757632 zm_mlapi[1256] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:23:23.762219 zm_mlapi[1256] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:23:23.765914 zm_mlapi[1256] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:23:23.770511 zm_mlapi[1256] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:23:23.776374 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-5]
- 11/21/21 08:23:23.780588 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: s-5 took 28.00 ms]
- 11/21/21 08:23:23.784678 zm_mlapi[1256] DBG1 Media:446 [media:read:image: [1 frames processed: ['5']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 5] [Maximum # of frames to process: 3]]
- 11/21/21 08:23:23.806153 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:23:23.812022 zm_mlapi[1256] DBG2 Media:482 [media:read:image: Event: 235 - converting 'alarm' to a frame ID -> a-5]
- 11/21/21 08:23:23.816489 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-5] - [Frame Buffer Length: 50] - [Previous Frame Buffer Length: 20]
- 11/21/21 08:23:23.821622 zm_mlapi[1256] DBG1 Media:519 [media:read:image: skipping frame ID: 'a-5' as it has already been processed for event 235 -> processed Frame IDs: ['5']]
- 11/21/21 08:23:23.826354 zm_mlapi[1256] DBG1 Media:446 [media:read:image: [1 frames processed: ['5']] - [1 Frames skipped: ['a-5']] - [Requested FID: snapshot] [Last Requested Frame ID: a-5] [Maximum # of frames to process: 3]]
- 11/21/21 08:23:23.842239 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:23:23.847563 zm_mlapi[1256] DBG2 Media:488 [media:read:image: Event: 235 - converting 'snapshot' to a frame ID -> s-5]
- 11/21/21 08:23:23.851622 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-5] - [Frame Buffer Length: 50] - [Previous Frame Buffer Length: 50]
- 11/21/21 08:23:23.855631 zm_mlapi[1256] DBG1 Media:519 [media:read:image: skipping frame ID: 's-5' as it has already been processed for event 235 -> processed Frame IDs: ['5']]
- 11/21/21 08:23:23.860499 zm_mlapi[1256] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:23:23.865509 zm_mlapi[1256] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': sofia (3)->'Event': 235 -> complete detection sequence took: 2463.77 ms]
- 11/21/21 08:23:23.8694 zm_mlapi[1256] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:23:26.400967 zm_mlapi[1256] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:23:26.405275 zm_mlapi[1256] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:23:26.40933 zm_mlapi[1256] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:23:26.413842 zm_mlapi[1256] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.008241]
- 11/21/21 08:23:26.419324 zm_mlapi[1256] DBG1 mlapi:450 [mlapi:detect: monitor 6 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:23:26.424353 zm_mlapi[1256] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:23:26.430598 zm_mlapi[1256] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:23:26.435582 zm_mlapi[1256] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:23:26.438568 zm_mlapi[1256] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:23:26.442946 zm_mlapi[1256] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:23:26.447698 zm_mlapi[1256] DBG2 Media:117 [media: setting 'image' as type for event -> '236']
- 11/21/21 08:23:26.452447 zm_mlapi[1256] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:23:26.457077 zm_mlapi[1256] DBG2 Media:180 [media: using API calls for stream -> 236]
- 11/21/21 08:23:26.46179 zm_mlapi[1256] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:23:26.467438 zm_mlapi[1256] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:23:26.486334 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:23:26.491078 zm_mlapi[1256] DBG2 Media:488 [media:read:image: Event: 236 - converting 'snapshot' to a frame ID -> s-19]
- 11/21/21 08:23:26.496848 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-19] - [Frame Buffer Length: 19] - [Previous Frame Buffer Length: 50]
- 11/21/21 08:23:26.501739 zm_mlapi[1256] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=236&fid=19 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NjA2LCJleHAiOjE2Mzc0NzU4MDYsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.LchIgSrImKGKJqo6oUpGzHvLdPEurpugMQtCkGapo1g...'}]
- 11/21/21 08:23:26.669026 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:23:26.675039 zm_mlapi[1256] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1920, 0), (1920, 1080), (0, 1080)]]
- 11/21/21 08:23:26.680572 zm_mlapi[1256] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:23:26.685015 zm_mlapi[1256] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:23:26.689694 zm_mlapi[1256] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:23:26.695765 zm_mlapi[1256] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:23:26.703288 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-19]
- 11/21/21 08:23:26.70737 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: s-19 took 32.36 ms]
- 11/21/21 08:23:26.713855 zm_mlapi[1256] DBG1 Media:446 [media:read:image: [1 frames processed: ['19']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 19] [Maximum # of frames to process: 3]]
- 11/21/21 08:23:26.739561 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:23:26.746054 zm_mlapi[1256] DBG2 Media:482 [media:read:image: Event: 236 - converting 'alarm' to a frame ID -> a-10]
- 11/21/21 08:23:26.750728 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-10] - [Frame Buffer Length: 35] - [Previous Frame Buffer Length: 19]
- 11/21/21 08:23:26.755862 zm_mlapi[1256] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=236&fid=10 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NjA2LCJleHAiOjE2Mzc0NzU4MDYsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.LchIgSrImKGKJqo6oUpGzHvLdPEurpugMQtCkGapo1g...'}]
- 11/21/21 08:23:26.923649 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:23:26.930491 zm_mlapi[1256] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:23:26.935864 zm_mlapi[1256] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:23:26.940582 zm_mlapi[1256] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:23:26.946274 zm_mlapi[1256] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:23:26.951826 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-10]
- 11/21/21 08:23:26.956045 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: a-10 took 25.87 ms]
- 11/21/21 08:23:26.960534 zm_mlapi[1256] DBG1 Media:446 [media:read:image: [2 frames processed: ['19', '10']] - [0 Frames skipped: []] - [Requested FID: snapshot] [Last Requested Frame ID: 10] [Maximum # of frames to process: 3]]
- 11/21/21 08:23:26.981114 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:23:26.986632 zm_mlapi[1256] DBG2 Media:488 [media:read:image: Event: 236 - converting 'snapshot' to a frame ID -> s-19]
- 11/21/21 08:23:26.995425 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-19] - [Frame Buffer Length: 35] - [Previous Frame Buffer Length: 35]
- 11/21/21 08:23:27.000749 zm_mlapi[1256] DBG1 Media:519 [media:read:image: skipping frame ID: 's-19' as it has already been processed for event 236 -> processed Frame IDs: ['19', '10']]
- 11/21/21 08:23:27.006146 zm_mlapi[1256] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:23:27.011369 zm_mlapi[1256] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': office (6)->'Event': 236 -> complete detection sequence took: 563.72 ms]
- 11/21/21 08:23:27.016124 zm_mlapi[1256] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:23:46.406681 zm_mlapi[1256] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:23:46.411765 zm_mlapi[1256] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:23:46.418126 zm_mlapi[1256] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:23:46.422559 zm_mlapi[1256] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.011042]
- 11/21/21 08:23:46.426555 zm_mlapi[1256] DBG1 mlapi:450 [mlapi:detect: monitor 2 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:23:46.430495 zm_mlapi[1256] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:23:46.436165 zm_mlapi[1256] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:23:46.441455 zm_mlapi[1256] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:23:46.444912 zm_mlapi[1256] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:23:46.449357 zm_mlapi[1256] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:23:46.454011 zm_mlapi[1256] DBG2 Media:117 [media: setting 'image' as type for event -> '238']
- 11/21/21 08:23:46.459541 zm_mlapi[1256] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:23:46.464279 zm_mlapi[1256] DBG2 Media:180 [media: using API calls for stream -> 238]
- 11/21/21 08:23:46.468648 zm_mlapi[1256] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:23:46.472857 zm_mlapi[1256] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:23:46.495272 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:23:46.500994 zm_mlapi[1256] DBG2 Media:488 [media:read:image: Event: 238 - converting 'snapshot' to a frame ID -> s-18]
- 11/21/21 08:23:46.505433 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-18] - [Frame Buffer Length: 80] - [Previous Frame Buffer Length: 35]
- 11/21/21 08:23:46.50971 zm_mlapi[1256] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=238&fid=18 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NjI2LCJleHAiOjE2Mzc0NzU4MjYsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.T8quIH3CYr0F72qTdJBFNvKWTy9xUdsTEW2gsq2JJFI...'}]
- 11/21/21 08:23:46.625445 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
- 11/21/21 08:23:46.630365 zm_mlapi[1256] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1280, 0), (1280, 720), (0, 720)]]
- 11/21/21 08:23:46.635606 zm_mlapi[1256] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:23:46.639787 zm_mlapi[1256] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:23:46.643305 zm_mlapi[1256] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:23:46.647373 zm_mlapi[1256] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:23:46.652515 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-18]
- 11/21/21 08:23:46.656521 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: s-18 took 26.22 ms]
- 11/21/21 08:23:46.660586 zm_mlapi[1256] DBG1 Media:446 [media:read:image: [1 frames processed: ['18']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 18] [Maximum # of frames to process: 3]]
- 11/21/21 08:23:46.681997 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:23:46.686526 zm_mlapi[1256] DBG2 Media:482 [media:read:image: Event: 238 - converting 'alarm' to a frame ID -> a-18]
- 11/21/21 08:23:46.690928 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-18] - [Frame Buffer Length: 80] - [Previous Frame Buffer Length: 80]
- 11/21/21 08:23:46.694962 zm_mlapi[1256] DBG1 Media:519 [media:read:image: skipping frame ID: 'a-18' as it has already been processed for event 238 -> processed Frame IDs: ['18']]
- 11/21/21 08:23:46.699124 zm_mlapi[1256] DBG1 Media:446 [media:read:image: [1 frames processed: ['18']] - [1 Frames skipped: ['a-18']] - [Requested FID: snapshot] [Last Requested Frame ID: a-18] [Maximum # of frames to process: 3]]
- 11/21/21 08:23:46.714822 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:23:46.719361 zm_mlapi[1256] DBG2 Media:488 [media:read:image: Event: 238 - converting 'snapshot' to a frame ID -> s-18]
- 11/21/21 08:23:46.723566 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-18] - [Frame Buffer Length: 80] - [Previous Frame Buffer Length: 80]
- 11/21/21 08:23:46.727719 zm_mlapi[1256] DBG1 Media:502 [media:read:image: the frame buffer (80) for event '238' is no longer growing. All out of bound frame ID's will be skipped instead of being reduced to the last available frame buffer ID]
- 11/21/21 08:23:46.732109 zm_mlapi[1256] DBG1 Media:519 [media:read:image: skipping frame ID: 's-18' as it has already been processed for event 238 -> processed Frame IDs: ['18']]
- 11/21/21 08:23:46.737166 zm_mlapi[1256] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:23:46.742445 zm_mlapi[1256] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': entrance (2)->'Event': 238 -> complete detection sequence took: 288.69 ms]
- 11/21/21 08:23:46.745915 zm_mlapi[1256] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:23:46.752365 zm_mlapi[1256] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:23:46.756827 zm_mlapi[1256] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:23:46.761151 zm_mlapi[1256] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:23:46.765223 zm_mlapi[1256] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.008558]
- 11/21/21 08:23:46.769214 zm_mlapi[1256] DBG1 mlapi:450 [mlapi:detect: monitor 6 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:23:46.773293 zm_mlapi[1256] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:23:46.778768 zm_mlapi[1256] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:23:46.783121 zm_mlapi[1256] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:23:46.7862 zm_mlapi[1256] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:23:46.790658 zm_mlapi[1256] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:23:46.795402 zm_mlapi[1256] DBG2 Media:117 [media: setting 'image' as type for event -> '237']
- 11/21/21 08:23:46.800824 zm_mlapi[1256] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:23:46.805407 zm_mlapi[1256] DBG2 Media:180 [media: using API calls for stream -> 237]
- 11/21/21 08:23:46.809724 zm_mlapi[1256] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:23:46.813972 zm_mlapi[1256] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:23:46.836806 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:23:46.841556 zm_mlapi[1256] DBG2 Media:488 [media:read:image: Event: 237 - converting 'snapshot' to a frame ID -> s-19]
- 11/21/21 08:23:46.845639 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-19] - [Frame Buffer Length: 97] - [Previous Frame Buffer Length: 80]
- 11/21/21 08:23:46.849711 zm_mlapi[1256] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=237&fid=19 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NjI2LCJleHAiOjE2Mzc0NzU4MjYsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.T8quIH3CYr0F72qTdJBFNvKWTy9xUdsTEW2gsq2JJFI...'}]
- 11/21/21 08:23:47.008727 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:23:47.014482 zm_mlapi[1256] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1920, 0), (1920, 1080), (0, 1080)]]
- 11/21/21 08:23:47.018762 zm_mlapi[1256] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:23:47.022726 zm_mlapi[1256] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:23:47.026045 zm_mlapi[1256] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:23:47.030045 zm_mlapi[1256] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:23:47.035122 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-19]
- 11/21/21 08:23:47.039145 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: s-19 took 24.65 ms]
- 11/21/21 08:23:47.04314 zm_mlapi[1256] DBG1 Media:446 [media:read:image: [1 frames processed: ['19']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 19] [Maximum # of frames to process: 3]]
- 11/21/21 08:23:47.059734 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:23:47.064273 zm_mlapi[1256] DBG2 Media:482 [media:read:image: Event: 237 - converting 'alarm' to a frame ID -> a-8]
- 11/21/21 08:23:47.068339 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-8] - [Frame Buffer Length: 97] - [Previous Frame Buffer Length: 97]
- 11/21/21 08:23:47.072447 zm_mlapi[1256] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=237&fid=8 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NjI2LCJleHAiOjE2Mzc0NzU4MjYsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.T8quIH3CYr0F72qTdJBFNvKWTy9xUdsTEW2gsq2JJFI...'}]
- 11/21/21 08:23:47.236932 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:23:47.24259 zm_mlapi[1256] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:23:47.246915 zm_mlapi[1256] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:23:47.25029 zm_mlapi[1256] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:23:47.254372 zm_mlapi[1256] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:23:47.259456 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-8]
- 11/21/21 08:23:47.26352 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: a-8 took 21.01 ms]
- 11/21/21 08:23:47.267551 zm_mlapi[1256] DBG1 Media:446 [media:read:image: [2 frames processed: ['19', '8']] - [0 Frames skipped: []] - [Requested FID: snapshot] [Last Requested Frame ID: 8] [Maximum # of frames to process: 3]]
- 11/21/21 08:23:47.283307 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:23:47.287769 zm_mlapi[1256] DBG2 Media:488 [media:read:image: Event: 237 - converting 'snapshot' to a frame ID -> s-19]
- 11/21/21 08:23:47.291844 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-19] - [Frame Buffer Length: 97] - [Previous Frame Buffer Length: 97]
- 11/21/21 08:23:47.295839 zm_mlapi[1256] DBG1 Media:502 [media:read:image: the frame buffer (97) for event '237' is no longer growing. All out of bound frame ID's will be skipped instead of being reduced to the last available frame buffer ID]
- 11/21/21 08:23:47.299925 zm_mlapi[1256] DBG1 Media:519 [media:read:image: skipping frame ID: 's-19' as it has already been processed for event 237 -> processed Frame IDs: ['19', '8']]
- 11/21/21 08:23:47.304753 zm_mlapi[1256] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:23:47.309053 zm_mlapi[1256] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': office (6)->'Event': 237 -> complete detection sequence took: 513.69 ms]
- 11/21/21 08:23:47.312265 zm_mlapi[1256] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:23:56.380249 zm_mlapi[1256] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:23:56.38566 zm_mlapi[1256] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:23:56.389976 zm_mlapi[1256] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:23:56.394273 zm_mlapi[1256] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.009269]
- 11/21/21 08:23:56.398306 zm_mlapi[1256] DBG1 mlapi:450 [mlapi:detect: monitor 6 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:23:56.402175 zm_mlapi[1256] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:23:56.407421 zm_mlapi[1256] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:23:56.411354 zm_mlapi[1256] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:23:56.414386 zm_mlapi[1256] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:23:56.418268 zm_mlapi[1256] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:23:56.422447 zm_mlapi[1256] DBG2 Media:117 [media: setting 'image' as type for event -> '239']
- 11/21/21 08:23:56.426417 zm_mlapi[1256] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:23:56.430385 zm_mlapi[1256] DBG2 Media:180 [media: using API calls for stream -> 239]
- 11/21/21 08:23:56.434301 zm_mlapi[1256] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:23:56.438549 zm_mlapi[1256] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:23:56.460407 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:23:56.464989 zm_mlapi[1256] DBG2 Media:488 [media:read:image: Event: 239 - converting 'snapshot' to a frame ID -> s-20]
- 11/21/21 08:23:56.470421 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-20] - [Frame Buffer Length: 80] - [Previous Frame Buffer Length: 97]
- 11/21/21 08:23:56.474881 zm_mlapi[1256] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=239&fid=20 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NjM2LCJleHAiOjE2Mzc0NzU4MzYsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.VbhgXf7b7STM0a-KHkoagcjFHU0VRHbqIIrjvHbM08k...'}]
- 11/21/21 08:23:56.622447 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:23:56.628662 zm_mlapi[1256] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1920, 0), (1920, 1080), (0, 1080)]]
- 11/21/21 08:23:56.633201 zm_mlapi[1256] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:23:56.637605 zm_mlapi[1256] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:23:56.64117 zm_mlapi[1256] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:23:56.645268 zm_mlapi[1256] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:23:56.650248 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-20]
- 11/21/21 08:23:56.65421 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: s-20 took 26.38 ms]
- 11/21/21 08:23:56.664521 zm_mlapi[1256] DBG1 Media:446 [media:read:image: [1 frames processed: ['20']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 20] [Maximum # of frames to process: 3]]
- 11/21/21 08:23:56.681691 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:23:56.686133 zm_mlapi[1256] DBG2 Media:482 [media:read:image: Event: 239 - converting 'alarm' to a frame ID -> a-1]
- 11/21/21 08:23:56.690044 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-1] - [Frame Buffer Length: 95] - [Previous Frame Buffer Length: 80]
- 11/21/21 08:23:56.69398 zm_mlapi[1256] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=239&fid=1 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NjM2LCJleHAiOjE2Mzc0NzU4MzYsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.VbhgXf7b7STM0a-KHkoagcjFHU0VRHbqIIrjvHbM08k...'}]
- 11/21/21 08:23:56.835114 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:23:56.840319 zm_mlapi[1256] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:23:56.844556 zm_mlapi[1256] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:23:56.847844 zm_mlapi[1256] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:23:56.851983 zm_mlapi[1256] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:23:56.85692 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-1]
- 11/21/21 08:23:56.860778 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: a-1 took 20.59 ms]
- 11/21/21 08:23:56.864759 zm_mlapi[1256] DBG1 Media:446 [media:read:image: [2 frames processed: ['20', '1']] - [0 Frames skipped: []] - [Requested FID: snapshot] [Last Requested Frame ID: 1] [Maximum # of frames to process: 3]]
- 11/21/21 08:23:56.879255 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:23:56.883382 zm_mlapi[1256] DBG2 Media:488 [media:read:image: Event: 239 - converting 'snapshot' to a frame ID -> s-20]
- 11/21/21 08:23:56.887376 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-20] - [Frame Buffer Length: 95] - [Previous Frame Buffer Length: 95]
- 11/21/21 08:23:56.891488 zm_mlapi[1256] DBG1 Media:519 [media:read:image: skipping frame ID: 's-20' as it has already been processed for event 239 -> processed Frame IDs: ['20', '1']]
- 11/21/21 08:23:56.897028 zm_mlapi[1256] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:23:56.900971 zm_mlapi[1256] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': office (6)->'Event': 239 -> complete detection sequence took: 478.57 ms]
- 11/21/21 08:23:56.904275 zm_mlapi[1256] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:24:16.39987 zm_mlapi[1256] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:24:16.405421 zm_mlapi[1256] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:24:16.409667 zm_mlapi[1256] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:24:16.413833 zm_mlapi[1256] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.008528]
- 11/21/21 08:24:16.41791 zm_mlapi[1256] DBG1 mlapi:450 [mlapi:detect: monitor 6 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:24:16.421875 zm_mlapi[1256] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:24:16.427221 zm_mlapi[1256] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:24:16.431412 zm_mlapi[1256] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:24:16.434366 zm_mlapi[1256] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:24:16.438408 zm_mlapi[1256] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:24:16.442655 zm_mlapi[1256] DBG2 Media:117 [media: setting 'image' as type for event -> '240']
- 11/21/21 08:24:16.446474 zm_mlapi[1256] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:24:16.450861 zm_mlapi[1256] DBG2 Media:180 [media: using API calls for stream -> 240]
- 11/21/21 08:24:16.455391 zm_mlapi[1256] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:24:16.459677 zm_mlapi[1256] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:24:16.47536 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:24:16.479845 zm_mlapi[1256] DBG2 Media:488 [media:read:image: Event: 240 - converting 'snapshot' to a frame ID -> s-13]
- 11/21/21 08:24:16.48374 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-13] - [Frame Buffer Length: 43] - [Previous Frame Buffer Length: 95]
- 11/21/21 08:24:16.487715 zm_mlapi[1256] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=240&fid=13 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NjU2LCJleHAiOjE2Mzc0NzU4NTYsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.z1MYhrDHxDqW-JzYoNpCN1tFhScpv85bFW2iDxF1LJ8...'}]
- 11/21/21 08:24:16.640061 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:24:16.645527 zm_mlapi[1256] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1920, 0), (1920, 1080), (0, 1080)]]
- 11/21/21 08:24:16.649785 zm_mlapi[1256] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:24:16.65378 zm_mlapi[1256] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:24:16.657165 zm_mlapi[1256] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:24:16.661274 zm_mlapi[1256] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:24:16.666423 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-13]
- 11/21/21 08:24:16.67054 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: s-13 took 25.04 ms]
- 11/21/21 08:24:16.676007 zm_mlapi[1256] DBG1 Media:446 [media:read:image: [1 frames processed: ['13']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 13] [Maximum # of frames to process: 3]]
- 11/21/21 08:24:16.692242 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:24:16.697218 zm_mlapi[1256] DBG2 Media:482 [media:read:image: Event: 240 - converting 'alarm' to a frame ID -> a-13]
- 11/21/21 08:24:16.701766 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-13] - [Frame Buffer Length: 43] - [Previous Frame Buffer Length: 43]
- 11/21/21 08:24:16.706858 zm_mlapi[1256] DBG1 Media:519 [media:read:image: skipping frame ID: 'a-13' as it has already been processed for event 240 -> processed Frame IDs: ['13']]
- 11/21/21 08:24:16.711977 zm_mlapi[1256] DBG1 Media:446 [media:read:image: [1 frames processed: ['13']] - [1 Frames skipped: ['a-13']] - [Requested FID: snapshot] [Last Requested Frame ID: a-13] [Maximum # of frames to process: 3]]
- 11/21/21 08:24:16.726498 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:24:16.731133 zm_mlapi[1256] DBG2 Media:488 [media:read:image: Event: 240 - converting 'snapshot' to a frame ID -> s-13]
- 11/21/21 08:24:16.735814 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-13] - [Frame Buffer Length: 43] - [Previous Frame Buffer Length: 43]
- 11/21/21 08:24:16.743955 zm_mlapi[1256] DBG1 Media:502 [media:read:image: the frame buffer (43) for event '240' is no longer growing. All out of bound frame ID's will be skipped instead of being reduced to the last available frame buffer ID]
- 11/21/21 08:24:16.750607 zm_mlapi[1256] DBG1 Media:519 [media:read:image: skipping frame ID: 's-13' as it has already been processed for event 240 -> processed Frame IDs: ['13']]
- 11/21/21 08:24:16.755028 zm_mlapi[1256] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:24:16.758948 zm_mlapi[1256] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': office (6)->'Event': 240 -> complete detection sequence took: 316.36 ms]
- 11/21/21 08:24:16.761928 zm_mlapi[1256] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:24:16.768235 zm_mlapi[1256] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:24:16.772292 zm_mlapi[1256] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:24:16.776436 zm_mlapi[1256] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:24:16.780643 zm_mlapi[1256] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.008215]
- 11/21/21 08:24:16.786795 zm_mlapi[1256] DBG1 mlapi:450 [mlapi:detect: monitor 2 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:24:16.798689 zm_mlapi[1256] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:24:16.80553 zm_mlapi[1256] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:24:16.812276 zm_mlapi[1256] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:24:16.816178 zm_mlapi[1256] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:24:16.822221 zm_mlapi[1256] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:24:16.827592 zm_mlapi[1256] DBG2 Media:117 [media: setting 'image' as type for event -> '241']
- 11/21/21 08:24:16.831628 zm_mlapi[1256] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:24:16.835602 zm_mlapi[1256] DBG2 Media:180 [media: using API calls for stream -> 241]
- 11/21/21 08:24:16.839612 zm_mlapi[1256] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:24:16.843669 zm_mlapi[1256] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:24:16.859178 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:24:16.863734 zm_mlapi[1256] DBG2 Media:488 [media:read:image: Event: 241 - converting 'snapshot' to a frame ID -> s-30]
- 11/21/21 08:24:16.867644 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-30] - [Frame Buffer Length: 45] - [Previous Frame Buffer Length: 43]
- 11/21/21 08:24:16.8717 zm_mlapi[1256] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=241&fid=30 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NjU2LCJleHAiOjE2Mzc0NzU4NTYsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.z1MYhrDHxDqW-JzYoNpCN1tFhScpv85bFW2iDxF1LJ8...'}]
- 11/21/21 08:24:16.986519 zm_mlapi[1256] DBG4 Media:618 [api: raising BAD_IMAGE ValueError for a 404 (image does not exist)]
- 11/21/21 08:24:16.99136 zm_mlapi[1256] DBG1 Media:621 ['std.out' --> DEBUG:MEDIA! exception=BAD_IMAGE]
- 11/21/21 08:24:16.997373 zm_mlapi[1256] DBG1 Media:626 ['std.out' --> BEFORE REQUEST: it is not a past event and sleep_time=2.0 -- requesting event data from ZM API g.event_tot_frames=45]
- 11/21/21 08:24:17.01323 zm_mlapi[1256] DBG1 Media:631 ['std.out' --> AFTER REQUEST: ZM Frame Buffer has 45 frames, we want this frame id -> 30]
- 11/21/21 08:24:19.021203 zm_mlapi[1256] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=241&fid=30 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NjU2LCJleHAiOjE2Mzc0NzU4NTYsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.z1MYhrDHxDqW-JzYoNpCN1tFhScpv85bFW2iDxF1LJ8...'}]
- 11/21/21 08:24:19.151795 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
- 11/21/21 08:24:19.156595 zm_mlapi[1256] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1280, 0), (1280, 720), (0, 720)]]
- 11/21/21 08:24:19.160747 zm_mlapi[1256] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:24:19.164818 zm_mlapi[1256] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:24:19.169397 zm_mlapi[1256] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:24:19.17452 zm_mlapi[1256] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:24:19.180572 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-30]
- 11/21/21 08:24:19.184707 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: s-30 took 28.12 ms]
- 11/21/21 08:24:19.188856 zm_mlapi[1256] DBG1 Media:446 [media:read:image: [1 frames processed: ['30']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 30] [Maximum # of frames to process: 3]]
- 11/21/21 08:24:19.209902 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:24:19.214089 zm_mlapi[1256] DBG2 Media:482 [media:read:image: Event: 241 - converting 'alarm' to a frame ID -> a-24]
- 11/21/21 08:24:19.217995 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-24] - [Frame Buffer Length: 92] - [Previous Frame Buffer Length: 45]
- 11/21/21 08:24:19.221743 zm_mlapi[1256] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=241&fid=24 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NjU2LCJleHAiOjE2Mzc0NzU4NTYsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.z1MYhrDHxDqW-JzYoNpCN1tFhScpv85bFW2iDxF1LJ8...'}]
- 11/21/21 08:24:19.334471 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
- 11/21/21 08:24:19.339577 zm_mlapi[1256] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:24:19.343665 zm_mlapi[1256] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:24:19.346951 zm_mlapi[1256] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:24:19.351022 zm_mlapi[1256] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:24:19.356102 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-24]
- 11/21/21 08:24:19.359986 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: a-24 took 20.53 ms]
- 11/21/21 08:24:19.363918 zm_mlapi[1256] DBG1 Media:446 [media:read:image: [2 frames processed: ['30', '24']] - [0 Frames skipped: []] - [Requested FID: snapshot] [Last Requested Frame ID: 24] [Maximum # of frames to process: 3]]
- 11/21/21 08:24:19.379526 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:24:19.384075 zm_mlapi[1256] DBG2 Media:488 [media:read:image: Event: 241 - converting 'snapshot' to a frame ID -> s-30]
- 11/21/21 08:24:19.388364 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-30] - [Frame Buffer Length: 92] - [Previous Frame Buffer Length: 92]
- 11/21/21 08:24:19.392312 zm_mlapi[1256] DBG1 Media:519 [media:read:image: skipping frame ID: 's-30' as it has already been processed for event 241 -> processed Frame IDs: ['30', '24']]
- 11/21/21 08:24:19.396168 zm_mlapi[1256] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:24:19.400175 zm_mlapi[1256] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': entrance (2)->'Event': 241 -> complete detection sequence took: 2572.66 ms]
- 11/21/21 08:24:19.403276 zm_mlapi[1256] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:24:31.381775 zm_mlapi[1256] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:24:31.386418 zm_mlapi[1256] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:24:31.390519 zm_mlapi[1256] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:24:31.394428 zm_mlapi[1256] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.008135]
- 11/21/21 08:24:31.398377 zm_mlapi[1256] DBG1 mlapi:450 [mlapi:detect: monitor 6 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:24:31.402339 zm_mlapi[1256] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:24:31.407722 zm_mlapi[1256] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:24:31.412256 zm_mlapi[1256] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:24:31.415846 zm_mlapi[1256] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:24:31.421185 zm_mlapi[1256] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:24:31.425459 zm_mlapi[1256] DBG2 Media:117 [media: setting 'image' as type for event -> '242']
- 11/21/21 08:24:31.42985 zm_mlapi[1256] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:24:31.44201 zm_mlapi[1256] DBG2 Media:180 [media: using API calls for stream -> 242]
- 11/21/21 08:24:31.445936 zm_mlapi[1256] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:24:31.449992 zm_mlapi[1256] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:24:31.467864 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:24:31.472503 zm_mlapi[1256] DBG2 Media:488 [media:read:image: Event: 242 - converting 'snapshot' to a frame ID -> s-23]
- 11/21/21 08:24:31.476549 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-23] - [Frame Buffer Length: 68] - [Previous Frame Buffer Length: 92]
- 11/21/21 08:24:31.480499 zm_mlapi[1256] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=242&fid=23 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NjcxLCJleHAiOjE2Mzc0NzU4NzEsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9._0zJoDwf9fnnP220YAEVhk37fiR1fswZi-DKyHI1PKM...'}]
- 11/21/21 08:24:31.627769 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:24:31.632946 zm_mlapi[1256] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1920, 0), (1920, 1080), (0, 1080)]]
- 11/21/21 08:24:31.637485 zm_mlapi[1256] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:24:31.641573 zm_mlapi[1256] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:24:31.644993 zm_mlapi[1256] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:24:31.649419 zm_mlapi[1256] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:24:31.656538 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-23]
- 11/21/21 08:24:31.661844 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: s-23 took 28.93 ms]
- 11/21/21 08:24:31.666419 zm_mlapi[1256] DBG1 Media:446 [media:read:image: [1 frames processed: ['23']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 23] [Maximum # of frames to process: 3]]
- 11/21/21 08:24:31.689973 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:24:31.694852 zm_mlapi[1256] DBG2 Media:482 [media:read:image: Event: 242 - converting 'alarm' to a frame ID -> a-8]
- 11/21/21 08:24:31.698946 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-8] - [Frame Buffer Length: 83] - [Previous Frame Buffer Length: 68]
- 11/21/21 08:24:31.703225 zm_mlapi[1256] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=242&fid=8 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NjcxLCJleHAiOjE2Mzc0NzU4NzEsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9._0zJoDwf9fnnP220YAEVhk37fiR1fswZi-DKyHI1PKM...'}]
- 11/21/21 08:24:31.857174 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:24:31.862239 zm_mlapi[1256] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:24:31.866602 zm_mlapi[1256] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:24:31.869863 zm_mlapi[1256] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:24:31.873905 zm_mlapi[1256] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:24:31.878965 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-8]
- 11/21/21 08:24:31.882953 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: a-8 took 20.93 ms]
- 11/21/21 08:24:31.886795 zm_mlapi[1256] DBG1 Media:446 [media:read:image: [2 frames processed: ['23', '8']] - [0 Frames skipped: []] - [Requested FID: snapshot] [Last Requested Frame ID: 8] [Maximum # of frames to process: 3]]
- 11/21/21 08:24:31.902005 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:24:31.906045 zm_mlapi[1256] DBG2 Media:488 [media:read:image: Event: 242 - converting 'snapshot' to a frame ID -> s-23]
- 11/21/21 08:24:31.909967 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-23] - [Frame Buffer Length: 83] - [Previous Frame Buffer Length: 83]
- 11/21/21 08:24:31.913865 zm_mlapi[1256] DBG1 Media:519 [media:read:image: skipping frame ID: 's-23' as it has already been processed for event 242 -> processed Frame IDs: ['23', '8']]
- 11/21/21 08:24:31.919356 zm_mlapi[1256] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:24:31.924895 zm_mlapi[1256] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': office (6)->'Event': 242 -> complete detection sequence took: 499.37 ms]
- 11/21/21 08:24:31.928577 zm_mlapi[1256] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:24:46.378694 zm_mlapi[1256] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:24:46.383273 zm_mlapi[1256] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:24:46.387372 zm_mlapi[1256] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:24:46.392349 zm_mlapi[1256] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.009104]
- 11/21/21 08:24:46.396659 zm_mlapi[1256] DBG1 mlapi:450 [mlapi:detect: monitor 6 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:24:46.401084 zm_mlapi[1256] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:24:46.406721 zm_mlapi[1256] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:24:46.411176 zm_mlapi[1256] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:24:46.415047 zm_mlapi[1256] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:24:46.419836 zm_mlapi[1256] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:24:46.425375 zm_mlapi[1256] DBG2 Media:117 [media: setting 'image' as type for event -> '243']
- 11/21/21 08:24:46.430104 zm_mlapi[1256] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:24:46.438649 zm_mlapi[1256] DBG2 Media:180 [media: using API calls for stream -> 243]
- 11/21/21 08:24:46.443691 zm_mlapi[1256] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:24:46.448193 zm_mlapi[1256] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:24:46.469746 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:24:46.477275 zm_mlapi[1256] DBG2 Media:488 [media:read:image: Event: 243 - converting 'snapshot' to a frame ID -> s-5]
- 11/21/21 08:24:46.482441 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-5] - [Frame Buffer Length: 35] - [Previous Frame Buffer Length: 83]
- 11/21/21 08:24:46.486559 zm_mlapi[1256] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=243&fid=5 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4Njg2LCJleHAiOjE2Mzc0NzU4ODYsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.FyjHNBZlrJSiF8avZMI5fGb5l_EZD5dwcZy7CLCUBKM...'}]
- 11/21/21 08:24:46.643737 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:24:46.648584 zm_mlapi[1256] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1920, 0), (1920, 1080), (0, 1080)]]
- 11/21/21 08:24:46.652969 zm_mlapi[1256] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:24:46.657121 zm_mlapi[1256] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:24:46.66032 zm_mlapi[1256] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:24:46.664448 zm_mlapi[1256] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:24:46.669544 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-5]
- 11/21/21 08:24:46.673925 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: s-5 took 25.31 ms]
- 11/21/21 08:24:46.67814 zm_mlapi[1256] DBG1 Media:446 [media:read:image: [1 frames processed: ['5']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 5] [Maximum # of frames to process: 3]]
- 11/21/21 08:24:46.6981 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:24:46.702155 zm_mlapi[1256] DBG2 Media:482 [media:read:image: Event: 243 - converting 'alarm' to a frame ID -> a-5]
- 11/21/21 08:24:46.706247 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-5] - [Frame Buffer Length: 50] - [Previous Frame Buffer Length: 35]
- 11/21/21 08:24:46.710132 zm_mlapi[1256] DBG1 Media:519 [media:read:image: skipping frame ID: 'a-5' as it has already been processed for event 243 -> processed Frame IDs: ['5']]
- 11/21/21 08:24:46.714365 zm_mlapi[1256] DBG1 Media:446 [media:read:image: [1 frames processed: ['5']] - [1 Frames skipped: ['a-5']] - [Requested FID: snapshot] [Last Requested Frame ID: a-5] [Maximum # of frames to process: 3]]
- 11/21/21 08:24:46.730315 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:24:46.735005 zm_mlapi[1256] DBG2 Media:488 [media:read:image: Event: 243 - converting 'snapshot' to a frame ID -> s-5]
- 11/21/21 08:24:46.738999 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-5] - [Frame Buffer Length: 50] - [Previous Frame Buffer Length: 50]
- 11/21/21 08:24:46.743021 zm_mlapi[1256] DBG1 Media:519 [media:read:image: skipping frame ID: 's-5' as it has already been processed for event 243 -> processed Frame IDs: ['5']]
- 11/21/21 08:24:46.747267 zm_mlapi[1256] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:24:46.751115 zm_mlapi[1256] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': office (6)->'Event': 243 -> complete detection sequence took: 326.11 ms]
- 11/21/21 08:24:46.754314 zm_mlapi[1256] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:24:56.389834 zm_mlapi[1256] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:24:56.394233 zm_mlapi[1256] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:24:56.39825 zm_mlapi[1256] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:24:56.402172 zm_mlapi[1256] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.008078]
- 11/21/21 08:24:56.40613 zm_mlapi[1256] DBG1 mlapi:450 [mlapi:detect: monitor 6 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:24:56.409966 zm_mlapi[1256] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:24:56.415417 zm_mlapi[1256] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:24:56.419641 zm_mlapi[1256] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:24:56.422799 zm_mlapi[1256] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:24:56.427946 zm_mlapi[1256] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:24:56.432956 zm_mlapi[1256] DBG2 Media:117 [media: setting 'image' as type for event -> '244']
- 11/21/21 08:24:56.437228 zm_mlapi[1256] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:24:56.441347 zm_mlapi[1256] DBG2 Media:180 [media: using API calls for stream -> 244]
- 11/21/21 08:24:56.445256 zm_mlapi[1256] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:24:56.449732 zm_mlapi[1256] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:24:56.467316 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:24:56.472251 zm_mlapi[1256] DBG2 Media:488 [media:read:image: Event: 244 - converting 'snapshot' to a frame ID -> s-39]
- 11/21/21 08:24:56.477388 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-39] - [Frame Buffer Length: 55] - [Previous Frame Buffer Length: 50]
- 11/21/21 08:24:56.482651 zm_mlapi[1256] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=244&fid=39 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4Njk2LCJleHAiOjE2Mzc0NzU4OTYsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.l5BClHkODFpHYrcaA5b-cI45-IVCecc9BCW50BD6vfE...'}]
- 11/21/21 08:24:56.644338 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:24:56.649291 zm_mlapi[1256] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1920, 0), (1920, 1080), (0, 1080)]]
- 11/21/21 08:24:56.653424 zm_mlapi[1256] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:24:56.65743 zm_mlapi[1256] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:24:56.660588 zm_mlapi[1256] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:24:56.664729 zm_mlapi[1256] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:24:56.669821 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-39]
- 11/21/21 08:24:56.674246 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: s-39 took 24.81 ms]
- 11/21/21 08:24:56.678624 zm_mlapi[1256] DBG1 Media:446 [media:read:image: [1 frames processed: ['39']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 39] [Maximum # of frames to process: 3]]
- 11/21/21 08:24:56.698444 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:24:56.703455 zm_mlapi[1256] DBG2 Media:482 [media:read:image: Event: 244 - converting 'alarm' to a frame ID -> a-14]
- 11/21/21 08:24:56.708616 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-14] - [Frame Buffer Length: 65] - [Previous Frame Buffer Length: 55]
- 11/21/21 08:24:56.713731 zm_mlapi[1256] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=244&fid=14 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4Njk2LCJleHAiOjE2Mzc0NzU4OTYsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.l5BClHkODFpHYrcaA5b-cI45-IVCecc9BCW50BD6vfE...'}]
- 11/21/21 08:24:56.862933 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:24:56.868068 zm_mlapi[1256] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:24:56.872275 zm_mlapi[1256] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:24:56.875728 zm_mlapi[1256] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:24:56.881166 zm_mlapi[1256] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:24:56.887708 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-14]
- 11/21/21 08:24:56.892162 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: a-14 took 23.84 ms]
- 11/21/21 08:24:56.898915 zm_mlapi[1256] DBG1 Media:446 [media:read:image: [2 frames processed: ['39', '14']] - [0 Frames skipped: []] - [Requested FID: snapshot] [Last Requested Frame ID: 14] [Maximum # of frames to process: 3]]
- 11/21/21 08:24:56.922534 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:24:56.927815 zm_mlapi[1256] DBG2 Media:488 [media:read:image: Event: 244 - converting 'snapshot' to a frame ID -> s-68]
- 11/21/21 08:24:56.932464 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-68] - [Frame Buffer Length: 68] - [Previous Frame Buffer Length: 65]
- 11/21/21 08:24:56.937079 zm_mlapi[1256] DBG1 Media:548 [media:read:image: monitor 6-> 'office' is running at 15.280898876404494 FPS - the configured 'smart_fps_thresh' of 5.0 converts to 76.40449438202248 frames. Overage of 0 frames = 5.0 seconds]
- 11/21/21 08:24:56.948507 zm_mlapi[1256] DBG1 Media:559 [media:read:image: Based on a 'smart_fps_thresh' of 5.0 seconds and 15.280898876404494 fps. The requested frame ID s-68 is within the 'smart_fps_thresh'. Setting delay between attempt loops at 1.9966666666666668 seconds and sleeping...]
- 11/21/21 08:24:58.953597 zm_mlapi[1256] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=244&fid=68 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4Njk2LCJleHAiOjE2Mzc0NzU4OTYsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.l5BClHkODFpHYrcaA5b-cI45-IVCecc9BCW50BD6vfE...'}]
- 11/21/21 08:24:59.11022 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:24:59.115041 zm_mlapi[1256] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:24:59.119139 zm_mlapi[1256] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:24:59.122484 zm_mlapi[1256] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:24:59.127126 zm_mlapi[1256] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:24:59.134143 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-68]
- 11/21/21 08:24:59.139362 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: s-68 took 24.03 ms]
- 11/21/21 08:24:59.145262 zm_mlapi[1256] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': office (6)->'Event': 244 -> complete detection sequence took: 2712.16 ms]
- 11/21/21 08:24:59.15044 zm_mlapi[1256] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:25:06.401686 zm_mlapi[1256] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:25:06.411281 zm_mlapi[1256] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:25:06.416423 zm_mlapi[1256] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:25:06.421579 zm_mlapi[1256] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.01051]
- 11/21/21 08:25:06.426578 zm_mlapi[1256] DBG1 mlapi:450 [mlapi:detect: monitor 6 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:25:06.43312 zm_mlapi[1256] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:25:06.439745 zm_mlapi[1256] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:25:06.445082 zm_mlapi[1256] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:25:06.449485 zm_mlapi[1256] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:25:06.454594 zm_mlapi[1256] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:25:06.459671 zm_mlapi[1256] DBG2 Media:117 [media: setting 'image' as type for event -> '245']
- 11/21/21 08:25:06.464897 zm_mlapi[1256] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:25:06.470336 zm_mlapi[1256] DBG2 Media:180 [media: using API calls for stream -> 245]
- 11/21/21 08:25:06.475286 zm_mlapi[1256] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:25:06.481136 zm_mlapi[1256] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:25:06.498308 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:25:06.503143 zm_mlapi[1256] DBG2 Media:488 [media:read:image: Event: 245 - converting 'snapshot' to a frame ID -> s-11]
- 11/21/21 08:25:06.507177 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-11] - [Frame Buffer Length: 59] - [Previous Frame Buffer Length: 68]
- 11/21/21 08:25:06.51323 zm_mlapi[1256] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=245&fid=11 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NzA2LCJleHAiOjE2Mzc0NzU5MDYsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.mYEoqNudRLHuHCCW9La7Y1Tzn4Yda6Hjl4wDEzff9ng...'}]
- 11/21/21 08:25:06.683544 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:25:06.689495 zm_mlapi[1256] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1920, 0), (1920, 1080), (0, 1080)]]
- 11/21/21 08:25:06.694189 zm_mlapi[1256] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:25:06.701333 zm_mlapi[1256] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:25:06.705346 zm_mlapi[1256] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:25:06.711128 zm_mlapi[1256] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:25:06.719684 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-11]
- 11/21/21 08:25:06.725288 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: s-11 took 35.83 ms]
- 11/21/21 08:25:06.729825 zm_mlapi[1256] DBG1 Media:446 [media:read:image: [1 frames processed: ['11']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 11] [Maximum # of frames to process: 3]]
- 11/21/21 08:25:06.747725 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:25:06.754282 zm_mlapi[1256] DBG2 Media:482 [media:read:image: Event: 245 - converting 'alarm' to a frame ID -> a-5]
- 11/21/21 08:25:06.759008 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-5] - [Frame Buffer Length: 59] - [Previous Frame Buffer Length: 59]
- 11/21/21 08:25:06.76376 zm_mlapi[1256] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=245&fid=5 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NzA2LCJleHAiOjE2Mzc0NzU5MDYsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.mYEoqNudRLHuHCCW9La7Y1Tzn4Yda6Hjl4wDEzff9ng...'}]
- 11/21/21 08:25:06.922862 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:25:06.928492 zm_mlapi[1256] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:25:06.93298 zm_mlapi[1256] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:25:06.937434 zm_mlapi[1256] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:25:06.941975 zm_mlapi[1256] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:25:06.948514 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-5]
- 11/21/21 08:25:06.953605 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: a-5 took 24.58 ms]
- 11/21/21 08:25:06.957721 zm_mlapi[1256] DBG1 Media:446 [media:read:image: [2 frames processed: ['11', '5']] - [0 Frames skipped: []] - [Requested FID: snapshot] [Last Requested Frame ID: 5] [Maximum # of frames to process: 3]]
- 11/21/21 08:25:06.973482 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:25:06.978719 zm_mlapi[1256] DBG2 Media:488 [media:read:image: Event: 245 - converting 'snapshot' to a frame ID -> s-11]
- 11/21/21 08:25:06.9846 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-11] - [Frame Buffer Length: 59] - [Previous Frame Buffer Length: 59]
- 11/21/21 08:25:06.989475 zm_mlapi[1256] DBG1 Media:502 [media:read:image: the frame buffer (59) for event '245' is no longer growing. All out of bound frame ID's will be skipped instead of being reduced to the last available frame buffer ID]
- 11/21/21 08:25:06.994269 zm_mlapi[1256] DBG1 Media:519 [media:read:image: skipping frame ID: 's-11' as it has already been processed for event 245 -> processed Frame IDs: ['11', '5']]
- 11/21/21 08:25:07.9e-05 zm_mlapi[1256] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:25:07.004258 zm_mlapi[1256] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': office (6)->'Event': 245 -> complete detection sequence took: 544.85 ms]
- 11/21/21 08:25:07.008049 zm_mlapi[1256] INF mlapi:637 [mlapi:detect: no detection data to return]
- 11/21/21 08:25:16.461042 zm_mlapi[1256] DBG1 mlapi:373 [mlapi:detect: The detection request is for MLAPI DB user 'juan11perez' using IP address -> 172.10.0.1]
- 11/21/21 08:25:16.466599 zm_mlapi[1256] DBG1 mlapi:429 [mlapi:detect: the config file has not changed since it was last read!]
- 11/21/21 08:25:16.472275 zm_mlapi[1256] DBG1 mlapi:432 [mlapi:detect: the secrets file has not changed since it was last read!]
- 11/21/21 08:25:16.478749 zm_mlapi[1256] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.012085]
- 11/21/21 08:25:16.483922 zm_mlapi[1256] DBG1 mlapi:450 [mlapi:detect: monitor 6 has no overrode configuration built, using 'base' config...]
- 11/21/21 08:25:16.489758 zm_mlapi[1256] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
- 11/21/21 08:25:16.499208 zm_mlapi[1256] DBG2 mlapi:478 [mlapi:detect: credentials have been decrypted, attempting to login to the ZoneMinder API for 'mlapi_one']
- 11/21/21 08:25:16.505216 zm_mlapi[1256] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
- 11/21/21 08:25:16.514357 zm_mlapi[1256] DBG2 mlapi:512 [api:kick start: ZMES sent the AUTH JWT, no need to re login to ZM API]
- 11/21/21 08:25:16.523857 zm_mlapi[1256] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
- 11/21/21 08:25:16.531695 zm_mlapi[1256] DBG2 Media:117 [media: setting 'image' as type for event -> '246']
- 11/21/21 08:25:16.536065 zm_mlapi[1256] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
- 11/21/21 08:25:16.54016 zm_mlapi[1256] DBG2 Media:180 [media: using API calls for stream -> 246]
- 11/21/21 08:25:16.546065 zm_mlapi[1256] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
- 11/21/21 08:25:16.551873 zm_mlapi[1256] DBG1 Media:453 [media:read:image: about to process first frame!]
- 11/21/21 08:25:16.569032 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:25:16.575884 zm_mlapi[1256] DBG2 Media:488 [media:read:image: Event: 246 - converting 'snapshot' to a frame ID -> s-17]
- 11/21/21 08:25:16.581226 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-17] - [Frame Buffer Length: 32] - [Previous Frame Buffer Length: 59]
- 11/21/21 08:25:16.586389 zm_mlapi[1256] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=246&fid=17 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NzE2LCJleHAiOjE2Mzc0NzU5MTYsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.h6Y-vVcXFBbkwRTMco01VFIKXeI54GIBSxu6iqJYo_c...'}]
- 11/21/21 08:25:16.746095 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:25:16.751996 zm_mlapi[1256] DBG2 detect_sequence:945 [detect: no polygons/zones specified, adding 'full_image' as polygon @ [(0, 0), (1920, 0), (1920, 1080), (0, 1080)]]
- 11/21/21 08:25:16.757937 zm_mlapi[1256] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:25:16.762328 zm_mlapi[1256] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:25:16.765903 zm_mlapi[1256] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:25:16.772226 zm_mlapi[1256] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:25:16.780584 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-17]
- 11/21/21 08:25:16.785406 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: s-17 took 33.03 ms]
- 11/21/21 08:25:16.792229 zm_mlapi[1256] DBG1 Media:446 [media:read:image: [1 frames processed: ['17']] - [0 Frames skipped: []] - [Requested FID: alarm] [Last Requested Frame ID: 17] [Maximum # of frames to process: 3]]
- 11/21/21 08:25:16.813263 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:25:16.818591 zm_mlapi[1256] DBG2 Media:482 [media:read:image: Event: 246 - converting 'alarm' to a frame ID -> a-13]
- 11/21/21 08:25:16.822689 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: a-13] - [Frame Buffer Length: 32] - [Previous Frame Buffer Length: 32]
- 11/21/21 08:25:16.827514 zm_mlapi[1256] DBG2 Media:618 [api:make_req: 'get'->http://192.168.1.100:8088/zm/index.php?view=image&eid=246&fid=13 query={'token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjM3NDY4NzE2LCJleHAiOjE2Mzc0NzU5MTYsInVzZXIiOiJqdWFuIiwidHlwZSI6ImFjY2VzcyJ9.h6Y-vVcXFBbkwRTMco01VFIKXeI54GIBSxu6iqJYo_c...'}]
- 11/21/21 08:25:16.992759 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
- 11/21/21 08:25:16.999412 zm_mlapi[1256] DBG2 detect_sequence:227 [detect: skipping sequence 'Face Detection -> coral::MobileNETv2-SSD 320x320' (1 of 2) as it is disabled]
- 11/21/21 08:25:17.006508 zm_mlapi[1256] DBG2 detect_sequence:235 [detect: loading 'face' sequence 'DLib::Face Detection/Recognition' (2 of 2]
- 11/21/21 08:25:17.011924 zm_mlapi[1256] ERR detect_sequence:249 [detect: error while trying to construct 'face' sequence pipeline for 'DLib::Face Detection/Recognition', skipping...]
- 11/21/21 08:25:17.022628 zm_mlapi[1256] ERR detect_sequence:251 [detect: cannot import name 'GlobalConfig' from 'pyzm.helpers.new_yaml' (/usr/local/lib/python3.8/dist-packages/pyzm/helpers/new_yaml.py)]
- 11/21/21 08:25:17.030517 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-13]
- 11/21/21 08:25:17.03914 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: a-13 took 40.08 ms]
- 11/21/21 08:25:17.046936 zm_mlapi[1256] DBG1 Media:446 [media:read:image: [2 frames processed: ['17', '13']] - [0 Frames skipped: []] - [Requested FID: snapshot] [Last Requested Frame ID: 13] [Maximum # of frames to process: 3]]
- 11/21/21 08:25:17.064068 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
- 11/21/21 08:25:17.069657 zm_mlapi[1256] DBG2 Media:488 [media:read:image: Event: 246 - converting 'snapshot' to a frame ID -> s-17]
- 11/21/21 08:25:17.074309 zm_mlapi[1256] DBG1 Media:493 [media:read:image: [Requested Frame ID: s-17] - [Frame Buffer Length: 32] - [Previous Frame Buffer Length: 32]
- 11/21/21 08:25:17.078777 zm_mlapi[1256] DBG1 Media:502 [media:read:image: the frame buffer (32) for event '246' is no longer growing. All out of bound frame ID's will be skipped instead of being reduced to the last available frame buffer ID]
- 11/21/21 08:25:17.091099 zm_mlapi[1256] DBG1 Media:519 [media:read:image: skipping frame ID: 's-17' as it has already been processed for event 246 -> processed Frame IDs: ['17', '13']]
- 11/21/21 08:25:17.096794 zm_mlapi[1256] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
- 11/21/21 08:25:17.10307 zm_mlapi[1256] DBG1 detect_sequence:1513 [perf:detect:FINAL: 'Monitor': office (6)->'Event': 246 -> complete detection sequence took: 571.23 ms]
- 11/21/21 08:25:17.109511 zm_mlapi[1256] INF mlapi:637 [mlapi:detect: no detection data to return]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement