AlivcLivePusher  v4.5.1
Aliyun Live Pusher API Reference Manual for iOS Platforms
<AlivcLivePusherCustomDetectorDelegate> Protocol Reference

外置人脸识别算法相关回调 More...

Inheritance diagram for <AlivcLivePusherCustomDetectorDelegate>:

Instance Methods

(void) - onCreateDetector:
 通知外置识别器创建回调 More...
 
(void) - onDestoryDetector:
 通知外置识别器销毁回调 More...
 
(long) - onDetectorProcess:data:w:h:rotation:format:extra:
 通知外置识别器处理回调 More...
 

Detailed Description

外置人脸识别算法相关回调

Method Documentation

◆ onCreateDetector:

- (void) onCreateDetector: (AlivcLivePusher *)  pusher
required

通知外置识别器创建回调

Parameters
pusher推流引擎对象

◆ onDestoryDetector:

- (void) onDestoryDetector: (AlivcLivePusher *)  pusher
required

通知外置识别器销毁回调

Parameters
pusher推流引擎对象

◆ onDetectorProcess:data:w:h:rotation:format:extra:

- (long) onDetectorProcess: (AlivcLivePusher *)  pusher
data: (long)  data
w: (int)  w
h: (int)  h
rotation: (int)  rotation
format: (int)  format
extra: (long)  extra 
required

通知外置识别器处理回调

Parameters
pusher推流引擎对象
data数据buffer地址
w图像宽
h图像高
rotation图像角度
format图像格式,AlivcLivePushVideoFormat
extra额外信息
Returns
处理后的数据buffer地址

The documentation for this protocol was generated from the following file: