matrice 1.0.99297__py3-none-any.whl → 1.0.99299__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- matrice/deploy/utils/post_processing/usecases/abandoned_object_detection.py +1 -1
- matrice/deploy/utils/post_processing/usecases/color_detection.py +6 -0
- {matrice-1.0.99297.dist-info → matrice-1.0.99299.dist-info}/METADATA +1 -1
- {matrice-1.0.99297.dist-info → matrice-1.0.99299.dist-info}/RECORD +7 -7
- {matrice-1.0.99297.dist-info → matrice-1.0.99299.dist-info}/WHEEL +0 -0
- {matrice-1.0.99297.dist-info → matrice-1.0.99299.dist-info}/licenses/LICENSE.txt +0 -0
- {matrice-1.0.99297.dist-info → matrice-1.0.99299.dist-info}/top_level.txt +0 -0
@@ -22,7 +22,7 @@ from ..core.config import BaseConfig, AlertConfig, ZoneConfig
|
|
22
22
|
@dataclass
|
23
23
|
class AbandonedObjectConfig(BaseConfig):
|
24
24
|
"""Configuration for abandoned object detection use case."""
|
25
|
-
enable_smoothing: bool =
|
25
|
+
enable_smoothing: bool = False
|
26
26
|
centroid_threshold: float = 10.0
|
27
27
|
smoothing_algorithm: str = "observability"
|
28
28
|
smoothing_window_size: int = 20
|
@@ -689,6 +689,9 @@ class ColorDetectionUseCase(BaseProcessor):
|
|
689
689
|
"frame_id": record["frame_id"],
|
690
690
|
"main_color": record["main_color"]
|
691
691
|
})
|
692
|
+
print("-------------------category_colors-------------------")
|
693
|
+
print(category_colors)
|
694
|
+
print("-------------------category_colors-------------------")
|
692
695
|
|
693
696
|
self.logger.debug(f"Valid detections after filtering: {len(detections)}")
|
694
697
|
summary = {
|
@@ -696,6 +699,9 @@ class ColorDetectionUseCase(BaseProcessor):
|
|
696
699
|
"per_category_count": counts,
|
697
700
|
"detections": detections
|
698
701
|
}
|
702
|
+
print("-------------------summary-------------------")
|
703
|
+
print(summary)
|
704
|
+
print("-------------------summary-------------------")
|
699
705
|
|
700
706
|
all_colors = defaultdict(int)
|
701
707
|
for category_data in category_colors.values():
|
@@ -157,7 +157,7 @@ matrice/deploy/utils/post_processing/test_cases/test_utilities.py,sha256=lmT5bp5
|
|
157
157
|
matrice/deploy/utils/post_processing/test_cases/test_utils.py,sha256=bfmOT1rr9asv3jpr-p_UrjnnSZ1qEWM2LEqNKkyvJZ8,29370
|
158
158
|
matrice/deploy/utils/post_processing/usecases/Histopathological_Cancer_Detection_img.py,sha256=bHDXxxG3QgWMFZbDuBaJWpkIvxTXsFMTqCPBCFm3SDs,30247
|
159
159
|
matrice/deploy/utils/post_processing/usecases/__init__.py,sha256=aTVBEy8PnIEQdxFKpyB6_bYW5WWed6S2JBkYK57VT2s,9571
|
160
|
-
matrice/deploy/utils/post_processing/usecases/abandoned_object_detection.py,sha256=
|
160
|
+
matrice/deploy/utils/post_processing/usecases/abandoned_object_detection.py,sha256=KF7vSnoJlrVVjeyHg20uCBf6bvrVmncEa0psxTtbsGs,31879
|
161
161
|
matrice/deploy/utils/post_processing/usecases/advanced_customer_service.py,sha256=ELt5euxr6P4X2s8-YGngmj27QscOHefjOsx3774sNFk,75914
|
162
162
|
matrice/deploy/utils/post_processing/usecases/age_detection.py,sha256=yn1LXOgbnOWSMDnsCds6-uN6W-I1Hy4_-AMrjbT5PtY,41318
|
163
163
|
matrice/deploy/utils/post_processing/usecases/anti_spoofing_detection.py,sha256=XdtDdXGzZMLQdWcoOoiE5t4LPYHhgOtJ7tZCNlq1A2E,31329
|
@@ -170,7 +170,7 @@ matrice/deploy/utils/post_processing/usecases/car_part_segmentation.py,sha256=Jb
|
|
170
170
|
matrice/deploy/utils/post_processing/usecases/cardiomegaly_classification.py,sha256=1P6DyOU6R1XKmQ-55BbKMU8CSsm4-wR5wS827UJG2JU,41244
|
171
171
|
matrice/deploy/utils/post_processing/usecases/chicken_pose_detection.py,sha256=-e8di7Am-E-FCQFrSY8qJTO1aWtdRAVJoE-VKBgcyyI,29291
|
172
172
|
matrice/deploy/utils/post_processing/usecases/child_monitoring.py,sha256=z3oymoqq4hDGwA8MkdEONZW_Vx5CAZmvzZaNLsqmCfw,39380
|
173
|
-
matrice/deploy/utils/post_processing/usecases/color_detection.py,sha256=
|
173
|
+
matrice/deploy/utils/post_processing/usecases/color_detection.py,sha256=sD7eVLESIJa3PpqKIWmZO_3zA-eHhj-JnpJDkLscTLM,69800
|
174
174
|
matrice/deploy/utils/post_processing/usecases/color_map_utils.py,sha256=SP-AEVcjLmL8rxblu-ixqUJC2fqlcr7ab4hWo4Fcr_k,2677
|
175
175
|
matrice/deploy/utils/post_processing/usecases/concrete_crack_detection.py,sha256=pxhOH_hG4hq9yytNepbGMdk2W_lTG8D1_2RAagaPBkg,40252
|
176
176
|
matrice/deploy/utils/post_processing/usecases/crop_weed_detection.py,sha256=Ao1k5fJDYU_f6yZ8VO-jW8-esECV0-zY5Q570c_fako,35674
|
@@ -244,8 +244,8 @@ matrice/deployment/camera_manager.py,sha256=e1Lc81RJP5wUWRdTgHO6tMWF9BkBdHOSVyx3
|
|
244
244
|
matrice/deployment/deployment.py,sha256=HFt151eWq6iqIAMsQvurpV2WNxW6Cx_gIUVfnVy5SWE,48093
|
245
245
|
matrice/deployment/inference_pipeline.py,sha256=6b4Mm3-qt-Zy0BeiJfFQdImOn3FzdNCY-7ET7Rp8PMk,37911
|
246
246
|
matrice/deployment/streaming_gateway_manager.py,sha256=ifYGl3g25wyU39HwhPQyI2OgF3M6oIqKMWt8RXtMxY8,21401
|
247
|
-
matrice-1.0.
|
248
|
-
matrice-1.0.
|
249
|
-
matrice-1.0.
|
250
|
-
matrice-1.0.
|
251
|
-
matrice-1.0.
|
247
|
+
matrice-1.0.99299.dist-info/licenses/LICENSE.txt,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
|
248
|
+
matrice-1.0.99299.dist-info/METADATA,sha256=QxU1kKlcowcx_t7yMiUpr7iztv83_gC9NtiLJ7VWOl8,14624
|
249
|
+
matrice-1.0.99299.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
250
|
+
matrice-1.0.99299.dist-info/top_level.txt,sha256=P97js8ur6o5ClRqMH3Cjoab_NqbJ6sOQ3rJmVzKBvMc,8
|
251
|
+
matrice-1.0.99299.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|