-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
有关coco_box_to_bbox这个函数的问题 #56
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
由coco box 到bbox的转换如果是正框的话可以这样算:
def coco_box_to_bbox(box):
bbox = np.array([box[0]- box[2]/2, box[1] - box[3]/2,
box[0] + box[2]/2, box[1] + box[3]/2],
dtype=np.float32)
ang = float(box[4])
但是如果是旋转框的话,就不能这样算了吧?
The text was updated successfully, but these errors were encountered: