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
yes,
It can be done
Pose consists of the yaw, roll, pitch.
Yaw: Rotation of the head to the left or right (shaking your head 'no').
Pitch: Rotation of the head up or down (nodding your head 'yes').
Roll: Rotation of the head around its central axis (tilting your head to one side).
All the 3 values represents the angles of the face and with that angles we can decide the orientation of the face.
For plotting you can write the function by using cv2 and numpy
here is the sample function cv2.line(image, (x_center, y_center), (int(x_center + scale * np.sin(yaw * np.pi / 180)), int(y_center - scale * np.cos(yaw * np.pi / 180))), (0, 0, 255), 2) # Yaw cv2.line(image, (x_center, y_center), (int(x_center + scale * np.sin(roll * np.pi / 180)), int(y_center + scale * np.cos(roll * np.pi / 180))), (0, 255, 0), 2) # Roll cv2.line(image, (x_center, y_center), (int(x_center + scale * np.sin(pitch * np.pi / 180)), int(y_center - scale * np.cos(pitch * np.pi / 180))), (255, 0, 0), 2) # Pitch
I am unable to understand what are the three outputs of pose. Generally it is [yaw, pitch and roll], but here it is not working.
The text was updated successfully, but these errors were encountered: