![IDS NXT Manual Download Page 27](http://html2.mh-extra.com/html/ids/nxt/nxt_manual_3750479027.webp)
March 2021
27
IDS NXT: REST interface
8.3 /camera/image
·
OPTIONS
·
GET
{
"GET": {
"image/jpeg": {
"Description": "Receive the latest acquired image. Returns 503 if no image
acquired so far."
},
"image/png,image/bmp": {
"Description": "Receive the latest acquired image. Returns 503 if no image
acquired so far.",
"Parameters": {
"MaxHeight": {
"Description": "Maximal height of image.",
"Mandatory": false,
"Type": "Integer"
},
"MaxWidth": {
"Description": "Maximal width of image.",
"Mandatory": false,
"Type": "Integer"
},
"Quality": {
"Description": "Quality of image.",
"Mandatory": false,
"Type": "Integer"
}
}
}
}
Comments
·
If no MIME type or image/* is specified, image/jpeg is returned.
·
An ETag is returned (the same one for each image regardless of the parameters).
·
A Last-Modified is returned (image capture time).
·
The ETag can be used to prevent duplicate images being transferred (If-None-Match). The same applies to
Last-Modified with If-Modified-Since.
·
If no image has been collected yet, "503 - Service unavailable" is returned.
8.4 /camera/roi
·
OPTIONS
·
GET
{
"GET": {
"application/json": {
"Description": "Receive region of interest (ROI) settings.",
"Values": {
"Height": {
"Description": "Height of the ROI",