set-video-color
added in V1.3
Use the interface to adjust the brightness, contrast, hue and saturation of the image.
You can obtain the range of recording parameters using get-info.
"color-range": {
"contrast": [], // range of contrast
"brightness": [], // range of brightness
"saturation": [], // range of saturation
"hue": [] // range of hue
}
HTTP Request
GET http://ip/usapi?method=set-video-color&contrast=100&brightness=0&saturation=100&hue=0
Parameter | Description |
---|---|
method | set-video-color |
contrast | Indicates the contrast value. The default value is 100. |
brightness | Indicates the brightness value. The default value is 0. |
saturation | Indicates the saturation value. The default value is 100. |
hue | Indicates the hue value. The default value is 0. |
Response Body
{
"result": 0
}
Item | Description |
---|---|
result | 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values. |