提交 9827ab75 编写于 作者: G Gines Hidalgo

Made (even) more clear tutorial thread is advanced

上级 46986f25
// ------------------------- OpenPose Library Tutorial - Thread - Example 1 - User Processing Function ------------------------- // ------------------------- OpenPose Library Tutorial - Thread - Example 1 - User Processing Function -------------------------
// This fourth example shows the user how to: // This directory only provides examples for the basic OpenPose thread mechanism API, and it is only meant for people
// 1. Read folder of images / video / webcam (`producer` module) // interested in the multi-thread architecture without been interested in the OpenPose pose estimation algorithm.
// 2. Use the processing implemented by the user // You are most probably looking for the [examples/tutorial_api_cpp/](../tutorial_api_cpp/) or
// 3. Display the rendered pose (`gui` module) // [examples/tutorial_api_python/](../tutorial_api_python/), which provide examples of the thread API already applied
// Everything in a multi-thread scenario (`thread` module) // to body pose estimation.
// In addition to the previous OpenPose modules, we also need to use:
// 1. `core` module: for the Datum struct that the `thread` module sends between the queues
// 2. `utilities` module: for the error & logging functions, i.e., op::error & op::log respectively
// Third-party dependencies // Third-party dependencies
#include <opencv2/opencv.hpp> #include <opencv2/opencv.hpp>
......
// ------------------------- OpenPose Library Tutorial - Thread - Example 2 - User Input Processing And Output ------------------------- // ------------------------- OpenPose Library Tutorial - Thread - Example 2 - User Input Processing And Output -------------------------
// This fourth example shows the user how to: // This directory only provides examples for the basic OpenPose thread mechanism API, and it is only meant for people
// 1. Read folder of images / video / webcam (`producer` module) // interested in the multi-thread architecture without been interested in the OpenPose pose estimation algorithm.
// 2. Use the processing implemented by the user // You are most probably looking for the [examples/tutorial_api_cpp/](../tutorial_api_cpp/) or
// 3. Display the rendered pose (`gui` module) // [examples/tutorial_api_python/](../tutorial_api_python/), which provide examples of the thread API already applied
// Everything in a multi-thread scenario (`thread` module) // to body pose estimation.
// In addition to the previous OpenPose modules, we also need to use:
// 1. `core` module: for the Datum struct that the `thread` module sends between the queues
// 2. `utilities` module: for the error & logging functions, i.e., op::error & op::log respectively
// Third-party dependencies // Third-party dependencies
#include <opencv2/opencv.hpp> #include <opencv2/opencv.hpp>
......
# Thread API Examples # Thread API Examples
**NOTE**: This is an advanced API, you are most probably looking for the [examples/tutorial_api_python/](../tutorial_api_python/) examples folder, which provides examples of the thread API but applied to body pose estimation. **NOTE**: This directory only provides examples for the basic OpenPose thread mechanism API, and it is only meant for people interested in the multi-thread architecture without been interested in the OpenPose pose estimation algorithm.
This folder provides examples to the basic OpenPose thread mechanism API. It is only meant for people interesed in the multi-thread architecture without been interesed in the OpenPose pose estimation algorithm. You are most probably looking for the [examples/tutorial_api_cpp/](../tutorial_api_cpp/) or [examples/tutorial_api_python/](../tutorial_api_python/), which provide examples of the thread API already applied to body pose estimation.
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册