OpenPose  1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
op::Worker< TDatums > Class Template Referenceabstract

#include <worker.hpp>

Inheritance diagram for op::Worker< TDatums >:
op::WorkerProducer< std::shared_ptr< std::vector< std::shared_ptr< TDatum > > > > op::WCvMatToOpInput< TDatums > op::WCvMatToOpOutput< TDatums > op::WFaceDetector< TDatums > op::WFaceDetectorOpenCV< TDatums > op::WFaceExtractorNet< TDatums > op::WFaceRenderer< TDatums > op::WFpsMax< TDatums > op::WGuiInfoAdder< TDatums > op::WHandDetector< TDatums > op::WHandDetectorFromTxt< TDatums > op::WHandDetectorTracking< TDatums > op::WHandDetectorUpdate< TDatums > op::WHandExtractorNet< TDatums > op::WHandRenderer< TDatums > op::WIdGenerator< TDatums > op::WKeepTopNPeople< TDatums > op::WKeypointScaler< TDatums > op::WOpOutputToCvMat< TDatums > op::WPersonIdExtractor< TDatums > op::WPoseExtractor< TDatums > op::WPoseExtractorNet< TDatums > op::WPoseRenderer< TDatums > op::WPoseTriangulation< TDatums > op::WQueueOrderer< TDatums > op::WScaleAndSizeExtractor< TDatums > op::WVerbosePrinter< TDatums > op::WorkerConsumer< TDatums > op::WorkerProducer< TDatums >

Public Member Functions

 Worker ()
 
virtual ~Worker ()
 
void initializationOnThreadNoException ()
 
bool checkAndWork (TDatums &tDatums)
 
bool isRunning () const
 
void stop ()
 
virtual void tryStop ()
 

Protected Member Functions

virtual void initializationOnThread ()=0
 
virtual void work (TDatums &tDatums)=0
 

Detailed Description

template<typename TDatums>
class op::Worker< TDatums >

Definition at line 9 of file worker.hpp.

Constructor & Destructor Documentation

◆ Worker()

template<typename TDatums >
op::Worker< TDatums >::Worker

Definition at line 57 of file worker.hpp.

◆ ~Worker()

template<typename TDatums >
op::Worker< TDatums >::~Worker
virtual

Definition at line 63 of file worker.hpp.

Member Function Documentation

◆ checkAndWork()

template<typename TDatums >
bool op::Worker< TDatums >::checkAndWork ( TDatums &  tDatums)

Definition at line 82 of file worker.hpp.

◆ initializationOnThread()

◆ initializationOnThreadNoException()

template<typename TDatums >
void op::Worker< TDatums >::initializationOnThreadNoException

Definition at line 68 of file worker.hpp.

◆ isRunning()

template<typename TDatums >
bool op::Worker< TDatums >::isRunning ( ) const
inline

Definition at line 20 of file worker.hpp.

◆ stop()

template<typename TDatums >
void op::Worker< TDatums >::stop ( )
inline

Definition at line 25 of file worker.hpp.

◆ tryStop()

template<typename TDatums >
virtual void op::Worker< TDatums >::tryStop ( )
inlinevirtual

Reimplemented in op::WQueueOrderer< TDatums >.

Definition at line 32 of file worker.hpp.

◆ work()


The documentation for this class was generated from the following file: