matrice 1.0.99176__py3-none-any.whl → 1.0.99177__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/deploy/utils/post_processing/config.py +2 -0
- matrice/deploy/utils/post_processing/usecases/shoplifting_detection.py +9 -9
- {matrice-1.0.99176.dist-info → matrice-1.0.99177.dist-info}/METADATA +1 -1
- {matrice-1.0.99176.dist-info → matrice-1.0.99177.dist-info}/RECORD +7 -7
- {matrice-1.0.99176.dist-info → matrice-1.0.99177.dist-info}/WHEEL +0 -0
- {matrice-1.0.99176.dist-info → matrice-1.0.99177.dist-info}/licenses/LICENSE.txt +0 -0
- {matrice-1.0.99176.dist-info → matrice-1.0.99177.dist-info}/top_level.txt +0 -0
@@ -35,6 +35,7 @@ APP_NAME_TO_USECASE = {
|
|
35
35
|
"parking_space_detection": "parking_space_detection",
|
36
36
|
"car_damage_detection": "car_damage_detection",
|
37
37
|
"license_plate_detection": "license_plate_detection",
|
38
|
+
"shoplifting_detection": "shoplifting_detection",
|
38
39
|
}
|
39
40
|
|
40
41
|
APP_NAME_TO_CATEGORY = {
|
@@ -74,6 +75,7 @@ APP_NAME_TO_CATEGORY = {
|
|
74
75
|
"parking_space_detection": "parking_space",
|
75
76
|
"car_damage_detection": "car_damage",
|
76
77
|
"license_plate_detection": "license_plate",
|
78
|
+
"shoplifting_detection": "security",
|
77
79
|
}
|
78
80
|
|
79
81
|
def get_usecase_from_app_name(app_name: str) -> str:
|
@@ -39,31 +39,31 @@ class ShopliftingDetectionConfig(BaseConfig):
|
|
39
39
|
smoothing_confidence_range_factor: float = 0.5
|
40
40
|
|
41
41
|
#confidence thresholds
|
42
|
-
confidence_threshold: float = 0.
|
42
|
+
confidence_threshold: float = 0.3
|
43
43
|
|
44
44
|
usecase_categories: List[str] = field(
|
45
|
-
default_factory=lambda: ['
|
45
|
+
default_factory=lambda: ['not_shoplifting', 'shoplifting']
|
46
46
|
)
|
47
47
|
|
48
48
|
target_categories: List[str] = field(
|
49
|
-
default_factory=lambda: ['
|
49
|
+
default_factory=lambda: ['not_shoplifting', 'shoplifting']
|
50
50
|
)
|
51
51
|
|
52
52
|
alert_config: Optional[AlertConfig] = None
|
53
53
|
|
54
54
|
index_to_category: Optional[Dict[int, str]] = field(
|
55
55
|
default_factory=lambda: {
|
56
|
-
0:
|
57
|
-
1:
|
58
|
-
|
56
|
+
0: 'not_shoplifting',
|
57
|
+
1: 'shoplifting'
|
58
|
+
}
|
59
59
|
)
|
60
60
|
|
61
61
|
|
62
62
|
class ShopliftingDetectionUseCase(BaseProcessor):
|
63
63
|
# Human-friendly display names for categories
|
64
64
|
CATEGORY_DISPLAY = {
|
65
|
-
"
|
66
|
-
"
|
65
|
+
"not_shoplifting": "not_shoplifting",
|
66
|
+
"shoplifting": "shoplifting"
|
67
67
|
}
|
68
68
|
|
69
69
|
def __init__(self):
|
@@ -74,7 +74,7 @@ class ShopliftingDetectionUseCase(BaseProcessor):
|
|
74
74
|
self.CASE_VERSION: Optional[str] = '1.3'
|
75
75
|
|
76
76
|
# List of categories to track
|
77
|
-
self.target_categories = [
|
77
|
+
self.target_categories = ['not_shoplifting', 'shoplifting']
|
78
78
|
|
79
79
|
# Initialize smoothing tracker
|
80
80
|
self.smoothing_tracker = None
|
@@ -127,7 +127,7 @@ matrice/deploy/utils/boundary_drawing_internal/boundary_drawing_internal.py,sha2
|
|
127
127
|
matrice/deploy/utils/boundary_drawing_internal/boundary_drawing_tool.py,sha256=eY0VQGZ8BfTmR4_ThIAXaumBjh8_c7w69w-d3kta8p0,15421
|
128
128
|
matrice/deploy/utils/boundary_drawing_internal/example_usage.py,sha256=cUBhxxsVdTQWIPvIOjCUGrhqon7ZBr5N6qNewjrTIuk,6434
|
129
129
|
matrice/deploy/utils/post_processing/__init__.py,sha256=9wVjSGmFCVYWsgfe2__sXGGSNtnZFKy_DIzeLVzlrwI,23471
|
130
|
-
matrice/deploy/utils/post_processing/config.py,sha256=
|
130
|
+
matrice/deploy/utils/post_processing/config.py,sha256=KrheCHftnxBQ_6b1yofALlgO-4aEQPCzqB0dYLo7tf4,3879
|
131
131
|
matrice/deploy/utils/post_processing/processor.py,sha256=vj8QmMBJ_HG-6eWexu0yfSnbyxZNcEPDvShgbl5Dhzs,31235
|
132
132
|
matrice/deploy/utils/post_processing/advanced_tracker/__init__.py,sha256=tAPFzI_Yep5TLX60FDwKqBqppc-EbxSr0wNsQ9DGI1o,423
|
133
133
|
matrice/deploy/utils/post_processing/advanced_tracker/base.py,sha256=VqWy4dd5th5LK-JfueTt2_GSEoOi5QQfQxjTNhmQoLc,3580
|
@@ -194,7 +194,7 @@ matrice/deploy/utils/post_processing/usecases/ppe_compliance.py,sha256=G9P9j9E9n
|
|
194
194
|
matrice/deploy/utils/post_processing/usecases/price_tag_detection.py,sha256=09Tp6MGAHh95s-NSAp-4WC9iCc20sajWApuUBAvgXiQ,39880
|
195
195
|
matrice/deploy/utils/post_processing/usecases/road_lane_detection.py,sha256=V_KxwBtAHSNkyoH8sXw-U-P3J8ToXtX3ncc69gn6Tds,31591
|
196
196
|
matrice/deploy/utils/post_processing/usecases/shelf_inventory_detection.py,sha256=1juloltHnCj3U499Aps0ggE0nEI37x3iKe4DgfP4RCw,29140
|
197
|
-
matrice/deploy/utils/post_processing/usecases/shoplifting_detection.py,sha256=
|
197
|
+
matrice/deploy/utils/post_processing/usecases/shoplifting_detection.py,sha256=90UUbEAl6qAA-z72C9cdRfmxZ9PnJu-iIiYddJNEzfg,39737
|
198
198
|
matrice/deploy/utils/post_processing/usecases/shopping_cart_analysis.py,sha256=9Ej2xiZM7yq5sOBcSXIllou_z0rSZDJ_QHyYz6HxZSY,43957
|
199
199
|
matrice/deploy/utils/post_processing/usecases/skin_cancer_classification_img.py,sha256=TvWIPHxq69vHZepx8AeeTyQnSWFqTsy8O3mZaisGeV4,41332
|
200
200
|
matrice/deploy/utils/post_processing/usecases/smoker_detection.py,sha256=EB22bn9QsJRAM7nrPO1UGfATq1bAjoY6hyjbayVSwus,40517
|
@@ -227,8 +227,8 @@ matrice/deployment/camera_manager.py,sha256=ReBZqm1CNXRImKcbcZ4uWAT3TUWkof1D28oB
|
|
227
227
|
matrice/deployment/deployment.py,sha256=PLIUD-PxTaC2Zxb3Y12wUddsryV-OJetjCjLoSUh7S4,48103
|
228
228
|
matrice/deployment/inference_pipeline.py,sha256=bXLgd29ViA7o0c7YWLFJl1otBUQfTPb61jS6VawQB0Y,37918
|
229
229
|
matrice/deployment/streaming_gateway_manager.py,sha256=w5swGsuFVfZIdOm2ZuBHRHlRdYYJMLopLsf2gb91lQ8,20946
|
230
|
-
matrice-1.0.
|
231
|
-
matrice-1.0.
|
232
|
-
matrice-1.0.
|
233
|
-
matrice-1.0.
|
234
|
-
matrice-1.0.
|
230
|
+
matrice-1.0.99177.dist-info/licenses/LICENSE.txt,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
|
231
|
+
matrice-1.0.99177.dist-info/METADATA,sha256=gMNQcG_uN32Z9nSqWl4UWFw9rKkhnwnd0LqL2xHu0Y0,14624
|
232
|
+
matrice-1.0.99177.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
233
|
+
matrice-1.0.99177.dist-info/top_level.txt,sha256=P97js8ur6o5ClRqMH3Cjoab_NqbJ6sOQ3rJmVzKBvMc,8
|
234
|
+
matrice-1.0.99177.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|