matrice-analytics 0.1.70__py3-none-any.whl → 0.1.89__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.
- matrice_analytics/post_processing/config.py +2 -2
- matrice_analytics/post_processing/core/base.py +1 -1
- matrice_analytics/post_processing/face_reg/face_recognition.py +871 -190
- matrice_analytics/post_processing/face_reg/face_recognition_client.py +55 -25
- matrice_analytics/post_processing/usecases/advanced_customer_service.py +908 -498
- matrice_analytics/post_processing/usecases/color_detection.py +18 -18
- matrice_analytics/post_processing/usecases/customer_service.py +356 -9
- matrice_analytics/post_processing/usecases/fire_detection.py +147 -9
- matrice_analytics/post_processing/usecases/license_plate_monitoring.py +549 -41
- matrice_analytics/post_processing/usecases/people_counting.py +11 -11
- matrice_analytics/post_processing/usecases/vehicle_monitoring.py +34 -34
- matrice_analytics/post_processing/utils/alert_instance_utils.py +950 -0
- matrice_analytics/post_processing/utils/business_metrics_manager_utils.py +1245 -0
- matrice_analytics/post_processing/utils/incident_manager_utils.py +1657 -0
- {matrice_analytics-0.1.70.dist-info → matrice_analytics-0.1.89.dist-info}/METADATA +1 -1
- {matrice_analytics-0.1.70.dist-info → matrice_analytics-0.1.89.dist-info}/RECORD +19 -16
- {matrice_analytics-0.1.70.dist-info → matrice_analytics-0.1.89.dist-info}/WHEEL +0 -0
- {matrice_analytics-0.1.70.dist-info → matrice_analytics-0.1.89.dist-info}/licenses/LICENSE.txt +0 -0
- {matrice_analytics-0.1.70.dist-info → matrice_analytics-0.1.89.dist-info}/top_level.txt +0 -0
|
@@ -11,7 +11,7 @@ APP_NAME_TO_USECASE = {
|
|
|
11
11
|
"traffic_sign_monitoring": "traffic_sign_monitoring",
|
|
12
12
|
"flare_analysis": "flare_analysis",
|
|
13
13
|
"ppe_compliance": "ppe_compliance",
|
|
14
|
-
"
|
|
14
|
+
"Customer Activity Analysis": "advanced_customer_service",
|
|
15
15
|
"assembly_line_detection": "assembly_line_detection",
|
|
16
16
|
"crop_weed_detection" : "crop_weed_detection",
|
|
17
17
|
"emergency_vehicle_detection": "emergency_vehicle_detection",
|
|
@@ -80,7 +80,7 @@ APP_NAME_TO_CATEGORY = {
|
|
|
80
80
|
"traffic_sign_monitoring": "traffic",
|
|
81
81
|
"flare_analysis": "flare_detection",
|
|
82
82
|
"ppe_compliance": "security",
|
|
83
|
-
"
|
|
83
|
+
"Customer Activity Analysis": "sales",
|
|
84
84
|
"assembly_line_detection": "manufacturing",
|
|
85
85
|
"crop_weed_detection": "agriculture",
|
|
86
86
|
"emergency_vehicle_detection": "traffic",
|
|
@@ -286,7 +286,7 @@ class BaseProcessor(ABC):
|
|
|
286
286
|
"incident_id": incident_id,
|
|
287
287
|
"incident_type": incident_type,
|
|
288
288
|
"severity_level": severity_level,
|
|
289
|
-
"human_text": human_text or f"{incident_type} detected
|
|
289
|
+
"human_text": human_text or f"{incident_type} detected. [Severity Level: {severity_level}]",
|
|
290
290
|
"start_time": timestamp,
|
|
291
291
|
"end_time": end_time or timestamp,
|
|
292
292
|
"camera_info": camera_info or self.get_default_camera_info(),
|