Advertisement
Guest User

leapMotion frame

a guest
Oct 18th, 2016
311
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.23 KB | None | 0 0
  1. Leap WebSocket JSON Viewer
  2.  
  3. Resume Pause on gesture
  4. WebSocket connection open!
  5. Last WebSocket event:
  6.  
  7. {
  8. "currentFrameRate": 0,
  9. "devices": [],
  10. "gestures": [],
  11. "hands": [],
  12. "id": 0,
  13. "interactionBox": {
  14. "center": [
  15. 0,
  16. 200,
  17. 0
  18. ],
  19. "size": [
  20. 235.247,
  21. 235.247,
  22. 147.751
  23. ]
  24. },
  25. "pointables": [],
  26. "r": [
  27. [
  28. 1,
  29. 0,
  30. 0
  31. ],
  32. [
  33. 0,
  34. 1,
  35. 0
  36. ],
  37. [
  38. 0,
  39. 0,
  40. 1
  41. ]
  42. ],
  43. "s": 1,
  44. "t": [
  45. 0,
  46. 0,
  47. 0
  48. ],
  49. "timestamp": 236771514099
  50. }
  51. JSON Frame data:
  52.  
  53. {
  54. "currentFrameRate": 110.845,
  55. "devices": [],
  56. "gestures": [],
  57. "hands": [
  58. {
  59. "armBasis": [
  60. [
  61. -0.709771,
  62. 0.0291785,
  63. -0.703828
  64. ],
  65. [
  66. 0.133888,
  67. 0.986517,
  68. -0.0941205
  69. ],
  70. [
  71. -0.691592,
  72. 0.161038,
  73. 0.704108
  74. ]
  75. ],
  76. "armWidth": 63.55,
  77. "confidence": 0.98494,
  78. "direction": [
  79. 0.245866,
  80. 0.534613,
  81. -0.808541
  82. ],
  83. "elbow": [
  84. -232.876,
  85. 143.868,
  86. 304.861
  87. ],
  88. "grabStrength": 0,
  89. "id": 2,
  90. "palmNormal": [
  91. 0.0292828,
  92. -0.837862,
  93. -0.545096
  94. ],
  95. "palmPosition": [
  96. -25.9111,
  97. 124.847,
  98. 71.0508
  99. ],
  100. "palmVelocity": [
  101. -0.30963,
  102. -1.88169,
  103. -0.271271
  104. ],
  105. "palmWidth": 90.7472,
  106. "pinchStrength": 0,
  107. "r": [
  108. [
  109. 0.914239,
  110. -0.111662,
  111. -0.389485
  112. ],
  113. [
  114. 0.125559,
  115. 0.992033,
  116. 0.0103168
  117. ],
  118. [
  119. 0.385229,
  120. -0.0583351,
  121. 0.920975
  122. ]
  123. ],
  124. "s": 1.392,
  125. "sphereCenter": [
  126. -37.361,
  127. -119.627,
  128. -77.0083
  129. ],
  130. "sphereRadius": 287.082,
  131. "stabilizedPalmPosition": [
  132. -24.567,
  133. 123.161,
  134. 73.8925
  135. ],
  136. "t": [
  137. -33.674,
  138. -13.776,
  139. -14.7365
  140. ],
  141. "timeVisible": 6.4171,
  142. "type": "left",
  143. "wrist": [
  144. -46.6443,
  145. 100.504,
  146. 115.259
  147. ]
  148. }
  149. ],
  150. "id": 1164,
  151. "interactionBox": {
  152. "center": [
  153. 0,
  154. 200,
  155. 0
  156. ],
  157. "size": [
  158. 235.247,
  159. 235.247,
  160. 147.751
  161. ]
  162. },
  163. "pointables": [
  164. {
  165. "bases": [
  166. [
  167. [
  168. -0.368082,
  169. 0.898129,
  170. 0.240582
  171. ],
  172. [
  173. 0.670685,
  174. 0.0772589,
  175. 0.737707
  176. ],
  177. [
  178. -0.643969,
  179. -0.432892,
  180. 0.6308
  181. ]
  182. ],
  183. [
  184. [
  185. -0.200879,
  186. 0.976313,
  187. 0.0803815
  188. ],
  189. [
  190. 0.61794,
  191. 0.0626174,
  192. 0.783728
  193. ],
  194. [
  195. -0.76013,
  196. -0.207106,
  197. 0.615881
  198. ]
  199. ],
  200. [
  201. [
  202. -0.200879,
  203. 0.976313,
  204. 0.0803815
  205. ],
  206. [
  207. 0.70322,
  208. 0.08659,
  209. 0.705679
  210. ],
  211. [
  212. -0.682003,
  213. -0.198282,
  214. 0.703957
  215. ]
  216. ],
  217. [
  218. [
  219. -0.200879,
  220. 0.976313,
  221. 0.0803815
  222. ],
  223. [
  224. 0.49943,
  225. 0.0314779,
  226. 0.865782
  227. ],
  228. [
  229. -0.842744,
  230. -0.214063,
  231. 0.493923
  232. ]
  233. ]
  234. ],
  235. "btipPosition": [
  236. 61.0832,
  237. 108.567,
  238. 52.3213
  239. ],
  240. "carpPosition": [
  241. -19.6213,
  242. 86.5176,
  243. 118.449
  244. ],
  245. "dipPosition": [
  246. 41.4126,
  247. 103.571,
  248. 63.8501
  249. ],
  250. "direction": [
  251. 0.682003,
  252. 0.198282,
  253. -0.703957
  254. ],
  255. "extended": true,
  256. "handId": 2,
  257. "id": 20,
  258. "length": 51.9773,
  259. "mcpPosition": [
  260. -19.6213,
  261. 86.5176,
  262. 118.449
  263. ],
  264. "pipPosition": [
  265. 18.2213,
  266. 96.8282,
  267. 87.7879
  268. ],
  269. "stabilizedTipPosition": [
  270. 60.9318,
  271. 106.179,
  272. 60.6019
  273. ],
  274. "timeVisible": 6.4171,
  275. "tipPosition": [
  276. 56.5508,
  277. 107.338,
  278. 54.9175
  279. ],
  280. "tipVelocity": [
  281. -0.214983,
  282. 0.165124,
  283. 0.692741
  284. ],
  285. "tool": false,
  286. "touchDistance": 0.0409706,
  287. "touchZone": "hovering",
  288. "type": 0,
  289. "width": 20.196
  290. },
  291. {
  292. "bases": [
  293. [
  294. [
  295. -0.913826,
  296. 0.19854,
  297. -0.354266
  298. ],
  299. [
  300. 0.0311264,
  301. 0.904023,
  302. 0.426349
  303. ],
  304. [
  305. -0.404912,
  306. -0.378582,
  307. 0.832299
  308. ]
  309. ],
  310. [
  311. [
  312. -0.966529,
  313. 0.135904,
  314. -0.217606
  315. ],
  316. [
  317. 0.0727478,
  318. 0.958537,
  319. 0.275527
  320. ],
  321. [
  322. -0.246029,
  323. -0.250475,
  324. 0.93634
  325. ]
  326. ],
  327. [
  328. [
  329. -0.966529,
  330. 0.135904,
  331. -0.217606
  332. ],
  333. [
  334. 0.0965018,
  335. 0.978465,
  336. 0.182466
  337. ],
  338. [
  339. -0.237718,
  340. -0.15536,
  341. 0.958829
  342. ]
  343. ],
  344. [
  345. [
  346. -0.966529,
  347. 0.135904,
  348. -0.217606
  349. ],
  350. [
  351. 0.113896,
  352. 0.987303,
  353. 0.110727
  354. ],
  355. [
  356. -0.229891,
  357. -0.0822359,
  358. 0.969736
  359. ]
  360. ]
  361. ],
  362. "btipPosition": [
  363. 24.5374,
  364. 153.106,
  365. -22.1589
  366. ],
  367. "carpPosition": [
  368. -25.3618,
  369. 109.45,
  370. 118.667
  371. ],
  372. "dipPosition": [
  373. 20.62,
  374. 151.705,
  375. -5.63455
  376. ],
  377. "direction": [
  378. 0.237718,
  379. 0.15536,
  380. -0.958829
  381. ],
  382. "extended": true,
  383. "handId": 2,
  384. "id": 21,
  385. "length": 58.6506,
  386. "mcpPosition": [
  387. 4.34787,
  388. 137.228,
  389. 57.5989
  390. ],
  391. "pipPosition": [
  392. 14.8896,
  393. 147.96,
  394. 17.4789
  395. ],
  396. "stabilizedTipPosition": [
  397. 25.2766,
  398. 148.665,
  399. -15.133
  400. ],
  401. "timeVisible": 6.4171,
  402. "tipPosition": [
  403. 23.5975,
  404. 152.403,
  405. -18.436
  406. ],
  407. "tipVelocity": [
  408. 0.268922,
  409. -0.159411,
  410. 0.606803
  411. ],
  412. "tool": false,
  413. "touchDistance": 0.00809901,
  414. "touchZone": "hovering",
  415. "type": 1,
  416. "width": 19.2912
  417. },
  418. {
  419. "bases": [
  420. [
  421. [
  422. -0.951956,
  423. -0.0114754,
  424. -0.306018
  425. ],
  426. [
  427. -0.132712,
  428. 0.916043,
  429. 0.378488
  430. ],
  431. [
  432. -0.275983,
  433. -0.400916,
  434. 0.873556
  435. ]
  436. ],
  437. [
  438. [
  439. -0.977856,
  440. -0.0586654,
  441. -0.200887
  442. ],
  443. [
  444. -0.125871,
  445. 0.931743,
  446. 0.340603
  447. ],
  448. [
  449. -0.167194,
  450. -0.358347,
  451. 0.918495
  452. ]
  453. ],
  454. [
  455. [
  456. -0.977856,
  457. -0.0586654,
  458. -0.200887
  459. ],
  460. [
  461. -0.116902,
  462. 0.949303,
  463. 0.291817
  464. ],
  465. [
  466. -0.173583,
  467. -0.308839,
  468. 0.93514
  469. ]
  470. ],
  471. [
  472. [
  473. -0.977856,
  474. -0.0586654,
  475. -0.200887
  476. ],
  477. [
  478. -0.109587,
  479. 0.961318,
  480. 0.252702
  481. ],
  482. [
  483. -0.178292,
  484. -0.269121,
  485. 0.94646
  486. ]
  487. ]
  488. ],
  489. "btipPosition": [
  490. -0.667428,
  491. 172.544,
  492. -34.5982
  493. ],
  494. "carpPosition": [
  495. -36.1726,
  496. 113.619,
  497. 114.599
  498. ],
  499. "dipPosition": [
  500. -4.00895,
  501. 167.501,
  502. -16.8598
  503. ],
  504. "direction": [
  505. 0.173583,
  506. 0.308839,
  507. -0.93514
  508. ],
  509. "extended": true,
  510. "handId": 2,
  511. "id": 22,
  512. "length": 66.8276,
  513. "mcpPosition": [
  514. -16.9692,
  515. 141.515,
  516. 53.815
  517. ],
  518. "pipPosition": [
  519. -8.93186,
  520. 158.742,
  521. 9.6613
  522. ],
  523. "stabilizedTipPosition": [
  524. 0.0725331,
  525. 166.401,
  526. -28.5432
  527. ],
  528. "timeVisible": 6.4171,
  529. "tipPosition": [
  530. -1.44251,
  531. 170.952,
  532. -30.6605
  533. ],
  534. "tipVelocity": [
  535. 0.521677,
  536. -0.335312,
  537. 0.661376
  538. ],
  539. "tool": false,
  540. "touchDistance": 0.0806355,
  541. "touchZone": "hovering",
  542. "type": 2,
  543. "width": 18.9465
  544. },
  545. {
  546. "bases": [
  547. [
  548. [
  549. -0.969463,
  550. -0.139371,
  551. -0.201788
  552. ],
  553. [
  554. -0.209116,
  555. 0.899635,
  556. 0.383311
  557. ],
  558. [
  559. -0.128113,
  560. -0.413803,
  561. 0.901307
  562. ]
  563. ],
  564. [
  565. [
  566. -0.974332,
  567. -0.158271,
  568. -0.160084
  569. ],
  570. [
  571. -0.199228,
  572. 0.937335,
  573. 0.285854
  574. ],
  575. [
  576. -0.10481,
  577. -0.31041,
  578. 0.944807
  579. ]
  580. ],
  581. [
  582. [
  583. -0.974332,
  584. -0.158271,
  585. -0.160084
  586. ],
  587. [
  588. -0.192848,
  589. 0.953684,
  590. 0.230861
  591. ],
  592. [
  593. -0.116131,
  594. -0.255808,
  595. 0.959727
  596. ]
  597. ],
  598. [
  599. [
  600. -0.974332,
  601. -0.158271,
  602. -0.160084
  603. ],
  604. [
  605. -0.187471,
  606. 0.964153,
  607. 0.187784
  608. ],
  609. [
  610. -0.124625,
  611. -0.212975,
  612. 0.969077
  613. ]
  614. ]
  615. ],
  616. "btipPosition": [
  617. -29.4676,
  618. 165.349,
  619. -32.4888
  620. ],
  621. "carpPosition": [
  622. -47.6723,
  623. 114.63,
  624. 110.493
  625. ],
  626. "dipPosition": [
  627. -31.7899,
  628. 161.38,
  629. -14.4309
  630. ],
  631. "direction": [
  632. 0.116131,
  633. 0.255808,
  634. -0.959727
  635. ],
  636. "extended": true,
  637. "handId": 2,
  638. "id": 23,
  639. "length": 64.2565,
  640. "mcpPosition": [
  641. -39.6688,
  642. 140.481,
  643. 54.1855
  644. ],
  645. "pipPosition": [
  646. -34.9984,
  647. 154.313,
  648. 12.0845
  649. ],
  650. "stabilizedTipPosition": [
  651. -28.916,
  652. 160.31,
  653. -26.792
  654. ],
  655. "timeVisible": 6.4171,
  656. "tipPosition": [
  657. -29.9905,
  658. 164,
  659. -28.4479
  660. ],
  661. "tipVelocity": [
  662. 0.524259,
  663. -0.264291,
  664. 0.345449
  665. ],
  666. "tool": false,
  667. "touchDistance": 0.105846,
  668. "touchZone": "hovering",
  669. "type": 3,
  670. "width": 18.0288
  671. },
  672. {
  673. "bases": [
  674. [
  675. [
  676. -0.929807,
  677. -0.333044,
  678. -0.156657
  679. ],
  680. [
  681. -0.367849,
  682. 0.826889,
  683. 0.425372
  684. ],
  685. [
  686. 0.0121301,
  687. -0.45314,
  688. 0.891357
  689. ]
  690. ],
  691. [
  692. [
  693. -0.864754,
  694. -0.472381,
  695. 0.170459
  696. ],
  697. [
  698. -0.387013,
  699. 0.843158,
  700. 0.373236
  701. ],
  702. [
  703. 0.320034,
  704. -0.256788,
  705. 0.911942
  706. ]
  707. ],
  708. [
  709. [
  710. -0.864754,
  711. -0.472381,
  712. 0.170459
  713. ],
  714. [
  715. -0.402127,
  716. 0.854655,
  717. 0.328418
  718. ],
  719. [
  720. 0.300822,
  721. -0.215454,
  722. 0.929024
  723. ]
  724. ],
  725. [
  726. [
  727. -0.864754,
  728. -0.472381,
  729. 0.170459
  730. ],
  731. [
  732. -0.413338,
  733. 0.86227,
  734. 0.292648
  735. ],
  736. [
  737. 0.285223,
  738. -0.182612,
  739. 0.940904
  740. ]
  741. ]
  742. ],
  743. "btipPosition": [
  744. -82.2692,
  745. 151.047,
  746. -12.3152
  747. ],
  748. "carpPosition": [
  749. -59.5106,
  750. 108.444,
  751. 105.689
  752. ],
  753. "dipPosition": [
  754. -77.366,
  755. 147.908,
  756. 3.85966
  757. ],
  758. "direction": [
  759. -0.300822,
  760. 0.215454,
  761. -0.929024
  762. ],
  763. "extended": true,
  764. "handId": 2,
  765. "id": 24,
  766. "length": 50.3759,
  767. "mcpPosition": [
  768. -60.212,
  769. 134.65,
  770. 54.1413
  771. ],
  772. "pipPosition": [
  773. -71.498,
  774. 143.705,
  775. 21.9818
  776. ],
  777. "stabilizedTipPosition": [
  778. -78.9833,
  779. 145.455,
  780. -8.22667
  781. ],
  782. "timeVisible": 6.4171,
  783. "tipPosition": [
  784. -81.019,
  785. 149.934,
  786. -8.71705
  787. ],
  788. "tipVelocity": [
  789. 0.459183,
  790. 0.0801495,
  791. -0.154089
  792. ],
  793. "tool": false,
  794. "touchDistance": 0.214399,
  795. "touchZone": "hovering",
  796. "type": 4,
  797. "width": 16.0146
  798. }
  799. ],
  800. "r": [
  801. [
  802. 0.914239,
  803. -0.111662,
  804. -0.389485
  805. ],
  806. [
  807. 0.125559,
  808. 0.992033,
  809. 0.0103168
  810. ],
  811. [
  812. 0.385229,
  813. -0.0583351,
  814. 0.920975
  815. ]
  816. ],
  817. "s": 1.392,
  818. "t": [
  819. -33.674,
  820. -13.776,
  821. -14.7365
  822. ],
  823. "timestamp": 236783203624
  824. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement