Skip to content

Instantly share code, notes, and snippets.

@devyhia
Created June 29, 2019 11:04
Show Gist options
  • Save devyhia/cab4e024e8b3c3e9e76d9f8f61ee5253 to your computer and use it in GitHub Desktop.
Save devyhia/cab4e024e8b3c3e9e76d9f8f61ee5253 to your computer and use it in GitHub Desktop.
Get OpenPose Points of Interest
function bones = getBonesOfInterest()
bones = [
0 1; % Nose - Neck
1 2; % Neck -> Right Shoulder
2 3; % Right Shoulder -> Right Elbow
3 4; % Right Elbow -> Right Wrist
1 5; % Neck -> Left Shoulder
5 6; % Left Shoulder -> Left Elbow
6 7; % Left Elbow -> Left Wrist
1 8; % Neck -> Mid Hip
8 9; % Mid hip -> Right Hip
9 10; % Right Hip -> Right Knee
10 11; % Right Knee -> Right Ankle
8 12; % Mid hip -> Left hip
12 13; % left hip -> left knee
13 14; % Left knee -> left ankle
%0 15; % nose -> right eye
%0 16; % nose -> left eye
%15 17; % right eye -> right ear
%16 18; % left eye -> left ear
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment