matrice 1.0.99300__tar.gz → 1.0.99302__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.99300/src/matrice.egg-info → matrice-1.0.99302}/PKG-INFO +1 -1
- {matrice-1.0.99300 → matrice-1.0.99302}/setup.py +1 -1
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/color_detection.py +44 -22
- {matrice-1.0.99300 → matrice-1.0.99302/src/matrice.egg-info}/PKG-INFO +1 -1
- {matrice-1.0.99300 → matrice-1.0.99302}/LICENSE.txt +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/README.md +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/setup.cfg +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/__init__.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/action.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/actionTracker.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/action_tracker.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/annotation.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/app_store.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/application.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/compute.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/compute_manager/__init__.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/compute_manager/action_instance.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/compute_manager/actions_manager.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/compute_manager/actions_scaledown_manager.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/compute_manager/instance_manager.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/compute_manager/instance_utils.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/compute_manager/prechecks.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/compute_manager/resources_tracker.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/compute_manager/scaling.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/compute_manager/shutdown_manager.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/compute_manager/task_utils.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/__init__.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/aug_server.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/aug_server_v2.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/augmentation_utils/__init__.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/augmentation_utils/base.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/augmentation_utils/strategies/__init__.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/augmentation_utils/strategies/bit_depth_reduction.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/augmentation_utils/strategies/blur.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/augmentation_utils/strategies/brightness_contrast.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/augmentation_utils/strategies/color_jitter.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/augmentation_utils/strategies/compression_artifacts.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/augmentation_utils/strategies/downscale_upscale.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/augmentation_utils/strategies/film_grain.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/augmentation_utils/strategies/flip.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/augmentation_utils/strategies/fog.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/augmentation_utils/strategies/horizontal_flip.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/augmentation_utils/strategies/hsv.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/augmentation_utils/strategies/iso_noise.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/augmentation_utils/strategies/low_light.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/augmentation_utils/strategies/posterize.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/augmentation_utils/strategies/rain.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/augmentation_utils/strategies/random_affine.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/augmentation_utils/strategies/salt_pepper.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/augmentation_utils/strategies/shadows.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/augmentation_utils/strategies/snow.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/augmentation_utils/strategies/speckle.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/augmentation_utils/strategies/sunflare.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/client.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/client_utils.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/create_dataset.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/data_augmentation.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/data_augmentor.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/data_formats/__init__.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/data_formats/imagenet_classification.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/data_formats/labelbox_classification.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/data_formats/labelbox_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/data_formats/mscoco_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/data_formats/pascalvoc_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/data_formats/unlabelled.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/data_formats/video_davis_segmentation.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/data_formats/video_detection_mscoco.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/data_formats/video_imagenet_classification.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/data_formats/video_kinetics_activity_recognition.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/data_formats/video_mot_tracking.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/data_formats/video_mscoco_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/data_formats/video_youtube_bb_tracking.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/data_formats/yolo_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/data_labelling.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/data_prep.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/data_processor.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/image_augmentations.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/image_data_augmentation.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/new_data_augmentation.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/pipeline.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/server.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/server_utils.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/video_server.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/dataset.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/__init__.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/aggregator/__init__.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/aggregator/aggregator.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/aggregator/analytics.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/aggregator/ingestor.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/aggregator/pipeline.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/aggregator/publisher.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/aggregator/synchronizer.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/client/__init__.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/client/auto_streaming/__init__.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/client/auto_streaming/auto_streaming.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/client/auto_streaming/auto_streaming_utils.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/client/client.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/client/client_stream_utils.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/client/client_utils.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/client/frame_comparators.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/client/streaming_gateway/__init__.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/client/streaming_gateway/streaming_gateway.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/client/streaming_gateway/streaming_gateway_utils.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/client/streaming_gateway/streaming_results_handler.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/server/__init__.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/server/inference/__init__.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/server/inference/batch_manager.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/server/inference/cache_manager.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/server/inference/inference_interface.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/server/inference/model_manager.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/server/inference/triton_utils.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/server/proxy/__init__.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/server/proxy/proxy_interface.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/server/proxy/proxy_utils.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/server/server.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/server/stream_worker.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/__init__.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/boundary_drawing_internal/__init__.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/boundary_drawing_internal/boundary_drawing_internal.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/boundary_drawing_internal/boundary_drawing_tool.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/boundary_drawing_internal/example_usage.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/kafka_utils.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/__init__.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/advanced_tracker/__init__.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/advanced_tracker/base.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/advanced_tracker/config.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/advanced_tracker/kalman_filter.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/advanced_tracker/matching.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/advanced_tracker/strack.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/advanced_tracker/tracker.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/config.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/core/__init__.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/core/base.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/core/config.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/core/config_utils.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/processor.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/test_cases/__init__.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/test_cases/run_tests.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/test_cases/test_advanced_customer_service.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/test_cases/test_basic_counting_tracking.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/test_cases/test_comprehensive.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/test_cases/test_config.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/test_cases/test_customer_service.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/test_cases/test_data_generators.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/test_cases/test_people_counting.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/test_cases/test_processor.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/test_cases/test_utilities.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/test_cases/test_utils.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/Histopathological_Cancer_Detection_img.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/__init__.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/abandoned_object_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/advanced_customer_service.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/age_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/anti_spoofing_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/assembly_line_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/banana_defect_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/basic_counting_tracking.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/blood_cancer_detection_img.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/car_damage_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/car_part_segmentation.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/cardiomegaly_classification.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/chicken_pose_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/child_monitoring.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/color_map_utils.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/concrete_crack_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/crop_weed_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/customer_service.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/defect_detection_products.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/distracted_driver_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/drowsy_driver_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/emergency_vehicle_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/face_emotion.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/face_recognition.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/fashion_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/field_mapping.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/fire_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/flare_analysis.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/flower_segmentation.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/gas_leak_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/gender_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/human_activity_recognition.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/intrusion_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/leaf.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/leaf_disease.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/leak_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/license_plate_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/litter_monitoring.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/mask_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/parking.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/parking_space_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/pedestrian_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/people_counting.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/pipeline_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/plaque_segmentation_img.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/pothole_segmentation.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/ppe_compliance.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/price_tag_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/proximity_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/road_lane_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/road_traffic_density.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/road_view_segmentation.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/shelf_inventory_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/shoplifting_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/shopping_cart_analysis.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/skin_cancer_classification_img.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/smoker_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/solar_panel.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/template_usecase.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/theft_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/traffic_sign_monitoring.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/underwater_pollution_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/vehicle_monitoring.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/warehouse_object_segmentation.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/waterbody_segmentation.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/weapon_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/weld_defect_detection.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/windmill_maintenance.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/usecases/wound_segmentation.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/utils/__init__.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/utils/advanced_counting_utils.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/utils/advanced_helper_utils.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/utils/advanced_tracking_utils.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/utils/alerting_utils.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/utils/category_mapping_utils.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/utils/color_utils.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/utils/counting_utils.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/utils/filter_utils.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/utils/format_utils.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/utils/geometry_utils.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/utils/smoothing_utils.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/utils/tracking_utils.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deployment/__init__.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deployment/camera_manager.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deployment/deployment.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deployment/inference_pipeline.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deployment/streaming_gateway_manager.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/docker_utils.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/drift_monitor.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/exported_model.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/local_test.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/metrics_calculator.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/metrics_calculator_oop.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/model_store.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/models.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/pipeline.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/projects.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/rpc.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/scaling.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/session.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/testing.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/token_auth.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/utils.py +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice.egg-info/SOURCES.txt +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice.egg-info/dependency_links.txt +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice.egg-info/requires.txt +0 -0
- {matrice-1.0.99300 → matrice-1.0.99302}/src/matrice.egg-info/top_level.txt +0 -0
@@ -127,8 +127,8 @@ class ColorDetectionUseCase(BaseProcessor):
|
|
127
127
|
self.smoothing_tracker = None # BBoxSmoothingTracker instance
|
128
128
|
self._total_frame_counter = 0 # Total frames processed
|
129
129
|
self._global_frame_offset = 0 # Frame offset for new sessions
|
130
|
-
self._color_total_track_ids =
|
131
|
-
self._color_current_frame_track_ids =
|
130
|
+
self._color_total_track_ids = defaultdict(set) # Cumulative track IDs per category-color
|
131
|
+
self._color_current_frame_track_ids = defaultdict(set) # Per-frame track IDs per category-color
|
132
132
|
|
133
133
|
self._tracking_start_time = None
|
134
134
|
|
@@ -149,8 +149,8 @@ class ColorDetectionUseCase(BaseProcessor):
|
|
149
149
|
|
150
150
|
def reset_color_tracking(self) -> None:
|
151
151
|
"""Reset color tracking state."""
|
152
|
-
self._color_total_track_ids =
|
153
|
-
self._color_current_frame_track_ids =
|
152
|
+
self._color_total_track_ids = defaultdict(set)
|
153
|
+
self._color_current_frame_track_ids = defaultdict(set)
|
154
154
|
self._total_frame_counter = 0
|
155
155
|
self._global_frame_offset = 0
|
156
156
|
self.logger.info("Color tracking state reset")
|
@@ -249,7 +249,13 @@ class ColorDetectionUseCase(BaseProcessor):
|
|
249
249
|
|
250
250
|
def _update_color_tracking_state(self, detections: List[Dict]):
|
251
251
|
"""Track unique track_ids per category and color for total count."""
|
252
|
-
|
252
|
+
# Ensure storage is a defaultdict(set) to allow safe .add()
|
253
|
+
existing_store = getattr(self, '_color_total_track_ids', None)
|
254
|
+
if not isinstance(existing_store, defaultdict):
|
255
|
+
existing_store = {} if existing_store is None else dict(existing_store)
|
256
|
+
self._color_total_track_ids = defaultdict(set, existing_store)
|
257
|
+
else:
|
258
|
+
self._color_total_track_ids = existing_store
|
253
259
|
self._color_current_frame_track_ids = defaultdict(set)
|
254
260
|
for det in detections:
|
255
261
|
cat = det.get('category')
|
@@ -261,8 +267,20 @@ class ColorDetectionUseCase(BaseProcessor):
|
|
261
267
|
self._color_current_frame_track_ids[key].add(track_id)
|
262
268
|
|
263
269
|
def get_total_color_counts(self):
|
264
|
-
"""Return total unique track_id count
|
265
|
-
|
270
|
+
"""Return total unique track_id count per category (across all colors)."""
|
271
|
+
store = getattr(self, '_color_total_track_ids', {})
|
272
|
+
if not isinstance(store, dict):
|
273
|
+
return {}
|
274
|
+
category_to_ids = defaultdict(set)
|
275
|
+
for key, id_set in store.items():
|
276
|
+
if isinstance(key, str) and ':' in key:
|
277
|
+
cat, _ = key.split(':', 1)
|
278
|
+
else:
|
279
|
+
cat = key
|
280
|
+
# Support both set and iterable
|
281
|
+
ids = id_set if isinstance(id_set, set) else set(id_set or [])
|
282
|
+
category_to_ids[cat].update(ids)
|
283
|
+
return {cat: len(ids) for cat, ids in category_to_ids.items()}
|
266
284
|
|
267
285
|
def _get_track_ids_info(self, detections: List[Dict]) -> Dict[str, Any]:
|
268
286
|
"""Get detailed information about track IDs for color detections (per frame)."""
|
@@ -335,9 +353,9 @@ class ColorDetectionUseCase(BaseProcessor):
|
|
335
353
|
if config.target_categories:
|
336
354
|
color_processed_data = [d for d in processed_data if d.get('category') in self.target_categories]
|
337
355
|
self.logger.debug("Applied category filtering")
|
338
|
-
|
339
|
-
|
340
|
-
|
356
|
+
print("-------------------COLOR_PROCESSED_DATA-------------------")
|
357
|
+
print(color_processed_data)
|
358
|
+
print("-------------------COLOR_PROCESSED_DATA-------------------")
|
341
359
|
|
342
360
|
# Step 2.5: Filter to only include target categories
|
343
361
|
# color_processed_data = filter_by_categories(processed_data.copy(), config.target_categories)
|
@@ -697,7 +715,8 @@ class ColorDetectionUseCase(BaseProcessor):
|
|
697
715
|
summary = {
|
698
716
|
"total_count": sum(counts.values()),
|
699
717
|
"per_category_count": counts,
|
700
|
-
"detections": detections
|
718
|
+
"detections": detections,
|
719
|
+
"dominant_colors": {},
|
701
720
|
}
|
702
721
|
print("-------------------summary-------------------")
|
703
722
|
print(summary)
|
@@ -714,12 +733,15 @@ class ColorDetectionUseCase(BaseProcessor):
|
|
714
733
|
|
715
734
|
for category, colors in category_colors.items():
|
716
735
|
if colors:
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
"
|
722
|
-
|
736
|
+
if "dominant_colors" not in summary:
|
737
|
+
summary["dominant_colors"] = {}
|
738
|
+
else:
|
739
|
+
dominant_color = max(colors.items(), key=lambda x: x[1])
|
740
|
+
summary["dominant_colors"][category] = {
|
741
|
+
"color": dominant_color[0],
|
742
|
+
"count": dominant_color[1],
|
743
|
+
"percentage": round((dominant_color[1] / sum(colors.values())) * 100, 1)
|
744
|
+
}
|
723
745
|
print("-------------------summary2-------------------")
|
724
746
|
print(summary)
|
725
747
|
print("-------------------summary2-------------------")
|
@@ -923,7 +945,7 @@ class ColorDetectionUseCase(BaseProcessor):
|
|
923
945
|
# frame_tracking_stats = tracking_stats[0][frame_key]
|
924
946
|
tracking_stats = []
|
925
947
|
|
926
|
-
total_detections = counting_summary.get("
|
948
|
+
total_detections = counting_summary.get("total_count", 0)
|
927
949
|
total_counts = counting_summary.get("total_color_counts", {})
|
928
950
|
cumulative_total = sum(total_counts.values()) if total_counts else 0
|
929
951
|
per_category_count = counting_summary.get("per_category_count", {})
|
@@ -1145,7 +1167,7 @@ class ColorDetectionUseCase(BaseProcessor):
|
|
1145
1167
|
# Use frame number as key, fallback to 'current_frame' if not available
|
1146
1168
|
frame_key = str(frame_number) if frame_number is not None else "current_frame"
|
1147
1169
|
incidents=[]
|
1148
|
-
total_detections = counting_summary.get("
|
1170
|
+
total_detections = counting_summary.get("total_count", 0)
|
1149
1171
|
current_timestamp = self._get_current_timestamp_str(stream_info)
|
1150
1172
|
camera_info = self.get_camera_info_from_stream(stream_info)
|
1151
1173
|
|
@@ -1253,15 +1275,15 @@ class ColorDetectionUseCase(BaseProcessor):
|
|
1253
1275
|
|
1254
1276
|
frame_key = str(frame_number) if frame_number is not None else "current_frame"
|
1255
1277
|
alerts = []
|
1256
|
-
total_detections = summary.get("
|
1257
|
-
total_counts_dict = summary.get("
|
1278
|
+
total_detections = summary.get("total_count", 0) #CURRENT combined total count of all classes
|
1279
|
+
total_counts_dict = summary.get("total_count", {}) #TOTAL cumulative counts per class
|
1258
1280
|
cumulative_total = sum(total_counts_dict.values()) if total_counts_dict else 0 #TOTAL combined cumulative count
|
1259
1281
|
per_category_count = summary.get("per_category_count", {}) #CURRENT count per class
|
1260
1282
|
|
1261
1283
|
if not config.alert_config:
|
1262
1284
|
return alerts
|
1263
1285
|
|
1264
|
-
total = summary.get("
|
1286
|
+
total = summary.get("total_count", 0)
|
1265
1287
|
#self._ascending_alert_list
|
1266
1288
|
if hasattr(config.alert_config, 'count_thresholds') and config.alert_config.count_thresholds:
|
1267
1289
|
|
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.99300 → matrice-1.0.99302}/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
|
File without changes
|
File without changes
|
{matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/augmentation_utils/__init__.py
RENAMED
File without changes
|
{matrice-1.0.99300 → matrice-1.0.99302}/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.99300 → matrice-1.0.99302}/src/matrice/data_processing/data_formats/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/data_processing/data_formats/mscoco_detection.py
RENAMED
File without changes
|
File without changes
|
{matrice-1.0.99300 → matrice-1.0.99302}/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.99300 → matrice-1.0.99302}/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.99300 → matrice-1.0.99302}/src/matrice/data_processing/image_data_augmentation.py
RENAMED
File without changes
|
{matrice-1.0.99300 → matrice-1.0.99302}/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
|
File without changes
|
{matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/client/auto_streaming/__init__.py
RENAMED
File without changes
|
{matrice-1.0.99300 → matrice-1.0.99302}/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.99300 → matrice-1.0.99302}/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.99300 → matrice-1.0.99302}/src/matrice/deploy/server/inference/batch_manager.py
RENAMED
File without changes
|
{matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/server/inference/cache_manager.py
RENAMED
File without changes
|
{matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/server/inference/inference_interface.py
RENAMED
File without changes
|
{matrice-1.0.99300 → matrice-1.0.99302}/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.99300 → matrice-1.0.99302}/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.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/core/__init__.py
RENAMED
File without changes
|
{matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/core/base.py
RENAMED
File without changes
|
{matrice-1.0.99300 → matrice-1.0.99302}/src/matrice/deploy/utils/post_processing/core/config.py
RENAMED
File without changes
|
File without changes
|
{matrice-1.0.99300 → matrice-1.0.99302}/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
|
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
|