TuSDKVideoSourceProtocol Protocol Reference
| Conforms to | NSObject |
|---|---|
| Declared in | TuSDKVideoSourceProtocol.h |
inputCamera
required method
系统相机对象
@property (readonly) AVCaptureDevice *inputCameraDeclared In
TuSDKVideoSourceProtocol.h
– cameraPosition
required method
摄像头位置
- (AVCaptureDevicePosition)cameraPositionDeclared In
TuSDKVideoSourceProtocol.h
– getInternalRotation
required method
旋转模式
- (LSQGPUImageRotationMode)getInternalRotationReturn Value
LSQGPUImageRotationMode
Declared In
TuSDKVideoSourceProtocol.h
– getDeviceOrientation
required method
设备当前朝向
- (UIDeviceOrientation)getDeviceOrientationReturn Value
UIDeviceOrientation
Declared In
TuSDKVideoSourceProtocol.h
– getFocusTouchView
required method
获取聚焦视图
- (UIView<TuSDKVideoCameraExtendViewInterface> *)getFocusTouchViewReturn Value
id
Declared In
TuSDKVideoSourceProtocol.h
– updateFaceFeatures:radian:
required method
更新脸部信息,运行在主线程
- (void)updateFaceFeatures:(NSArray<TuSDKFaceAligment*> *)faces radian:(CGFloat)radianParameters
faces |
特征点数据 |
|---|---|
radian |
设备弧度 |
Declared In
TuSDKVideoSourceProtocol.h