mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
This commit restructures the ml.postprocessing module for better organization: - Moved common utility functions (logit, sigmoid, threshold, quantize, dequantize, mod) from postprocessing.py to utils.py to avoid duplication - Created vendor-specific subpackages: - ultralytics.py: YoloV2, YoloLC, YoloV5, YoloV8 classes - edgeimpulse.py: Fomo class - mediapipe.py: BlazeFace class - Converted postprocessing.py file to postprocessing/ package directory - Updated all class names to follow PascalCase convention - Maintained full backwards compatibility via aliased imports in __init__.py New usage: from ml.postprocessing import ultralytics ultralytics.YoloV2() Backwards compatible: from ml.postprocessing import yolo_v2_postprocess Signed-off-by: iabdalkader <i.abdalkader@gmail.com> |
||
|---|---|---|
| .. | ||
| examples | ||
| libraries | ||
| unittest | ||