12. Human Pose Recognition

12.1. Python Example

Example: Human Pose Recognition
#mPythonType:0
from mpython import *
import smartcamera_k230 as smartcamera

smart_camera = smartcamera.SmartCameraK230(tx=Pin.P1, rx=Pin.P0)

smart_camera.model_init(11)

while True:
    smart_camera.person_keypoint_detect_plus.recognize()
    person_keypoint = smart_camera.person_keypoint_detect_plus.id
    if person_keypoint != None:
        print(str('Pose recognition id: ') + str(person_keypoint))

12.2. mPython Graphical Example

../../../../_images/human_pose_recognition.png

12.3. Human Pose Material

../../../../_images/result.jpeg

12.4. Demo Video