Open minzhou1003 opened 6 years ago
Are you getting any error during preprocessing ?
Yes, just like above description, but I eventually fixed it by modifying the preprocessing part, now it works well and can generate the img_data.json
.
Now, I have one question about the preprocessing part, so I want to estimate all joints that visible in one image, but your code is only for right shoulder, right elbow and right wrist, right? Can you give me any suggestions about this? Thanks a lot for your response!
I only used 3 points for simplification. Ideally all 10 joints should be used.
I followed your instruction and I did Preprocessing and SVM train, but I got an error during the TestSVM:
Then after debugging
TestSVM.cpp
, I figure out this is because in the main func theimg_data.json
doesn't exist under jsons after preprocessing and training. As a result, thefile_contents=""
so, the argument""
is passed to thejson::parse
raising the error. I don’t know where am I wrong but I think I've run the training part correctly, please help me, thanks!