Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Siméon
Novice
1,096 Views

Human pose estimation model on Raspberry pi 4 with NCS2

Jump to solution

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
1,046 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-es...

wget https://download.01.org/opencv/2020/openvinotoolkit/2020.4/open_model_zoo/models_bin/3/human-pose-es...

 

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
1,047 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-es...

wget https://download.01.org/opencv/2020/openvinotoolkit/2020.4/open_model_zoo/models_bin/3/human-pose-es...

 

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

Siméon
Novice
1,041 Views

Thanks a lot !!!!!

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

 

Thanks again

David_C_Intel
Employee
1,033 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.


Reply