src.utils package

Submodules

src.utils.joints module

Contains a help Joints class which maps each Kinect v2 index with its name. Also provides a connexion_tuples np array which contains all neighboring joints.

class src.utils.joints.Joints

Bases: enum.IntEnum

Maps each Kinect v2 joint name to its corresponding index. See https://medium.com/@lisajamhoury/understanding-kinect-v2-joints-and-coordinate-system-4f4b90b9df16 for joints infos.

ANKLELEFT = 14
ANKLERIGHT = 18
ELBOWLEFT = 5
ELBOWRIGHT = 9
FOOTLEFT = 15
FOOTRIGHT = 19
HANDLEFT = 7
HANDRIGHT = 11
HANDTIPLEFT = 21
HANDTIPRIGHT = 23
HEAD = 3
HIPLEFT = 12
HIPRIGHT = 16
KNEELEFT = 13
KNEERIGHT = 17
NECK = 2
SHOULDERLEFT = 4
SHOULDERRIGHT = 8
SPINEBASE = 0
SPINEMID = 1
SPINESHOULDER = 20
THUMBLEFT = 22
THUMBRIGHT = 24
WRISTLEFT = 6
WRISTRIGHT = 10

Module contents