mirror of
https://github.com/gosticks/openpose.git
synced 2026-08-12 20:30:20 +00:00
Add frame_step flag
This commit is contained in:
@@ -184,8 +184,8 @@ int tutorialApiCpp5()
|
||||
opWrapperT.configure(wrapperStructExtra);
|
||||
// Producer (use default to disable any input)
|
||||
const op::WrapperStructInput wrapperStructInput{
|
||||
producerSharedPtr, FLAGS_frame_first, FLAGS_frame_last, FLAGS_process_real_time, FLAGS_frame_flip,
|
||||
FLAGS_frame_rotate, FLAGS_frames_repeat};
|
||||
producerSharedPtr, FLAGS_frame_first, FLAGS_frame_step, FLAGS_frame_last, FLAGS_process_real_time,
|
||||
FLAGS_frame_flip, FLAGS_frame_rotate, FLAGS_frames_repeat};
|
||||
opWrapperT.configure(wrapperStructInput);
|
||||
// Consumer (comment or use default argument to disable any output)
|
||||
const auto displayMode = op::DisplayMode::NoDisplay;
|
||||
|
||||
@@ -152,8 +152,8 @@ int tutorialApiCpp6()
|
||||
opWrapperT.configure(wrapperStructExtra);
|
||||
// Producer (use default to disable any input)
|
||||
const op::WrapperStructInput wrapperStructInput{
|
||||
producerSharedPtr, FLAGS_frame_first, FLAGS_frame_last, FLAGS_process_real_time, FLAGS_frame_flip,
|
||||
FLAGS_frame_rotate, FLAGS_frames_repeat};
|
||||
producerSharedPtr, FLAGS_frame_first, FLAGS_frame_step, FLAGS_frame_last, FLAGS_process_real_time,
|
||||
FLAGS_frame_flip, FLAGS_frame_rotate, FLAGS_frames_repeat};
|
||||
opWrapperT.configure(wrapperStructInput);
|
||||
// Consumer (comment or use default argument to disable any output)
|
||||
const op::WrapperStructOutput wrapperStructOutput{
|
||||
|
||||
@@ -199,8 +199,8 @@ int tutorialApiCpp8()
|
||||
opWrapperT.configure(wrapperStructExtra);
|
||||
// Producer (use default to disable any input)
|
||||
const op::WrapperStructInput wrapperStructInput{
|
||||
producerSharedPtr, FLAGS_frame_first, FLAGS_frame_last, FLAGS_process_real_time, FLAGS_frame_flip,
|
||||
FLAGS_frame_rotate, FLAGS_frames_repeat};
|
||||
producerSharedPtr, FLAGS_frame_first, FLAGS_frame_step, FLAGS_frame_last, FLAGS_process_real_time,
|
||||
FLAGS_frame_flip, FLAGS_frame_rotate, FLAGS_frames_repeat};
|
||||
opWrapperT.configure(wrapperStructInput);
|
||||
// Consumer (comment or use default argument to disable any output)
|
||||
const auto displayMode = op::DisplayMode::NoDisplay;
|
||||
|
||||
Reference in New Issue
Block a user