SmartFace Embedded Toolkit  4.2.1
Loading...
Searching...
No Matches
SFEDetection Struct Reference

Core detection - tagged union containing all detection types. More...

#include <sfe_core_detection.h>

Data Fields

SFEBoundingBox bounding_box
 Bounding box (common for all detection types)
 
SFEOrientedBoundingBox oriented_bounding_box
 Oriented bounding box (common for all detection types)
 
float confidence
 Detection confidence - range <0,1> (common for all detection types)
 
SFEModality modality
 Detection modality discriminator.
 
SFEModalityData modality_data
 Union of all detection variant data structs (type-specific fields only)
 

Detailed Description

Core detection - tagged union containing all detection types.

Note
Contains a discriminator and a union of detection data types. Bounding box, oriented bounding box, and confidence are common for all detection types.
Examples
example_face_demographic_attributes.cpp, example_face_identify.cpp, example_face_identify_entity.cpp, example_face_liveness.cpp, example_face_track.cpp, example_iris_identify.cpp, example_palm_attributes.cpp, example_palm_identify.cpp, and example_palm_liveness.cpp.

Definition at line 323 of file sfe_core_detection.h.

Field Documentation

◆ bounding_box

SFEBoundingBox SFEDetection::bounding_box

Bounding box (common for all detection types)

Examples
example_face_liveness.cpp, example_palm_attributes.cpp, and example_palm_liveness.cpp.

Definition at line 325 of file sfe_core_detection.h.

◆ confidence

float SFEDetection::confidence

Detection confidence - range <0,1> (common for all detection types)

Examples
example_face_liveness.cpp, example_iris_identify.cpp, example_palm_attributes.cpp, example_palm_identify.cpp, and example_palm_liveness.cpp.

Definition at line 329 of file sfe_core_detection.h.

◆ modality

SFEModality SFEDetection::modality

Detection modality discriminator.

Definition at line 331 of file sfe_core_detection.h.

◆ modality_data

SFEModalityData SFEDetection::modality_data

Union of all detection variant data structs (type-specific fields only)

Definition at line 333 of file sfe_core_detection.h.

◆ oriented_bounding_box

SFEOrientedBoundingBox SFEDetection::oriented_bounding_box

Oriented bounding box (common for all detection types)

Definition at line 327 of file sfe_core_detection.h.


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