Spaces:
Running
on
Zero
Running
on
Zero
File size: 40,865 Bytes
28c256d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 |
COCO_KPTS_COLORS = [
[51, 153, 255], # 0: nose
[51, 153, 255], # 1: left_eye
[51, 153, 255], # 2: right_eye
[51, 153, 255], # 3: left_ear
[51, 153, 255], # 4: right_ear
[0, 255, 0], # 5: left_shoulder
[255, 128, 0], # 6: right_shoulder
[0, 255, 0], # 7: left_elbow
[255, 128, 0], # 8: right_elbow
[0, 255, 0], # 9: left_wrist
[255, 128, 0], # 10: right_wrist
[0, 255, 0], # 11: left_hip
[255, 128, 0], # 12: right_hip
[0, 255, 0], # 13: left_knee
[255, 128, 0], # 14: right_knee
[0, 255, 0], # 15: left_ankle
[255, 128, 0], # 16: right_ankle
]
COCO_WHOLEBODY_KPTS_COLORS = [
[51, 153, 255], # 0: nose
[51, 153, 255], # 1: left_eye
[51, 153, 255], # 2: right_eye
[51, 153, 255], # 3: left_ear
[51, 153, 255], # 4: right_ear
[0, 255, 0], # 5: left_shoulder
[255, 128, 0], # 6: right_shoulder
[0, 255, 0], # 7: left_elbow
[255, 128, 0], # 8: right_elbow
[0, 255, 0], # 9: left_wrist
[255, 128, 0], # 10: right_wrist
[0, 255, 0], # 11: left_hip
[255, 128, 0], # 12: right_hip
[0, 255, 0], # 13: left_knee
[255, 128, 0], # 14: right_knee
[0, 255, 0], # 15: left_ankle
[255, 128, 0], # 16: right_ankle
[255, 128, 0], # 17: left_big_toe
[255, 128, 0], # 18: left_small_toe
[255, 128, 0], # 19: left_heel
[255, 128, 0], # 20: right_big_toe
[255, 128, 0], # 21: right_small_toe
[255, 128, 0], # 22: right_heel
[255, 255, 255], # 23: face-0
[255, 255, 255], # 24: face-1
[255, 255, 255], # 25: face-2
[255, 255, 255], # 26: face-3
[255, 255, 255], # 27: face-4
[255, 255, 255], # 28: face-5
[255, 255, 255], # 29: face-6
[255, 255, 255], # 30: face-7
[255, 255, 255], # 31: face-8
[255, 255, 255], # 32: face-9
[255, 255, 255], # 33: face-10
[255, 255, 255], # 34: face-11
[255, 255, 255], # 35: face-12
[255, 255, 255], # 36: face-13
[255, 255, 255], # 37: face-14
[255, 255, 255], # 38: face-15
[255, 255, 255], # 39: face-16
[255, 255, 255], # 40: face-17
[255, 255, 255], # 41: face-18
[255, 255, 255], # 42: face-19
[255, 255, 255], # 43: face-20
[255, 255, 255], # 44: face-21
[255, 255, 255], # 45: face-22
[255, 255, 255], # 46: face-23
[255, 255, 255], # 47: face-24
[255, 255, 255], # 48: face-25
[255, 255, 255], # 49: face-26
[255, 255, 255], # 50: face-27
[255, 255, 255], # 51: face-28
[255, 255, 255], # 52: face-29
[255, 255, 255], # 53: face-30
[255, 255, 255], # 54: face-31
[255, 255, 255], # 55: face-32
[255, 255, 255], # 56: face-33
[255, 255, 255], # 57: face-34
[255, 255, 255], # 58: face-35
[255, 255, 255], # 59: face-36
[255, 255, 255], # 60: face-37
[255, 255, 255], # 61: face-38
[255, 255, 255], # 62: face-39
[255, 255, 255], # 63: face-40
[255, 255, 255], # 64: face-41
[255, 255, 255], # 65: face-42
[255, 255, 255], # 66: face-43
[255, 255, 255], # 67: face-44
[255, 255, 255], # 68: face-45
[255, 255, 255], # 69: face-46
[255, 255, 255], # 70: face-47
[255, 255, 255], # 71: face-48
[255, 255, 255], # 72: face-49
[255, 255, 255], # 73: face-50
[255, 255, 255], # 74: face-51
[255, 255, 255], # 75: face-52
[255, 255, 255], # 76: face-53
[255, 255, 255], # 77: face-54
[255, 255, 255], # 78: face-55
[255, 255, 255], # 79: face-56
[255, 255, 255], # 80: face-57
[255, 255, 255], # 81: face-58
[255, 255, 255], # 82: face-59
[255, 255, 255], # 83: face-60
[255, 255, 255], # 84: face-61
[255, 255, 255], # 85: face-62
[255, 255, 255], # 86: face-63
[255, 255, 255], # 87: face-64
[255, 255, 255], # 88: face-65
[255, 255, 255], # 89: face-66
[255, 255, 255], # 90: face-67
[255, 255, 255], # 91: left_hand_root
[255, 128, 0], # 92: left_thumb1
[255, 128, 0], # 93: left_thumb2
[255, 128, 0], # 94: left_thumb3
[255, 128, 0], # 95: left_thumb4
[255, 153, 255], # 96: left_forefinger1
[255, 153, 255], # 97: left_forefinger2
[255, 153, 255], # 98: left_forefinger3
[255, 153, 255], # 99: left_forefinger4
[102, 178, 255], # 100: left_middle_finger1
[102, 178, 255], # 101: left_middle_finger2
[102, 178, 255], # 102: left_middle_finger3
[102, 178, 255], # 103: left_middle_finger4
[255, 51, 51], # 104: left_ring_finger1
[255, 51, 51], # 105: left_ring_finger2
[255, 51, 51], # 106: left_ring_finger3
[255, 51, 51], # 107: left_ring_finger4
[0, 255, 0], # 108: left_pinky_finger1
[0, 255, 0], # 109: left_pinky_finger2
[0, 255, 0], # 110: left_pinky_finger3
[0, 255, 0], # 111: left_pinky_finger4
[255, 255, 255], # 112: right_hand_root
[255, 128, 0], # 113: right_thumb1
[255, 128, 0], # 114: right_thumb2
[255, 128, 0], # 115: right_thumb3
[255, 128, 0], # 116: right_thumb4
[255, 153, 255], # 117: right_forefinger1
[255, 153, 255], # 118: right_forefinger2
[255, 153, 255], # 119: right_forefinger3
[255, 153, 255], # 120: right_forefinger4
[102, 178, 255], # 121: right_middle_finger1
[102, 178, 255], # 122: right_middle_finger2
[102, 178, 255], # 123: right_middle_finger3
[102, 178, 255], # 124: right_middle_finger4
[255, 51, 51], # 125: right_ring_finger1
[255, 51, 51], # 126: right_ring_finger2
[255, 51, 51], # 127: right_ring_finger3
[255, 51, 51], # 128: right_ring_finger4
[0, 255, 0], # 129: right_pinky_finger1
[0, 255, 0], # 130: right_pinky_finger2
[0, 255, 0], # 131: right_pinky_finger3
[0, 255, 0], # 132: right_pinky_finger4
]
GOLIATH_KPTS_COLORS = [
[51, 153, 255], # 0: nose
[51, 153, 255], # 1: left_eye
[51, 153, 255], # 2: right_eye
[51, 153, 255], # 3: left_ear
[51, 153, 255], # 4: right_ear
[51, 153, 255], # 5: left_shoulder
[51, 153, 255], # 6: right_shoulder
[51, 153, 255], # 7: left_elbow
[51, 153, 255], # 8: right_elbow
[51, 153, 255], # 9: left_hip
[51, 153, 255], # 10: right_hip
[51, 153, 255], # 11: left_knee
[51, 153, 255], # 12: right_knee
[51, 153, 255], # 13: left_ankle
[51, 153, 255], # 14: right_ankle
[51, 153, 255], # 15: left_big_toe
[51, 153, 255], # 16: left_small_toe
[51, 153, 255], # 17: left_heel
[51, 153, 255], # 18: right_big_toe
[51, 153, 255], # 19: right_small_toe
[51, 153, 255], # 20: right_heel
[51, 153, 255], # 21: right_thumb4
[51, 153, 255], # 22: right_thumb3
[51, 153, 255], # 23: right_thumb2
[51, 153, 255], # 24: right_thumb_third_joint
[51, 153, 255], # 25: right_forefinger4
[51, 153, 255], # 26: right_forefinger3
[51, 153, 255], # 27: right_forefinger2
[51, 153, 255], # 28: right_forefinger_third_joint
[51, 153, 255], # 29: right_middle_finger4
[51, 153, 255], # 30: right_middle_finger3
[51, 153, 255], # 31: right_middle_finger2
[51, 153, 255], # 32: right_middle_finger_third_joint
[51, 153, 255], # 33: right_ring_finger4
[51, 153, 255], # 34: right_ring_finger3
[51, 153, 255], # 35: right_ring_finger2
[51, 153, 255], # 36: right_ring_finger_third_joint
[51, 153, 255], # 37: right_pinky_finger4
[51, 153, 255], # 38: right_pinky_finger3
[51, 153, 255], # 39: right_pinky_finger2
[51, 153, 255], # 40: right_pinky_finger_third_joint
[51, 153, 255], # 41: right_wrist
[51, 153, 255], # 42: left_thumb4
[51, 153, 255], # 43: left_thumb3
[51, 153, 255], # 44: left_thumb2
[51, 153, 255], # 45: left_thumb_third_joint
[51, 153, 255], # 46: left_forefinger4
[51, 153, 255], # 47: left_forefinger3
[51, 153, 255], # 48: left_forefinger2
[51, 153, 255], # 49: left_forefinger_third_joint
[51, 153, 255], # 50: left_middle_finger4
[51, 153, 255], # 51: left_middle_finger3
[51, 153, 255], # 52: left_middle_finger2
[51, 153, 255], # 53: left_middle_finger_third_joint
[51, 153, 255], # 54: left_ring_finger4
[51, 153, 255], # 55: left_ring_finger3
[51, 153, 255], # 56: left_ring_finger2
[51, 153, 255], # 57: left_ring_finger_third_joint
[51, 153, 255], # 58: left_pinky_finger4
[51, 153, 255], # 59: left_pinky_finger3
[51, 153, 255], # 60: left_pinky_finger2
[51, 153, 255], # 61: left_pinky_finger_third_joint
[51, 153, 255], # 62: left_wrist
[51, 153, 255], # 63: left_olecranon
[51, 153, 255], # 64: right_olecranon
[51, 153, 255], # 65: left_cubital_fossa
[51, 153, 255], # 66: right_cubital_fossa
[51, 153, 255], # 67: left_acromion
[51, 153, 255], # 68: right_acromion
[51, 153, 255], # 69: neck
[255, 255, 255], # 70: center_of_glabella
[255, 255, 255], # 71: center_of_nose_root
[255, 255, 255], # 72: tip_of_nose_bridge
[255, 255, 255], # 73: midpoint_1_of_nose_bridge
[255, 255, 255], # 74: midpoint_2_of_nose_bridge
[255, 255, 255], # 75: midpoint_3_of_nose_bridge
[255, 255, 255], # 76: center_of_labiomental_groove
[255, 255, 255], # 77: tip_of_chin
[255, 255, 255], # 78: upper_startpoint_of_r_eyebrow
[255, 255, 255], # 79: lower_startpoint_of_r_eyebrow
[255, 255, 255], # 80: end_of_r_eyebrow
[255, 255, 255], # 81: upper_midpoint_1_of_r_eyebrow
[255, 255, 255], # 82: lower_midpoint_1_of_r_eyebrow
[255, 255, 255], # 83: upper_midpoint_2_of_r_eyebrow
[255, 255, 255], # 84: upper_midpoint_3_of_r_eyebrow
[255, 255, 255], # 85: lower_midpoint_2_of_r_eyebrow
[255, 255, 255], # 86: lower_midpoint_3_of_r_eyebrow
[255, 255, 255], # 87: upper_startpoint_of_l_eyebrow
[255, 255, 255], # 88: lower_startpoint_of_l_eyebrow
[255, 255, 255], # 89: end_of_l_eyebrow
[255, 255, 255], # 90: upper_midpoint_1_of_l_eyebrow
[255, 255, 255], # 91: lower_midpoint_1_of_l_eyebrow
[255, 255, 255], # 92: upper_midpoint_2_of_l_eyebrow
[255, 255, 255], # 93: upper_midpoint_3_of_l_eyebrow
[255, 255, 255], # 94: lower_midpoint_2_of_l_eyebrow
[255, 255, 255], # 95: lower_midpoint_3_of_l_eyebrow
[192, 64, 128], # 96: l_inner_end_of_upper_lash_line
[192, 64, 128], # 97: l_outer_end_of_upper_lash_line
[192, 64, 128], # 98: l_centerpoint_of_upper_lash_line
[192, 64, 128], # 99: l_midpoint_2_of_upper_lash_line
[192, 64, 128], # 100: l_midpoint_1_of_upper_lash_line
[192, 64, 128], # 101: l_midpoint_6_of_upper_lash_line
[192, 64, 128], # 102: l_midpoint_5_of_upper_lash_line
[192, 64, 128], # 103: l_midpoint_4_of_upper_lash_line
[192, 64, 128], # 104: l_midpoint_3_of_upper_lash_line
[192, 64, 128], # 105: l_outer_end_of_upper_eyelid_line
[192, 64, 128], # 106: l_midpoint_6_of_upper_eyelid_line
[192, 64, 128], # 107: l_midpoint_2_of_upper_eyelid_line
[192, 64, 128], # 108: l_midpoint_5_of_upper_eyelid_line
[192, 64, 128], # 109: l_centerpoint_of_upper_eyelid_line
[192, 64, 128], # 110: l_midpoint_4_of_upper_eyelid_line
[192, 64, 128], # 111: l_midpoint_1_of_upper_eyelid_line
[192, 64, 128], # 112: l_midpoint_3_of_upper_eyelid_line
[192, 64, 128], # 113: l_midpoint_6_of_upper_crease_line
[192, 64, 128], # 114: l_midpoint_2_of_upper_crease_line
[192, 64, 128], # 115: l_midpoint_5_of_upper_crease_line
[192, 64, 128], # 116: l_centerpoint_of_upper_crease_line
[192, 64, 128], # 117: l_midpoint_4_of_upper_crease_line
[192, 64, 128], # 118: l_midpoint_1_of_upper_crease_line
[192, 64, 128], # 119: l_midpoint_3_of_upper_crease_line
[64, 32, 192], # 120: r_inner_end_of_upper_lash_line
[64, 32, 192], # 121: r_outer_end_of_upper_lash_line
[64, 32, 192], # 122: r_centerpoint_of_upper_lash_line
[64, 32, 192], # 123: r_midpoint_1_of_upper_lash_line
[64, 32, 192], # 124: r_midpoint_2_of_upper_lash_line
[64, 32, 192], # 125: r_midpoint_3_of_upper_lash_line
[64, 32, 192], # 126: r_midpoint_4_of_upper_lash_line
[64, 32, 192], # 127: r_midpoint_5_of_upper_lash_line
[64, 32, 192], # 128: r_midpoint_6_of_upper_lash_line
[64, 32, 192], # 129: r_outer_end_of_upper_eyelid_line
[64, 32, 192], # 130: r_midpoint_3_of_upper_eyelid_line
[64, 32, 192], # 131: r_midpoint_1_of_upper_eyelid_line
[64, 32, 192], # 132: r_midpoint_4_of_upper_eyelid_line
[64, 32, 192], # 133: r_centerpoint_of_upper_eyelid_line
[64, 32, 192], # 134: r_midpoint_5_of_upper_eyelid_line
[64, 32, 192], # 135: r_midpoint_2_of_upper_eyelid_line
[64, 32, 192], # 136: r_midpoint_6_of_upper_eyelid_line
[64, 32, 192], # 137: r_midpoint_3_of_upper_crease_line
[64, 32, 192], # 138: r_midpoint_1_of_upper_crease_line
[64, 32, 192], # 139: r_midpoint_4_of_upper_crease_line
[64, 32, 192], # 140: r_centerpoint_of_upper_crease_line
[64, 32, 192], # 141: r_midpoint_5_of_upper_crease_line
[64, 32, 192], # 142: r_midpoint_2_of_upper_crease_line
[64, 32, 192], # 143: r_midpoint_6_of_upper_crease_line
[64, 192, 128], # 144: l_inner_end_of_lower_lash_line
[64, 192, 128], # 145: l_outer_end_of_lower_lash_line
[64, 192, 128], # 146: l_centerpoint_of_lower_lash_line
[64, 192, 128], # 147: l_midpoint_2_of_lower_lash_line
[64, 192, 128], # 148: l_midpoint_1_of_lower_lash_line
[64, 192, 128], # 149: l_midpoint_6_of_lower_lash_line
[64, 192, 128], # 150: l_midpoint_5_of_lower_lash_line
[64, 192, 128], # 151: l_midpoint_4_of_lower_lash_line
[64, 192, 128], # 152: l_midpoint_3_of_lower_lash_line
[64, 192, 128], # 153: l_outer_end_of_lower_eyelid_line
[64, 192, 128], # 154: l_midpoint_6_of_lower_eyelid_line
[64, 192, 128], # 155: l_midpoint_2_of_lower_eyelid_line
[64, 192, 128], # 156: l_midpoint_5_of_lower_eyelid_line
[64, 192, 128], # 157: l_centerpoint_of_lower_eyelid_line
[64, 192, 128], # 158: l_midpoint_4_of_lower_eyelid_line
[64, 192, 128], # 159: l_midpoint_1_of_lower_eyelid_line
[64, 192, 128], # 160: l_midpoint_3_of_lower_eyelid_line
[64, 192, 32], # 161: r_inner_end_of_lower_lash_line
[64, 192, 32], # 162: r_outer_end_of_lower_lash_line
[64, 192, 32], # 163: r_centerpoint_of_lower_lash_line
[64, 192, 32], # 164: r_midpoint_1_of_lower_lash_line
[64, 192, 32], # 165: r_midpoint_2_of_lower_lash_line
[64, 192, 32], # 166: r_midpoint_3_of_lower_lash_line
[64, 192, 32], # 167: r_midpoint_4_of_lower_lash_line
[64, 192, 32], # 168: r_midpoint_5_of_lower_lash_line
[64, 192, 32], # 169: r_midpoint_6_of_lower_lash_line
[64, 192, 32], # 170: r_outer_end_of_lower_eyelid_line
[64, 192, 32], # 171: r_midpoint_3_of_lower_eyelid_line
[64, 192, 32], # 172: r_midpoint_1_of_lower_eyelid_line
[64, 192, 32], # 173: r_midpoint_4_of_lower_eyelid_line
[64, 192, 32], # 174: r_centerpoint_of_lower_eyelid_line
[64, 192, 32], # 175: r_midpoint_5_of_lower_eyelid_line
[64, 192, 32], # 176: r_midpoint_2_of_lower_eyelid_line
[64, 192, 32], # 177: r_midpoint_6_of_lower_eyelid_line
[0, 192, 0], # 178: tip_of_nose
[0, 192, 0], # 179: bottom_center_of_nose
[0, 192, 0], # 180: r_outer_corner_of_nose
[0, 192, 0], # 181: l_outer_corner_of_nose
[0, 192, 0], # 182: inner_corner_of_r_nostril
[0, 192, 0], # 183: outer_corner_of_r_nostril
[0, 192, 0], # 184: upper_corner_of_r_nostril
[0, 192, 0], # 185: inner_corner_of_l_nostril
[0, 192, 0], # 186: outer_corner_of_l_nostril
[0, 192, 0], # 187: upper_corner_of_l_nostril
[192, 0, 0], # 188: r_outer_corner_of_mouth
[192, 0, 0], # 189: l_outer_corner_of_mouth
[192, 0, 0], # 190: center_of_cupid_bow
[192, 0, 0], # 191: center_of_lower_outer_lip
[192, 0, 0], # 192: midpoint_1_of_upper_outer_lip
[192, 0, 0], # 193: midpoint_2_of_upper_outer_lip
[192, 0, 0], # 194: midpoint_1_of_lower_outer_lip
[192, 0, 0], # 195: midpoint_2_of_lower_outer_lip
[192, 0, 0], # 196: midpoint_3_of_upper_outer_lip
[192, 0, 0], # 197: midpoint_4_of_upper_outer_lip
[192, 0, 0], # 198: midpoint_5_of_upper_outer_lip
[192, 0, 0], # 199: midpoint_6_of_upper_outer_lip
[192, 0, 0], # 200: midpoint_3_of_lower_outer_lip
[192, 0, 0], # 201: midpoint_4_of_lower_outer_lip
[192, 0, 0], # 202: midpoint_5_of_lower_outer_lip
[192, 0, 0], # 203: midpoint_6_of_lower_outer_lip
[0, 192, 192], # 204: r_inner_corner_of_mouth
[0, 192, 192], # 205: l_inner_corner_of_mouth
[0, 192, 192], # 206: center_of_upper_inner_lip
[0, 192, 192], # 207: center_of_lower_inner_lip
[0, 192, 192], # 208: midpoint_1_of_upper_inner_lip
[0, 192, 192], # 209: midpoint_2_of_upper_inner_lip
[0, 192, 192], # 210: midpoint_1_of_lower_inner_lip
[0, 192, 192], # 211: midpoint_2_of_lower_inner_lip
[0, 192, 192], # 212: midpoint_3_of_upper_inner_lip
[0, 192, 192], # 213: midpoint_4_of_upper_inner_lip
[0, 192, 192], # 214: midpoint_5_of_upper_inner_lip
[0, 192, 192], # 215: midpoint_6_of_upper_inner_lip
[0, 192, 192], # 216: midpoint_3_of_lower_inner_lip
[0, 192, 192], # 217: midpoint_4_of_lower_inner_lip
[0, 192, 192], # 218: midpoint_5_of_lower_inner_lip
[0, 192, 192], # 219: midpoint_6_of_lower_inner_lip. teeths removed
[200, 200, 0], # 256: l_top_end_of_inferior_crus
[200, 200, 0], # 257: l_top_end_of_superior_crus
[200, 200, 0], # 258: l_start_of_antihelix
[200, 200, 0], # 259: l_end_of_antihelix
[200, 200, 0], # 260: l_midpoint_1_of_antihelix
[200, 200, 0], # 261: l_midpoint_1_of_inferior_crus
[200, 200, 0], # 262: l_midpoint_2_of_antihelix
[200, 200, 0], # 263: l_midpoint_3_of_antihelix
[200, 200, 0], # 264: l_point_1_of_inner_helix
[200, 200, 0], # 265: l_point_2_of_inner_helix
[200, 200, 0], # 266: l_point_3_of_inner_helix
[200, 200, 0], # 267: l_point_4_of_inner_helix
[200, 200, 0], # 268: l_point_5_of_inner_helix
[200, 200, 0], # 269: l_point_6_of_inner_helix
[200, 200, 0], # 270: l_point_7_of_inner_helix
[200, 200, 0], # 271: l_highest_point_of_antitragus
[200, 200, 0], # 272: l_bottom_point_of_tragus
[200, 200, 0], # 273: l_protruding_point_of_tragus
[200, 200, 0], # 274: l_top_point_of_tragus
[200, 200, 0], # 275: l_start_point_of_crus_of_helix
[200, 200, 0], # 276: l_deepest_point_of_concha
[200, 200, 0], # 277: l_tip_of_ear_lobe
[200, 200, 0], # 278: l_midpoint_between_22_15
[200, 200, 0], # 279: l_bottom_connecting_point_of_ear_lobe
[200, 200, 0], # 280: l_top_connecting_point_of_helix
[200, 200, 0], # 281: l_point_8_of_inner_helix
[0, 200, 200], # 282: r_top_end_of_inferior_crus
[0, 200, 200], # 283: r_top_end_of_superior_crus
[0, 200, 200], # 284: r_start_of_antihelix
[0, 200, 200], # 285: r_end_of_antihelix
[0, 200, 200], # 286: r_midpoint_1_of_antihelix
[0, 200, 200], # 287: r_midpoint_1_of_inferior_crus
[0, 200, 200], # 288: r_midpoint_2_of_antihelix
[0, 200, 200], # 289: r_midpoint_3_of_antihelix
[0, 200, 200], # 290: r_point_1_of_inner_helix
[0, 200, 200], # 291: r_point_8_of_inner_helix
[0, 200, 200], # 292: r_point_3_of_inner_helix
[0, 200, 200], # 293: r_point_4_of_inner_helix
[0, 200, 200], # 294: r_point_5_of_inner_helix
[0, 200, 200], # 295: r_point_6_of_inner_helix
[0, 200, 200], # 296: r_point_7_of_inner_helix
[0, 200, 200], # 297: r_highest_point_of_antitragus
[0, 200, 200], # 298: r_bottom_point_of_tragus
[0, 200, 200], # 299: r_protruding_point_of_tragus
[0, 200, 200], # 300: r_top_point_of_tragus
[0, 200, 200], # 301: r_start_point_of_crus_of_helix
[0, 200, 200], # 302: r_deepest_point_of_concha
[0, 200, 200], # 303: r_tip_of_ear_lobe
[0, 200, 200], # 304: r_midpoint_between_22_15
[0, 200, 200], # 305: r_bottom_connecting_point_of_ear_lobe
[0, 200, 200], # 306: r_top_connecting_point_of_helix
[0, 200, 200], # 307: r_point_2_of_inner_helix
[128, 192, 64], # 308: l_center_of_iris
[128, 192, 64], # 309: l_border_of_iris_3
[128, 192, 64], # 310: l_border_of_iris_midpoint_1
[128, 192, 64], # 311: l_border_of_iris_12
[128, 192, 64], # 312: l_border_of_iris_midpoint_4
[128, 192, 64], # 313: l_border_of_iris_9
[128, 192, 64], # 314: l_border_of_iris_midpoint_3
[128, 192, 64], # 315: l_border_of_iris_6
[128, 192, 64], # 316: l_border_of_iris_midpoint_2
[192, 32, 64], # 317: r_center_of_iris
[192, 32, 64], # 318: r_border_of_iris_3
[192, 32, 64], # 319: r_border_of_iris_midpoint_1
[192, 32, 64], # 320: r_border_of_iris_12
[192, 32, 64], # 321: r_border_of_iris_midpoint_4
[192, 32, 64], # 322: r_border_of_iris_9
[192, 32, 64], # 323: r_border_of_iris_midpoint_3
[192, 32, 64], # 324: r_border_of_iris_6
[192, 32, 64], # 325: r_border_of_iris_midpoint_2
[192, 128, 64], # 326: l_center_of_pupil
[192, 128, 64], # 327: l_border_of_pupil_3
[192, 128, 64], # 328: l_border_of_pupil_midpoint_1
[192, 128, 64], # 329: l_border_of_pupil_12
[192, 128, 64], # 330: l_border_of_pupil_midpoint_4
[192, 128, 64], # 331: l_border_of_pupil_9
[192, 128, 64], # 332: l_border_of_pupil_midpoint_3
[192, 128, 64], # 333: l_border_of_pupil_6
[192, 128, 64], # 334: l_border_of_pupil_midpoint_2
[32, 192, 192], # 335: r_center_of_pupil
[32, 192, 192], # 336: r_border_of_pupil_3
[32, 192, 192], # 337: r_border_of_pupil_midpoint_1
[32, 192, 192], # 338: r_border_of_pupil_12
[32, 192, 192], # 339: r_border_of_pupil_midpoint_4
[32, 192, 192], # 340: r_border_of_pupil_9
[32, 192, 192], # 341: r_border_of_pupil_midpoint_3
[32, 192, 192], # 342: r_border_of_pupil_6
[32, 192, 192], # 343: r_border_of_pupil_midpoint_2
]
GOLIATH_KEYPOINTS = [
"nose",
"left_eye",
"right_eye",
"left_ear",
"right_ear",
"left_shoulder",
"right_shoulder",
"left_elbow",
"right_elbow",
"left_hip",
"right_hip",
"left_knee",
"right_knee",
"left_ankle",
"right_ankle",
"left_big_toe",
"left_small_toe",
"left_heel",
"right_big_toe",
"right_small_toe",
"right_heel",
"right_thumb4",
"right_thumb3",
"right_thumb2",
"right_thumb_third_joint",
"right_forefinger4",
"right_forefinger3",
"right_forefinger2",
"right_forefinger_third_joint",
"right_middle_finger4",
"right_middle_finger3",
"right_middle_finger2",
"right_middle_finger_third_joint",
"right_ring_finger4",
"right_ring_finger3",
"right_ring_finger2",
"right_ring_finger_third_joint",
"right_pinky_finger4",
"right_pinky_finger3",
"right_pinky_finger2",
"right_pinky_finger_third_joint",
"right_wrist",
"left_thumb4",
"left_thumb3",
"left_thumb2",
"left_thumb_third_joint",
"left_forefinger4",
"left_forefinger3",
"left_forefinger2",
"left_forefinger_third_joint",
"left_middle_finger4",
"left_middle_finger3",
"left_middle_finger2",
"left_middle_finger_third_joint",
"left_ring_finger4",
"left_ring_finger3",
"left_ring_finger2",
"left_ring_finger_third_joint",
"left_pinky_finger4",
"left_pinky_finger3",
"left_pinky_finger2",
"left_pinky_finger_third_joint",
"left_wrist",
"left_olecranon",
"right_olecranon",
"left_cubital_fossa",
"right_cubital_fossa",
"left_acromion",
"right_acromion",
"neck",
"center_of_glabella",
"center_of_nose_root",
"tip_of_nose_bridge",
"midpoint_1_of_nose_bridge",
"midpoint_2_of_nose_bridge",
"midpoint_3_of_nose_bridge",
"center_of_labiomental_groove",
"tip_of_chin",
"upper_startpoint_of_r_eyebrow",
"lower_startpoint_of_r_eyebrow",
"end_of_r_eyebrow",
"upper_midpoint_1_of_r_eyebrow",
"lower_midpoint_1_of_r_eyebrow",
"upper_midpoint_2_of_r_eyebrow",
"upper_midpoint_3_of_r_eyebrow",
"lower_midpoint_2_of_r_eyebrow",
"lower_midpoint_3_of_r_eyebrow",
"upper_startpoint_of_l_eyebrow",
"lower_startpoint_of_l_eyebrow",
"end_of_l_eyebrow",
"upper_midpoint_1_of_l_eyebrow",
"lower_midpoint_1_of_l_eyebrow",
"upper_midpoint_2_of_l_eyebrow",
"upper_midpoint_3_of_l_eyebrow",
"lower_midpoint_2_of_l_eyebrow",
"lower_midpoint_3_of_l_eyebrow",
"l_inner_end_of_upper_lash_line",
"l_outer_end_of_upper_lash_line",
"l_centerpoint_of_upper_lash_line",
"l_midpoint_2_of_upper_lash_line",
"l_midpoint_1_of_upper_lash_line",
"l_midpoint_6_of_upper_lash_line",
"l_midpoint_5_of_upper_lash_line",
"l_midpoint_4_of_upper_lash_line",
"l_midpoint_3_of_upper_lash_line",
"l_outer_end_of_upper_eyelid_line",
"l_midpoint_6_of_upper_eyelid_line",
"l_midpoint_2_of_upper_eyelid_line",
"l_midpoint_5_of_upper_eyelid_line",
"l_centerpoint_of_upper_eyelid_line",
"l_midpoint_4_of_upper_eyelid_line",
"l_midpoint_1_of_upper_eyelid_line",
"l_midpoint_3_of_upper_eyelid_line",
"l_midpoint_6_of_upper_crease_line",
"l_midpoint_2_of_upper_crease_line",
"l_midpoint_5_of_upper_crease_line",
"l_centerpoint_of_upper_crease_line",
"l_midpoint_4_of_upper_crease_line",
"l_midpoint_1_of_upper_crease_line",
"l_midpoint_3_of_upper_crease_line",
"r_inner_end_of_upper_lash_line",
"r_outer_end_of_upper_lash_line",
"r_centerpoint_of_upper_lash_line",
"r_midpoint_1_of_upper_lash_line",
"r_midpoint_2_of_upper_lash_line",
"r_midpoint_3_of_upper_lash_line",
"r_midpoint_4_of_upper_lash_line",
"r_midpoint_5_of_upper_lash_line",
"r_midpoint_6_of_upper_lash_line",
"r_outer_end_of_upper_eyelid_line",
"r_midpoint_3_of_upper_eyelid_line",
"r_midpoint_1_of_upper_eyelid_line",
"r_midpoint_4_of_upper_eyelid_line",
"r_centerpoint_of_upper_eyelid_line",
"r_midpoint_5_of_upper_eyelid_line",
"r_midpoint_2_of_upper_eyelid_line",
"r_midpoint_6_of_upper_eyelid_line",
"r_midpoint_3_of_upper_crease_line",
"r_midpoint_1_of_upper_crease_line",
"r_midpoint_4_of_upper_crease_line",
"r_centerpoint_of_upper_crease_line",
"r_midpoint_5_of_upper_crease_line",
"r_midpoint_2_of_upper_crease_line",
"r_midpoint_6_of_upper_crease_line",
"l_inner_end_of_lower_lash_line",
"l_outer_end_of_lower_lash_line",
"l_centerpoint_of_lower_lash_line",
"l_midpoint_2_of_lower_lash_line",
"l_midpoint_1_of_lower_lash_line",
"l_midpoint_6_of_lower_lash_line",
"l_midpoint_5_of_lower_lash_line",
"l_midpoint_4_of_lower_lash_line",
"l_midpoint_3_of_lower_lash_line",
"l_outer_end_of_lower_eyelid_line",
"l_midpoint_6_of_lower_eyelid_line",
"l_midpoint_2_of_lower_eyelid_line",
"l_midpoint_5_of_lower_eyelid_line",
"l_centerpoint_of_lower_eyelid_line",
"l_midpoint_4_of_lower_eyelid_line",
"l_midpoint_1_of_lower_eyelid_line",
"l_midpoint_3_of_lower_eyelid_line",
"r_inner_end_of_lower_lash_line",
"r_outer_end_of_lower_lash_line",
"r_centerpoint_of_lower_lash_line",
"r_midpoint_1_of_lower_lash_line",
"r_midpoint_2_of_lower_lash_line",
"r_midpoint_3_of_lower_lash_line",
"r_midpoint_4_of_lower_lash_line",
"r_midpoint_5_of_lower_lash_line",
"r_midpoint_6_of_lower_lash_line",
"r_outer_end_of_lower_eyelid_line",
"r_midpoint_3_of_lower_eyelid_line",
"r_midpoint_1_of_lower_eyelid_line",
"r_midpoint_4_of_lower_eyelid_line",
"r_centerpoint_of_lower_eyelid_line",
"r_midpoint_5_of_lower_eyelid_line",
"r_midpoint_2_of_lower_eyelid_line",
"r_midpoint_6_of_lower_eyelid_line",
"tip_of_nose",
"bottom_center_of_nose",
"r_outer_corner_of_nose",
"l_outer_corner_of_nose",
"inner_corner_of_r_nostril",
"outer_corner_of_r_nostril",
"upper_corner_of_r_nostril",
"inner_corner_of_l_nostril",
"outer_corner_of_l_nostril",
"upper_corner_of_l_nostril",
"r_outer_corner_of_mouth",
"l_outer_corner_of_mouth",
"center_of_cupid_bow",
"center_of_lower_outer_lip",
"midpoint_1_of_upper_outer_lip",
"midpoint_2_of_upper_outer_lip",
"midpoint_1_of_lower_outer_lip",
"midpoint_2_of_lower_outer_lip",
"midpoint_3_of_upper_outer_lip",
"midpoint_4_of_upper_outer_lip",
"midpoint_5_of_upper_outer_lip",
"midpoint_6_of_upper_outer_lip",
"midpoint_3_of_lower_outer_lip",
"midpoint_4_of_lower_outer_lip",
"midpoint_5_of_lower_outer_lip",
"midpoint_6_of_lower_outer_lip",
"r_inner_corner_of_mouth",
"l_inner_corner_of_mouth",
"center_of_upper_inner_lip",
"center_of_lower_inner_lip",
"midpoint_1_of_upper_inner_lip",
"midpoint_2_of_upper_inner_lip",
"midpoint_1_of_lower_inner_lip",
"midpoint_2_of_lower_inner_lip",
"midpoint_3_of_upper_inner_lip",
"midpoint_4_of_upper_inner_lip",
"midpoint_5_of_upper_inner_lip",
"midpoint_6_of_upper_inner_lip",
"midpoint_3_of_lower_inner_lip",
"midpoint_4_of_lower_inner_lip",
"midpoint_5_of_lower_inner_lip",
"midpoint_6_of_lower_inner_lip",
"l_top_end_of_inferior_crus",
"l_top_end_of_superior_crus",
"l_start_of_antihelix",
"l_end_of_antihelix",
"l_midpoint_1_of_antihelix",
"l_midpoint_1_of_inferior_crus",
"l_midpoint_2_of_antihelix",
"l_midpoint_3_of_antihelix",
"l_point_1_of_inner_helix",
"l_point_2_of_inner_helix",
"l_point_3_of_inner_helix",
"l_point_4_of_inner_helix",
"l_point_5_of_inner_helix",
"l_point_6_of_inner_helix",
"l_point_7_of_inner_helix",
"l_highest_point_of_antitragus",
"l_bottom_point_of_tragus",
"l_protruding_point_of_tragus",
"l_top_point_of_tragus",
"l_start_point_of_crus_of_helix",
"l_deepest_point_of_concha",
"l_tip_of_ear_lobe",
"l_midpoint_between_22_15",
"l_bottom_connecting_point_of_ear_lobe",
"l_top_connecting_point_of_helix",
"l_point_8_of_inner_helix",
"r_top_end_of_inferior_crus",
"r_top_end_of_superior_crus",
"r_start_of_antihelix",
"r_end_of_antihelix",
"r_midpoint_1_of_antihelix",
"r_midpoint_1_of_inferior_crus",
"r_midpoint_2_of_antihelix",
"r_midpoint_3_of_antihelix",
"r_point_1_of_inner_helix",
"r_point_8_of_inner_helix",
"r_point_3_of_inner_helix",
"r_point_4_of_inner_helix",
"r_point_5_of_inner_helix",
"r_point_6_of_inner_helix",
"r_point_7_of_inner_helix",
"r_highest_point_of_antitragus",
"r_bottom_point_of_tragus",
"r_protruding_point_of_tragus",
"r_top_point_of_tragus",
"r_start_point_of_crus_of_helix",
"r_deepest_point_of_concha",
"r_tip_of_ear_lobe",
"r_midpoint_between_22_15",
"r_bottom_connecting_point_of_ear_lobe",
"r_top_connecting_point_of_helix",
"r_point_2_of_inner_helix",
"l_center_of_iris",
"l_border_of_iris_3",
"l_border_of_iris_midpoint_1",
"l_border_of_iris_12",
"l_border_of_iris_midpoint_4",
"l_border_of_iris_9",
"l_border_of_iris_midpoint_3",
"l_border_of_iris_6",
"l_border_of_iris_midpoint_2",
"r_center_of_iris",
"r_border_of_iris_3",
"r_border_of_iris_midpoint_1",
"r_border_of_iris_12",
"r_border_of_iris_midpoint_4",
"r_border_of_iris_9",
"r_border_of_iris_midpoint_3",
"r_border_of_iris_6",
"r_border_of_iris_midpoint_2",
"l_center_of_pupil",
"l_border_of_pupil_3",
"l_border_of_pupil_midpoint_1",
"l_border_of_pupil_12",
"l_border_of_pupil_midpoint_4",
"l_border_of_pupil_9",
"l_border_of_pupil_midpoint_3",
"l_border_of_pupil_6",
"l_border_of_pupil_midpoint_2",
"r_center_of_pupil",
"r_border_of_pupil_3",
"r_border_of_pupil_midpoint_1",
"r_border_of_pupil_12",
"r_border_of_pupil_midpoint_4",
"r_border_of_pupil_9",
"r_border_of_pupil_midpoint_3",
"r_border_of_pupil_6",
"r_border_of_pupil_midpoint_2"
]
GOLIATH_SKELETON_INFO = {
0:
dict(link=('left_ankle', 'left_knee'), id=0, color=[0, 255, 0]),
1:
dict(link=('left_knee', 'left_hip'), id=1, color=[0, 255, 0]),
2:
dict(link=('right_ankle', 'right_knee'), id=2, color=[255, 128, 0]),
3:
dict(link=('right_knee', 'right_hip'), id=3, color=[255, 128, 0]),
4:
dict(link=('left_hip', 'right_hip'), id=4, color=[51, 153, 255]),
5:
dict(link=('left_shoulder', 'left_hip'), id=5, color=[51, 153, 255]),
6:
dict(link=('right_shoulder', 'right_hip'), id=6, color=[51, 153, 255]),
7:
dict(
link=('left_shoulder', 'right_shoulder'),
id=7,
color=[51, 153, 255]),
8:
dict(link=('left_shoulder', 'left_elbow'), id=8, color=[0, 255, 0]),
9:
dict(
link=('right_shoulder', 'right_elbow'), id=9, color=[255, 128, 0]),
10:
dict(link=('left_elbow', 'left_wrist'), id=10, color=[0, 255, 0]),
11:
dict(link=('right_elbow', 'right_wrist'), id=11, color=[255, 128, 0]),
12:
dict(link=('left_eye', 'right_eye'), id=12, color=[51, 153, 255]),
13:
dict(link=('nose', 'left_eye'), id=13, color=[51, 153, 255]),
14:
dict(link=('nose', 'right_eye'), id=14, color=[51, 153, 255]),
15:
dict(link=('left_eye', 'left_ear'), id=15, color=[51, 153, 255]),
16:
dict(link=('right_eye', 'right_ear'), id=16, color=[51, 153, 255]),
17:
dict(link=('left_ear', 'left_shoulder'), id=17, color=[51, 153, 255]),
18:
dict(
link=('right_ear', 'right_shoulder'), id=18, color=[51, 153, 255]),
19:
dict(link=('left_ankle', 'left_big_toe'), id=19, color=[0, 255, 0]),
20:
dict(link=('left_ankle', 'left_small_toe'), id=20, color=[0, 255, 0]),
21:
dict(link=('left_ankle', 'left_heel'), id=21, color=[0, 255, 0]),
22:
dict(
link=('right_ankle', 'right_big_toe'), id=22, color=[255, 128, 0]),
23:
dict(
link=('right_ankle', 'right_small_toe'),
id=23,
color=[255, 128, 0]),
24:
dict(link=('right_ankle', 'right_heel'), id=24, color=[255, 128, 0]),
25:
dict(
link=('left_wrist', 'left_thumb_third_joint'), id=25, color=[255, 128,
0]),
26:
dict(link=('left_thumb_third_joint', 'left_thumb2'), id=26, color=[255, 128, 0]),
27:
dict(link=('left_thumb2', 'left_thumb3'), id=27, color=[255, 128, 0]),
28:
dict(link=('left_thumb3', 'left_thumb4'), id=28, color=[255, 128, 0]),
29:
dict(
link=('left_wrist', 'left_forefinger_third_joint'),
id=29,
color=[255, 153, 255]),
30:
dict(
link=('left_forefinger_third_joint', 'left_forefinger2'),
id=30,
color=[255, 153, 255]),
31:
dict(
link=('left_forefinger2', 'left_forefinger3'),
id=31,
color=[255, 153, 255]),
32:
dict(
link=('left_forefinger3', 'left_forefinger4'),
id=32,
color=[255, 153, 255]),
33:
dict(
link=('left_wrist', 'left_middle_finger_third_joint'),
id=33,
color=[102, 178, 255]),
34:
dict(
link=('left_middle_finger_third_joint', 'left_middle_finger2'),
id=34,
color=[102, 178, 255]),
35:
dict(
link=('left_middle_finger2', 'left_middle_finger3'),
id=35,
color=[102, 178, 255]),
36:
dict(
link=('left_middle_finger3', 'left_middle_finger4'),
id=36,
color=[102, 178, 255]),
37:
dict(
link=('left_wrist', 'left_ring_finger_third_joint'),
id=37,
color=[255, 51, 51]),
38:
dict(
link=('left_ring_finger_third_joint', 'left_ring_finger2'),
id=38,
color=[255, 51, 51]),
39:
dict(
link=('left_ring_finger2', 'left_ring_finger3'),
id=39,
color=[255, 51, 51]),
40:
dict(
link=('left_ring_finger3', 'left_ring_finger4'),
id=40,
color=[255, 51, 51]),
41:
dict(
link=('left_wrist', 'left_pinky_finger_third_joint'),
id=41,
color=[0, 255, 0]),
42:
dict(
link=('left_pinky_finger_third_joint', 'left_pinky_finger2'),
id=42,
color=[0, 255, 0]),
43:
dict(
link=('left_pinky_finger2', 'left_pinky_finger3'),
id=43,
color=[0, 255, 0]),
44:
dict(
link=('left_pinky_finger3', 'left_pinky_finger4'),
id=44,
color=[0, 255, 0]),
45:
dict(
link=('right_wrist', 'right_thumb_third_joint'),
id=45,
color=[255, 128, 0]),
46:
dict(
link=('right_thumb_third_joint', 'right_thumb2'), id=46, color=[255, 128, 0]),
47:
dict(
link=('right_thumb2', 'right_thumb3'), id=47, color=[255, 128, 0]),
48:
dict(
link=('right_thumb3', 'right_thumb4'), id=48, color=[255, 128, 0]),
49:
dict(
link=('right_wrist', 'right_forefinger_third_joint'),
id=49,
color=[255, 153, 255]),
50:
dict(
link=('right_forefinger_third_joint', 'right_forefinger2'),
id=50,
color=[255, 153, 255]),
51:
dict(
link=('right_forefinger2', 'right_forefinger3'),
id=51,
color=[255, 153, 255]),
52:
dict(
link=('right_forefinger3', 'right_forefinger4'),
id=52,
color=[255, 153, 255]),
53:
dict(
link=('right_wrist', 'right_middle_finger_third_joint'),
id=53,
color=[102, 178, 255]),
54:
dict(
link=('right_middle_finger_third_joint', 'right_middle_finger2'),
id=54,
color=[102, 178, 255]),
55:
dict(
link=('right_middle_finger2', 'right_middle_finger3'),
id=55,
color=[102, 178, 255]),
56:
dict(
link=('right_middle_finger3', 'right_middle_finger4'),
id=56,
color=[102, 178, 255]),
57:
dict(
link=('right_wrist', 'right_ring_finger_third_joint'),
id=57,
color=[255, 51, 51]),
58:
dict(
link=('right_ring_finger_third_joint', 'right_ring_finger2'),
id=58,
color=[255, 51, 51]),
59:
dict(
link=('right_ring_finger2', 'right_ring_finger3'),
id=59,
color=[255, 51, 51]),
60:
dict(
link=('right_ring_finger3', 'right_ring_finger4'),
id=60,
color=[255, 51, 51]),
61:
dict(
link=('right_wrist', 'right_pinky_finger_third_joint'),
id=61,
color=[0, 255, 0]),
62:
dict(
link=('right_pinky_finger_third_joint', 'right_pinky_finger2'),
id=62,
color=[0, 255, 0]),
63:
dict(
link=('right_pinky_finger2', 'right_pinky_finger3'),
id=63,
color=[0, 255, 0]),
64:
dict(
link=('right_pinky_finger3', 'right_pinky_finger4'),
id=64,
color=[0, 255, 0])
} |