setPictureCrop.lua
[INDEX]

ABSTRACT

Set the (before encoding) picture cropping

Before the video pictures encoding, the encoder can crop the picture's special area to encode it.

ARGUMENTS

HTTP Arguments submit: POST

Test this API over HTTP - (URL):

Enable
INTEGER

0|1. 0 is turned off cropping and 1 is turned on.

Test value:

Left
NUMBER

The cropping place starts from left (by pixels) if 'Enable'=1

Test value:

Top
NUMBER

The cropping place starts from top (by Line) if 'Enable'=1

Test value:

Width
NUMBER

The cropping width (by pixels) if 'Enable'=1

Test value:

Height
NUMBER

The cropping height (by Line) if 'Enable'=1

Test value:

RETURNS

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.

}

OTHER NOTES

KILOVIEW Device HTTP API, v1.0