OpenPose Matlab - downloadTr​ainedOpenP​oseNet ERROR

Hi, I am trying to follow the "Estimate body pose using deep learning" example, but I have an error when I run the "downloadTrainedOpenPoseNet(trainedOpenPoseNet_url,dataDir)" line. The error tells me:
Undefined function 'downloadTrainedOpenPoseNet' for input arguments of type 'char'.
I have Deep Learning Toolbox and Computer Vision Toolbox, but it doesn't work. Would be nice to receive any help on this topic. Thank you in advance.

1 Comment

1.I just download the document from the link
2. run the command in MATLAB.
dataDir = fullfile(tempdir,'OpenPose');
you will get the location work space.
open the location and paste the downloaded file in the location and extract it.
you don't need to do these steps
dataDir = fullfile(tempdir,'OpenPose');
trainedOpenPoseNet_url = 'https://ssd.mathworks.com/supportfiles/vision/data/human-pose-estimation.zip';
downloadTrainedOpenPoseNet(trainedOpenPoseNet_url,dataDir)
unzip(fullfile(dataDir,'human-pose-estimation.zip'),dataDir);

Sign in to comment.

Answers (1)

Hi Maria,
This is a known issue with the example. Please replace the following line in the example:
trainedOpenPoseNet_url = 'https://www.mathworks.com/supportfiles/vision/data/trainedOpenPoseNet.mat';
with:
trainedOpenPoseNet_url = 'https://ssd.mathworks.com/supportfiles/vision/data/human-pose-estimation.zip';
Hope that helps,
Vinoth

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!