matrice 1.0.99242__py3-none-any.whl → 1.0.99243__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -422,13 +422,10 @@ class IntrusionUseCase(BaseProcessor):
422
422
  self._ascending_alert_list.append(0)
423
423
 
424
424
  human_text_lines.append(f"\t\t- Zone name: {zone_name}")
425
- if zone_name == "Boarding Entrance":
426
- human_text_lines.append(f"\t\t\t- Total count in Prohibited Boarding Gate: {zone_total}")
427
- elif zone_name == "Boarding Booth":
428
- human_text_lines.append(f"\t\t\t- Total count in Prohibited Boarding Booth: {zone_total}")
425
+ human_text_lines.append(f"\t\t\t- Total count in Prohibited Boarding Gate: {zone_total}")
429
426
  # Main people counting incident
430
427
  human_text = "\n".join(human_text_lines)
431
- event= self.create_incident(incident_id=self.CASE_TYPE+'_'+'zone_'+zone_name+str(frame_id), incident_type=self.CASE_TYPE,
428
+ event = self.create_incident(incident_id=self.CASE_TYPE+'_'+'zone_'+zone_name+str(frame_id), incident_type=self.CASE_TYPE,
432
429
  severity_level=zone_level, human_text=human_text, camera_info=camera_info, alerts=alerts, alert_settings=alert_settings,
433
430
  start_time=start_timestamp, end_time=self.current_incident_end_timestamp,
434
431
  level_settings= {"low": 1, "medium": 3, "significant":4, "critical": 7})
@@ -557,17 +554,14 @@ class IntrusionUseCase(BaseProcessor):
557
554
  return zone_count
558
555
  else:
559
556
  return 0
560
- human_text_lines.append(f"\t- Total count in Prohibited Boarding Area: {total_people}")
557
+ human_text_lines.append(f"\t- Total count in Prohibited Boarding Gate: {total_people}")
561
558
  human_text_lines.append("")
562
559
  human_text_lines.append(f"TOTAL SINCE @ {start_timestamp}:")
563
560
 
564
561
  for zone_name, zone_count in zone_analysis.items():
565
562
  zone_total = robust_zone_total(zone_count)
566
563
  human_text_lines.append(f"\t- Zone name: {zone_name}")
567
- if zone_name == "Boarding Entrance":
568
- human_text_lines.append(f"\t\t\t- Total count in Prohibited Boarding Gate: {zone_total}")
569
- elif zone_name == "Boarding Booth":
570
- human_text_lines.append(f"\t\t\t- Total count in Prohibited Boarding Booth: {zone_total}")
564
+ human_text_lines.append(f"\t\t\t- Total count in Prohibited Boarding Gate: {zone_total}")
571
565
  # human_text_lines.append(f"\t\t- Total count in Prohibited Boarding Gate: {zone_total-1}")
572
566
 
573
567
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: matrice
3
- Version: 1.0.99242
3
+ Version: 1.0.99243
4
4
  Summary: SDK for connecting to matrice.ai services
5
5
  Home-page: https://github.com/matrice-ai/python-sdk
6
6
  Author: Matrice.ai
@@ -188,7 +188,7 @@ matrice/deploy/utils/post_processing/usecases/flower_segmentation.py,sha256=4I7q
188
188
  matrice/deploy/utils/post_processing/usecases/gas_leak_detection.py,sha256=KL2ft7fXvjTas-65-QgcJm3W8KBsrwF44qibSXjfaLc,40557
189
189
  matrice/deploy/utils/post_processing/usecases/gender_detection.py,sha256=DEnCTRew6B7DtPcBQVCTtpd_IQMvMusBcu6nadUg2oM,40107
190
190
  matrice/deploy/utils/post_processing/usecases/human_activity_recognition.py,sha256=SLyvbw1y_nEQ0AlT-ErpeSydjA8U5yfRPrjMx1t3Yz0,42226
191
- matrice/deploy/utils/post_processing/usecases/intrusion_detection.py,sha256=WkQaJt6nL1KR4kC13SLIaXhjqNZMju9qjcgUY1uOO5E,77912
191
+ matrice/deploy/utils/post_processing/usecases/intrusion_detection.py,sha256=oyr_BX6LnY42saGujDescVIYdRDR9elmmPwM7JwFUzQ,77461
192
192
  matrice/deploy/utils/post_processing/usecases/leaf.py,sha256=cwgB1ZNxkQFtkk-thSJrkXOGou1ghJr1kqtopb3sLD4,37036
193
193
  matrice/deploy/utils/post_processing/usecases/leaf_disease.py,sha256=bkiLccTdf4KUq3he4eCpBlKXb5exr-WBhQ_oWQ7os68,36225
194
194
  matrice/deploy/utils/post_processing/usecases/leak_detection.py,sha256=oOCLLVMuXVeXPHyN8FUrD3U9JYJJwIz-5fcEMgvLdls,40531
@@ -242,8 +242,8 @@ matrice/deployment/camera_manager.py,sha256=e1Lc81RJP5wUWRdTgHO6tMWF9BkBdHOSVyx3
242
242
  matrice/deployment/deployment.py,sha256=HFt151eWq6iqIAMsQvurpV2WNxW6Cx_gIUVfnVy5SWE,48093
243
243
  matrice/deployment/inference_pipeline.py,sha256=6b4Mm3-qt-Zy0BeiJfFQdImOn3FzdNCY-7ET7Rp8PMk,37911
244
244
  matrice/deployment/streaming_gateway_manager.py,sha256=ifYGl3g25wyU39HwhPQyI2OgF3M6oIqKMWt8RXtMxY8,21401
245
- matrice-1.0.99242.dist-info/licenses/LICENSE.txt,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
246
- matrice-1.0.99242.dist-info/METADATA,sha256=l8osThgC_or1VtVsMdKYK9recYFQg_ZZLb4D1VdFpbs,14624
247
- matrice-1.0.99242.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
248
- matrice-1.0.99242.dist-info/top_level.txt,sha256=P97js8ur6o5ClRqMH3Cjoab_NqbJ6sOQ3rJmVzKBvMc,8
249
- matrice-1.0.99242.dist-info/RECORD,,
245
+ matrice-1.0.99243.dist-info/licenses/LICENSE.txt,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
246
+ matrice-1.0.99243.dist-info/METADATA,sha256=Omqh3YD4XTzi69l7lE9PbskTZmKiw6NCnvhwJbj76nw,14624
247
+ matrice-1.0.99243.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
248
+ matrice-1.0.99243.dist-info/top_level.txt,sha256=P97js8ur6o5ClRqMH3Cjoab_NqbJ6sOQ3rJmVzKBvMc,8
249
+ matrice-1.0.99243.dist-info/RECORD,,