[Decoder/Pose] Get key body connections from optional file
authorXavier Roumegue <xavier.roumegue@nxp.com>
Thu, 11 Mar 2021 20:05:01 +0000 (20:05 +0000)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 17 Mar 2021 05:45:12 +0000 (14:45 +0900)
commit8d365b7a9dc2327cd528df158ed7e0bf2fce6a72
treecbb5f3e76f8962c316b4ec632759948a5f27d331
parent24e4c1ab18bd3511336cb6eebf467ab1aa56133c
[Decoder/Pose] Get key body connections from optional file

The body connections are added to each keypoint line in the
optional key body listing file.
A space separated number list is expected to describe other keypoints
connected to the current's one.

For example, default pose decoder configuration could be described
as the following:
top 1
neck 0 2 5 8 11
r_shoulder 1 3
r_elbow 2 4
r_wrist 3 1
l_shoulder 1 6
l_elbow 5 7
l_wrist 6
r_hip 1 9
r_knee 8 10
r_ankle 9
l_hip 1 12
l_knee 11 13
l_ankle 12

Signed-off-by: Xavier Roumegue <xavier.roumegue@nxp.com>
ext/nnstreamer/tensor_decoder/tensordec-pose.c