mirror of
https://github.com/gosticks/openpose.git
synced 2026-08-12 12:20:22 +00:00
Replaced Nms by Maximum in Face
This commit is contained in:
@@ -320,10 +320,12 @@ int openPoseTutorialWrapper2()
|
||||
const auto workerOutputOnNewThread = true;
|
||||
opWrapper.setWorkerOutput(wUserOutput, workerOutputOnNewThread);
|
||||
// Configure OpenPose
|
||||
const op::WrapperStructPose wrapperStructPose{netInputSize, outputSize, keypointScale, FLAGS_num_gpu, FLAGS_num_gpu_start,
|
||||
FLAGS_num_scales, (float)FLAGS_scale_gap, op::flagsToRenderMode(FLAGS_render_pose), poseModel,
|
||||
!FLAGS_disable_blending, (float)FLAGS_alpha_pose, (float)FLAGS_alpha_heatmap,
|
||||
FLAGS_part_to_show, FLAGS_model_folder, heatMapTypes, heatMapScale};
|
||||
const op::WrapperStructPose wrapperStructPose{netInputSize, outputSize, keypointScale, FLAGS_num_gpu,
|
||||
FLAGS_num_gpu_start, FLAGS_num_scales, (float)FLAGS_scale_gap,
|
||||
op::flagsToRenderMode(FLAGS_render_pose), poseModel,
|
||||
!FLAGS_disable_blending, (float)FLAGS_alpha_pose,
|
||||
(float)FLAGS_alpha_heatmap, FLAGS_part_to_show, FLAGS_model_folder,
|
||||
heatMapTypes, heatMapScale};
|
||||
// Face configuration (use op::WrapperStructFace{} to disable it)
|
||||
const op::WrapperStructFace wrapperStructFace{FLAGS_face, faceNetInputSize, op::flagsToRenderMode(FLAGS_render_face, FLAGS_render_pose),
|
||||
(float)FLAGS_alpha_face, (float)FLAGS_alpha_heatmap_face};
|
||||
|
||||
Reference in New Issue
Block a user