mmpose-webui / body_shape_lookup.py
Chris
Improvements after call with Peter.
c205b8f
raw
history blame
No virus
650 Bytes
# TODO: How do we know what the body shape is?
def body_shape_lookup(index):
if index == 1:
return "Skittle"
elif index == 2:
return "Goblet"
elif index == 3:
return "Hourglass"
elif index == 4:
return "Cornet"
elif index == 5:
return "Cello"
elif index == 6:
return "Apple"
elif index == 7:
return "Column"
elif index == 8:
return "Bell"
elif index == 9:
return "Vase"
elif index == 10:
return "Brick"
elif index == 11:
return "Lollipop"
elif index == 12:
return "Pear"
else:
return "Unknown"