86#define SFE_IRIS_KEYPOINT_COUNT 8
109#define SFE_PALM_KEYPOINT_COUNT 8
240#define SFE_OBJECT_DETECT 80
281#define SFE_VISUAL_CODE_KEYPOINT_COUNT 4
#define SFE_IRIS_KEYPOINT_COUNT
Iris keypoints count.
SFEModality
Detection modality enumeration.
@ SFE_MODALITY_VISUAL_CODE
SFEHandPosition
Palm hand enum.
SFEHandOrientation
Palm orientation enum.
@ SFE_ORIENTATION_UNKNOWN
SFEIrisKeypointType
Iris keypoint types.
@ SFE_IRIS_KEYPOINT_TYPE_BOTTOM_INNER_RIGHT
@ SFE_IRIS_KEYPOINT_TYPE_BOTTOM_RIGHT
@ SFE_IRIS_KEYPOINT_TYPE_TOP_LEFT
@ SFE_IRIS_KEYPOINT_TYPE_TOP_INNER_LEFT
@ SFE_IRIS_KEYPOINT_TYPE_BOTTOM_INNER_LEFT
@ SFE_IRIS_KEYPOINT_TYPE_TOP_INNER_RIGHT
@ SFE_IRIS_KEYPOINT_TYPE_TOP_RIGHT
@ SFE_IRIS_KEYPOINT_TYPE_BOTTOM_LEFT
#define SFE_PALM_KEYPOINT_COUNT
Palm keypoints count.
SFEVisualCodeCategory
Visual code category enumeration.
@ SFE_VISUAL_CODE_CATEGORY_PALM
@ SFE_VISUAL_CODE_CATEGORY_QR_CODE
#define SFE_OBJECT_DETECT
Object detection count.
SFEObjectType
Object type enumeration.
@ SFE_OBJECT_TYPE_SCISSORS
@ SFE_OBJECT_TYPE_REFRIGERATOR
@ SFE_OBJECT_TYPE_MICROWAVE
@ SFE_OBJECT_TYPE_DININGTABLE
@ SFE_OBJECT_TYPE_SNOWBOARD
@ SFE_OBJECT_TYPE_UMBRELLA
@ SFE_OBJECT_TYPE_SPORTSBALL
@ SFE_OBJECT_TYPE_POTTEDPLANT
@ SFE_OBJECT_TYPE_STOPSIGN
@ SFE_OBJECT_TYPE_KEYBOARD
@ SFE_OBJECT_TYPE_TRAFFICLIGHT
@ SFE_OBJECT_TYPE_HANDBAG
@ SFE_OBJECT_TYPE_TOASTER
@ SFE_OBJECT_TYPE_SUITCASE
@ SFE_OBJECT_TYPE_TOOTHBRUSH
@ SFE_OBJECT_TYPE_SURFBOARD
@ SFE_OBJECT_TYPE_GIRAFFE
@ SFE_OBJECT_TYPE_AIRPLANE
@ SFE_OBJECT_TYPE_TENNISRACKET
@ SFE_OBJECT_TYPE_BROCCOLI
@ SFE_OBJECT_TYPE_BACKPACK
@ SFE_OBJECT_TYPE_FIREHYDRANT
@ SFE_OBJECT_TYPE_HAIRDRIER
@ SFE_OBJECT_TYPE_BICYCLE
@ SFE_OBJECT_TYPE_BASEBALLGLOVE
@ SFE_OBJECT_TYPE_PARKINGMETER
@ SFE_OBJECT_TYPE_TEDDYBEAR
@ SFE_OBJECT_TYPE_SANDWICH
@ SFE_OBJECT_TYPE_MOTORCYCLE
@ SFE_OBJECT_TYPE_BASEBALLBAT
@ SFE_OBJECT_TYPE_FRISBEE
@ SFE_OBJECT_TYPE_CELLPHONE
@ SFE_OBJECT_TYPE_ELEPHANT
@ SFE_OBJECT_TYPE_WINEGLASS
@ SFE_OBJECT_TYPE_SKATEBOARD
float y
Y coordinate of the top left corner of the bounding box relative to source image size - range <0,...
float width
Width of the bounding box relative to source image size - range <0,1>
float x
X coordinate of the top left corner of the bounding box relative to source image size - range <0,...
float height
Height of the bounding box relative to source image size - range <0,1>
Core detection - tagged union containing all detection types.
SFEModality modality
Detection modality discriminator.
SFEOrientedBoundingBox oriented_bounding_box
Oriented bounding box (common for all detection types)
SFEModalityData modality_data
Union of all detection variant data structs (type-specific fields only)
SFEBoundingBox bounding_box
Bounding box (common for all detection types)
float confidence
Detection confidence - range <0,1> (common for all detection types)
char _reserved
Reserved field to ensure C/C++ compatibility.
Iris detection data struct (type-specific fields only)
SFEIrisKeypoint keypoints[SFE_IRIS_KEYPOINT_COUNT]
Keypoints detected on the eye.
SFEBoundingBox pupil_bounding_box
Pupil bounding box.
float x
X coordinate of the keypoint relative to source image - range <0,1>
float y
Y coordinate of the keypoint relative to source image - range <0,1>
float confidence
Confidence of the keypoint - range <0,1>
SFEIrisKeypointType keypoint_type
Type of the keypoint.
Object detection data struct (type-specific fields only)
SFEObject objects[SFE_OBJECT_DETECT]
array of 80 Object structs
float confidence
probability scores
SFEObjectType object_type
object types
float center_x
X coordinate of the center of the bounding box relative to source image size - range <0,...
float angle
Angle of the bounding box in radians.
float height
Height of the bounding box relative to source image size - range <0,1>
float center_y
Y coordinate of the center of the bounding box relative to source image size - range <0,...
float width
Width of the bounding box relative to source image size - range <0,1>
Palm detection data struct (type-specific fields only)
bool has_landmarks
When true, landmarks is valid; when false, do not read landmarks.
SFEPalmLandmarks landmarks
Palm landmarks; only meaningful when has_landmarks is true.
float confidence
Confidence of the keypoint - range <0,1>
float x
X coordinate of the keypoint relative to source image - range <0,1>
float y
Y coordinate of the keypoint relative to source image - range <0,1>
Palm landmarks (keypoints, hand position, orientation, confidence)
SFEPalmKeypoint keypoints[SFE_PALM_KEYPOINT_COUNT]
Palm keypoints.
float confidence
Confidence score - range <0,1>
SFEHandPosition hand_position
Detected hand position.
SFEHandOrientation hand_orientation
Detected palm orientation.
Person detection data struct (type-specific fields only)
char _reserved
Reserved field to ensure C/C++ compatibility.
Tattoo detection data struct (type-specific fields only)
char _reserved
Reserved field to ensure C/C++ compatibility.
Visual code detection data struct (type-specific fields only)
SFEVisualCodeCategory category
Visual code category.
Visual code keypoint struct.
float x
X coordinate of the keypoint relative to source image - range <0,1>
float y
Y coordinate of the keypoint relative to source image - range <0,1>
Union of detection data types (type-specific fields only)
SFEPalmDetectionData palm
Palm detection data.
SFEPersonDetectionData person
Person detection data.
SFEIrisDetectionData iris
Iris detection data.
SFEVisualCodeDetectionData visual_code
Visual code detection data.
SFEObjectDetectionData object
Object detection data.
SFETattooDetectionData tattoo
Tattoo detection data.
SFEFaceDetectionData face
Face detection data.