Skip to content

Instantly share code, notes, and snippets.

@poweic
Created July 19, 2019 17:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save poweic/4290311e641acf96deb165c5f5558c82 to your computer and use it in GitHub Desktop.
Save poweic/4290311e641acf96deb165c5f5558c82 to your computer and use it in GitHub Desktop.
leap motion
Frame id: 714, timestamp: 1563558646180371, hands: 1, fingers: 5, tools: 0, gestures: 0
Right hand, id 1, position: (27.0209, 199.338, 144.782)
pitch: 34.333859 degrees, roll: -11.224934 degrees, yaw: 5.460586 degrees
Arm direction: (0.231353, 0.40452, -0.884782), wrist position: (30.8451, 171.972, 190.071), elbow position: (-29.7334, 66.0506, 421.746)
Thumb finger, id: 10, length: 50.542061mm, width: 19.638296mm
Bone: Metacarpal, start: (1.70232, 166.527, 187.598), end: (1.70232, 166.527, 187.598), direction: (0, 0, 0)
Bone: Proximal, start: (1.70232, 166.527, 187.598), end: (-27.2441, 180.504, 151.401), direction: (0.597947, -0.28873, 0.747726)
Bone: Intermediate, start: (-27.2441, 180.504, 151.401), end: (-39.3076, 187.096, 121.328), direction: (0.364834, -0.199364, 0.909478)
Bone: Distal, start: (-39.3076, 187.096, 121.328), end: (-42.346, 189.514, 98.9661), direction: (0.133868, -0.106497, 0.98526)
Index finger, id: 11, length: 57.031078mm, width: 18.758501mm
Bone: Metacarpal, start: (13.2552, 186.3, 189.602), end: (5.37563, 218.951, 126.655), direction: (0.110439, -0.457635, 0.882255)
Bone: Proximal, start: (5.37563, 218.951, 126.655), end: (4.55409, 246.229, 95.1727), direction: (0.0197179, -0.654714, 0.75562)
Bone: Intermediate, start: (4.55409, 246.229, 95.1727), end: (2.4199, 251.389, 72.407), direction: (0.0910483, -0.220102, 0.971219)
Bone: Distal, start: (2.4199, 251.389, 72.407), end: (0.173586, 248.034, 56.337), direction: (0.135569, 0.202485, 0.969856)
Middle finger, id: 12, length: 64.982338mm, width: 18.423340mm
Bone: Metacarpal, start: (25.0464, 187.082, 187.884), end: (26.7352, 216.932, 127.187), direction: (-0.0249593, -0.441169, 0.897077)
Bone: Proximal, start: (26.7352, 216.932, 127.187), end: (36.6508, 249.336, 94.9896), direction: (-0.212125, -0.693224, 0.688799)
Bone: Intermediate, start: (36.6508, 249.336, 94.9896), end: (38.7014, 258.33, 69.0009), direction: (-0.0743582, -0.326146, 0.942391)
Bone: Distal, start: (38.7014, 258.33, 69.0009), end: (37.5366, 257.125, 50.8538), direction: (0.0639145, 0.0661397, 0.995761)
Ring finger, id: 13, length: 62.482250mm, width: 17.530975mm
Bone: Metacarpal, start: (36.5983, 184.729, 186.161), end: (47.0967, 209.671, 131.774), direction: (-0.17282, -0.410577, 0.895299)
Bone: Proximal, start: (47.0967, 209.671, 131.774), end: (57.8977, 239.66, 102.423), direction: (-0.249273, -0.69212, 0.677372)
Bone: Intermediate, start: (57.8977, 239.66, 102.423), end: (60.4196, 249.574, 77.5818), direction: (-0.0938734, -0.369007, 0.924674)
Bone: Distal, start: (60.4196, 249.574, 77.5818), end: (59.3098, 249.907, 59.4993), direction: (0.0612475, -0.0183817, 0.997953)
Pinky finger, id: 14, length: 48.984928mm, width: 15.572383mm
Bone: Metacarpal, start: (46.597, 175.562, 183.612), end: (64.2393, 198.53, 135.41), direction: (-0.313732, -0.408442, 0.857174)
Bone: Proximal, start: (64.2393, 198.53, 135.41), end: (82.0355, 218.647, 114.091), direction: (-0.518976, -0.586652, 0.621694)
Bone: Intermediate, start: (82.0355, 218.647, 114.091), end: (88.2129, 224.474, 97.1305), direction: (-0.325674, -0.30719, 0.894187)
Bone: Distal, start: (88.2129, 224.474, 97.1305), end: (89.8757, 224.583, 80.4976), direction: (-0.099474, -0.00653396, 0.995019)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment