Algorithm Model Management

Function

API

Preset algorithm model in URL format

Call NET_DVR_STDXMLConfig to transmit the request URI: POST /ISAPI/Intelligent/AIOpenPlatform/algorithmModel?format=json

Preset algorithm model in binary form format

Call NET_DVR_UploadFile_V40, set dwUploadType to "UPLOAD_AI_ALGORITHM_MODEL" (value: 52), and set lpInBuffer to the structure NET_DVR_AI_ALGORITHM_MODEL.

Get download progress of preset model package

Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/Intelligent/AIOpenPlatform/algorithmModel/progress/<MPID>?format=json

Reset engine

Call NET_DVR_STDXMLConfig to transmit the request URI: PUT /ISAPI/Intelligent/AIOpenPlatform/algorithmModel/engine/<ID>/reset?format=json.

Get status of all engines

Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/Intelligent/AIOpenPlatform/algorithmModel/engines?format=json.

Get status of specified engine

Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/Intelligent/AIOpenPlatform/algorithmModel/engine/<ID>?format=json.

Bind algorithm model package to engine

Call NET_DVR_STDXMLConfig to transmit the request URI: PUT /ISAPI/Intelligent/AIOpenPlatform/algorithmModel/loading/<engineID>?format=json.

Unbind algorithm model package

Call NET_DVR_STDXMLConfig to transmit the request URI: DELETE /ISAPI/Intelligent/AIOpenPlatform/algorithmModel/unloading/<engineID>?format=json.

Search for locally stored algorithm model package

Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/Intelligent/AIOpenPlatform/algorithmModel/management?format=json.

Search for storage space of algorithm model package

Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/Intelligent/AIOpenPlatform/algorithmModel/management/space?format=json.

Delete algorithm model package

Call NET_DVR_STDXMLConfig to transmit the request URI: DELETE /ISAPI/Intelligent/AIOpenPlatform/algorithmModel/management/space/<MPID>?format=json.

Update parameters of specified algorithm model package

Call NET_DVR_STDXMLConfig to transmit the request URI: PUT /ISAPI/Intelligent/AIOpenPlatform/algorithmModel/update?format=json.