Before the video pictures encoding, the encoder can crop the picture's special area to encode it.
Return a JSON style result. The JSON format is:
{ /*OBJECT*/ | |
"Result": NUMBER | 200 means OK, other error code meanings are similar to HTTP Response. |
"Status": "STRING" | Status message. Responsing result status of API executive, if there errors, it will describe reasons. |
"Data": { /*OBJECT*/ | The picture cropping status |
"Enable": INTEGER | 0|1. 0 is turned off cropping and 1 is turned on. |
"Left": NUMBER | The cropping place starts from left (by pixels) if 'Enable'=1 |
"Top": NUMBER | The cropping place start from top (by Line) if 'Enable'=1 |
"Width": NUMBER | The cropping width (by pixels) if 'Enable'=1 |
"Height": NUMBER | The cropping height (by Line) if 'Enable'=1 |
} | |
} |
KILOVIEW Device HTTP API, v1.0
Copyright (c) 2016, KILOVIEW Electronics.