You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have come to understand that this adjustment (src[:, 0] += 8.0) is made when resizing for images of size 112x112, as opposed to the default size of 112x96. However, I have the following questions:
Why is the horizontal adjustment specifically +8.0? Since 96 + 8 = 104, it doesn’t fully align with 112. Could you clarify the reasoning behind this choice?
If I need to adapt this logic for images of size 512x512, how should the src values and adjustments be scaled? Is it simply a linear scaling by a factor of 512 X 512, or is there additional logic to consider?
How were the original src values determined? Were they derived from statistical averages of keypoints across a specific dataset, or do they originate from a standard alignment template? I would greatly appreciate an explanation of the mathematical principles involved. Additionally, if possible, could you provide a reference or source for this information?
Any clarification or guidance on these points would be greatly appreciated. Thank you for your time and for maintaining this repository!
The text was updated successfully, but these errors were encountered:
Why is the horizontal adjustment specifically +8.0? Since 96 + 8 = 104, it doesn’t fully align with 112.
Translating it right by 8 means that a 96-wide image is centered within 112 with padding of 8 on the left and padding of 8 on the right. Or in other words, left(8) + image(96) + right(8) = 112.
Why is the horizontal adjustment specifically +8.0? Since 96 + 8 = 104, it doesn’t fully align with 112.
Translating it right by 8 means that a 96-wide image is centered within 112 with padding of 8 on the left and padding of 8 on the right. Or in other words, left(8) + image(96) + right(8) = 112.
Hello ! First of all, congratulations for such amazing work so far.
I have a few questions regarding the logic used for adapting landmarks to different image sizes in the following code snippet:
I have come to understand that this adjustment (src[:, 0] += 8.0) is made when resizing for images of size 112x112, as opposed to the default size of 112x96. However, I have the following questions:
Any clarification or guidance on these points would be greatly appreciated. Thank you for your time and for maintaining this repository!
The text was updated successfully, but these errors were encountered: