提交 340622fe 编写于 作者: G gineshidalgo99

Fixed some wrapper & doc typos

上级 417e4364
......@@ -23,7 +23,7 @@ Library main functionality:
* Image, video and webcam reader.
* Able to save the results in various format(JSON, XML, PNG, JPG, ...).
* Able to save and load the results in various formats (JSON, XML, PNG, JPG, ...).
* Small display and GUI for simple result visualization.
......
......@@ -44,7 +44,7 @@ Please, in order to check all the real time pose demo options and their details,
`--video input.mp4`: Input video. If omitted, it will use the webcam.
`--camera 3`: Choose webcam number (default: 0). If `--camera`, --image_dir` and `--write_video` are omitted, it is equivalent to use `--camera 0`.
`--camera 3`: Choose webcam number (default: 0). If `--camera`, `--image_dir` and `--write_video` are omitted, it is equivalent to use `--camera 0`.
`--image_dir path_to_images/`: Run on all images (jpg, png, bmp, etc.) in `path_to_images/`. You can test the program with the image directory `examples/media/`.
......
......@@ -260,7 +260,7 @@ int opRealTimePoseDemo()
// Producer (use default to disable any input)
// Consumer (comment or use default argument to disable any output)
opWrapper.configure(wrapperStructPose, wrapperStructInput, wrapperStructOutput);
// Set to single-thread running (for debugging purposes)
// Set to single-thread running (e.g. for debugging purposes)
// opWrapper.disableMultiThreading();
// Start processing
......
......@@ -296,7 +296,7 @@ int openPoseTutorialWrapper1()
// Producer (use default to disable any input)
// Consumer (comment or use default argument to disable any output)
opWrapper.configure(wrapperStructPose, op::WrapperStructInput{}, wrapperStructOutput);
// Set to single-thread running (for debugging purposes)
// Set to single-thread running (e.g. for debugging purposes)
// opWrapper.disableMultiThreading();
op::log("Starting thread(s)", op::Priority::Max);
......
......@@ -358,7 +358,7 @@ int openPoseTutorialWrapper2()
// Producer (use default to disable any input)
// Consumer (comment or use default argument to disable any output)
opWrapper.configure(wrapperStructPose, op::WrapperStructInput{}, wrapperStructOutput);
// Set to single-thread running (for debugging purposes)
// Set to single-thread running (e.g. for debugging purposes)
// opWrapper.disableMultiThreading();
op::log("Starting thread(s)", op::Priority::Max);
......
......@@ -966,7 +966,8 @@ namespace op
}
else
{
log("Debugging activated, only 1 thread running, all spWPoses have been disabled but the first one.");
log("Multi-threading disabled, only 1 thread running. All GPUs have been disabled but the first one, which is defined by"
" gpuNumberStart (in the demo, it is set with the `num_gpu_start` flag.");
mThreadManager.add(mThreadId, spWPoses.at(0), queueIn, queueOut);
}
queueIn++;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册