ultralytics / ultralytics

Ultralytics YOLO11 🚀
https://docs.ultralytics.com
GNU Affero General Public License v3.0
31.61k stars 6.07k forks source link

The definition of the angle about yolov8-obb #15677

Open ProgrammerZhujinming opened 2 months ago

ProgrammerZhujinming commented 2 months ago

Search before asking

Question

Hi. You know, when we use yolov8-obb to detect something, it will give us angles. However, a question is that I don't know the definition of the angle.In another word, when I tried to use the angle output of yolov8-obb to control the robotic arms, I don't know how to transform the angle to a new format that the robotic arms need. And, under my observation, I found that the model could output some value that bigger than 1 or smaller than -1. So, could you help me?

Additional

No response

glenn-jocher commented 2 months ago

@ProgrammerZhujinming the angle output from YOLOv8-OBB represents the rotation of the bounding box in radians. If you encounter values outside the typical range of -π to π, ensure your post-processing correctly interprets these angles. For transforming these angles to your robotic arm's format, you may need to convert radians to degrees or another required unit. If the issue persists, please verify with the latest package version.