![IDS NXT Скачать руководство пользователя страница 16](http://html2.mh-extra.com/html/ids/nxt/nxt_quick-start-manual_3751616016.webp)
October 2021
16
IDS NXT: Vision apps – Object Detector
Error response
See
Sample code
curl -X GET "http://
<
ip
>
/vapps/objectdetector/images/resultimage?quality=100" -i
--user admin:
<
password
>
-H Accept:image/jpeg --output result.jpg
4.6 /vapps/objectdetector/resultsources/last
/vapps/objectdetector/resultsources/last
·
GET
·
OPTIONS
Returns the result of the last image analysis.
Response format
The content of the HTTP response is transferred in JSON format (application/json).
Return values
·
class
(String): Found class
·
count
(String): Number of found classes
·
data
(String): Shows the found class, probability, size and position of the found ROI.
·
highlight
(String): Result and formatting for the "highlight" tab in the IDS NXT cockpit.
·
inferecetime
(Integer): Inference time in milliseconds
Error response
See
Sample code
curl -X GET "http://
<
ip
>
/vapps/objectdetector/resultsources/last" -i --user
admin:
<
password
>