freihand2d.py 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. dataset_info = dict(
  2. dataset_name='freihand',
  3. paper_info=dict(
  4. author='Zimmermann, Christian and Ceylan, Duygu and '
  5. 'Yang, Jimei and Russell, Bryan and '
  6. 'Argus, Max and Brox, Thomas',
  7. title='Freihand: A dataset for markerless capture of hand pose '
  8. 'and shape from single rgb images',
  9. container='Proceedings of the IEEE International '
  10. 'Conference on Computer Vision',
  11. year='2019',
  12. homepage='https://lmb.informatik.uni-freiburg.de/projects/freihand/',
  13. ),
  14. keypoint_info={
  15. 0:
  16. dict(name='wrist', id=0, color=[255, 255, 255], type='', swap=''),
  17. 1:
  18. dict(name='thumb1', id=1, color=[255, 128, 0], type='', swap=''),
  19. 2:
  20. dict(name='thumb2', id=2, color=[255, 128, 0], type='', swap=''),
  21. 3:
  22. dict(name='thumb3', id=3, color=[255, 128, 0], type='', swap=''),
  23. 4:
  24. dict(name='thumb4', id=4, color=[255, 128, 0], type='', swap=''),
  25. 5:
  26. dict(
  27. name='forefinger1', id=5, color=[255, 153, 255], type='', swap=''),
  28. 6:
  29. dict(
  30. name='forefinger2', id=6, color=[255, 153, 255], type='', swap=''),
  31. 7:
  32. dict(
  33. name='forefinger3', id=7, color=[255, 153, 255], type='', swap=''),
  34. 8:
  35. dict(
  36. name='forefinger4', id=8, color=[255, 153, 255], type='', swap=''),
  37. 9:
  38. dict(
  39. name='middle_finger1',
  40. id=9,
  41. color=[102, 178, 255],
  42. type='',
  43. swap=''),
  44. 10:
  45. dict(
  46. name='middle_finger2',
  47. id=10,
  48. color=[102, 178, 255],
  49. type='',
  50. swap=''),
  51. 11:
  52. dict(
  53. name='middle_finger3',
  54. id=11,
  55. color=[102, 178, 255],
  56. type='',
  57. swap=''),
  58. 12:
  59. dict(
  60. name='middle_finger4',
  61. id=12,
  62. color=[102, 178, 255],
  63. type='',
  64. swap=''),
  65. 13:
  66. dict(
  67. name='ring_finger1', id=13, color=[255, 51, 51], type='', swap=''),
  68. 14:
  69. dict(
  70. name='ring_finger2', id=14, color=[255, 51, 51], type='', swap=''),
  71. 15:
  72. dict(
  73. name='ring_finger3', id=15, color=[255, 51, 51], type='', swap=''),
  74. 16:
  75. dict(
  76. name='ring_finger4', id=16, color=[255, 51, 51], type='', swap=''),
  77. 17:
  78. dict(name='pinky_finger1', id=17, color=[0, 255, 0], type='', swap=''),
  79. 18:
  80. dict(name='pinky_finger2', id=18, color=[0, 255, 0], type='', swap=''),
  81. 19:
  82. dict(name='pinky_finger3', id=19, color=[0, 255, 0], type='', swap=''),
  83. 20:
  84. dict(name='pinky_finger4', id=20, color=[0, 255, 0], type='', swap='')
  85. },
  86. skeleton_info={
  87. 0:
  88. dict(link=('wrist', 'thumb1'), id=0, color=[255, 128, 0]),
  89. 1:
  90. dict(link=('thumb1', 'thumb2'), id=1, color=[255, 128, 0]),
  91. 2:
  92. dict(link=('thumb2', 'thumb3'), id=2, color=[255, 128, 0]),
  93. 3:
  94. dict(link=('thumb3', 'thumb4'), id=3, color=[255, 128, 0]),
  95. 4:
  96. dict(link=('wrist', 'forefinger1'), id=4, color=[255, 153, 255]),
  97. 5:
  98. dict(link=('forefinger1', 'forefinger2'), id=5, color=[255, 153, 255]),
  99. 6:
  100. dict(link=('forefinger2', 'forefinger3'), id=6, color=[255, 153, 255]),
  101. 7:
  102. dict(link=('forefinger3', 'forefinger4'), id=7, color=[255, 153, 255]),
  103. 8:
  104. dict(link=('wrist', 'middle_finger1'), id=8, color=[102, 178, 255]),
  105. 9:
  106. dict(
  107. link=('middle_finger1', 'middle_finger2'),
  108. id=9,
  109. color=[102, 178, 255]),
  110. 10:
  111. dict(
  112. link=('middle_finger2', 'middle_finger3'),
  113. id=10,
  114. color=[102, 178, 255]),
  115. 11:
  116. dict(
  117. link=('middle_finger3', 'middle_finger4'),
  118. id=11,
  119. color=[102, 178, 255]),
  120. 12:
  121. dict(link=('wrist', 'ring_finger1'), id=12, color=[255, 51, 51]),
  122. 13:
  123. dict(
  124. link=('ring_finger1', 'ring_finger2'), id=13, color=[255, 51, 51]),
  125. 14:
  126. dict(
  127. link=('ring_finger2', 'ring_finger3'), id=14, color=[255, 51, 51]),
  128. 15:
  129. dict(
  130. link=('ring_finger3', 'ring_finger4'), id=15, color=[255, 51, 51]),
  131. 16:
  132. dict(link=('wrist', 'pinky_finger1'), id=16, color=[0, 255, 0]),
  133. 17:
  134. dict(
  135. link=('pinky_finger1', 'pinky_finger2'), id=17, color=[0, 255, 0]),
  136. 18:
  137. dict(
  138. link=('pinky_finger2', 'pinky_finger3'), id=18, color=[0, 255, 0]),
  139. 19:
  140. dict(
  141. link=('pinky_finger3', 'pinky_finger4'), id=19, color=[0, 255, 0])
  142. },
  143. joint_weights=[1.] * 21,
  144. sigmas=[])