The Pose Detection library is used to detect the posture of the human body. This library includes a neural network that can identify 14 key points on the human body (you can use our SSD detection library). The input is a picture that is detected by the pedestrian detection neural network. The output is a structure containing the coordinates of each point. The following image shows the result of pose detection.
Figure 1. Pose Detection Example
The following table lists the pose detection models supported by the Vitis AI Library.
No | Model Name | Framework |
---|---|---|
1 | sp_net | Caffe |
Note: If the input
image is arbitrary and you do not know the exact location of the person, perform the SSD
detection first. See the test_jpeg_posedetect_with_ssd.cpp file. The input for
test_jpeg_posedetect_ssd can be any image with or without a person in it. If there is a
person in the image, it will first detect the person with SSD, then send the position of
the person as the input for posedetect. If the SSD detection does not identify any
person in the image, then posedetect does not run. As test_jpeg_posedetect only performs
posedetect, so the input image must have at least one person. If you input an image
without a person for test_jpeg_posedetect, it will throw an error. See the test_jpeg_posedetect.cpp file.