Commit Graph

3 Commits

Author SHA1 Message Date
MobKBK
02ceddee95 feat(armor_yolo_detect): add detector mode support with ROI cache
- Add detector_mode parameter for mode selection:
  - HYBRID_SYNC (0): YOLO runs every frame (original behavior)
  - HYBRID_ROI_CACHE (1): YOLO runs every N frames, detection every frame
- Add roi_update_interval parameter (default 5) for ROI cache mode
- Add detector_mode.hpp for mode definitions
- Add AsyncDetector class skeleton for future async mode
- Add debug ROI visualization (blue rectangles)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 18:22:32 +08:00
MobKBK
46bf3c9b52 feat(armor_yolo_detect): hybrid detection with YOLO ROI + traditional vision refinement
- Use YOLO to detect armor ROI regions instead of full image
- Expand ROI by configurable pixels (default 75) for light detection
- Apply traditional binary + light detection within ROI
- Keep YOLO's number classification result
- Use LightCornerCorrector for corner refinement
- Add debug visualization for ROI regions (blue rectangles)
- Compatible input/output with armor_detector node

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 07:27:01 +08:00
ChenYouYuan
52257cf15c init 2026-03-23 06:58:09 +08:00