NetSDK  1.0.0.0
NetSDK开发文档
Sdk.AICamera接口 参考
类 Sdk.AICamera 继承关系图:

Public 成员函数

int XVR_SDK_Init ()
 初始化SDK 更多...
 
int XVR_SDK_Cleanup ()
 清理SDK 更多...
 
int XVR_SDK_Create (LongByReference handle)
 关闭设备连接 更多...
 
int XVR_SDK_Destroy (Long handle)
 关闭设备连接 更多...
 
int XVR_SDK_Login (Long handle, String address, int port, String username, String password)
 登入设备 更多...
 
int XVR_SDK_FaceRegister (Long handle, FaceInfo info, byte[] imgData, int imgDataLength)
 注册人脸 更多...
 
int XVR_SDK_FaceList (Long handle, int start, int limit, FaceInfo[] result, String condition, IntByReference count)
 查询人脸列表 更多...
 
int XVR_SDK_FaceUnregister (Long handle, String[] personId, int personIdCount)
 反注册人脸 更多...
 

成员函数说明

◆ XVR_SDK_Cleanup()

int XVR_SDK_Cleanup ( )

清理SDK

◆ XVR_SDK_Create()

int XVR_SDK_Create ( LongByReference  handle)

关闭设备连接

参数
handle返回设备连接句柄
返回
错误码

◆ XVR_SDK_Destroy()

int XVR_SDK_Destroy ( Long  handle)

关闭设备连接

参数
handle设备连接句柄
返回
错误码

◆ XVR_SDK_FaceList()

int XVR_SDK_FaceList ( Long  handle,
int  start,
int  limit,
FaceInfo[]  result,
String  condition,
IntByReference  count 
)

查询人脸列表

参数
handle设备连接句柄
start查询记录起始位置
limit查询记录上限条数
result查询结果
condition查询条件, 如非空字符串, 则搜索包含condition的人名或ID
count查询结果返回记录数
返回
错误码

◆ XVR_SDK_FaceRegister()

int XVR_SDK_FaceRegister ( Long  handle,
FaceInfo  info,
byte[]  imgData,
int  imgDataLength 
)

注册人脸

参数
handle设备连接句柄
info人脸信息
imgData人脸图片
imgDataLength人脸图片大小
返回
错误码

◆ XVR_SDK_FaceUnregister()

int XVR_SDK_FaceUnregister ( Long  handle,
String[]  personId,
int  personIdCount 
)

反注册人脸

参数
handle设备连接句柄
personId注册人ID数组
personIdCountID数组大小
返回
错误码

◆ XVR_SDK_Init()

int XVR_SDK_Init ( )

初始化SDK

◆ XVR_SDK_Login()

int XVR_SDK_Login ( Long  handle,
String  address,
int  port,
String  username,
String  password 
)

登入设备

参数
handle设备连接句柄
address设备地址
port设备HTTP端口
username用户名
password密码
返回
错误码

该接口的文档由以下文件生成: