Person Pose Detection ML Application
Description
The UC Person Pose Detection application detects individuals in the camera’s field of view by generating bounding boxes and identifying 17 keypoints for each person, corresponding to various body parts. Each keypoint is accompanied by a confidence score that indicates the reliability of the detection, enabling accurate estimation of the person’s pose. This example supports both WQVGA(480x270) and VGA(640x480) resolutions.
The latest example structure uses a common application source tree with board-specific hardware setup kept under hw/<BOARD>/. For this app:
Common application sources such as
main.c,uc_person_pose_detection.c, anduc_person_pose_detection.hstay in the app root.Application defconfigs are stored under
configs/.Board and hardware-specific setup is selected from
hw/<BOARD>/, for examplehw/SR110_RDK/.
The application can also be exported and built as a standalone app repository. In that flow, keep this app in its own directory, point SRSDK_DIR to the SDK root, and build from the app directory itself. For the full application workflow model, see Astra MCU SDK User Guide.
Supported Boards
This application supports:
SR110_RDK
Select the defconfig that matches your target board, and the build system will pick the corresponding board-specific hardware setup from hw/<BOARD>/.
Prerequisites
Choose one setup path:
Test Case Selection
Before building, choose the testcase defconfig that matches both your target board and the transfer mode you want to validate.
You can:
Select the required defconfig directly from the application’s
configs/directory.Run
make list_defconfigsfrom the application directory to list all supported defconfigs.
Available defconfigs:
sr110_rdk_cm55_person_pose_detection_vga_img_proc_autorun_defconfigsr110_rdk_cm55_person_pose_detection_vga_img_proc_defconfigsr110_rdk_cm55_person_pose_detection_wqvga_img_proc_autorun_defconfigsr110_rdk_cm55_person_pose_detection_wqvga_img_proc_defconfigsr110_rdk_cm55_person_pose_detection_wqvga_lpsense_autorun_defconfigsr110_rdk_cm55_person_pose_detection_wqvga_lpsense_defconfig
For this app, the default defconfig is:
sr110_rdk_cm55_person_pose_detection_wqvga_img_proc_defconfig
Building and Flashing the Example using VS Code and CLI
Use the VS Code flow described in the SR110 guide and the VS Code Extension guide:
Build (VS Code):
Open Build and Deploy -> Build Configurations.
Select the person_pose_detection project configuration in the Project Configuration dropdown.
If you need VGA (640x480), click Edit Configs (Menuconfig) in the Build and Deploy view, then set
COMPONENTS CONFIGURATION -> Off Chip Components -> Display Resolutionto VGA.Optional configuration changes in Menuconfig:
WQVGA in LP Sense:
COMPONENTS CONFIGURATION -> Drivers-> enableMODULE_LP_SENSE_ENABLEDStatic Image:
COMPONENTS CONFIGURATION -> Off Chip Components-> disableMODULE_IMAGE_SENSOR_ENABLED
Build with Build (SDK+Project) for the first build, or Build (Project) for rebuilds.
Build (CLI):
Build from the application directory itself:
cd <sdk-root>/examples/vision_examples/uc_person_pose_detection export SRSDK_DIR=<sdk-root> make <app_defconfig> BUILD=SRSDK
If you need VGA (640x480), open Kconfig and set
COMPONENTS CONFIGURATION -> Off Chip Components -> Display Resolutionto VGA:make <app_defconfig> BOARD=SR110_RDK BUILD=SRSDK EDIT=1
For faster rebuilds when only app code changes, reuse the app-local installed SDK package:
cd <sdk-root>/examples/vision_examples/uc_person_pose_detection export SRSDK_DIR=<sdk-root> make build
If this app has been exported to its own repository, use the same commands from that exported app directory after setting
SRSDK_DIRto the SDK root.
Build outputs (CLI):
Application binary:
<app-dir>/out/<target>/release/<target>.elfApp-local SDK package:
<app-dir>/install/<BOARD>/<BUILD_TYPE>/
Flash (VS Code):
Use Image Conversion to generate the flash image.
Use Image Flashing (SWD/JTAG) to flash the firmware image.
VGA use case: flash the model binary second, after the use case image.
In Image Flashing, check Model Binary and set Flash Offset to0x629000, then flash the model file.
After that, flash the firmware image normally.
Flash (CLI):
Activate the SDK venv (required for image generation tools):
# Linux/macOS source <sdk-root>/.venv/bin/activate # Windows PowerShell .\.venv\Scripts\Activate.ps1
Generate the flash image:
cd <sdk-root>/tools/srsdk_image_generator python srsdk_image_generator.py \ -B0 \ -flash_image \ -sdk_secured \ -spk "<sdk-root>/tools/srsdk_image_generator/Inputs/spk_rc4_1_0_secure_otpk.bin" \ -apbl "<sdk-root>/tools/srsdk_image_generator/Inputs/sr100_b0_bootloader_ver_0x012F_ASIC.axf" \ -m55_image "<sdk-root>/examples/vision_examples/uc_person_pose_detection/out/sr110_cm55_fw/release/sr110_cm55_fw.elf" \ -flash_type "GD25LE128" \ -flash_freq "67"
Flash the firmware image:
cd <sdk-root> python tools/openocd/scripts/flash_xspi_tcl.py \ --cfg_path tools/openocd/configs/sr110_m55.cfg \ --image tools/srsdk_image_generator/Output/B0_Flash/B0_flash_full_image_GD25LE128_67Mhz_secured.bin \ --erase-all
VGA use case: flash the model binary second at offset
0x629000:cd <sdk-root> python tools/openocd/scripts/flash_xspi_tcl.py \ --cfg_path tools/openocd/configs/sr110_m55.cfg \ --image <path-to-model-bin> \ --flash-offset 0x629000
Running the Application using VS Code Extension
Windows note: Ensure the USB drivers are installed for streaming. See the Zadig steps in
SR110 Build and Flash with VS Code.
In VS Code, open Video Streamer from the Synaptics sidebar.

For logging output, click SERIAL MONITOR and connect to the DAP logger port on J14.
To make it easier to identify, ensure only J14 is plugged in (not J13).
The logger port is not guaranteed to be consistent across OSes. As a starting point:
Windows: try the lower-numbered J14 COM port first.
Linux/macOS: try the higher-numbered J14 port first.
If you do not see logs after a reset, switch to the other J14 port.
In the Video Streamer dropdown, select the J13 COM port.
Plug in J13 and press RESET on the board.
Windows: select the newly enumerated COM port.
Linux/macOS: select the lower-numbered COM port of the two newly enumerated ports.
Use the Video Streamer controls:
a. Select PERSON_POSE_DETECTION from the UC ID dropdown.
b. Set RGB Demosaic to BayerRGGB.
c. Click Create Use Case.
d. Click Start Use Case (a Python window opens and the video stream appears).
Autorun use cases: If autorun is enabled, after step 4 click Connect Image Source to open the video stream pop-up.