mmpose-webui / body_shape_lookup.py
Chris
More WIP. Returns a sensible result now!
c9ec478
raw
history blame
No virus
442 Bytes
# TODO: How do we know what the body shape is?
def body_shape_lookup(index):
if index == 1:
return "Hourglass"
elif index == 2:
return "Triangle"
elif index == 3:
return "Inverted Triangle"
elif index == 4:
return "Rectangle"
elif index == 5:
return "Diamond"
elif index == 6:
return "Oval"
elif index == 7:
return "Round"
else:
return "Unknown"