AliVCSDK  6.0.0
阿里云音视频SDK,为视频开发者提供一站式接入服务
com.alivc.component.custom.AlivcLivePushCustomDetect接口 参考

用户自定义视频人脸识别回调 更多...

Public 成员函数

void customDetectCreate ()
 
long customDetectProcess (long dataPtr, int width, int height, int rotation, int format, long extra)
 
void customDetectDestroy ()
 

详细描述

用户自定义视频人脸识别回调

作者
pengshuang
调用示例
mAlivcLivePusher.setCustomDetect(new AlivcLivePushCustomDetect () {});
参见
com.alivc.live.pusher.AlivcLivePusher::setCustomDetect(AlivcLivePushCustomDetect)

在文件 AlivcLivePushCustomDetect.java14 行定义.

成员函数说明

void com.alivc.component.custom.AlivcLivePushCustomDetect.customDetectCreate ( )

定制detect创建

void com.alivc.component.custom.AlivcLivePushCustomDetect.customDetectDestroy ( )

定制detect销毁

long com.alivc.component.custom.AlivcLivePushCustomDetect.customDetectProcess ( long  dataPtr,
int  width,
int  height,
int  rotation,
int  format,
long  extra 
)

定制detect处理

参数
dataPtrdata ptr
widthwidth
heightheight
rotationrotation
formatformat
extraextra
返回