User manual

ARECONT VISION USER MANUAL 53
Arecont Vision 425 E Colorado St, 7
th
Floor Glendale, CA 91205 8/1/2012
www.arecontvision.com
HTTP Request Format for Receiving Individual JPEG Frames
NOTE: A complete set of http requests described in this document is supported for firmware versions 61430 and above.
If you have an Arecont Vision camera with a lower firmware version contact your distributor for a firmware upgrade.
An individual image can be requested from Arecont Vision cameras by using the following HTTP request
format:
http://ip_address/image?res=resolution_value&x0=X0&y0=Y0&x1=X1&y1=Y1&quality=quality_value&
doublescan=doublescan_value&id=value
where
Res can have value of either “half” or “full” and specifies whether camera should decimate the image
by a factor of 2 in each direction or display the full resolution.
X0, Y0, X1, Y1 are the left, top, right and bottom coordinates of the requested image window,
respectively. These values cannot exceed the size of the image sensor array for the specific camera
and should be divisible by 16 if “Res=full” and 32 if “Res=half”. These parameters allow for a
particular image to be cropped to a selected size.
Quality is the compressed JPEG image quality with a range from 1 to 20.
Doublescan
allows the user to specify whether the camera should delay the image output until a new
image is available (doublescan = 0) or the image request should be serviced by outputting the
content of the image buffer that was already once output (useful for picture-in-picture display).
ID is an optional field that is ignored by the camera but may be set by the user to a random value to
force some browsers to display a new image. Some browsers may display a cached image if a
previous URL is reused without modifying the ID field.
The following example illustrates the request to camera with IP address 192.168.0.36 for a new full resolution
1600x1200 image with compression quality 12:
http://192.168.0.36/image?res=full&x0=0&y0=0&x1=1600&y1=1200&quality=12&doublescan=0
The user also has the option of specifying default image parameters via parameter “set” requests and then
obtaining the image by using a simple request without additional parameters: http://ip_address/img.jpg