matrice 1.0.99175__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.
@@ -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:
@@ -42,18 +42,18 @@ class LicensePlateConfig(BaseConfig):
42
42
  confidence_threshold: float = 0.6
43
43
 
44
44
  usecase_categories: List[str] = field(
45
- default_factory=lambda: ['License_Plate']
45
+ default_factory=lambda: ['license_plate']
46
46
  )
47
47
 
48
48
  target_categories: List[str] = field(
49
- default_factory=lambda: ['License_Plate']
49
+ default_factory=lambda: ['license_plate']
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: 'License_Plate'
56
+ 0: 'license_plate'
57
57
  }
58
58
  )
59
59
 
@@ -61,7 +61,7 @@ class LicensePlateConfig(BaseConfig):
61
61
  class LicensePlateUseCase(BaseProcessor):
62
62
  # Human-friendly display names for categories
63
63
  CATEGORY_DISPLAY = {
64
- "License_Plate": "License_Plate"
64
+ "license_plate": "license_plate"
65
65
  }
66
66
 
67
67
  def __init__(self):
@@ -72,7 +72,7 @@ class LicensePlateUseCase(BaseProcessor):
72
72
  self.CASE_VERSION: Optional[str] = '1.3'
73
73
 
74
74
  # List of categories to track
75
- self.target_categories = ["License_Plate"]
75
+ self.target_categories = ["license_plate"]
76
76
 
77
77
  # Initialize smoothing tracker
78
78
  self.smoothing_tracker = None
@@ -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.6
42
+ confidence_threshold: float = 0.3
43
43
 
44
44
  usecase_categories: List[str] = field(
45
- default_factory=lambda: ['Shoplifting', 'normal']
45
+ default_factory=lambda: ['not_shoplifting', 'shoplifting']
46
46
  )
47
47
 
48
48
  target_categories: List[str] = field(
49
- default_factory=lambda: ['Shoplifting', 'normal']
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: "Shoplifting",
57
- 1: "normal"
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
- "Shoplifting": "Shoplifting",
66
- "normal": "normal"
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 = ["Shoplifting", "normal"]
77
+ self.target_categories = ['not_shoplifting', 'shoplifting']
78
78
 
79
79
  # Initialize smoothing tracker
80
80
  self.smoothing_tracker = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: matrice
3
- Version: 1.0.99175
3
+ Version: 1.0.99177
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
@@ -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=olmkOCAaVqQNC0wSJNdxG1aOlOFVG6z8IH-GocpCD6Q,3784
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
@@ -181,7 +181,7 @@ matrice/deploy/utils/post_processing/usecases/flower_segmentation.py,sha256=4I7q
181
181
  matrice/deploy/utils/post_processing/usecases/gender_detection.py,sha256=DEnCTRew6B7DtPcBQVCTtpd_IQMvMusBcu6nadUg2oM,40107
182
182
  matrice/deploy/utils/post_processing/usecases/leaf.py,sha256=cwgB1ZNxkQFtkk-thSJrkXOGou1ghJr1kqtopb3sLD4,37036
183
183
  matrice/deploy/utils/post_processing/usecases/leaf_disease.py,sha256=bkiLccTdf4KUq3he4eCpBlKXb5exr-WBhQ_oWQ7os68,36225
184
- matrice/deploy/utils/post_processing/usecases/license_plate_detection.py,sha256=vKWZYfRGuVY4PJsHeIL2vuuntoXR4Oe_zdAF_pQPLKo,39566
184
+ matrice/deploy/utils/post_processing/usecases/license_plate_detection.py,sha256=Odbyq599IAqoEOfE1yDPGw5d8xzhaVdU34wjSPoYfcU,39566
185
185
  matrice/deploy/utils/post_processing/usecases/mask_detection.py,sha256=MNpCcuefOdW7C8g_x_mNuWYA4mbyg8UNwomwBPoKtr0,39684
186
186
  matrice/deploy/utils/post_processing/usecases/parking.py,sha256=lqTGqcjUZZPFw3tu11Ha8BSsZ311K5--wEZnlVsXakU,34534
187
187
  matrice/deploy/utils/post_processing/usecases/parking_space_detection.py,sha256=xwhkJjGGKcT827URbasi3olYqhd95Sh0zsEIphwzcgY,39561
@@ -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=ykg2FcdXI-jQrjdhyNhIX4aiCjorXf1maZLAjT7j-0Y,39678
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.99175.dist-info/licenses/LICENSE.txt,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
231
- matrice-1.0.99175.dist-info/METADATA,sha256=8D2Qj2xUpHTcw6quv23pcQapt9g5gkm0TS5XiEwlgng,14624
232
- matrice-1.0.99175.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
233
- matrice-1.0.99175.dist-info/top_level.txt,sha256=P97js8ur6o5ClRqMH3Cjoab_NqbJ6sOQ3rJmVzKBvMc,8
234
- matrice-1.0.99175.dist-info/RECORD,,
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,,