Skip to content

Instantly share code, notes, and snippets.

@khalidmeister
Created September 5, 2021 03:30
Show Gist options
  • Save khalidmeister/9890d0d195d7962eb810e69736cc3479 to your computer and use it in GitHub Desktop.
Save khalidmeister/9890d0d195d7962eb810e69736cc3479 to your computer and use it in GitHub Desktop.
# Solve PnP
success, rot_vec, trans_vec = cv2.solvePnP(face_3d, face_2d, cam_matrix, dist_matrix)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment