matrice 1.0.99395__py3-none-any.whl → 1.0.99396__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.
@@ -188,10 +188,10 @@ class VehicleMonitoringUseCase(BaseProcessor):
188
188
  counting_summary["categories"][category] = counting_summary["categories"].get(category, 0) + 1
189
189
 
190
190
  zone_analysis = {}
191
- if config.zone_config and config.zone_config.zones:
191
+ if config.zone_config and config.zone_config['zones']:
192
192
  # Convert single frame to format expected by count_objects_in_zones
193
193
  frame_data = processed_data #[frame_detections]
194
- zone_analysis = count_objects_in_zones(frame_data, config.zone_config.zones)
194
+ zone_analysis = count_objects_in_zones(frame_data, config.zone_config['zones'])
195
195
 
196
196
  # Update zone tracking with current frame data
197
197
  if zone_analysis and config.enable_tracking:
@@ -248,11 +248,11 @@ class VehicleMonitoringUseCase(BaseProcessor):
248
248
  Returns:
249
249
  Enhanced zone analysis with tracking information
250
250
  """
251
- if not zone_analysis or not config.zone_config or not config.zone_config.zones:
251
+ if not zone_analysis or not config.zone_config or not config.zone_config['zones']:
252
252
  return {}
253
253
 
254
254
  enhanced_zone_analysis = {}
255
- zones = config.zone_config.zones
255
+ zones = config.zone_config['zones']
256
256
 
257
257
  # Get current frame track IDs in each zone
258
258
  current_frame_zone_tracks = {}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: matrice
3
- Version: 1.0.99395
3
+ Version: 1.0.99396
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
@@ -236,7 +236,7 @@ matrice/deploy/utils/post_processing/usecases/template_usecase.py,sha256=6NC-bTn
236
236
  matrice/deploy/utils/post_processing/usecases/theft_detection.py,sha256=Rs_zKn2z9YM10fGzTHR44Q3m8TIO1s5UMdiPWA03rbA,28671
237
237
  matrice/deploy/utils/post_processing/usecases/traffic_sign_monitoring.py,sha256=nDlEzHgMlUjy_VtJ7usnEzMcdSs-jouqaoJpJ8DYUMw,34351
238
238
  matrice/deploy/utils/post_processing/usecases/underwater_pollution_detection.py,sha256=jqP1ZKfDZe2-56Lyvgb2DxnbqRfvxm6pPL0Ck3esfBk,40356
239
- matrice/deploy/utils/post_processing/usecases/vehicle_monitoring.py,sha256=Nby9BzH2-bI2sEDyinCcgaqYfLIlAk5YXJm20ujy8Hc,45569
239
+ matrice/deploy/utils/post_processing/usecases/vehicle_monitoring.py,sha256=H8OkwowGrEbPuspl6Dg5a0lta7pxhVm8mxdFuoMEcF8,45581
240
240
  matrice/deploy/utils/post_processing/usecases/warehouse_object_segmentation.py,sha256=5uZXTJL_A3tUEN08T-_ZQpUoJ9gqbuuMc4z2mT4sMnQ,43753
241
241
  matrice/deploy/utils/post_processing/usecases/waterbody_segmentation.py,sha256=JsCxDEMB8s4WDcezfJDr2zrjM-TCjB9hxOztzSvWmpY,45268
242
242
  matrice/deploy/utils/post_processing/usecases/weapon_detection.py,sha256=gea-rjEHmP0hUjpcrcQIHOnhMMHQNqDI90cbpXHnlpI,31071
@@ -261,8 +261,8 @@ matrice/deployment/camera_manager.py,sha256=e1Lc81RJP5wUWRdTgHO6tMWF9BkBdHOSVyx3
261
261
  matrice/deployment/deployment.py,sha256=HFt151eWq6iqIAMsQvurpV2WNxW6Cx_gIUVfnVy5SWE,48093
262
262
  matrice/deployment/inference_pipeline.py,sha256=6b4Mm3-qt-Zy0BeiJfFQdImOn3FzdNCY-7ET7Rp8PMk,37911
263
263
  matrice/deployment/streaming_gateway_manager.py,sha256=ifYGl3g25wyU39HwhPQyI2OgF3M6oIqKMWt8RXtMxY8,21401
264
- matrice-1.0.99395.dist-info/licenses/LICENSE.txt,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
265
- matrice-1.0.99395.dist-info/METADATA,sha256=QIdymYQ2fJSaMttBY1eBSDyKEzxnPUiHCyj-23TGrrA,14624
266
- matrice-1.0.99395.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
267
- matrice-1.0.99395.dist-info/top_level.txt,sha256=P97js8ur6o5ClRqMH3Cjoab_NqbJ6sOQ3rJmVzKBvMc,8
268
- matrice-1.0.99395.dist-info/RECORD,,
264
+ matrice-1.0.99396.dist-info/licenses/LICENSE.txt,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
265
+ matrice-1.0.99396.dist-info/METADATA,sha256=R0cJZVojEaN_AjvGiqIudZcVz_vmPNNG_xDhn9Pjh5k,14624
266
+ matrice-1.0.99396.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
267
+ matrice-1.0.99396.dist-info/top_level.txt,sha256=P97js8ur6o5ClRqMH3Cjoab_NqbJ6sOQ3rJmVzKBvMc,8
268
+ matrice-1.0.99396.dist-info/RECORD,,