Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6502 Discussions

Human pose estimation model on Raspberry pi 4 with NCS2

Siméon
New Contributor I
3,304 Views

Hello,

I would like to use the ```human_pose_estimation``` demo on my RPi. Unfortunately, it seems it doesn't exist on the new versions of the OpenVINO tool for RPi (from 2020). Hence, I firstly tried to copied it from the tool of 2018 that have it, and tried to modified the CMakeLists file, but I got many errors (when I build the samples) that I doesn't understood. With the original files, the compiler couldn't find the common files, even if it was written in the same way as the other samples. So, I gave up in that way.

What I did then, is to copy the demo folder of my OpenVino from my Ubuntu to my RPi, and I built it. It worked with no errors.
But, when I want to use it with this command :

./human_pose_estimation_demo -d MYRIAD -i /dev/video0 -m FP16-INT8/human-pose-estimation-0001.xml


I got some inconsistant errors, for example:

InferenceEngine: 0xb6dba040
Parsing input parameters
E: [ncAPI] [    166453] [human_pose_esti] ncDeviceOpen:1003     Failed to find booted device after boot
corrupted double-linked list
Aborted
InferenceEngine: 0xb6d8b040
Parsing input parameters
munmap_chunk(): invalid pointer
Aborted
InferenceEngine: 0xb6d34040
Parsing input parameters
corrupted double-linked list
Aborted

 

So if you know a way to make that model works, it would be great. Otherwise, I think I could use the 2018 version of OpenVINO, but it'd annoying to reinstall everything, and maybe less optimised?

 

Thanks in advance for your help,
Siméon

0 Kudos
1 Solution
David_C_Intel
Employee
3,254 Views

Hi Siméon,

Thanks for reaching out. That demo is located in the Open Model Zoo git hub repository. You should be able to build and run the sample on RPi from the Open Model Zoo by doing the following these steps:

 

1- Clone the github repository and build the demos.

git clone https://github.com/openvinotoolkit/open_model_zoo.git

cd demos

mkdir build && cd build

cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-march=armv7-a“ ..

make human_pose_estimation_demo



2- Download the pre-trained model's files. 

wget https://download.01.org/opencv/2020/openvinotoolkit/2020.4/open_model_zoo/models_bin/3/human-pose-estimation-0001/FP16/human-pose-estimation-0001.bin

wget https://download.01.org/opencv/2020/openvinotoolkit/2020.4/open_model_zoo/models_bin/3/human-pose-estimation-0001/FP16/human-pose-estimation-0001.xml

 

3- Test the demo

./human_pose_estimation_demo -i cam -d MYRIAD -m human-pose-estimation-0001.xml


If you have additional questions, let us know.


Best regards,

David C.


View solution in original post

3 Replies
David_C_Intel
Employee
3,255 Views

Hi Siméon,

Thanks for reaching out. That demo is located in the Open Model Zoo git hub repository. You should be able to build and run the sample on RPi from the Open Model Zoo by doing the following these steps:

 

1- Clone the github repository and build the demos.

git clone https://github.com/openvinotoolkit/open_model_zoo.git

cd demos

mkdir build && cd build

cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-march=armv7-a“ ..

make human_pose_estimation_demo



2- Download the pre-trained model's files. 

wget https://download.01.org/opencv/2020/openvinotoolkit/2020.4/open_model_zoo/models_bin/3/human-pose-estimation-0001/FP16/human-pose-estimation-0001.bin

wget https://download.01.org/opencv/2020/openvinotoolkit/2020.4/open_model_zoo/models_bin/3/human-pose-estimation-0001/FP16/human-pose-estimation-0001.xml

 

3- Test the demo

./human_pose_estimation_demo -i cam -d MYRIAD -m human-pose-estimation-0001.xml


If you have additional questions, let us know.


Best regards,

David C.


Siméon
New Contributor I
3,249 Views

Thanks a lot !!!!!

It works now! I spent so much time, trying with different versions. Finally it works

 

Thanks again

0 Kudos
David_C_Intel
Employee
3,241 Views

Hi Siméon,

Happy to hear that! If you have more questions, please submit a new post as this is already solved and will no longer be monitored.

Regards,

David C.


0 Kudos
Reply