uci-uav-forge / uavf_2024

Flight software for Student Unmanned Aerial Systems 2024 competition
MIT License
4 stars 0 forks source link

Fix box xy being saved as top left instead of center #202

Closed EricPedley closed 5 months ago

EricPedley commented 6 months ago

Summary

Shape detector was returning them that way this whole time, but localizer assumes the xy is the center of the target. It was probably like this because the testing data has its labels in top-left xy plus width/height format. I could've also fixed this by converting the top left to center coordinates every time I use the localizer, but I feel like this is cleaner.