Skip to content

mapPose

mapPose<T>(mapFn): object

Mapping of pose

Builds a mapped object where values of property for each pose point is evaluated by the provided mapping function.

Type Parameters

T

Type of a mapped object values

Parameters

mapFn

Function mapping a key to a value

Returns

object

Mapped object of pose points

ankleL

ankleL: T

ankleR

ankleR: T

earL

earL: T

earR

earR: T

elbowL

elbowL: T

elbowR

elbowR: T

eyeInnerL

eyeInnerL: T

eyeInnerR

eyeInnerR: T

eyeL

eyeL: T

eyeOutterL

eyeOutterL: T

eyeOutterR

eyeOutterR: T

eyeR

eyeR: T

footIndexL

footIndexL: T

footIndexR

footIndexR: T

heelL

heelL: T

heelR

heelR: T

hipL

hipL: T

hipR

hipR: T

indexL

indexL: T

indexR

indexR: T

kneeL

kneeL: T

kneeR

kneeR: T

mouthL

mouthL: T

mouthR

mouthR: T

nose

nose: T

pinkyL

pinkyL: T

pinkyR

pinkyR: T

shoulderL

shoulderL: T

shoulderR

shoulderR: T

thumbL

thumbL: T

thumbR

thumbR: T

wristL

wristL: T

wristR

wristR: T