OpenPose Matlab - downloadTrainedOpenPoseNet ERROR
7 views (last 30 days)
Show older comments
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
Farhat Naseer
on 23 Jun 2021
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);
Answers (1)
Vinoth Venkatesan
on 4 Nov 2020
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
0 Comments
See Also
Categories
Find more on Computer Vision 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!