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
In main.py line 88, the frame was resized with pad. When the output was restored in line 137 and 155, the padding was not considered. You can look tfhub for more.Here is a solution:
if x > y:
new_keypoints = np.squeeze(np.multiply(keypoints_with_scores, np.array([x, x, 1])))
new_keypoints[:, 0] -= (x - y) * 0.5
else:
new_keypoints = np.squeeze(np.multiply(keypoints_with_scores, np.array([y, y, 1])))
new_keypoints[:, 0] -= (y - x) * 0.5
Great job!
Nose, eyes and ears are mispositioned
How to correct it please?
The text was updated successfully, but these errors were encountered: