123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- #import <CoreGraphics/CoreGraphics.h>
- #import <Foundation/Foundation.h>
- #import "FIRVisionFaceContour.h"
- #import "FIRVisionFaceLandmark.h"
- NS_ASSUME_NONNULL_BEGIN
- NS_SWIFT_NAME(VisionFace)
- @interface FIRVisionFace : NSObject
- @property(nonatomic, readonly) CGRect frame;
- @property(nonatomic, readonly) BOOL hasTrackingID;
- @property(nonatomic, readonly) NSInteger trackingID;
- @property(nonatomic, readonly) BOOL hasHeadEulerAngleY;
- @property(nonatomic, readonly) CGFloat headEulerAngleY;
- @property(nonatomic, readonly) BOOL hasHeadEulerAngleZ;
- @property(nonatomic, readonly) CGFloat headEulerAngleZ;
- @property(nonatomic, readonly) BOOL hasSmilingProbability;
- @property(nonatomic, readonly) CGFloat smilingProbability;
- @property(nonatomic, readonly) BOOL hasLeftEyeOpenProbability;
- @property(nonatomic, readonly) CGFloat leftEyeOpenProbability;
- @property(nonatomic, readonly) BOOL hasRightEyeOpenProbability;
- @property(nonatomic, readonly) CGFloat rightEyeOpenProbability;
- - (instancetype)init NS_UNAVAILABLE;
- - (nullable FIRVisionFaceLandmark *)landmarkOfType:(FIRFaceLandmarkType)type;
- - (nullable FIRVisionFaceContour *)contourOfType:(FIRFaceContourType)type;
- @end
- NS_ASSUME_NONNULL_END
|