ChenYouYuan 084e035a58 fix(armor_yolo_detect): pass full image to correctCorners for ROI detection
In processROIs, armor coordinates are converted to global image
coordinates before calling correctCorners. However, the function was
incorrectly receiving roi_gray (ROI local image) instead of the full
input image, causing coordinate system mismatch in findSymmetryAxis.

This fixes corner refinement accuracy when using fitLine-based light
detection in ROI-cached detection modes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 22:24:04 +08:00
Description
No description provided
46 MiB
Languages
C++ 38.3%
C 23.2%
Makefile 17.6%
CMake 12.7%
Python 4.9%
Other 3.2%