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
In the file : dface/core/utils.py.IoU box_area = (box[2] - box[0] + 1) * (box[3] - box[1] + 1) area = (boxes[:, 2] - boxes[:, 0] + 1) * (boxes[:, 3] - boxes[:, 1] + 1)
box_area = (box[2] - box[0] + 1) * (box[3] - box[1] + 1)
area = (boxes[:, 2] - boxes[:, 0] + 1) * (boxes[:, 3] - boxes[:, 1] + 1)
Is there any tircks has been used when calculating the box_area ? why plus 1 ?
for example,the box[1, 1, 2, 2], the area should be 1, not (2-1+1) * (2-1+1) = 4 ?
The text was updated successfully, but these errors were encountered:
The count of pixel
Sorry, something went wrong.
No branches or pull requests
In the file : dface/core/utils.py.IoU
box_area = (box[2] - box[0] + 1) * (box[3] - box[1] + 1)
area = (boxes[:, 2] - boxes[:, 0] + 1) * (boxes[:, 3] - boxes[:, 1] + 1)
Is there any tircks has been used when calculating the box_area ? why plus 1 ?
for example,the box[1, 1, 2, 2], the area should be 1, not (2-1+1) * (2-1+1) = 4 ?
The text was updated successfully, but these errors were encountered: