![IDS NXT Скачать руководство пользователя страница 14](http://html2.mh-extra.com/html/ids/nxt/nxt_quick-start-manual_3751616014.webp)
October 2021
14
IDS NXT: Vision apps – Object Detector
Return values
·
Error response
See
Sample code
curl -X PUT "http://
<
ip
>
/vapps/objectdetector/files/cnnfile/data" -i --user
admin:
<
password
>
-T /
<
path
>
/
<
file name
>
.
det
-H "Content-Type: application/octet-
stream"
Sample code with renamed CNN file
curl -X PUT "http://
<
ip
>
/vapps/objectdetector/files/cnnfile/data" -i --user
admin:
<
password
>
-H "content-type: application/octet-stream" -H "content-
disposition: attachment; filename=myRenamedCNN.det" --data-binary
@myRenamedCNN.det -vvv
Sample code for deleting a CNN file
curl -X DELETE "http://
<
ip
>
/vapps/objectdetector/files/cnnfile/data" -i --user
admin:
<
password
>
4.4 /vapps/<% REST-NAME-API% >/ftpclient
/vapps/objectdetector/ftpclient
·
GET
·
OPTIONS
Returns the status of the FTP client. The use of the FTP server must be activated in the network settings of the
camera, see manual "IDS NXT cockpit".
Response format
The content of the HTTP response is transferred in JSON format (application/json).