Public Member Functions | |
openvino_face_detection (std::string const &name) | |
void | start (rs2::subdevice_model &model) override |
~openvino_face_detection () | |
Public Member Functions inherited from post_processing_filter | |
std::string const & | get_name () const |
Public Member Functions inherited from rs2::filter | |
template<class T > | |
T | as () const |
filter (std::shared_ptr< rs2_processing_block > block, int queue_size=1) | |
template<class S > | |
filter (S processing_function, int queue_size=1) | |
rs2_processing_block * | get () const |
frame_queue | get_queue () |
template<class T > | |
bool | is () const |
operator bool () const | |
rs2::frame | process (rs2::frame frame) const override |
Public Member Functions inherited from rs2::processing_block | |
rs2_processing_block * | get () const |
const char * | get_info (rs2_camera_info info) const |
void | invoke (frame f) const |
operator rs2_options * () const | |
template<class S > | |
S & | operator>> (S &on_frame) |
processing_block (std::shared_ptr< rs2_processing_block > block) | |
template<class S > | |
processing_block (S processing_function) | |
template<class S > | |
void | start (S on_frame) |
bool | supports (rs2_camera_info info) const |
Public Member Functions inherited from rs2::options | |
float | get_option (rs2_option option) const |
const char * | get_option_description (rs2_option option) const |
const char * | get_option_name (rs2_option option) const |
option_range | get_option_range (rs2_option option) const |
const char * | get_option_value_description (rs2_option option, float val) const |
std::vector< rs2_option > | get_supported_options () |
bool | is_option_read_only (rs2_option option) const |
options & | operator= (const options &other) |
options (const options &other) | |
void | set_option (rs2_option option, float value) const |
bool | supports (rs2_option option) const |
virtual | ~options ()=default |
Public Member Functions inherited from rs2::filter_interface | |
virtual | ~filter_interface ()=default |
Private Member Functions | |
void | on_processing_block_enable (bool e) override |
void | worker_body (rs2::frame f) override |
void | worker_start () override |
Static Private Member Functions | |
static float | calc_face_attrs (const rs2::video_frame &cf, const rs2::depth_frame &df, cv::Rect const &depth_bbox, float *p_mean_depth) |
Private Attributes | |
openvino_helpers::age_gender_detection | _age_detector |
openvino_helpers::object_detection | _face_detector |
openvino_helpers::detected_objects | _faces |
size_t | _id = 0 |
InferenceEngine::Core | _ie |
std::shared_ptr< atomic_objects_in_frame > | _objects |
Definition at line 64 of file openvino-face-detection.cpp.
|
inline |
Definition at line 75 of file openvino-face-detection.cpp.
|
inline |
Definition at line 93 of file openvino-face-detection.cpp.
|
inlinestaticprivate |
Definition at line 124 of file openvino-face-detection.cpp.
|
inlineoverrideprivatevirtual |
Reimplemented from post_processing_filter.
Definition at line 358 of file openvino-face-detection.cpp.
|
inlineoverridevirtual |
Reimplemented from post_processing_worker_filter.
Definition at line 100 of file openvino-face-detection.cpp.
|
inlineoverrideprivatevirtual |
Implements post_processing_worker_filter.
Definition at line 203 of file openvino-face-detection.cpp.
|
inlineoverrideprivatevirtual |
Reimplemented from post_processing_worker_filter.
Definition at line 107 of file openvino-face-detection.cpp.
|
private |
Definition at line 68 of file openvino-face-detection.cpp.
|
private |
Definition at line 67 of file openvino-face-detection.cpp.
|
private |
Definition at line 69 of file openvino-face-detection.cpp.
|
private |
Definition at line 70 of file openvino-face-detection.cpp.
|
private |
Definition at line 66 of file openvino-face-detection.cpp.
|
private |
Definition at line 72 of file openvino-face-detection.cpp.