Logo
ApraPipes 1.0
Loading...
Searching...
No Matches
FacialLandmarkCVProps Class Reference

#include <FacialLandmarksCV.h>

Inheritance diagram for FacialLandmarkCVProps:
Inheritance graph
Collaboration diagram for FacialLandmarkCVProps:
Collaboration graph

Public Types

enum  FaceDetectionModelType { SSD , HAAR_CASCADE }
 
- Public Types inherited from ModuleProps
enum  FrameFetchStrategy { PUSH , PULL }
 

Public Member Functions

 FacialLandmarkCVProps (FaceDetectionModelType _type)
 
 FacialLandmarkCVProps (FaceDetectionModelType _type, const std::string _Face_Detection_Configuration, const std::string _Face_Detection_Weights, const std::string _landmarksDetectionModel, cv::Ptr< cv::face::Facemark > _facemark)
 
 FacialLandmarkCVProps (FaceDetectionModelType _type, const std::string _faceDetectionModel, const std::string _landmarksDetectionModel, cv::Ptr< cv::face::Facemark > _facemark)
 
size_t getSerializeSize ()
 
- Public Member Functions inherited from ModuleProps
 ModuleProps ()
 
 ModuleProps (float _fps)
 
 ModuleProps (float _fps, size_t _qlen, bool _logHealth)
 
 ModuleProps (FrameFetchStrategy _frameFetchStrategy)
 
size_t getQLen ()
 

Public Attributes

FaceDetectionModelType type
 
const std::string Face_Detection_Configuration = "./data/assets/deploy.prototxt"
 
const std::string Face_Detection_Weights = "./data/assets/res10_300x300_ssd_iter_140000_fp16.caffemodel"
 
const std::string landmarksDetectionModel = "./data/assets/face_landmark_model.dat"
 
const std::string faceDetectionModel = "./data/assets/haarcascade.xml"
 
cv::Ptr< cv::face::Facemark > facemark = cv::face::FacemarkKazemi::create()
 
- Public Attributes inherited from ModuleProps
float fps
 
size_t qlen
 
bool logHealth
 
int logHealthFrequency
 
size_t maxConcurrentFrames
 
int skipN = 0
 
int skipD = 1
 
FrameFetchStrategy frameFetchStrategy
 
QuePushStrategy::QuePushStrategyType quePushStrategyType
 
FIndexStrategy::FIndexStrategyType fIndexStrategyType
 
bool enableHealthCallBack
 
int healthUpdateIntervalInSec
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Friends

class boost::serialization::access
 

Member Enumeration Documentation

◆ FaceDetectionModelType

Enumerator
SSD 
HAAR_CASCADE 

Constructor & Destructor Documentation

◆ FacialLandmarkCVProps() [1/3]

FacialLandmarkCVProps::FacialLandmarkCVProps ( FaceDetectionModelType _type)
inline

◆ FacialLandmarkCVProps() [2/3]

FacialLandmarkCVProps::FacialLandmarkCVProps ( FaceDetectionModelType _type,
const std::string _Face_Detection_Configuration,
const std::string _Face_Detection_Weights,
const std::string _landmarksDetectionModel,
cv::Ptr< cv::face::Facemark > _facemark )
inline

◆ FacialLandmarkCVProps() [3/3]

FacialLandmarkCVProps::FacialLandmarkCVProps ( FaceDetectionModelType _type,
const std::string _faceDetectionModel,
const std::string _landmarksDetectionModel,
cv::Ptr< cv::face::Facemark > _facemark )
inline

Member Function Documentation

◆ getSerializeSize()

size_t FacialLandmarkCVProps::getSerializeSize ( )
inlinevirtual

Reimplemented from ModuleProps.

Here is the call graph for this function:

◆ serialize()

template<class Archive >
void FacialLandmarkCVProps::serialize ( Archive & ar,
const unsigned int version )
inlineprivate

Friends And Related Symbol Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Member Data Documentation

◆ Face_Detection_Configuration

const std::string FacialLandmarkCVProps::Face_Detection_Configuration = "./data/assets/deploy.prototxt"

◆ Face_Detection_Weights

const std::string FacialLandmarkCVProps::Face_Detection_Weights = "./data/assets/res10_300x300_ssd_iter_140000_fp16.caffemodel"

◆ faceDetectionModel

const std::string FacialLandmarkCVProps::faceDetectionModel = "./data/assets/haarcascade.xml"

◆ facemark

cv::Ptr<cv::face::Facemark> FacialLandmarkCVProps::facemark = cv::face::FacemarkKazemi::create()

◆ landmarksDetectionModel

const std::string FacialLandmarkCVProps::landmarksDetectionModel = "./data/assets/face_landmark_model.dat"

◆ type

FaceDetectionModelType FacialLandmarkCVProps::type

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