We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 到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:
No branches or pull requests
由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: