设置/获取 ISP

接口描述

可设置相机的ISP参数

请求参数

参数名
类型
描述
必填
camera_direction
int
摄像头ID
必填
CommandType
string
命令类型:Get/Set ISP
必填
ExpTimeRange
string
曝光时间范围
必填
AGainRange
string
AGain范围
必填
DGainRange
string
DGain范围
必填
EVBias
int
EVBias值
必填

参数说明

camera_direction:点击 [跳转到详细参数说明](doc:BVtwult5)

示例

### 设置前摄像头ISP: {"camera_direction":0,"CommandType":"Set ISP","ExpTimeRange":"30,300","AGainRange":"1024,62416","DGainRange":"1024,2048","EVBias":1024} ### 获取前摄像头ISP: {"camera_direction":0,"CommandType":"Get ISP"} ### 设置后摄像头ISP: {"camera_direction":1,"CommandType":"Set ISP","ExpTimeRange":"30,300","AGainRange":"1024,62416","DGainRange":"1024,2048","EVBias":1024} ### 获取后摄像头ISP: {"camera_direction":1,"CommandType":"Get ISP"} ### 设置中摄像头ISP: {"camera_direction":2,"CommandType":"Set ISP","ExpTimeRange":"30,300","AGainRange":"1024,62416","DGainRange":"1024,2048","EVBias":1024} ### 获取中摄像头ISP: {"camera_direction":2,"CommandType":"Get ISP"}

返回值

### 设置ISP返回值: #### 成功: set ISP exposure attributes success! #### 失败: set ISP exposure attributes failed! ### 获取ISP返回值: #### 成功: Exposure Preferences Expouse Time Range:0,600 AGain Range:1280,32000 DGain Range:1024,2048 EV Bias:1024 #### 失败: get ISP exposure attributes failed!