HRNet-Facial-Landmark-Detection
HRNet-Facial-Landmark-Detection copied to clipboard
Question about flipping data.
https://github.com/HRNet/HRNet-Facial-Landmark-Detection/blob/81ae5410222b870b466895de50b43b96c19efbcf/lib/utils/transforms.py#L40
For instance, when flipping (0, 0) point in 3x3 image, the result should be (3-1-0, 0). So I think x[:, 0] = width -1 - x[:, 0]
maybe better. Is that right? Thx.
rigth
I found I make a mistake, x[:, 0] = width - x[:, 0] is right.