matrice 1.0.99142__tar.gz → 1.0.99143__tar.gz
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-1.0.99142/src/matrice.egg-info → matrice-1.0.99143}/PKG-INFO +1 -1
- {matrice-1.0.99142 → matrice-1.0.99143}/setup.py +1 -1
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/road_lane_detection.py +60 -48
- {matrice-1.0.99142 → matrice-1.0.99143/src/matrice.egg-info}/PKG-INFO +1 -1
- {matrice-1.0.99142 → matrice-1.0.99143}/LICENSE.txt +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/README.md +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/setup.cfg +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/__init__.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/action.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/actionTracker.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/action_tracker.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/annotation.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/app_store.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/application.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/compute.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/compute_manager/__init__.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/compute_manager/action_instance.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/compute_manager/actions_manager.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/compute_manager/actions_scaledown_manager.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/compute_manager/instance_manager.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/compute_manager/instance_utils.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/compute_manager/prechecks.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/compute_manager/resources_tracker.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/compute_manager/scaling.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/compute_manager/shutdown_manager.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/compute_manager/task_utils.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/__init__.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/augmentation_utils/__init__.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/augmentation_utils/base.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/augmentation_utils/strategies/__init__.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/augmentation_utils/strategies/bit_depth_reduction.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/augmentation_utils/strategies/blur.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/augmentation_utils/strategies/brightness_contrast.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/augmentation_utils/strategies/color_jitter.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/augmentation_utils/strategies/compression_artifacts.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/augmentation_utils/strategies/downscale_upscale.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/augmentation_utils/strategies/film_grain.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/augmentation_utils/strategies/flip.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/augmentation_utils/strategies/fog.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/augmentation_utils/strategies/horizontal_flip.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/augmentation_utils/strategies/hsv.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/augmentation_utils/strategies/iso_noise.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/augmentation_utils/strategies/low_light.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/augmentation_utils/strategies/posterize.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/augmentation_utils/strategies/rain.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/augmentation_utils/strategies/random_affine.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/augmentation_utils/strategies/salt_pepper.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/augmentation_utils/strategies/shadows.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/augmentation_utils/strategies/snow.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/augmentation_utils/strategies/speckle.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/augmentation_utils/strategies/sunflare.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/client.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/client_utils.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/create_dataset.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/data_augmentation.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/data_augmentor.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/data_formats/__init__.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/data_formats/imagenet_classification.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/data_formats/labelbox_classification.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/data_formats/labelbox_detection.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/data_formats/mscoco_detection.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/data_formats/pascalvoc_detection.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/data_formats/unlabelled.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/data_formats/video_davis_segmentation.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/data_formats/video_detection_mscoco.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/data_formats/video_imagenet_classification.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/data_formats/video_kinetics_activity_recognition.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/data_formats/video_mot_tracking.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/data_formats/video_mscoco_detection.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/data_formats/video_youtube_bb_tracking.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/data_formats/yolo_detection.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/data_labelling.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/data_prep.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/data_processor.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/image_augmentations.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/image_data_augmentation.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/new_data_augmentation.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/pipeline.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/server.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/server_utils.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/video_server.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/dataset.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/__init__.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/aggregator/__init__.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/aggregator/aggregator.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/aggregator/ingestor.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/aggregator/pipeline.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/aggregator/publisher.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/aggregator/synchronizer.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/client/__init__.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/client/auto_streaming/__init__.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/client/auto_streaming/auto_streaming.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/client/auto_streaming/auto_streaming_utils.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/client/client.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/client/client_stream_utils.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/client/client_utils.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/client/frame_comparators.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/client/streaming_gateway/__init__.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/client/streaming_gateway/streaming_gateway.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/client/streaming_gateway/streaming_gateway_utils.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/client/streaming_gateway/streaming_results_handler.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/server/__init__.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/server/inference/__init__.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/server/inference/batch_manager.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/server/inference/cache_manager.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/server/inference/inference_interface.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/server/inference/model_manager.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/server/inference/triton_utils.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/server/proxy/__init__.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/server/proxy/proxy_interface.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/server/proxy/proxy_utils.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/server/server.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/server/stream_worker.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/__init__.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/boundary_drawing_internal/__init__.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/boundary_drawing_internal/boundary_drawing_internal.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/boundary_drawing_internal/boundary_drawing_tool.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/boundary_drawing_internal/example_usage.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/kafka_utils.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/__init__.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/advanced_tracker/__init__.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/advanced_tracker/base.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/advanced_tracker/config.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/advanced_tracker/kalman_filter.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/advanced_tracker/matching.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/advanced_tracker/strack.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/advanced_tracker/tracker.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/config.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/core/__init__.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/core/base.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/core/config.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/core/config_utils.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/processor.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/test_cases/__init__.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/test_cases/run_tests.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/test_cases/test_advanced_customer_service.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/test_cases/test_basic_counting_tracking.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/test_cases/test_comprehensive.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/test_cases/test_config.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/test_cases/test_customer_service.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/test_cases/test_data_generators.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/test_cases/test_people_counting.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/test_cases/test_processor.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/test_cases/test_utilities.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/test_cases/test_utils.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/__init__.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/advanced_customer_service.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/age_detection.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/anti_spoofing_detection.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/assembly_line_detection.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/banana_defect_detection.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/basic_counting_tracking.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/blood_cancer_detection_img.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/car_damage_detection.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/car_part_segmentation.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/chicken_pose_detection.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/child_monitoring.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/color_detection.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/color_map_utils.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/concrete_crack_detection.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/crop_weed_detection.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/customer_service.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/defect_detection_products.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/distracted_driver_detection.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/emergency_vehicle_detection.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/face_emotion.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/fashion_detection.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/field_mapping.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/fire_detection.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/flare_analysis.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/flower_segmentation.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/gender_detection.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/leaf.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/leaf_disease.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/license_plate_detection.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/mask_detection.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/parking.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/parking_space_detection.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/pedestrian_detection.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/people_counting.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/plaque_segmentation_img.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/pothole_segmentation.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/ppe_compliance.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/price_tag_detection.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/shelf_inventory_detection.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/shoplifting_detection.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/shopping_cart_analysis.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/skin_cancer_classification_img.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/solar_panel.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/template_usecase.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/theft_detection.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/traffic_sign_monitoring.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/underwater_pollution_detection.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/vehicle_monitoring.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/warehouse_object_segmentation.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/weapon_detection.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/weld_defect_detection.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/windmill_maintenance.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/usecases/wound_segmentation.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/utils/__init__.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/utils/advanced_counting_utils.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/utils/advanced_helper_utils.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/utils/advanced_tracking_utils.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/utils/alerting_utils.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/utils/category_mapping_utils.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/utils/color_utils.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/utils/counting_utils.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/utils/filter_utils.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/utils/format_utils.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/utils/geometry_utils.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/utils/smoothing_utils.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/utils/tracking_utils.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deployment/__init__.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deployment/camera_manager.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deployment/deployment.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deployment/inference_pipeline.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deployment/streaming_gateway_manager.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/docker_utils.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/drift_monitor.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/exported_model.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/local_test.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/metrics_calculator.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/metrics_calculator_oop.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/model_store.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/models.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/pipeline.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/projects.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/rpc.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/scaling.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/session.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/testing.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/token_auth.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/utils.py +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice.egg-info/SOURCES.txt +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice.egg-info/dependency_links.txt +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice.egg-info/requires.txt +0 -0
- {matrice-1.0.99142 → matrice-1.0.99143}/src/matrice.egg-info/top_level.txt +0 -0
@@ -1,10 +1,3 @@
|
|
1
|
-
"""
|
2
|
-
Road Lane Detection Use Case for Post-Processing
|
3
|
-
|
4
|
-
This module provides road lane detection functionality with lane type classification,
|
5
|
-
zone analysis, and alert generation.
|
6
|
-
"""
|
7
|
-
|
8
1
|
from typing import Any, Dict, List, Optional
|
9
2
|
from dataclasses import asdict, dataclass, field
|
10
3
|
import time
|
@@ -25,9 +18,10 @@ from ..utils import (
|
|
25
18
|
)
|
26
19
|
from ..core.config import BaseConfig, AlertConfig, ZoneConfig
|
27
20
|
|
21
|
+
|
28
22
|
@dataclass
|
29
23
|
class LaneDetectionConfig(BaseConfig):
|
30
|
-
"""Configuration for
|
24
|
+
"""Configuration for lane detection use case in road monitoring."""
|
31
25
|
enable_smoothing: bool = True
|
32
26
|
smoothing_algorithm: str = "observability"
|
33
27
|
smoothing_window_size: int = 20
|
@@ -52,6 +46,7 @@ class LaneDetectionConfig(BaseConfig):
|
|
52
46
|
}
|
53
47
|
)
|
54
48
|
|
49
|
+
|
55
50
|
class LaneDetectionUseCase(BaseProcessor):
|
56
51
|
CATEGORY_DISPLAY = {
|
57
52
|
"Divider-Line": "Divider Line",
|
@@ -97,7 +92,7 @@ class LaneDetectionUseCase(BaseProcessor):
|
|
97
92
|
self.logger.debug(f"Applied confidence filtering with threshold {config.confidence_threshold}")
|
98
93
|
else:
|
99
94
|
processed_data = data
|
100
|
-
self.logger.debug("
|
95
|
+
self.logger.debug("Did not apply confidence filtering since no threshold provided")
|
101
96
|
|
102
97
|
if config.index_to_category:
|
103
98
|
processed_data = apply_category_mapping(processed_data, config.index_to_category)
|
@@ -256,7 +251,6 @@ class LaneDetectionUseCase(BaseProcessor):
|
|
256
251
|
level = "medium"
|
257
252
|
self._ascending_alert_list.append(1)
|
258
253
|
else:
|
259
|
-
level = "low"
|
260
254
|
self._ascending_alert_list.append(0)
|
261
255
|
else:
|
262
256
|
if total_detections > 30:
|
@@ -276,7 +270,7 @@ class LaneDetectionUseCase(BaseProcessor):
|
|
276
270
|
intensity = min(10.0, total_detections / 3.0)
|
277
271
|
self._ascending_alert_list.append(0)
|
278
272
|
|
279
|
-
human_text_lines = [f"
|
273
|
+
human_text_lines = [f"INCIDENTS DETECTED @ {current_timestamp}:"]
|
280
274
|
human_text_lines.append(f"\tSeverity Level: {(self.CASE_TYPE, level)}")
|
281
275
|
human_text = "\n".join(human_text_lines)
|
282
276
|
|
@@ -307,7 +301,6 @@ class LaneDetectionUseCase(BaseProcessor):
|
|
307
301
|
else:
|
308
302
|
self._ascending_alert_list.append(0)
|
309
303
|
incidents.append({})
|
310
|
-
|
311
304
|
return incidents
|
312
305
|
|
313
306
|
def _generate_tracking_stats(self, counting_summary: Dict, alerts: List, config: LaneDetectionConfig,
|
@@ -361,7 +354,11 @@ class LaneDetectionUseCase(BaseProcessor):
|
|
361
354
|
for cat, count in total_counts_dict.items():
|
362
355
|
if count > 0:
|
363
356
|
human_text_lines.append(f"\t{cat}: {count}")
|
364
|
-
|
357
|
+
if alerts:
|
358
|
+
for alert in alerts:
|
359
|
+
human_text_lines.append(f"Alerts: {alert.get('settings', {})} sent @ {current_timestamp}")
|
360
|
+
else:
|
361
|
+
human_text_lines.append("Alerts: None")
|
365
362
|
human_text = "\n".join(human_text_lines)
|
366
363
|
|
367
364
|
reset_settings = [{"interval_type": "daily", "reset_time": {"value": 9, "time_unit": "hour"}}]
|
@@ -389,18 +386,22 @@ class LaneDetectionUseCase(BaseProcessor):
|
|
389
386
|
lines = {}
|
390
387
|
lines["Application Name"] = self.CASE_TYPE
|
391
388
|
lines["Application Version"] = self.CASE_VERSION
|
392
|
-
if incidents:
|
389
|
+
if len(incidents) > 0:
|
393
390
|
lines["Incidents:"] = f"\n\t{incidents[0].get('human_text', 'No incidents detected')}\n"
|
394
|
-
if tracking_stats:
|
391
|
+
if len(tracking_stats) > 0:
|
395
392
|
lines["Tracking Statistics:"] = f"\t{tracking_stats[0].get('human_text', 'No tracking statistics detected')}\n"
|
396
|
-
if business_analytics:
|
393
|
+
if len(business_analytics) > 0:
|
397
394
|
lines["Business Analytics:"] = f"\t{business_analytics[0].get('human_text', 'No business analytics detected')}\n"
|
398
|
-
if
|
395
|
+
if len(incidents) == 0 and len(tracking_stats) == 0 and len(business_analytics) == 0:
|
399
396
|
lines["Summary"] = "No Summary Data"
|
400
397
|
return [lines]
|
401
398
|
|
402
399
|
def _get_track_ids_info(self, detections: list) -> Dict[str, Any]:
|
403
|
-
frame_track_ids =
|
400
|
+
frame_track_ids = set()
|
401
|
+
for det in detections:
|
402
|
+
tid = det.get('track_id')
|
403
|
+
if tid is not None:
|
404
|
+
frame_track_ids.add(tid)
|
404
405
|
total_track_ids = set()
|
405
406
|
for s in getattr(self, '_per_category_total_track_ids', {}).values():
|
406
407
|
total_track_ids.update(s)
|
@@ -444,49 +445,60 @@ class LaneDetectionUseCase(BaseProcessor):
|
|
444
445
|
|
445
446
|
def _get_current_timestamp_str(self, stream_info: Optional[Dict[str, Any]], precision=False, frame_id: Optional[str] = None) -> str:
|
446
447
|
if not stream_info:
|
447
|
-
return "00:00:00.00"
|
448
|
+
return "00:00:00.00"
|
448
449
|
if precision:
|
449
450
|
if stream_info.get("input_settings", {}).get("start_frame", "na") != "na":
|
450
|
-
|
451
|
+
if frame_id:
|
452
|
+
start_time = int(frame_id) / stream_info.get("input_settings", {}).get("original_fps", 30)
|
453
|
+
else:
|
454
|
+
start_time = stream_info.get("input_settings", {}).get("start_frame", 30) / stream_info.get("input_settings", {}).get("original_fps", 30)
|
451
455
|
return self._format_timestamp_for_video(start_time)
|
452
|
-
|
456
|
+
else:
|
457
|
+
return datetime.now(timezone.utc).strftime("%Y-%m-%d-%H:%M:%S.%f UTC")
|
453
458
|
if stream_info.get("input_settings", {}).get("start_frame", "na") != "na":
|
454
|
-
|
459
|
+
if frame_id:
|
460
|
+
start_time = int(frame_id) / stream_info.get("input_settings", {}).get("original_fps", 30)
|
461
|
+
else:
|
462
|
+
start_time = stream_info.get("input_settings", {}).get("start_frame", 30) / stream_info.get("input_settings", {}).get("original_fps", 30)
|
455
463
|
return self._format_timestamp_for_video(start_time)
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
+
else:
|
465
|
+
stream_time_str = stream_info.get("input_settings", {}).get("stream_info", {}).get("stream_time", "")
|
466
|
+
if stream_time_str:
|
467
|
+
try:
|
468
|
+
timestamp_str = stream_time_str.replace(" UTC", "")
|
469
|
+
dt = datetime.strptime(timestamp_str, "%Y-%m-%d-%H:%M:%S.%f")
|
470
|
+
timestamp = dt.replace(tzinfo=timezone.utc).timestamp()
|
471
|
+
return self._format_timestamp_for_stream(timestamp)
|
472
|
+
except:
|
473
|
+
return self._format_timestamp_for_stream(time.time())
|
474
|
+
else:
|
464
475
|
return self._format_timestamp_for_stream(time.time())
|
465
|
-
return self._format_timestamp_for_stream(time.time())
|
466
476
|
|
467
477
|
def _get_start_timestamp_str(self, stream_info: Optional[Dict[str, Any]], precision=False) -> str:
|
468
478
|
if not stream_info:
|
469
|
-
return "00:00:00"
|
479
|
+
return "00:00:00"
|
470
480
|
if precision:
|
471
481
|
if stream_info.get("input_settings", {}).get("start_frame", "na") != "na":
|
472
|
-
return "00:00:00
|
473
|
-
|
482
|
+
return "00:00:00"
|
483
|
+
else:
|
484
|
+
return datetime.now(timezone.utc).strftime("%Y-%m-%d-%H:%M:%S.%f UTC")
|
474
485
|
if stream_info.get("input_settings", {}).get("start_frame", "na") != "na":
|
475
486
|
return "00:00:00"
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
487
|
+
else:
|
488
|
+
if self._tracking_start_time is None:
|
489
|
+
stream_time_str = stream_info.get("input_settings", {}).get("stream_info", {}).get("stream_time", "")
|
490
|
+
if stream_time_str:
|
491
|
+
try:
|
492
|
+
timestamp_str = stream_time_str.replace(" UTC", "")
|
493
|
+
dt = datetime.strptime(timestamp_str, "%Y-%m-%d-%H:%M:%S.%f")
|
494
|
+
self._tracking_start_time = dt.replace(tzinfo=timezone.utc).timestamp()
|
495
|
+
except:
|
496
|
+
self._tracking_start_time = time.time()
|
497
|
+
else:
|
484
498
|
self._tracking_start_time = time.time()
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
dt = dt.replace(minute=0, second=0, microsecond=0)
|
489
|
-
return dt.strftime('%Y:%m:%d %H:%M:%S')
|
499
|
+
dt = datetime.fromtimestamp(self._tracking_start_time, tz=timezone.utc)
|
500
|
+
dt = dt.replace(minute=0, second=0, microsecond=0)
|
501
|
+
return dt.strftime('%Y:%m:%d %H:%M:%S')
|
490
502
|
|
491
503
|
def _count_categories(self, detections: list, config: LaneDetectionConfig) -> dict:
|
492
504
|
counts = {}
|
@@ -582,7 +594,7 @@ class LaneDetectionUseCase(BaseProcessor):
|
|
582
594
|
self._canonical_tracks[canonical_id] = {
|
583
595
|
"last_bbox": bbox,
|
584
596
|
"last_update": now,
|
585
|
-
"raw_ids": {raw_id}
|
597
|
+
"raw_ids": {raw_id},
|
586
598
|
}
|
587
599
|
return canonical_id
|
588
600
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/compute_manager/actions_scaledown_manager.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/augmentation_utils/__init__.py
RENAMED
File without changes
|
{matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/augmentation_utils/base.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/data_formats/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/data_formats/mscoco_detection.py
RENAMED
File without changes
|
File without changes
|
{matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/data_formats/unlabelled.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/data_formats/yolo_detection.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/image_data_augmentation.py
RENAMED
File without changes
|
{matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/data_processing/new_data_augmentation.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/client/auto_streaming/__init__.py
RENAMED
File without changes
|
{matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/client/auto_streaming/auto_streaming.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/client/streaming_gateway/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/server/inference/batch_manager.py
RENAMED
File without changes
|
{matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/server/inference/cache_manager.py
RENAMED
File without changes
|
{matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/server/inference/inference_interface.py
RENAMED
File without changes
|
{matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/server/inference/model_manager.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/core/__init__.py
RENAMED
File without changes
|
{matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/core/base.py
RENAMED
File without changes
|
{matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/core/config.py
RENAMED
File without changes
|
File without changes
|
{matrice-1.0.99142 → matrice-1.0.99143}/src/matrice/deploy/utils/post_processing/processor.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|