Guest User

log

a guest
Nov 20th, 2021
31
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 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']
  2. 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]
  3. 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!)]
  4. 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']]
  5. 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]
  6. 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']]
  7. 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']
  8. 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]
  9. 11/21/21 08:19:59.506563 zm_mlapi[1223] DBG1 new_yaml.py:291 [config:mlapi: starting '{[secrets]}' substitution]
  10. 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. 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']]
  12. 11/21/21 08:19:59.514028 zm_mlapi[1223] DBG1 new_yaml.py:358 [config:mlapi: starting '{{variable}}' substitution]
  13. 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']]
  14. 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]
  15. 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]
  16. 11/21/21 08:19:59.521247 zm_mlapi[1223] DBG1 new_yaml.py:432 [config:mlapi:6942069: monitor '6942069' overrides, starting '{[secrets]}' substitution]
  17. 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]
  18. 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]
  19. 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...]
  20. 11/21/21 08:19:59.522496 zm_mlapi[1223] DBG1 new_yaml.py:575 [config:mlapi:6942069: creating new entry in polygons!]
  21. 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)]]
  22. 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)]
  23. 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']]
  24. 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']]
  25. 11/21/21 08:19:59.697826 zm_mlapi[1223] DBG1 ZMLog:336 [mlapi:signal handlers: Setting up for log 'rotation' and log 'interrupt']
  26. 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]
  27. 11/21/21 08:19:59.524382 zm_mlapi[1223] DBG1 new_yaml.py:637 [config:init:log: Zoneminder is installed]
  28. 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 ***|]
  29. 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]
  30. 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']
  31. 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]
  32. 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!]
  33. 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!]
  34. 11/21/21 08:20:05.0016 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.012042]
  35. 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...]
  36. 11/21/21 08:20:05.014269 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  37. 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']
  38. 11/21/21 08:20:05.048196 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  39. 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]
  40. 11/21/21 08:20:05.062217 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  41. 11/21/21 08:20:05.070659 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '213']
  42. 11/21/21 08:20:05.078678 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  43. 11/21/21 08:20:05.08436 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 213]
  44. 11/21/21 08:20:05.089405 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  45. 11/21/21 08:20:05.097088 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
  46. 11/21/21 08:20:05.119189 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  47. 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]
  48. 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]
  49. 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...'}]
  50. 11/21/21 08:20:05.308637 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  51. 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)]]
  52. 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]
  53. 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]
  54. 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...]
  55. 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)]
  56. 11/21/21 08:20:05.383067 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-18]
  57. 11/21/21 08:20:05.390493 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-18 took 74.41 ms]
  58. 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]]
  59. 11/21/21 08:20:05.417902 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  60. 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]
  61. 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]
  62. 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...'}]
  63. 11/21/21 08:20:05.581849 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  64. 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]
  65. 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]
  66. 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...]
  67. 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)]
  68. 11/21/21 08:20:05.619565 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-5]
  69. 11/21/21 08:20:05.629482 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-5 took 38.71 ms]
  70. 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]]
  71. 11/21/21 08:20:05.655469 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  72. 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]
  73. 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]
  74. 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]
  75. 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']]
  76. 11/21/21 08:20:05.682381 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  77. 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]
  78. 11/21/21 08:20:05.698154 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
  79. 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]
  80. 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!]
  81. 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!]
  82. 11/21/21 08:20:15.004769 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.010633]
  83. 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...]
  84. 11/21/21 08:20:15.014497 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  85. 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']
  86. 11/21/21 08:20:15.026735 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  87. 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]
  88. 11/21/21 08:20:15.035324 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  89. 11/21/21 08:20:15.03997 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '214']
  90. 11/21/21 08:20:15.044714 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  91. 11/21/21 08:20:15.049724 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 214]
  92. 11/21/21 08:20:15.054268 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  93. 11/21/21 08:20:15.058983 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
  94. 11/21/21 08:20:15.075831 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  95. 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]
  96. 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]
  97. 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...'}]
  98. 11/21/21 08:20:15.245666 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  99. 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)]]
  100. 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]
  101. 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]
  102. 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...]
  103. 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)]
  104. 11/21/21 08:20:15.296249 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-19]
  105. 11/21/21 08:20:15.303367 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-19 took 44.15 ms]
  106. 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]]
  107. 11/21/21 08:20:15.326832 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  108. 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]
  109. 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]
  110. 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...'}]
  111. 11/21/21 08:20:15.49529 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  112. 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]
  113. 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]
  114. 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...]
  115. 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)]
  116. 11/21/21 08:20:15.522064 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-15]
  117. 11/21/21 08:20:15.527305 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-15 took 26.28 ms]
  118. 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]]
  119. 11/21/21 08:20:15.55088 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  120. 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]
  121. 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]
  122. 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']]
  123. 11/21/21 08:20:15.572957 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  124. 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]
  125. 11/21/21 08:20:15.582912 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
  126. 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]
  127. 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!]
  128. 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!]
  129. 11/21/21 08:20:29.951696 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.007986]
  130. 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...]
  131. 11/21/21 08:20:29.959567 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  132. 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']
  133. 11/21/21 08:20:29.968732 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  134. 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]
  135. 11/21/21 08:20:29.975568 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  136. 11/21/21 08:20:29.979748 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '215']
  137. 11/21/21 08:20:29.983658 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  138. 11/21/21 08:20:29.987633 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 215]
  139. 11/21/21 08:20:29.992054 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  140. 11/21/21 08:20:29.996177 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
  141. 11/21/21 08:20:30.014617 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  142. 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]
  143. 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]
  144. 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...'}]
  145. 11/21/21 08:20:30.169164 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  146. 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)]]
  147. 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]
  148. 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]
  149. 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...]
  150. 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)]
  151. 11/21/21 08:20:30.195953 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-18]
  152. 11/21/21 08:20:30.200343 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-18 took 25.72 ms]
  153. 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]]
  154. 11/21/21 08:20:30.221245 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  155. 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]
  156. 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]
  157. 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...'}]
  158. 11/21/21 08:20:30.385267 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  159. 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]
  160. 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]
  161. 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...]
  162. 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)]
  163. 11/21/21 08:20:30.40672 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-15]
  164. 11/21/21 08:20:30.410798 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-15 took 20.59 ms]
  165. 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]]
  166. 11/21/21 08:20:30.429749 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  167. 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]
  168. 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]
  169. 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]
  170. 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']]
  171. 11/21/21 08:20:30.45367 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  172. 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]
  173. 11/21/21 08:20:30.461604 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
  174. 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]
  175. 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!]
  176. 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!]
  177. 11/21/21 08:20:34.918416 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.008797]
  178. 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...]
  179. 11/21/21 08:20:34.927869 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  180. 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']
  181. 11/21/21 08:20:34.937598 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  182. 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]
  183. 11/21/21 08:20:34.944707 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  184. 11/21/21 08:20:34.948832 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '216']
  185. 11/21/21 08:20:34.952775 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  186. 11/21/21 08:20:34.956881 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 216]
  187. 11/21/21 08:20:34.960897 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  188. 11/21/21 08:20:34.965071 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
  189. 11/21/21 08:20:34.979494 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  190. 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]
  191. 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]
  192. 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...'}]
  193. 11/21/21 08:20:35.136501 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  194. 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)]]
  195. 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]
  196. 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]
  197. 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...]
  198. 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)]
  199. 11/21/21 08:20:35.163456 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-17]
  200. 11/21/21 08:20:35.167322 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-17 took 25.33 ms]
  201. 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]]
  202. 11/21/21 08:20:35.188471 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  203. 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]
  204. 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]
  205. 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...'}]
  206. 11/21/21 08:20:35.344076 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  207. 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]
  208. 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]
  209. 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...]
  210. 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)]
  211. 11/21/21 08:20:35.365349 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-8]
  212. 11/21/21 08:20:35.369427 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-8 took 20.41 ms]
  213. 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]]
  214. 11/21/21 08:20:35.388881 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  215. 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]
  216. 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]
  217. 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']]
  218. 11/21/21 08:20:35.406505 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  219. 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]
  220. 11/21/21 08:20:35.41725 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
  221. 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]
  222. 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!]
  223. 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!]
  224. 11/21/21 08:20:49.966545 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.007914]
  225. 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...]
  226. 11/21/21 08:20:49.974947 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  227. 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']
  228. 11/21/21 08:20:49.986513 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  229. 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]
  230. 11/21/21 08:20:49.993661 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  231. 11/21/21 08:20:49.998254 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '217']
  232. 11/21/21 08:20:50.002904 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  233. 11/21/21 08:20:50.008463 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 217]
  234. 11/21/21 08:20:50.013882 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  235. 11/21/21 08:20:50.018573 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
  236. 11/21/21 08:20:50.041706 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  237. 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]
  238. 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]
  239. 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...'}]
  240. 11/21/21 08:20:50.212133 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  241. 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)]]
  242. 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]
  243. 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]
  244. 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...]
  245. 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)]
  246. 11/21/21 08:20:50.244258 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-37]
  247. 11/21/21 08:20:50.249394 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-37 took 32.12 ms]
  248. 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]]
  249. 11/21/21 08:20:50.268928 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  250. 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]
  251. 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]
  252. 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...'}]
  253. 11/21/21 08:20:50.427422 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  254. 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]
  255. 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]
  256. 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...]
  257. 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)]
  258. 11/21/21 08:20:50.45111 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-5]
  259. 11/21/21 08:20:50.454989 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-5 took 22.62 ms]
  260. 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]]
  261. 11/21/21 08:20:50.479884 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  262. 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]
  263. 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]
  264. 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']]
  265. 11/21/21 08:20:50.496979 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  266. 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]
  267. 11/21/21 08:20:50.504163 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
  268. 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]
  269. 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!]
  270. 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!]
  271. 11/21/21 08:20:59.966581 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.008839]
  272. 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...]
  273. 11/21/21 08:20:59.975485 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  274. 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']
  275. 11/21/21 08:20:59.987774 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  276. 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]
  277. 11/21/21 08:20:59.995448 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  278. 11/21/21 08:20:59.99994 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '218']
  279. 11/21/21 08:21:00.004273 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  280. 11/21/21 08:21:00.008485 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 218]
  281. 11/21/21 08:21:00.012984 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  282. 11/21/21 08:21:00.017051 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
  283. 11/21/21 08:21:00.035937 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  284. 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]
  285. 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]
  286. 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...'}]
  287. 11/21/21 08:21:00.210185 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  288. 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)]]
  289. 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]
  290. 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]
  291. 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...]
  292. 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)]
  293. 11/21/21 08:21:00.240575 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-41]
  294. 11/21/21 08:21:00.245207 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-41 took 29.23 ms]
  295. 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]]
  296. 11/21/21 08:21:00.266614 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  297. 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]
  298. 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]
  299. 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...'}]
  300. 11/21/21 08:21:00.439261 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  301. 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]
  302. 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]
  303. 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...]
  304. 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)]
  305. 11/21/21 08:21:00.463101 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-14]
  306. 11/21/21 08:21:00.469035 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-14 took 24.09 ms]
  307. 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]]
  308. 11/21/21 08:21:00.491132 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  309. 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]
  310. 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]
  311. 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]
  312. 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']]
  313. 11/21/21 08:21:00.511794 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  314. 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]
  315. 11/21/21 08:21:00.518548 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
  316. 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]
  317. 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!]
  318. 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!]
  319. 11/21/21 08:21:15.021479 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.0105]
  320. 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...]
  321. 11/21/21 08:21:15.029801 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  322. 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']
  323. 11/21/21 08:21:15.040527 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  324. 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]
  325. 11/21/21 08:21:15.048772 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  326. 11/21/21 08:21:15.055328 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '219']
  327. 11/21/21 08:21:15.060789 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  328. 11/21/21 08:21:15.06649 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 219]
  329. 11/21/21 08:21:15.072346 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  330. 11/21/21 08:21:15.079368 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
  331. 11/21/21 08:21:15.09693 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  332. 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]
  333. 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]
  334. 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...'}]
  335. 11/21/21 08:21:15.280959 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  336. 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)]]
  337. 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]
  338. 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]
  339. 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...]
  340. 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)]
  341. 11/21/21 08:21:15.3104 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-21]
  342. 11/21/21 08:21:15.317129 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-21 took 31.02 ms]
  343. 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]]
  344. 11/21/21 08:21:15.341284 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  345. 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]
  346. 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]
  347. 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...'}]
  348. 11/21/21 08:21:15.512121 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  349. 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]
  350. 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]
  351. 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...]
  352. 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)]
  353. 11/21/21 08:21:15.547514 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-16]
  354. 11/21/21 08:21:15.552173 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-16 took 31.97 ms]
  355. 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]]
  356. 11/21/21 08:21:15.580834 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  357. 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]
  358. 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]
  359. 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']]
  360. 11/21/21 08:21:15.606864 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  361. 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]
  362. 11/21/21 08:21:15.617317 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
  363. 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]
  364. 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!]
  365. 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!]
  366. 11/21/21 08:21:24.998871 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.010476]
  367. 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...]
  368. 11/21/21 08:21:25.010606 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  369. 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']
  370. 11/21/21 08:21:25.025147 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  371. 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]
  372. 11/21/21 08:21:25.035054 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  373. 11/21/21 08:21:25.039756 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '220']
  374. 11/21/21 08:21:25.044742 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  375. 11/21/21 08:21:25.04938 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 220]
  376. 11/21/21 08:21:25.053874 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  377. 11/21/21 08:21:25.058355 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
  378. 11/21/21 08:21:25.079574 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  379. 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]
  380. 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]
  381. 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...'}]
  382. 11/21/21 08:21:25.255041 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  383. 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)]]
  384. 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]
  385. 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]
  386. 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...]
  387. 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)]
  388. 11/21/21 08:21:25.29209 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-16]
  389. 11/21/21 08:21:25.296418 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-16 took 34.43 ms]
  390. 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]]
  391. 11/21/21 08:21:25.316919 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  392. 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]
  393. 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]
  394. 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...'}]
  395. 11/21/21 08:21:25.491447 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  396. 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]
  397. 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]
  398. 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...]
  399. 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)]
  400. 11/21/21 08:21:25.533964 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-8]
  401. 11/21/21 08:21:25.538736 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-8 took 40.48 ms]
  402. 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]]
  403. 11/21/21 08:21:25.559219 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  404. 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]
  405. 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]
  406. 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]
  407. 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']]
  408. 11/21/21 08:21:25.583732 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  409. 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]
  410. 11/21/21 08:21:25.593112 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
  411. 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]
  412. 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!]
  413. 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']
  414. 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]
  415. 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!)]
  416. 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']]
  417. 11/21/21 08:21:35.013097 zm_mlapi[1223] DBG1 new_yaml:114 [config:mlapi:proc: substituting '{{variables}}' for the 'base' config keys]
  418. 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']]
  419. 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']
  420. 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]
  421. 11/21/21 08:21:35.030349 zm_mlapi[1223] DBG1 new_yaml:291 [config:mlapi: starting '{[secrets]}' substitution]
  422. 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']]
  423. 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']]
  424. 11/21/21 08:21:35.049472 zm_mlapi[1223] DBG1 new_yaml:358 [config:mlapi: starting '{{variable}}' substitution]
  425. 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']]
  426. 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]
  427. 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]
  428. 11/21/21 08:21:35.069125 zm_mlapi[1223] DBG1 new_yaml:432 [config:mlapi:6942069: monitor '6942069' overrides, starting '{[secrets]}' substitution]
  429. 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]
  430. 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]
  431. 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...]
  432. 11/21/21 08:21:35.085826 zm_mlapi[1223] DBG1 new_yaml:575 [config:mlapi:6942069: creating new entry in polygons!]
  433. 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)]]
  434. 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)]
  435. 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']]
  436. 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']]
  437. 11/21/21 08:21:35.107026 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.159829]
  438. 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...]
  439. 11/21/21 08:21:35.114715 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  440. 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']
  441. 11/21/21 08:21:35.124602 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  442. 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]
  443. 11/21/21 08:21:35.132184 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  444. 11/21/21 08:21:35.137839 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '222']
  445. 11/21/21 08:21:35.143654 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  446. 11/21/21 08:21:35.148806 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 222]
  447. 11/21/21 08:21:35.153517 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  448. 11/21/21 08:21:35.157885 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
  449. 11/21/21 08:21:35.175081 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  450. 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]
  451. 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]
  452. 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...'}]
  453. 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)]
  454. 11/21/21 08:21:35.25556 zm_mlapi[1223] DBG1 Media:621 ['std.out' --> DEBUG:MEDIA! exception=BAD_IMAGE]
  455. 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]
  456. 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]
  457. 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...'}]
  458. 11/21/21 08:21:37.406094 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
  459. 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)]]
  460. 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]
  461. 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]
  462. 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...]
  463. 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)]
  464. 11/21/21 08:21:37.433532 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-17]
  465. 11/21/21 08:21:37.438427 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-17 took 27.71 ms]
  466. 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]]
  467. 11/21/21 08:21:37.462652 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  468. 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]
  469. 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]
  470. 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...'}]
  471. 11/21/21 08:21:37.579208 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
  472. 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]
  473. 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]
  474. 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...]
  475. 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)]
  476. 11/21/21 08:21:37.605549 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-11]
  477. 11/21/21 08:21:37.609583 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-11 took 25.41 ms]
  478. 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]]
  479. 11/21/21 08:21:37.630644 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  480. 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]
  481. 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]
  482. 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']]
  483. 11/21/21 08:21:37.648113 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  484. 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]
  485. 11/21/21 08:21:37.656316 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
  486. 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]
  487. 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!]
  488. 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!]
  489. 11/21/21 08:21:37.676821 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.009383]
  490. 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...]
  491. 11/21/21 08:21:37.684969 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  492. 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']
  493. 11/21/21 08:21:37.694453 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  494. 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]
  495. 11/21/21 08:21:37.701565 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  496. 11/21/21 08:21:37.70599 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '221']
  497. 11/21/21 08:21:37.710632 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  498. 11/21/21 08:21:37.715557 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 221]
  499. 11/21/21 08:21:37.719949 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  500. 11/21/21 08:21:37.725217 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
  501. 11/21/21 08:21:37.745489 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  502. 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]
  503. 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]
  504. 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...'}]
  505. 11/21/21 08:21:37.917736 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  506. 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)]]
  507. 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]
  508. 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]
  509. 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...]
  510. 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)]
  511. 11/21/21 08:21:37.944722 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-89]
  512. 11/21/21 08:21:37.948698 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-89 took 26.01 ms]
  513. 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]]
  514. 11/21/21 08:21:37.973773 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  515. 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]
  516. 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]
  517. 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...'}]
  518. 11/21/21 08:21:38.15478 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  519. 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]
  520. 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]
  521. 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...]
  522. 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)]
  523. 11/21/21 08:21:38.178235 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-14]
  524. 11/21/21 08:21:38.182661 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-14 took 22.64 ms]
  525. 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]]
  526. 11/21/21 08:21:38.203269 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  527. 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]
  528. 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]
  529. 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']]
  530. 11/21/21 08:21:38.220925 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  531. 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]
  532. 11/21/21 08:21:38.228252 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
  533. 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]
  534. 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!]
  535. 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!]
  536. 11/21/21 08:21:45.015408 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.009403]
  537. 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...]
  538. 11/21/21 08:21:45.024112 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  539. 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']
  540. 11/21/21 08:21:45.036465 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  541. 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]
  542. 11/21/21 08:21:45.044362 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  543. 11/21/21 08:21:45.049115 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '223']
  544. 11/21/21 08:21:45.053164 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  545. 11/21/21 08:21:45.057727 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 223]
  546. 11/21/21 08:21:45.062284 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  547. 11/21/21 08:21:45.06643 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
  548. 11/21/21 08:21:45.08641 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  549. 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]
  550. 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]
  551. 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...'}]
  552. 11/21/21 08:21:45.275 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  553. 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)]]
  554. 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]
  555. 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]
  556. 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...]
  557. 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)]
  558. 11/21/21 08:21:45.30187 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-15]
  559. 11/21/21 08:21:45.305843 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-15 took 25.46 ms]
  560. 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]]
  561. 11/21/21 08:21:45.326936 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  562. 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]
  563. 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]
  564. 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...'}]
  565. 11/21/21 08:21:45.502339 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  566. 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]
  567. 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]
  568. 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...]
  569. 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)]
  570. 11/21/21 08:21:45.527613 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-8]
  571. 11/21/21 08:21:45.532529 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-8 took 24.23 ms]
  572. 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]]
  573. 11/21/21 08:21:45.553503 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  574. 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]
  575. 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]
  576. 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]
  577. 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']]
  578. 11/21/21 08:21:45.575113 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  579. 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]
  580. 11/21/21 08:21:45.582931 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
  581. 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]
  582. 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!]
  583. 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!]
  584. 11/21/21 08:21:49.994257 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.008374]
  585. 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...]
  586. 11/21/21 08:21:50.003837 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  587. 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']
  588. 11/21/21 08:21:50.018855 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  589. 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]
  590. 11/21/21 08:21:50.026624 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  591. 11/21/21 08:21:50.031061 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '224']
  592. 11/21/21 08:21:50.035419 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  593. 11/21/21 08:21:50.040379 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 224]
  594. 11/21/21 08:21:50.045061 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  595. 11/21/21 08:21:50.049646 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
  596. 11/21/21 08:21:50.069024 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  597. 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]
  598. 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]
  599. 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...'}]
  600. 11/21/21 08:21:50.184136 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
  601. 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)]]
  602. 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]
  603. 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]
  604. 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...]
  605. 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)]
  606. 11/21/21 08:21:50.21125 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-33]
  607. 11/21/21 08:21:50.215182 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-33 took 26.45 ms]
  608. 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]]
  609. 11/21/21 08:21:50.236115 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  610. 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]
  611. 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]
  612. 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...'}]
  613. 11/21/21 08:21:50.367919 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
  614. 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]
  615. 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]
  616. 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...]
  617. 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)]
  618. 11/21/21 08:21:50.389696 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-25]
  619. 11/21/21 08:21:50.394082 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-25 took 21.33 ms]
  620. 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]]
  621. 11/21/21 08:21:50.417711 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  622. 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]
  623. 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]
  624. 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']]
  625. 11/21/21 08:21:50.433307 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  626. 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]
  627. 11/21/21 08:21:50.440398 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
  628. 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]
  629. 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!]
  630. 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!]
  631. 11/21/21 08:21:54.99656 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.008613]
  632. 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...]
  633. 11/21/21 08:21:55.006785 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  634. 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']
  635. 11/21/21 08:21:55.017916 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  636. 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]
  637. 11/21/21 08:21:55.0281 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  638. 11/21/21 08:21:55.03353 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '225']
  639. 11/21/21 08:21:55.038819 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  640. 11/21/21 08:21:55.044227 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 225]
  641. 11/21/21 08:21:55.049605 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  642. 11/21/21 08:21:55.053902 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
  643. 11/21/21 08:21:55.076765 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  644. 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]
  645. 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]
  646. 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...'}]
  647. 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)]
  648. 11/21/21 08:21:55.216173 zm_mlapi[1223] DBG1 Media:621 ['std.out' --> DEBUG:MEDIA! exception=BAD_IMAGE]
  649. 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]
  650. 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]
  651. 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...]
  652. 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...'}]
  653. 11/21/21 08:21:57.40212 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  654. 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)]]
  655. 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]
  656. 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]
  657. 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...]
  658. 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)]
  659. 11/21/21 08:21:57.428539 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-47]
  660. 11/21/21 08:21:57.433268 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-47 took 26.12 ms]
  661. 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]]
  662. 11/21/21 08:21:57.45987 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  663. 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]
  664. 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]
  665. 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...'}]
  666. 11/21/21 08:21:57.622332 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  667. 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]
  668. 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]
  669. 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...]
  670. 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)]
  671. 11/21/21 08:21:57.64482 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-14]
  672. 11/21/21 08:21:57.648767 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-14 took 21.39 ms]
  673. 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]]
  674. 11/21/21 08:21:57.669733 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  675. 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]
  676. 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]
  677. 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']]
  678. 11/21/21 08:21:57.688823 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  679. 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]
  680. 11/21/21 08:21:57.696012 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
  681. 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]
  682. 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!]
  683. 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!]
  684. 11/21/21 08:21:59.987534 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.008729]
  685. 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...]
  686. 11/21/21 08:21:59.997358 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  687. 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']
  688. 11/21/21 08:22:00.009462 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  689. 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]
  690. 11/21/21 08:22:00.018245 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  691. 11/21/21 08:22:00.022676 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '226']
  692. 11/21/21 08:22:00.026915 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  693. 11/21/21 08:22:00.030987 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 226]
  694. 11/21/21 08:22:00.036084 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  695. 11/21/21 08:22:00.041271 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
  696. 11/21/21 08:22:00.058346 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  697. 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]
  698. 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]
  699. 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...'}]
  700. 11/21/21 08:22:00.183632 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
  701. 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)]]
  702. 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]
  703. 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]
  704. 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...]
  705. 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)]
  706. 11/21/21 08:22:00.214395 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-22]
  707. 11/21/21 08:22:00.219346 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-22 took 30.29 ms]
  708. 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]]
  709. 11/21/21 08:22:00.24871 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  710. 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]
  711. 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]
  712. 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...'}]
  713. 11/21/21 08:22:00.371716 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
  714. 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]
  715. 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]
  716. 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...]
  717. 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)]
  718. 11/21/21 08:22:00.394967 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-12]
  719. 11/21/21 08:22:00.400324 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-12 took 23.90 ms]
  720. 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]]
  721. 11/21/21 08:22:00.426199 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  722. 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]
  723. 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]
  724. 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']]
  725. 11/21/21 08:22:00.446463 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  726. 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]
  727. 11/21/21 08:22:00.454172 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
  728. 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]
  729. 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!]
  730. 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!]
  731. 11/21/21 08:22:00.472107 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.007958]
  732. 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...]
  733. 11/21/21 08:22:00.4811 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  734. 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']
  735. 11/21/21 08:22:00.494702 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  736. 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]
  737. 11/21/21 08:22:00.505465 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  738. 11/21/21 08:22:00.513817 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '227']
  739. 11/21/21 08:22:00.519087 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  740. 11/21/21 08:22:00.524977 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 227]
  741. 11/21/21 08:22:00.530805 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  742. 11/21/21 08:22:00.536166 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
  743. 11/21/21 08:22:00.55674 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  744. 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]
  745. 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]
  746. 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...'}]
  747. 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)]
  748. 11/21/21 08:22:00.688497 zm_mlapi[1223] DBG1 Media:621 ['std.out' --> DEBUG:MEDIA! exception=BAD_IMAGE]
  749. 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]
  750. 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]
  751. 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...]
  752. 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...'}]
  753. 11/21/21 08:22:02.8427 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
  754. 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)]]
  755. 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]
  756. 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]
  757. 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...]
  758. 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)]
  759. 11/21/21 08:22:02.868303 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-59]
  760. 11/21/21 08:22:02.873472 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-59 took 25.70 ms]
  761. 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]]
  762. 11/21/21 08:22:02.898936 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  763. 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]
  764. 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]
  765. 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...'}]
  766. 11/21/21 08:22:03.026923 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
  767. 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]
  768. 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]
  769. 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...]
  770. 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)]
  771. 11/21/21 08:22:03.052029 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-29]
  772. 11/21/21 08:22:03.056143 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-29 took 24.00 ms]
  773. 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]]
  774. 11/21/21 08:22:03.078148 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  775. 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]
  776. 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]
  777. 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...'}]
  778. 11/21/21 08:22:03.202334 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
  779. 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]
  780. 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]
  781. 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...]
  782. 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)]
  783. 11/21/21 08:22:03.229565 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-80]
  784. 11/21/21 08:22:03.234455 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-80 took 26.29 ms]
  785. 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]
  786. 11/21/21 08:22:03.242001 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
  787. 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]
  788. 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!]
  789. 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!]
  790. 11/21/21 08:22:09.978581 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.009002]
  791. 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...]
  792. 11/21/21 08:22:09.986619 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  793. 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']
  794. 11/21/21 08:22:09.996029 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  795. 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]
  796. 11/21/21 08:22:10.003265 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  797. 11/21/21 08:22:10.009433 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '229']
  798. 11/21/21 08:22:10.014592 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  799. 11/21/21 08:22:10.019316 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 229]
  800. 11/21/21 08:22:10.024645 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  801. 11/21/21 08:22:10.02931 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
  802. 11/21/21 08:22:10.049843 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  803. 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]
  804. 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]
  805. 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...'}]
  806. 11/21/21 08:22:10.221991 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  807. 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)]]
  808. 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]
  809. 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]
  810. 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...]
  811. 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)]
  812. 11/21/21 08:22:10.254513 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-15]
  813. 11/21/21 08:22:10.258995 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-15 took 31.42 ms]
  814. 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]]
  815. 11/21/21 08:22:10.280775 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  816. 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]
  817. 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]
  818. 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...'}]
  819. 11/21/21 08:22:10.440408 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  820. 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]
  821. 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]
  822. 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...]
  823. 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)]
  824. 11/21/21 08:22:10.462379 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-11]
  825. 11/21/21 08:22:10.466274 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-11 took 20.88 ms]
  826. 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]]
  827. 11/21/21 08:22:10.484469 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  828. 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]
  829. 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]
  830. 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]
  831. 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']]
  832. 11/21/21 08:22:10.505236 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  833. 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]
  834. 11/21/21 08:22:10.512163 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
  835. 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]
  836. 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!]
  837. 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!]
  838. 11/21/21 08:22:10.531417 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.009138]
  839. 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...]
  840. 11/21/21 08:22:10.540207 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  841. 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']
  842. 11/21/21 08:22:10.550447 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  843. 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]
  844. 11/21/21 08:22:10.557998 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  845. 11/21/21 08:22:10.56256 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '228']
  846. 11/21/21 08:22:10.566897 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  847. 11/21/21 08:22:10.571595 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 228]
  848. 11/21/21 08:22:10.577294 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  849. 11/21/21 08:22:10.582765 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
  850. 11/21/21 08:22:10.602905 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  851. 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]
  852. 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]
  853. 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...'}]
  854. 11/21/21 08:22:10.729659 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
  855. 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)]]
  856. 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]
  857. 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]
  858. 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...]
  859. 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)]
  860. 11/21/21 08:22:10.755336 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-13]
  861. 11/21/21 08:22:10.759305 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-13 took 24.76 ms]
  862. 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]]
  863. 11/21/21 08:22:10.778816 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  864. 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]
  865. 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]
  866. 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...'}]
  867. 11/21/21 08:22:10.896557 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
  868. 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]
  869. 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]
  870. 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...]
  871. 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)]
  872. 11/21/21 08:22:10.917824 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-1]
  873. 11/21/21 08:22:10.921699 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-1 took 20.35 ms]
  874. 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]]
  875. 11/21/21 08:22:10.941595 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  876. 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]
  877. 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]
  878. 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]
  879. 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']]
  880. 11/21/21 08:22:10.961638 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  881. 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]
  882. 11/21/21 08:22:10.968567 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
  883. 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]
  884. 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!]
  885. 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!]
  886. 11/21/21 08:22:15.018938 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.010341]
  887. 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...]
  888. 11/21/21 08:22:15.030719 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  889. 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']
  890. 11/21/21 08:22:15.041697 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  891. 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]
  892. 11/21/21 08:22:15.049339 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  893. 11/21/21 08:22:15.054811 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '230']
  894. 11/21/21 08:22:15.06175 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  895. 11/21/21 08:22:15.066327 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 230]
  896. 11/21/21 08:22:15.070144 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  897. 11/21/21 08:22:15.074155 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
  898. 11/21/21 08:22:15.09404 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  899. 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]
  900. 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]
  901. 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...'}]
  902. 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)]
  903. 11/21/21 08:22:15.22145 zm_mlapi[1223] DBG1 Media:621 ['std.out' --> DEBUG:MEDIA! exception=BAD_IMAGE]
  904. 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]
  905. 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]
  906. 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...'}]
  907. 11/21/21 08:22:17.36341 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
  908. 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)]]
  909. 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]
  910. 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]
  911. 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...]
  912. 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)]
  913. 11/21/21 08:22:17.388432 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-34]
  914. 11/21/21 08:22:17.392224 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-34 took 24.19 ms]
  915. 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]]
  916. 11/21/21 08:22:17.416096 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  917. 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]
  918. 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]
  919. 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...'}]
  920. 11/21/21 08:22:17.545732 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
  921. 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]
  922. 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]
  923. 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...]
  924. 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)]
  925. 11/21/21 08:22:17.568852 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-27]
  926. 11/21/21 08:22:17.573845 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-27 took 23.47 ms]
  927. 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]]
  928. 11/21/21 08:22:17.597325 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  929. 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]
  930. 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]
  931. 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']]
  932. 11/21/21 08:22:17.613733 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  933. 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]
  934. 11/21/21 08:22:17.62063 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
  935. 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]
  936. 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!]
  937. 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!]
  938. 11/21/21 08:22:24.981452 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.010066]
  939. 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...]
  940. 11/21/21 08:22:24.989336 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  941. 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']
  942. 11/21/21 08:22:24.998577 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  943. 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]
  944. 11/21/21 08:22:25.007101 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  945. 11/21/21 08:22:25.013153 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '231']
  946. 11/21/21 08:22:25.017213 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  947. 11/21/21 08:22:25.021026 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 231]
  948. 11/21/21 08:22:25.025679 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  949. 11/21/21 08:22:25.030674 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
  950. 11/21/21 08:22:25.051864 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  951. 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]
  952. 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]
  953. 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...'}]
  954. 11/21/21 08:22:25.220565 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  955. 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)]]
  956. 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]
  957. 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]
  958. 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...]
  959. 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)]
  960. 11/21/21 08:22:25.246268 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-29]
  961. 11/21/21 08:22:25.250101 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-29 took 24.60 ms]
  962. 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]]
  963. 11/21/21 08:22:25.270926 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  964. 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]
  965. 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]
  966. 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...'}]
  967. 11/21/21 08:22:25.429872 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  968. 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]
  969. 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]
  970. 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...]
  971. 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)]
  972. 11/21/21 08:22:25.458393 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-14]
  973. 11/21/21 08:22:25.462206 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-14 took 26.52 ms]
  974. 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]]
  975. 11/21/21 08:22:25.483785 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  976. 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]
  977. 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]
  978. 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]
  979. 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']]
  980. 11/21/21 08:22:25.509831 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  981. 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]
  982. 11/21/21 08:22:25.517898 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
  983. 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]
  984. 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!]
  985. 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!]
  986. 11/21/21 08:22:34.929343 zm_mlapi[1223] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.008097]
  987. 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...]
  988. 11/21/21 08:22:34.937554 zm_mlapi[1223] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  989. 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']
  990. 11/21/21 08:22:34.947573 zm_mlapi[1223] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  991. 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]
  992. 11/21/21 08:22:34.95436 zm_mlapi[1223] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  993. 11/21/21 08:22:34.958375 zm_mlapi[1223] DBG2 Media:117 [media: setting 'image' as type for event -> '232']
  994. 11/21/21 08:22:34.962328 zm_mlapi[1223] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  995. 11/21/21 08:22:34.966231 zm_mlapi[1223] DBG2 Media:180 [media: using API calls for stream -> 232]
  996. 11/21/21 08:22:34.970089 zm_mlapi[1223] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  997. 11/21/21 08:22:34.974423 zm_mlapi[1223] DBG1 Media:453 [media:read:image: about to process first frame!]
  998. 11/21/21 08:22:34.990786 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  999. 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]
  1000. 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]
  1001. 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...'}]
  1002. 11/21/21 08:22:35.155441 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  1003. 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)]]
  1004. 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]
  1005. 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]
  1006. 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...]
  1007. 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)]
  1008. 11/21/21 08:22:35.199078 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-26]
  1009. 11/21/21 08:22:35.202861 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: s-26 took 42.66 ms]
  1010. 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]]
  1011. 11/21/21 08:22:35.222998 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1012. 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]
  1013. 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]
  1014. 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...'}]
  1015. 11/21/21 08:22:35.394797 zm_mlapi[1223] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  1016. 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]
  1017. 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]
  1018. 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...]
  1019. 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)]
  1020. 11/21/21 08:22:35.417244 zm_mlapi[1223] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-1]
  1021. 11/21/21 08:22:35.424457 zm_mlapi[1223] DBG2 detect_sequence:1415 [perf:frame: a-1 took 24.67 ms]
  1022. 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]]
  1023. 11/21/21 08:22:35.44628 zm_mlapi[1223] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1024. 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]
  1025. 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]
  1026. 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]
  1027. 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']]
  1028. 11/21/21 08:22:35.471686 zm_mlapi[1223] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  1029. 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]
  1030. 11/21/21 08:22:35.478863 zm_mlapi[1223] INF mlapi:637 [mlapi:detect: no detection data to return]
  1031. 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']
  1032. 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]
  1033. 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!)]
  1034. 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']]
  1035. 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]
  1036. 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']]
  1037. 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']
  1038. 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]
  1039. 11/21/21 08:23:10.919978 zm_mlapi[1256] DBG1 new_yaml.py:291 [config:mlapi: starting '{[secrets]}' substitution]
  1040. 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']]
  1041. 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']]
  1042. 11/21/21 08:23:10.926963 zm_mlapi[1256] DBG1 new_yaml.py:358 [config:mlapi: starting '{{variable}}' substitution]
  1043. 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']]
  1044. 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]
  1045. 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]
  1046. 11/21/21 08:23:10.933213 zm_mlapi[1256] DBG1 new_yaml.py:432 [config:mlapi:6942069: monitor '6942069' overrides, starting '{[secrets]}' substitution]
  1047. 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]
  1048. 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]
  1049. 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...]
  1050. 11/21/21 08:23:10.934458 zm_mlapi[1256] DBG1 new_yaml.py:575 [config:mlapi:6942069: creating new entry in polygons!]
  1051. 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)]]
  1052. 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)]
  1053. 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']]
  1054. 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']]
  1055. 11/21/21 08:23:11.106065 zm_mlapi[1256] DBG1 ZMLog:336 [mlapi:signal handlers: Setting up for log 'rotation' and log 'interrupt']
  1056. 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]
  1057. 11/21/21 08:23:10.936355 zm_mlapi[1256] DBG1 new_yaml.py:637 [config:init:log: Zoneminder is installed]
  1058. 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 ***|]
  1059. 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]
  1060. 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']
  1061. 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]
  1062. 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!]
  1063. 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!]
  1064. 11/21/21 08:23:16.410479 zm_mlapi[1256] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.009557]
  1065. 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...]
  1066. 11/21/21 08:23:16.419468 zm_mlapi[1256] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  1067. 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']
  1068. 11/21/21 08:23:16.44388 zm_mlapi[1256] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  1069. 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]
  1070. 11/21/21 08:23:16.451355 zm_mlapi[1256] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  1071. 11/21/21 08:23:16.455957 zm_mlapi[1256] DBG2 Media:117 [media: setting 'image' as type for event -> '233']
  1072. 11/21/21 08:23:16.460744 zm_mlapi[1256] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  1073. 11/21/21 08:23:16.465111 zm_mlapi[1256] DBG2 Media:180 [media: using API calls for stream -> 233]
  1074. 11/21/21 08:23:16.469129 zm_mlapi[1256] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  1075. 11/21/21 08:23:16.474678 zm_mlapi[1256] DBG1 Media:453 [media:read:image: about to process first frame!]
  1076. 11/21/21 08:23:16.493502 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1077. 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]
  1078. 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]
  1079. 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...'}]
  1080. 11/21/21 08:23:16.622313 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
  1081. 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)]]
  1082. 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]
  1083. 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]
  1084. 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...]
  1085. 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)]
  1086. 11/21/21 08:23:16.670775 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-31]
  1087. 11/21/21 08:23:16.675239 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: s-31 took 47.94 ms]
  1088. 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]]
  1089. 11/21/21 08:23:16.703004 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1090. 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]
  1091. 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]
  1092. 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...'}]
  1093. 11/21/21 08:23:16.818062 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
  1094. 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]
  1095. 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]
  1096. 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...]
  1097. 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)]
  1098. 11/21/21 08:23:16.840421 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-30]
  1099. 11/21/21 08:23:16.844398 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: a-30 took 21.24 ms]
  1100. 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]]
  1101. 11/21/21 08:23:16.867958 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1102. 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]
  1103. 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]
  1104. 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']]
  1105. 11/21/21 08:23:16.885583 zm_mlapi[1256] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  1106. 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]
  1107. 11/21/21 08:23:16.895982 zm_mlapi[1256] INF mlapi:637 [mlapi:detect: no detection data to return]
  1108. 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]
  1109. 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!]
  1110. 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!]
  1111. 11/21/21 08:23:16.914353 zm_mlapi[1256] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.008007]
  1112. 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...]
  1113. 11/21/21 08:23:16.923235 zm_mlapi[1256] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  1114. 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']
  1115. 11/21/21 08:23:16.937451 zm_mlapi[1256] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  1116. 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]
  1117. 11/21/21 08:23:16.948296 zm_mlapi[1256] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  1118. 11/21/21 08:23:16.953712 zm_mlapi[1256] DBG2 Media:117 [media: setting 'image' as type for event -> '234']
  1119. 11/21/21 08:23:16.958817 zm_mlapi[1256] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  1120. 11/21/21 08:23:16.962624 zm_mlapi[1256] DBG2 Media:180 [media: using API calls for stream -> 234]
  1121. 11/21/21 08:23:16.966788 zm_mlapi[1256] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  1122. 11/21/21 08:23:16.970827 zm_mlapi[1256] DBG1 Media:453 [media:read:image: about to process first frame!]
  1123. 11/21/21 08:23:16.989574 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1124. 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]
  1125. 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]
  1126. 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...'}]
  1127. 11/21/21 08:23:17.163611 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  1128. 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)]]
  1129. 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]
  1130. 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]
  1131. 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...]
  1132. 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)]
  1133. 11/21/21 08:23:17.191559 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-8]
  1134. 11/21/21 08:23:17.195959 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: s-8 took 26.86 ms]
  1135. 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]]
  1136. 11/21/21 08:23:17.216903 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1137. 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]
  1138. 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]
  1139. 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...'}]
  1140. 11/21/21 08:23:17.386381 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  1141. 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]
  1142. 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]
  1143. 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...]
  1144. 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)]
  1145. 11/21/21 08:23:17.408727 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-7]
  1146. 11/21/21 08:23:17.412687 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: a-7 took 21.01 ms]
  1147. 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]]
  1148. 11/21/21 08:23:17.432475 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1149. 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]
  1150. 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]
  1151. 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]
  1152. 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']]
  1153. 11/21/21 08:23:17.460078 zm_mlapi[1256] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  1154. 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]
  1155. 11/21/21 08:23:17.467912 zm_mlapi[1256] INF mlapi:637 [mlapi:detect: no detection data to return]
  1156. 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]
  1157. 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!]
  1158. 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!]
  1159. 11/21/21 08:23:21.371019 zm_mlapi[1256] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.010081]
  1160. 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...]
  1161. 11/21/21 08:23:21.378587 zm_mlapi[1256] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  1162. 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']
  1163. 11/21/21 08:23:21.388808 zm_mlapi[1256] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  1164. 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]
  1165. 11/21/21 08:23:21.396573 zm_mlapi[1256] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  1166. 11/21/21 08:23:21.401276 zm_mlapi[1256] DBG2 Media:117 [media: setting 'image' as type for event -> '235']
  1167. 11/21/21 08:23:21.406127 zm_mlapi[1256] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  1168. 11/21/21 08:23:21.411406 zm_mlapi[1256] DBG2 Media:180 [media: using API calls for stream -> 235]
  1169. 11/21/21 08:23:21.416158 zm_mlapi[1256] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  1170. 11/21/21 08:23:21.422719 zm_mlapi[1256] DBG1 Media:453 [media:read:image: about to process first frame!]
  1171. 11/21/21 08:23:21.439408 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1172. 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]
  1173. 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]
  1174. 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...'}]
  1175. 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)]
  1176. 11/21/21 08:23:21.515285 zm_mlapi[1256] DBG1 Media:621 ['std.out' --> DEBUG:MEDIA! exception=BAD_IMAGE]
  1177. 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]
  1178. 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]
  1179. 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...'}]
  1180. 11/21/21 08:23:23.747363 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1072, 1920)]
  1181. 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)]]
  1182. 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]
  1183. 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]
  1184. 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...]
  1185. 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)]
  1186. 11/21/21 08:23:23.776374 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-5]
  1187. 11/21/21 08:23:23.780588 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: s-5 took 28.00 ms]
  1188. 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]]
  1189. 11/21/21 08:23:23.806153 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1190. 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]
  1191. 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]
  1192. 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']]
  1193. 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]]
  1194. 11/21/21 08:23:23.842239 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1195. 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]
  1196. 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]
  1197. 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']]
  1198. 11/21/21 08:23:23.860499 zm_mlapi[1256] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  1199. 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]
  1200. 11/21/21 08:23:23.8694 zm_mlapi[1256] INF mlapi:637 [mlapi:detect: no detection data to return]
  1201. 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]
  1202. 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!]
  1203. 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!]
  1204. 11/21/21 08:23:26.413842 zm_mlapi[1256] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.008241]
  1205. 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...]
  1206. 11/21/21 08:23:26.424353 zm_mlapi[1256] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  1207. 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']
  1208. 11/21/21 08:23:26.435582 zm_mlapi[1256] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  1209. 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]
  1210. 11/21/21 08:23:26.442946 zm_mlapi[1256] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  1211. 11/21/21 08:23:26.447698 zm_mlapi[1256] DBG2 Media:117 [media: setting 'image' as type for event -> '236']
  1212. 11/21/21 08:23:26.452447 zm_mlapi[1256] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  1213. 11/21/21 08:23:26.457077 zm_mlapi[1256] DBG2 Media:180 [media: using API calls for stream -> 236]
  1214. 11/21/21 08:23:26.46179 zm_mlapi[1256] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  1215. 11/21/21 08:23:26.467438 zm_mlapi[1256] DBG1 Media:453 [media:read:image: about to process first frame!]
  1216. 11/21/21 08:23:26.486334 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1217. 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]
  1218. 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]
  1219. 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...'}]
  1220. 11/21/21 08:23:26.669026 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  1221. 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)]]
  1222. 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]
  1223. 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]
  1224. 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...]
  1225. 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)]
  1226. 11/21/21 08:23:26.703288 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-19]
  1227. 11/21/21 08:23:26.70737 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: s-19 took 32.36 ms]
  1228. 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]]
  1229. 11/21/21 08:23:26.739561 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1230. 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]
  1231. 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]
  1232. 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...'}]
  1233. 11/21/21 08:23:26.923649 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  1234. 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]
  1235. 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]
  1236. 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...]
  1237. 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)]
  1238. 11/21/21 08:23:26.951826 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-10]
  1239. 11/21/21 08:23:26.956045 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: a-10 took 25.87 ms]
  1240. 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]]
  1241. 11/21/21 08:23:26.981114 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1242. 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]
  1243. 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]
  1244. 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']]
  1245. 11/21/21 08:23:27.006146 zm_mlapi[1256] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  1246. 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]
  1247. 11/21/21 08:23:27.016124 zm_mlapi[1256] INF mlapi:637 [mlapi:detect: no detection data to return]
  1248. 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]
  1249. 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!]
  1250. 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!]
  1251. 11/21/21 08:23:46.422559 zm_mlapi[1256] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.011042]
  1252. 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...]
  1253. 11/21/21 08:23:46.430495 zm_mlapi[1256] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  1254. 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']
  1255. 11/21/21 08:23:46.441455 zm_mlapi[1256] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  1256. 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]
  1257. 11/21/21 08:23:46.449357 zm_mlapi[1256] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  1258. 11/21/21 08:23:46.454011 zm_mlapi[1256] DBG2 Media:117 [media: setting 'image' as type for event -> '238']
  1259. 11/21/21 08:23:46.459541 zm_mlapi[1256] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  1260. 11/21/21 08:23:46.464279 zm_mlapi[1256] DBG2 Media:180 [media: using API calls for stream -> 238]
  1261. 11/21/21 08:23:46.468648 zm_mlapi[1256] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  1262. 11/21/21 08:23:46.472857 zm_mlapi[1256] DBG1 Media:453 [media:read:image: about to process first frame!]
  1263. 11/21/21 08:23:46.495272 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1264. 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]
  1265. 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]
  1266. 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...'}]
  1267. 11/21/21 08:23:46.625445 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
  1268. 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)]]
  1269. 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]
  1270. 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]
  1271. 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...]
  1272. 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)]
  1273. 11/21/21 08:23:46.652515 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-18]
  1274. 11/21/21 08:23:46.656521 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: s-18 took 26.22 ms]
  1275. 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]]
  1276. 11/21/21 08:23:46.681997 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1277. 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]
  1278. 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]
  1279. 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']]
  1280. 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]]
  1281. 11/21/21 08:23:46.714822 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1282. 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]
  1283. 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]
  1284. 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]
  1285. 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']]
  1286. 11/21/21 08:23:46.737166 zm_mlapi[1256] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  1287. 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]
  1288. 11/21/21 08:23:46.745915 zm_mlapi[1256] INF mlapi:637 [mlapi:detect: no detection data to return]
  1289. 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]
  1290. 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!]
  1291. 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!]
  1292. 11/21/21 08:23:46.765223 zm_mlapi[1256] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.008558]
  1293. 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...]
  1294. 11/21/21 08:23:46.773293 zm_mlapi[1256] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  1295. 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']
  1296. 11/21/21 08:23:46.783121 zm_mlapi[1256] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  1297. 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]
  1298. 11/21/21 08:23:46.790658 zm_mlapi[1256] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  1299. 11/21/21 08:23:46.795402 zm_mlapi[1256] DBG2 Media:117 [media: setting 'image' as type for event -> '237']
  1300. 11/21/21 08:23:46.800824 zm_mlapi[1256] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  1301. 11/21/21 08:23:46.805407 zm_mlapi[1256] DBG2 Media:180 [media: using API calls for stream -> 237]
  1302. 11/21/21 08:23:46.809724 zm_mlapi[1256] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  1303. 11/21/21 08:23:46.813972 zm_mlapi[1256] DBG1 Media:453 [media:read:image: about to process first frame!]
  1304. 11/21/21 08:23:46.836806 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1305. 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]
  1306. 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]
  1307. 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...'}]
  1308. 11/21/21 08:23:47.008727 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  1309. 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)]]
  1310. 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]
  1311. 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]
  1312. 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...]
  1313. 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)]
  1314. 11/21/21 08:23:47.035122 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-19]
  1315. 11/21/21 08:23:47.039145 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: s-19 took 24.65 ms]
  1316. 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]]
  1317. 11/21/21 08:23:47.059734 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1318. 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]
  1319. 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]
  1320. 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...'}]
  1321. 11/21/21 08:23:47.236932 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  1322. 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]
  1323. 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]
  1324. 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...]
  1325. 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)]
  1326. 11/21/21 08:23:47.259456 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-8]
  1327. 11/21/21 08:23:47.26352 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: a-8 took 21.01 ms]
  1328. 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]]
  1329. 11/21/21 08:23:47.283307 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1330. 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]
  1331. 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]
  1332. 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]
  1333. 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']]
  1334. 11/21/21 08:23:47.304753 zm_mlapi[1256] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  1335. 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]
  1336. 11/21/21 08:23:47.312265 zm_mlapi[1256] INF mlapi:637 [mlapi:detect: no detection data to return]
  1337. 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]
  1338. 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!]
  1339. 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!]
  1340. 11/21/21 08:23:56.394273 zm_mlapi[1256] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.009269]
  1341. 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...]
  1342. 11/21/21 08:23:56.402175 zm_mlapi[1256] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  1343. 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']
  1344. 11/21/21 08:23:56.411354 zm_mlapi[1256] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  1345. 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]
  1346. 11/21/21 08:23:56.418268 zm_mlapi[1256] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  1347. 11/21/21 08:23:56.422447 zm_mlapi[1256] DBG2 Media:117 [media: setting 'image' as type for event -> '239']
  1348. 11/21/21 08:23:56.426417 zm_mlapi[1256] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  1349. 11/21/21 08:23:56.430385 zm_mlapi[1256] DBG2 Media:180 [media: using API calls for stream -> 239]
  1350. 11/21/21 08:23:56.434301 zm_mlapi[1256] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  1351. 11/21/21 08:23:56.438549 zm_mlapi[1256] DBG1 Media:453 [media:read:image: about to process first frame!]
  1352. 11/21/21 08:23:56.460407 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1353. 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]
  1354. 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]
  1355. 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...'}]
  1356. 11/21/21 08:23:56.622447 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  1357. 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)]]
  1358. 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]
  1359. 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]
  1360. 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...]
  1361. 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)]
  1362. 11/21/21 08:23:56.650248 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-20]
  1363. 11/21/21 08:23:56.65421 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: s-20 took 26.38 ms]
  1364. 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]]
  1365. 11/21/21 08:23:56.681691 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1366. 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]
  1367. 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]
  1368. 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...'}]
  1369. 11/21/21 08:23:56.835114 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  1370. 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]
  1371. 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]
  1372. 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...]
  1373. 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)]
  1374. 11/21/21 08:23:56.85692 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-1]
  1375. 11/21/21 08:23:56.860778 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: a-1 took 20.59 ms]
  1376. 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]]
  1377. 11/21/21 08:23:56.879255 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1378. 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]
  1379. 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]
  1380. 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']]
  1381. 11/21/21 08:23:56.897028 zm_mlapi[1256] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  1382. 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]
  1383. 11/21/21 08:23:56.904275 zm_mlapi[1256] INF mlapi:637 [mlapi:detect: no detection data to return]
  1384. 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]
  1385. 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!]
  1386. 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!]
  1387. 11/21/21 08:24:16.413833 zm_mlapi[1256] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.008528]
  1388. 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...]
  1389. 11/21/21 08:24:16.421875 zm_mlapi[1256] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  1390. 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']
  1391. 11/21/21 08:24:16.431412 zm_mlapi[1256] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  1392. 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]
  1393. 11/21/21 08:24:16.438408 zm_mlapi[1256] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  1394. 11/21/21 08:24:16.442655 zm_mlapi[1256] DBG2 Media:117 [media: setting 'image' as type for event -> '240']
  1395. 11/21/21 08:24:16.446474 zm_mlapi[1256] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  1396. 11/21/21 08:24:16.450861 zm_mlapi[1256] DBG2 Media:180 [media: using API calls for stream -> 240]
  1397. 11/21/21 08:24:16.455391 zm_mlapi[1256] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  1398. 11/21/21 08:24:16.459677 zm_mlapi[1256] DBG1 Media:453 [media:read:image: about to process first frame!]
  1399. 11/21/21 08:24:16.47536 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1400. 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]
  1401. 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]
  1402. 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...'}]
  1403. 11/21/21 08:24:16.640061 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  1404. 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)]]
  1405. 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]
  1406. 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]
  1407. 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...]
  1408. 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)]
  1409. 11/21/21 08:24:16.666423 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-13]
  1410. 11/21/21 08:24:16.67054 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: s-13 took 25.04 ms]
  1411. 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]]
  1412. 11/21/21 08:24:16.692242 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1413. 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]
  1414. 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]
  1415. 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']]
  1416. 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]]
  1417. 11/21/21 08:24:16.726498 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1418. 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]
  1419. 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]
  1420. 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]
  1421. 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']]
  1422. 11/21/21 08:24:16.755028 zm_mlapi[1256] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  1423. 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]
  1424. 11/21/21 08:24:16.761928 zm_mlapi[1256] INF mlapi:637 [mlapi:detect: no detection data to return]
  1425. 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]
  1426. 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!]
  1427. 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!]
  1428. 11/21/21 08:24:16.780643 zm_mlapi[1256] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.008215]
  1429. 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...]
  1430. 11/21/21 08:24:16.798689 zm_mlapi[1256] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  1431. 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']
  1432. 11/21/21 08:24:16.812276 zm_mlapi[1256] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  1433. 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]
  1434. 11/21/21 08:24:16.822221 zm_mlapi[1256] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  1435. 11/21/21 08:24:16.827592 zm_mlapi[1256] DBG2 Media:117 [media: setting 'image' as type for event -> '241']
  1436. 11/21/21 08:24:16.831628 zm_mlapi[1256] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  1437. 11/21/21 08:24:16.835602 zm_mlapi[1256] DBG2 Media:180 [media: using API calls for stream -> 241]
  1438. 11/21/21 08:24:16.839612 zm_mlapi[1256] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  1439. 11/21/21 08:24:16.843669 zm_mlapi[1256] DBG1 Media:453 [media:read:image: about to process first frame!]
  1440. 11/21/21 08:24:16.859178 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1441. 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]
  1442. 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]
  1443. 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...'}]
  1444. 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)]
  1445. 11/21/21 08:24:16.99136 zm_mlapi[1256] DBG1 Media:621 ['std.out' --> DEBUG:MEDIA! exception=BAD_IMAGE]
  1446. 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]
  1447. 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]
  1448. 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...'}]
  1449. 11/21/21 08:24:19.151795 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
  1450. 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)]]
  1451. 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]
  1452. 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]
  1453. 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...]
  1454. 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)]
  1455. 11/21/21 08:24:19.180572 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-30]
  1456. 11/21/21 08:24:19.184707 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: s-30 took 28.12 ms]
  1457. 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]]
  1458. 11/21/21 08:24:19.209902 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1459. 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]
  1460. 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]
  1461. 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...'}]
  1462. 11/21/21 08:24:19.334471 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (720, 1280)]
  1463. 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]
  1464. 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]
  1465. 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...]
  1466. 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)]
  1467. 11/21/21 08:24:19.356102 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-24]
  1468. 11/21/21 08:24:19.359986 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: a-24 took 20.53 ms]
  1469. 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]]
  1470. 11/21/21 08:24:19.379526 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1471. 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]
  1472. 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]
  1473. 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']]
  1474. 11/21/21 08:24:19.396168 zm_mlapi[1256] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  1475. 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]
  1476. 11/21/21 08:24:19.403276 zm_mlapi[1256] INF mlapi:637 [mlapi:detect: no detection data to return]
  1477. 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]
  1478. 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!]
  1479. 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!]
  1480. 11/21/21 08:24:31.394428 zm_mlapi[1256] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.008135]
  1481. 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...]
  1482. 11/21/21 08:24:31.402339 zm_mlapi[1256] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  1483. 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']
  1484. 11/21/21 08:24:31.412256 zm_mlapi[1256] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  1485. 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]
  1486. 11/21/21 08:24:31.421185 zm_mlapi[1256] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  1487. 11/21/21 08:24:31.425459 zm_mlapi[1256] DBG2 Media:117 [media: setting 'image' as type for event -> '242']
  1488. 11/21/21 08:24:31.42985 zm_mlapi[1256] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  1489. 11/21/21 08:24:31.44201 zm_mlapi[1256] DBG2 Media:180 [media: using API calls for stream -> 242]
  1490. 11/21/21 08:24:31.445936 zm_mlapi[1256] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  1491. 11/21/21 08:24:31.449992 zm_mlapi[1256] DBG1 Media:453 [media:read:image: about to process first frame!]
  1492. 11/21/21 08:24:31.467864 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1493. 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]
  1494. 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]
  1495. 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...'}]
  1496. 11/21/21 08:24:31.627769 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  1497. 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)]]
  1498. 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]
  1499. 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]
  1500. 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...]
  1501. 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)]
  1502. 11/21/21 08:24:31.656538 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-23]
  1503. 11/21/21 08:24:31.661844 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: s-23 took 28.93 ms]
  1504. 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]]
  1505. 11/21/21 08:24:31.689973 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1506. 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]
  1507. 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]
  1508. 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...'}]
  1509. 11/21/21 08:24:31.857174 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  1510. 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]
  1511. 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]
  1512. 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...]
  1513. 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)]
  1514. 11/21/21 08:24:31.878965 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-8]
  1515. 11/21/21 08:24:31.882953 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: a-8 took 20.93 ms]
  1516. 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]]
  1517. 11/21/21 08:24:31.902005 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1518. 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]
  1519. 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]
  1520. 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']]
  1521. 11/21/21 08:24:31.919356 zm_mlapi[1256] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  1522. 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]
  1523. 11/21/21 08:24:31.928577 zm_mlapi[1256] INF mlapi:637 [mlapi:detect: no detection data to return]
  1524. 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]
  1525. 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!]
  1526. 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!]
  1527. 11/21/21 08:24:46.392349 zm_mlapi[1256] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.009104]
  1528. 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...]
  1529. 11/21/21 08:24:46.401084 zm_mlapi[1256] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  1530. 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']
  1531. 11/21/21 08:24:46.411176 zm_mlapi[1256] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  1532. 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]
  1533. 11/21/21 08:24:46.419836 zm_mlapi[1256] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  1534. 11/21/21 08:24:46.425375 zm_mlapi[1256] DBG2 Media:117 [media: setting 'image' as type for event -> '243']
  1535. 11/21/21 08:24:46.430104 zm_mlapi[1256] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  1536. 11/21/21 08:24:46.438649 zm_mlapi[1256] DBG2 Media:180 [media: using API calls for stream -> 243]
  1537. 11/21/21 08:24:46.443691 zm_mlapi[1256] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  1538. 11/21/21 08:24:46.448193 zm_mlapi[1256] DBG1 Media:453 [media:read:image: about to process first frame!]
  1539. 11/21/21 08:24:46.469746 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1540. 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]
  1541. 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]
  1542. 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...'}]
  1543. 11/21/21 08:24:46.643737 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  1544. 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)]]
  1545. 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]
  1546. 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]
  1547. 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...]
  1548. 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)]
  1549. 11/21/21 08:24:46.669544 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-5]
  1550. 11/21/21 08:24:46.673925 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: s-5 took 25.31 ms]
  1551. 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]]
  1552. 11/21/21 08:24:46.6981 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1553. 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]
  1554. 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]
  1555. 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']]
  1556. 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]]
  1557. 11/21/21 08:24:46.730315 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1558. 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]
  1559. 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]
  1560. 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']]
  1561. 11/21/21 08:24:46.747267 zm_mlapi[1256] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  1562. 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]
  1563. 11/21/21 08:24:46.754314 zm_mlapi[1256] INF mlapi:637 [mlapi:detect: no detection data to return]
  1564. 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]
  1565. 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!]
  1566. 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!]
  1567. 11/21/21 08:24:56.402172 zm_mlapi[1256] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.008078]
  1568. 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...]
  1569. 11/21/21 08:24:56.409966 zm_mlapi[1256] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  1570. 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']
  1571. 11/21/21 08:24:56.419641 zm_mlapi[1256] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  1572. 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]
  1573. 11/21/21 08:24:56.427946 zm_mlapi[1256] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  1574. 11/21/21 08:24:56.432956 zm_mlapi[1256] DBG2 Media:117 [media: setting 'image' as type for event -> '244']
  1575. 11/21/21 08:24:56.437228 zm_mlapi[1256] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  1576. 11/21/21 08:24:56.441347 zm_mlapi[1256] DBG2 Media:180 [media: using API calls for stream -> 244]
  1577. 11/21/21 08:24:56.445256 zm_mlapi[1256] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  1578. 11/21/21 08:24:56.449732 zm_mlapi[1256] DBG1 Media:453 [media:read:image: about to process first frame!]
  1579. 11/21/21 08:24:56.467316 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1580. 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]
  1581. 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]
  1582. 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...'}]
  1583. 11/21/21 08:24:56.644338 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  1584. 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)]]
  1585. 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]
  1586. 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]
  1587. 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...]
  1588. 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)]
  1589. 11/21/21 08:24:56.669821 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-39]
  1590. 11/21/21 08:24:56.674246 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: s-39 took 24.81 ms]
  1591. 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]]
  1592. 11/21/21 08:24:56.698444 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1593. 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]
  1594. 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]
  1595. 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...'}]
  1596. 11/21/21 08:24:56.862933 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  1597. 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]
  1598. 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]
  1599. 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...]
  1600. 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)]
  1601. 11/21/21 08:24:56.887708 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-14]
  1602. 11/21/21 08:24:56.892162 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: a-14 took 23.84 ms]
  1603. 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]]
  1604. 11/21/21 08:24:56.922534 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1605. 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]
  1606. 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]
  1607. 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]
  1608. 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...]
  1609. 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...'}]
  1610. 11/21/21 08:24:59.11022 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  1611. 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]
  1612. 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]
  1613. 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...]
  1614. 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)]
  1615. 11/21/21 08:24:59.134143 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-68]
  1616. 11/21/21 08:24:59.139362 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: s-68 took 24.03 ms]
  1617. 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]
  1618. 11/21/21 08:24:59.15044 zm_mlapi[1256] INF mlapi:637 [mlapi:detect: no detection data to return]
  1619. 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]
  1620. 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!]
  1621. 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!]
  1622. 11/21/21 08:25:06.421579 zm_mlapi[1256] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.01051]
  1623. 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...]
  1624. 11/21/21 08:25:06.43312 zm_mlapi[1256] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  1625. 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']
  1626. 11/21/21 08:25:06.445082 zm_mlapi[1256] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  1627. 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]
  1628. 11/21/21 08:25:06.454594 zm_mlapi[1256] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  1629. 11/21/21 08:25:06.459671 zm_mlapi[1256] DBG2 Media:117 [media: setting 'image' as type for event -> '245']
  1630. 11/21/21 08:25:06.464897 zm_mlapi[1256] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  1631. 11/21/21 08:25:06.470336 zm_mlapi[1256] DBG2 Media:180 [media: using API calls for stream -> 245]
  1632. 11/21/21 08:25:06.475286 zm_mlapi[1256] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  1633. 11/21/21 08:25:06.481136 zm_mlapi[1256] DBG1 Media:453 [media:read:image: about to process first frame!]
  1634. 11/21/21 08:25:06.498308 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1635. 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]
  1636. 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]
  1637. 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...'}]
  1638. 11/21/21 08:25:06.683544 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  1639. 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)]]
  1640. 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]
  1641. 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]
  1642. 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...]
  1643. 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)]
  1644. 11/21/21 08:25:06.719684 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-11]
  1645. 11/21/21 08:25:06.725288 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: s-11 took 35.83 ms]
  1646. 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]]
  1647. 11/21/21 08:25:06.747725 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1648. 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]
  1649. 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]
  1650. 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...'}]
  1651. 11/21/21 08:25:06.922862 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  1652. 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]
  1653. 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]
  1654. 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...]
  1655. 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)]
  1656. 11/21/21 08:25:06.948514 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-5]
  1657. 11/21/21 08:25:06.953605 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: a-5 took 24.58 ms]
  1658. 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]]
  1659. 11/21/21 08:25:06.973482 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1660. 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]
  1661. 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]
  1662. 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]
  1663. 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']]
  1664. 11/21/21 08:25:07.9e-05 zm_mlapi[1256] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  1665. 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]
  1666. 11/21/21 08:25:07.008049 zm_mlapi[1256] INF mlapi:637 [mlapi:detect: no detection data to return]
  1667. 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]
  1668. 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!]
  1669. 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!]
  1670. 11/21/21 08:25:16.478749 zm_mlapi[1256] DBG1 mlapi:442 [perf:mlapi:detect: total time to hash config/secrets -> 0.012085]
  1671. 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...]
  1672. 11/21/21 08:25:16.489758 zm_mlapi[1256] DBG2 mlapi:461 [mlapi:detect: encrypted credentials received, checking keystore for 'mlapi_one']
  1673. 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']
  1674. 11/21/21 08:25:16.505216 zm_mlapi[1256] DBG2 mlapi:512 [api: SSL certificate verification disabled (encryption enabled, vulnerable to MITM attacks)]
  1675. 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]
  1676. 11/21/21 08:25:16.523857 zm_mlapi[1256] DBG2 mlapi:516 [mlapi:detect: found 'stream_sequence' in '/var/lib/zmeventnotification/mlapiconfig.yml']
  1677. 11/21/21 08:25:16.531695 zm_mlapi[1256] DBG2 Media:117 [media: setting 'image' as type for event -> '246']
  1678. 11/21/21 08:25:16.536065 zm_mlapi[1256] DBG2 Media:149 [media: processing a maximum of 3 frames-> ['snapshot', ' alarm', ' snapshot']]
  1679. 11/21/21 08:25:16.54016 zm_mlapi[1256] DBG2 Media:180 [media: using API calls for stream -> 246]
  1680. 11/21/21 08:25:16.546065 zm_mlapi[1256] DBG2 detect_sequence:904 [detect:portalocker: using manual locking for single model -> 'face']
  1681. 11/21/21 08:25:16.551873 zm_mlapi[1256] DBG1 Media:453 [media:read:image: about to process first frame!]
  1682. 11/21/21 08:25:16.569032 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1683. 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]
  1684. 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]
  1685. 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...'}]
  1686. 11/21/21 08:25:16.746095 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  1687. 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)]]
  1688. 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]
  1689. 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]
  1690. 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...]
  1691. 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)]
  1692. 11/21/21 08:25:16.780584 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: s-17]
  1693. 11/21/21 08:25:16.785406 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: s-17 took 33.03 ms]
  1694. 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]]
  1695. 11/21/21 08:25:16.813263 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1696. 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]
  1697. 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]
  1698. 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...'}]
  1699. 11/21/21 08:25:16.992759 zm_mlapi[1256] DBG1 Media:679 [media:read:image: Image returned from ZM API dimensions: (1080, 1920)]
  1700. 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]
  1701. 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]
  1702. 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...]
  1703. 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)]
  1704. 11/21/21 08:25:17.030517 zm_mlapi[1256] DBG2 detect_sequence:1395 [detect: no 'face' matches at all in frame: a-13]
  1705. 11/21/21 08:25:17.03914 zm_mlapi[1256] DBG2 detect_sequence:1415 [perf:frame: a-13 took 40.08 ms]
  1706. 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]]
  1707. 11/21/21 08:25:17.064068 zm_mlapi[1256] DBG1 Media:468 [media:read:image: grabbed event data from ZM API]
  1708. 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]
  1709. 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]
  1710. 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]
  1711. 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']]
  1712. 11/21/21 08:25:17.096794 zm_mlapi[1256] DBG1 detect_sequence:915 [detect: The media object has stopped supplying frames!]
  1713. 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]
  1714. 11/21/21 08:25:17.109511 zm_mlapi[1256] INF mlapi:637 [mlapi:detect: no detection data to return]
  1715.  
RAW Paste Data