October 2021
16
IDS NXT: Vision apps – Object Detector
Error response
See Error codes
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 Error codes
Sample code
curl -X GET "http://<ip>/vapps/objectdetector/resultsources/last" -i --user
admin:<password>