Classes | Public Member Functions | Private Attributes | List of all members
openvino_helpers::age_gender_detection Class Reference

#include <age-gender-detection.h>

Inheritance diagram for openvino_helpers::age_gender_detection:
Inheritance graph
[legend]

Classes

struct  Result
 

Public Member Functions

 age_gender_detection (const std::string &pathToModel, bool isAsync=true, int maxBatch=1, bool isBatchDynamic=false, bool doRawOutputMessages=false)
 
void enqueue (const cv::Mat &face)
 
Result operator[] (int idx) const
 
InferenceEngine::CNNNetwork read_network () override
 
void submit_request () override
 
- Public Member Functions inherited from openvino_helpers::base_detection
 base_detection (std::string topoName, const std::string &pathToModel, int maxBatch, bool isBatchDynamic, bool isAsync, bool doRawOutputMessages)
 
bool enabled () const
 
void load_into (InferenceEngine::Core &ie, const std::string &deviceName)
 
InferenceEngine::ExecutableNetwork * operator-> ()
 
virtual void wait ()
 
virtual ~base_detection ()=default
 

Private Attributes

int _n_enqued_frames
 
std::string input
 
std::string outputAge
 
std::string outputGender
 

Additional Inherited Members

- Public Attributes inherited from openvino_helpers::base_detection
bool _enabled
 
InferenceEngine::InferRequest::Ptr _request
 
const bool doRawOutputMessages
 
bool enablingChecked
 
const bool isAsync
 
bool isBatchDynamic
 
const size_t maxBatch
 
InferenceEngine::ExecutableNetwork net
 
std::string pathToModel
 
std::string topoName
 

Detailed Description

Definition at line 14 of file age-gender-detection.h.

Constructor & Destructor Documentation

openvino_helpers::age_gender_detection::age_gender_detection ( const std::string pathToModel,
bool  isAsync = true,
int  maxBatch = 1,
bool  isBatchDynamic = false,
bool  doRawOutputMessages = false 
)

Definition at line 15 of file age-gender-detection.cpp.

Member Function Documentation

void openvino_helpers::age_gender_detection::enqueue ( const cv::Mat &  face)

Definition at line 36 of file age-gender-detection.cpp.

age_gender_detection::Result openvino_helpers::age_gender_detection::operator[] ( int  idx) const

Definition at line 50 of file age-gender-detection.cpp.

CNNNetwork openvino_helpers::age_gender_detection::read_network ( )
overridevirtual

Implements openvino_helpers::base_detection.

Definition at line 66 of file age-gender-detection.cpp.

void openvino_helpers::age_gender_detection::submit_request ( )
overridevirtual

Reimplemented from openvino_helpers::base_detection.

Definition at line 27 of file age-gender-detection.cpp.

Member Data Documentation

int openvino_helpers::age_gender_detection::_n_enqued_frames
private

Definition at line 27 of file age-gender-detection.h.

std::string openvino_helpers::age_gender_detection::input
private

Definition at line 24 of file age-gender-detection.h.

std::string openvino_helpers::age_gender_detection::outputAge
private

Definition at line 25 of file age-gender-detection.h.

std::string openvino_helpers::age_gender_detection::outputGender
private

Definition at line 26 of file age-gender-detection.h.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:40