Undefinded symbol filter_letterbox with custom c++ yolo pose postprocessing

I am using the pose_estimation.py example from hailo-rpi5-examples. I slightly modified the yolov8pose_postprocessing.cpp file in hailo-apps-infra repo (adjusted joint pairs and number of keypoints for my model). I compiled the .so files with the ./compile_postprocess.sh script. I am running into a

“Cannot load symbol: /home/aidan/Documents/hailo-apps-infra/hailo_apps_infra/…/resources/libyolov8pose_postprocess.so: undefined symbol: filter_letterbox”

error that I cannot solve. Any idea what it could be? Or is my method completely wrong.

Hey @Aidan_MacNichol,

Your method is correct, but quick question - did you edit the file inside the virtual environment or not? If not, you’ll have to install your local Hailo apps infra into the virtual environment.

You might also need to recompile everything, but run clean before it:

./compile_postprocess.sh clean
1 Like