Closed kapsyst closed 1 year ago
https://github.com/hollance/BlazeFace-PyTorch/blob/852bfd8e3d44ed6775761105bdcead4ef389a538/blazeface.py#L450
I may be reading it wrong, but are the lines used to calculate max_xy using the box dimensions, when they should be using the boxes max x/y coordinates?
max_xy
A box is defined as [min_x, min_y, dim_x, dim_y], is it not?
[min_x, min_y, dim_x, dim_y]
My bad, I was confusing decoded boxes with raw boxes: https://github.com/hollance/BlazeFace-PyTorch/blob/852bfd8e3d44ed6775761105bdcead4ef389a538/blazeface.py#L365 Makes sense now!
https://github.com/hollance/BlazeFace-PyTorch/blob/852bfd8e3d44ed6775761105bdcead4ef389a538/blazeface.py#L450
I may be reading it wrong, but are the lines used to calculate
max_xy
using the box dimensions, when they should be using the boxes max x/y coordinates?A box is defined as
[min_x, min_y, dim_x, dim_y]
, is it not?