Skip to content

Commit

Permalink
setting homebrewed openpose as default 2D joint detector..
Browse files Browse the repository at this point in the history
  • Loading branch information
AmmarkoV committed Oct 22, 2021
1 parent f14bfde commit 7c8a53b
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void defaultMocapNET2Options(struct MocapNET2Options * options)
options->webcamSource = 0;
options->path=0;
options->datasetPath=0;
options->jointEstimatorUsed = JOINT_2D_ESTIMATOR_FORTH;
options->jointEstimatorUsed = JOINT_2D_ESTIMATOR_OPENPOSE; // JOINT_2D_ESTIMATOR_FORTH;

options->doUpperBody=1;
options->doLowerBody=1;
Expand Down Expand Up @@ -357,6 +357,10 @@ int loadOptionsFromCommandlineOptions(struct MocapNET2Options * options,int argc
{
options->bvhCenter=1;
}
else if (strcmp(argv[i],"--forth")==0)
{
options->jointEstimatorUsed = JOINT_2D_ESTIMATOR_FORTH;
}
else if (strcmp(argv[i],"--openpose")==0)
{
options->jointEstimatorUsed = JOINT_2D_ESTIMATOR_OPENPOSE;
Expand Down

0 comments on commit 7c8a53b

Please sign in to comment.