matrice 1.0.99130__py3-none-any.whl → 1.0.99132__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/config.py +2 -0
- matrice/deploy/utils/post_processing/usecases/concrete_crack_detection.py +4 -4
- {matrice-1.0.99130.dist-info → matrice-1.0.99132.dist-info}/METADATA +1 -1
- {matrice-1.0.99130.dist-info → matrice-1.0.99132.dist-info}/RECORD +7 -7
- {matrice-1.0.99130.dist-info → matrice-1.0.99132.dist-info}/WHEEL +0 -0
- {matrice-1.0.99130.dist-info → matrice-1.0.99132.dist-info}/licenses/LICENSE.txt +0 -0
- {matrice-1.0.99130.dist-info → matrice-1.0.99132.dist-info}/top_level.txt +0 -0
@@ -25,6 +25,7 @@ APP_NAME_TO_USECASE = {
|
|
25
25
|
"car_part_segmentation": "car_part_segmentation",
|
26
26
|
"weld_defect_detection" : "weld_defect_detection",
|
27
27
|
"fruit_monitoring" : "fruit_monitoring",
|
28
|
+
"concrete_crack_detection": "concrete_crack_detection",
|
28
29
|
}
|
29
30
|
|
30
31
|
APP_NAME_TO_CATEGORY = {
|
@@ -54,6 +55,7 @@ APP_NAME_TO_CATEGORY = {
|
|
54
55
|
"car_part_segmentation": "automobile",
|
55
56
|
"weld_defect_detection" : "weld",
|
56
57
|
"fruit_monitoring" : "agriculture",
|
58
|
+
"concrete_crack_detection": "general",
|
57
59
|
}
|
58
60
|
|
59
61
|
def get_usecase_from_app_name(app_name: str) -> str:
|
@@ -399,7 +399,7 @@ class ConcreteCrackUseCase(BaseProcessor):
|
|
399
399
|
# Create high precision timestamps for input_timestamp and reset_timestamp
|
400
400
|
high_precision_start_timestamp = self._get_current_timestamp_str(stream_info, precision=True)
|
401
401
|
high_precision_reset_timestamp = self._get_start_timestamp_str(stream_info, precision=True)
|
402
|
-
|
402
|
+
print(counting_summary)
|
403
403
|
|
404
404
|
# Build total_counts array in expected format
|
405
405
|
total_counts = []
|
@@ -409,7 +409,7 @@ class ConcreteCrackUseCase(BaseProcessor):
|
|
409
409
|
"category": cat,
|
410
410
|
"count": count
|
411
411
|
})
|
412
|
-
|
412
|
+
print(total_counts)
|
413
413
|
# Build current_counts array in expected format
|
414
414
|
current_counts = []
|
415
415
|
for cat, count in per_category_count.items():
|
@@ -418,7 +418,7 @@ class ConcreteCrackUseCase(BaseProcessor):
|
|
418
418
|
"category": cat,
|
419
419
|
"count": count
|
420
420
|
})
|
421
|
-
|
421
|
+
print(current_counts)
|
422
422
|
# Prepare detections without confidence scores (as per eg.json)
|
423
423
|
detections = []
|
424
424
|
for detection in counting_summary.get("detections", []):
|
@@ -450,7 +450,7 @@ class ConcreteCrackUseCase(BaseProcessor):
|
|
450
450
|
getattr(config.alert_config, 'alert_value', ['JSON']) if hasattr(config.alert_config, 'alert_value') else ['JSON'])
|
451
451
|
}
|
452
452
|
})
|
453
|
-
|
453
|
+
|
454
454
|
# Generate human_text in expected format
|
455
455
|
human_text_lines = [f"Tracking Statistics:"]
|
456
456
|
human_text_lines.append(f"CURRENT FRAME @ {current_timestamp}")
|
@@ -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=QaVlnp8KYxWlFabtX4dcZzGHcNL_Wf1E1usnd67sCKY,22862
|
130
|
-
matrice/deploy/utils/post_processing/config.py,sha256=
|
130
|
+
matrice/deploy/utils/post_processing/config.py,sha256=g85b0F2RSWJbczlmaX-9vgxWd9RC3zvzaHLT7jofOjA,2977
|
131
131
|
matrice/deploy/utils/post_processing/processor.py,sha256=_tRjlZH-HEAwT0bHDCcXkbP6Hmx0m8DD1NMmYh4xMs0,30414
|
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
|
@@ -166,7 +166,7 @@ matrice/deploy/utils/post_processing/usecases/chicken_pose_detection.py,sha256=-
|
|
166
166
|
matrice/deploy/utils/post_processing/usecases/child_monitoring.py,sha256=cWYDTXca0hci8k7rHNYfwzoByeGIeJ-d4tESwTnRXa0,38807
|
167
167
|
matrice/deploy/utils/post_processing/usecases/color_detection.py,sha256=Z8-akjy8a7f8YyiOzXu_Zi1Km30v-TRrymDqQOPpJ_8,43277
|
168
168
|
matrice/deploy/utils/post_processing/usecases/color_map_utils.py,sha256=SP-AEVcjLmL8rxblu-ixqUJC2fqlcr7ab4hWo4Fcr_k,2677
|
169
|
-
matrice/deploy/utils/post_processing/usecases/concrete_crack_detection.py,sha256=
|
169
|
+
matrice/deploy/utils/post_processing/usecases/concrete_crack_detection.py,sha256=gz6uNgxwyJiB26zMUW-QBWMrP848co_SKwR__16cZcc,39359
|
170
170
|
matrice/deploy/utils/post_processing/usecases/crop_weed_detection.py,sha256=i7BWhC-D7liOg9fzFHFg_upd1fdvXlVHYzDRyHL-AdM,40322
|
171
171
|
matrice/deploy/utils/post_processing/usecases/customer_service.py,sha256=UWS83qxguyAyhh8a0JF5QH9DtKxO8I-gI2BPOjLPxBw,44642
|
172
172
|
matrice/deploy/utils/post_processing/usecases/defect_detection_products.py,sha256=flvTWv6vxa3q4zXD8_e8TW0pqNE5z3LIuvU9ceVKuXg,34481
|
@@ -225,8 +225,8 @@ matrice/deployment/camera_manager.py,sha256=ReBZqm1CNXRImKcbcZ4uWAT3TUWkof1D28oB
|
|
225
225
|
matrice/deployment/deployment.py,sha256=PLIUD-PxTaC2Zxb3Y12wUddsryV-OJetjCjLoSUh7S4,48103
|
226
226
|
matrice/deployment/inference_pipeline.py,sha256=bXLgd29ViA7o0c7YWLFJl1otBUQfTPb61jS6VawQB0Y,37918
|
227
227
|
matrice/deployment/streaming_gateway_manager.py,sha256=w5swGsuFVfZIdOm2ZuBHRHlRdYYJMLopLsf2gb91lQ8,20946
|
228
|
-
matrice-1.0.
|
229
|
-
matrice-1.0.
|
230
|
-
matrice-1.0.
|
231
|
-
matrice-1.0.
|
232
|
-
matrice-1.0.
|
228
|
+
matrice-1.0.99132.dist-info/licenses/LICENSE.txt,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
|
229
|
+
matrice-1.0.99132.dist-info/METADATA,sha256=dz62whFxWy17DDaMQBQrFJMg_zsLCJ3F1mI467xLxlQ,14624
|
230
|
+
matrice-1.0.99132.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
231
|
+
matrice-1.0.99132.dist-info/top_level.txt,sha256=P97js8ur6o5ClRqMH3Cjoab_NqbJ6sOQ3rJmVzKBvMc,8
|
232
|
+
matrice-1.0.99132.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|