9 #import <Foundation/Foundation.h>
24 typedef NS_ENUM(int, MasFocusMode) {
54 CameraPermissionIsNotResolved = 100,
55 CameraDevicedRestriced = 101,
56 CameraPermissionIsNotGranted = 102,
57 CameraAlreadyOpened = 103,
59 TrackerAlreadyStarted = 200,
71 - (MasResultCode)start:(
int)cameraId width:(
int)width height:(
int)height;
73 - (MasResultCode)start:(NSString *)path;
83 - (void)setFusionEnable;
101 - (bool)setFocusMode:(MasFocusMode)mode;
108 - (bool)setZoom:(
float)zoomScale;
114 - (int)getMaxZoomValue;
119 - (bool)setFlashLightMode:(
bool)toggle;
124 - (bool)setAutoWhiteBalanceLock:(
bool)toggle;
131 - (void)flipVideo:(MasFlipDirection)direction toggle:(
bool)toggle;
138 - (void)setClippingPlane:(
float)near far:(
float)far;
145 - (bool)isFlipHorizontal;
152 - (bool)isFlipVertical;
159 - (void)setCalibrationData:(NSString *)filePath;
169 - (void)setNewFrame:(Byte *)data length:(
int)length width:(
int)width height:(
int)height format:(MasColorFormat)format;
180 - (void)setNewFrameAndTimestamp:(Byte *)data length:(
int)length width:(
int)width height:(
int)height format:(MasColorFormat)format timestamp:(
unsigned long long int)timestamp;
186 - (matrix_float4x4)getProjectionMatrix;
192 - (matrix_float4x4)getBackgroundPlaneProjectionMatrix;
199 - (
float *)getBackgroundPlaneInfo;
205 - (NSString *)getCameraIntrinsic;
class for camera device handling
Definition: MasCameraDevice.h:17
MasResultCode
Camera Open State @constant Success @constant CameraPermissionIsNotResolved @constant CameraDevicedRe...
Definition: MasCameraDevice.h:51
MasFlipDirection
Video data flip direction @constant HORIZONTAL Flip video horizontally @constant VERTICAL Flip video ...
Definition: MasCameraDevice.h:35
@ FOCUS_MODE_CONTINUOUS_AUTO
Definition: MasCameraDevice.h:25
@ FOCUS_MODE_AUTO
Definition: MasCameraDevice.h:26