1 #import <Foundation/Foundation.h>
21 SAMPLE_TYPE_FRONTAL = 0,
28 SAMPLE_TYPE_LEFT_PROFILE = 1,
35 SAMPLE_TYPE_RIGHT_PROFILE = 2,
80 FACE_CUT_FULL_FRONTAL = 1,
81 FACE_CUT_TOKEN_FRONTAL = 2,
96 -(nonnull instancetype) init: (
float) yaw : (
float) pitch : (
float) roll;
110 @property float pitch;
117 @property float roll;
129 -(nonnull instancetype)init: (
void* _Nonnull) sample;
164 -(nonnull NSMutableArray *) getLandmarks;
181 -(nonnull
Point2 *) getLeftEye;
198 -(nonnull
Point2 *) getRightEye;
215 -(nonnull
Angles *) getAngles;
283 -(bool) hasOriginalImage;
300 -(SampleType) getType;
327 -(nonnull
RawImage *) cutFaceRawImage;
351 -(void) save: (const
char*_Nullable) file_path;
374 -(nonnull NSMutableArray *) getFaceCutRectangle: (FaceCutType) cut_type;
377 @property (readonly, nonnull)
void* raw_sample;
float yaw
Yaw angle in degrees.
Definition: RawSample.h:91
3D point.
Definition: Point.h:13
float pitch
Pitch angle in degrees.
Definition: RawSample.h:92
typedef NS_ENUM(int32_t, SampleType)
Sample types (see also Capturer::CapturerType).
Definition: RawSample.h:15
float roll
Roll angle in degrees.
Definition: RawSample.h:93
Interface object that stores a captured face sample.
Definition: RawSample.h:125
Struct that provides raw image data and optional cropping information.
Definition: RawImage.h:113
Face orientation angles.
Definition: RawSample.h:89
Rectangle in an image.
Definition: RawImage.h:58