Added ZeroToOneFixedAspect and PlusMinusOneFixedAspect to ScaleMode

This commit is contained in:
Gines Hidalgo
2019-11-10 00:45:36 -05:00
parent 469d6ed0ac
commit d0bb4e9094
18 changed files with 80 additions and 40 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ int handFromJsonTest()
op::WrapperStructPose wrapperStructPose{
op::PoseMode::Disabled, op::flagsToPoint("656x368"), op::flagsToPoint("1280x720"), op::ScaleMode::InputResolution,
FLAGS_num_gpu, FLAGS_num_gpu_start, 1, 0.15f, op::RenderMode::None, op::PoseModel::BODY_25, true, 0.f, 0.f,
0, "models/", {}, op::ScaleMode::ZeroToOne, false, 0.05f, -1, false};
0, "models/", {}, op::ScaleMode::ZeroToOneAspectRatio, false, 0.05f, -1, false};
wrapperStructPose.modelFolder = op::String(FLAGS_model_folder);
// Hand configuration (use op::WrapperStructHand{} to disable it)
const op::WrapperStructHand wrapperStructHand{