API to retrieve images stored in fdlib

sumanta

n3wb
Feb 21, 2025
12
0
kolkata
Hello,

I am new to HikVision.
I am using the device DS-k1T320EWX.

When I am using the following API

POST /ISAPI/Intelligent/FDLib/FDSearch?format=json
request successful!
Search Library Response: Content-Type:multipart/form-data;boundary=MIME_boundary--MIME_boundaryContent-Type: application/json
Content-Length:558
{ "statusCode": 1,
"statusString": "OK",
"subStatusCode": "ok",
"responseStatusStrg": "OK",
"numOfMatches": 1,
"totalMatches": 1,
"MatchList": [{
"FPID": "2",
"modelData": "RlI1MDIzMDYBAAAAAAAAAMTxKw0jzZ/8CDX/jRP/uaS+QabJw/osNOPdyy/yIsgfEAzyVPjt1iIUTgDUGQQg3LsbBw08Et8QBkEath6vAgfJLPkFzAv7Btrz5iBB8+1AAdMhzuLeJxrp3A31oSXfph365fjyMTG98QsYCtrh4gFCCxrqXV0Z/vctEFPYD++oC7DxFvMG9wX81xXZ0DjYK8UAAsw2OCg730dNHQQ42u9r2qsJyxL83ckaCZ7xDjHWnC9Y2C/08h3G1VU4Dl0R6SXuBK3dB0kIxR8WMSD6GPzzPx/sJtYbEak9i9Mv5dPLCFTDtBrq7P8H78Tq4+yzH98sE+ApE84M/Le2zxj698Y="
}]}

However, I want to retrieve the actual image.
The modelData is not the actual image but a feature vector of the images as far as I understand.
If I am incorrect, please correct me.

I have tried the following APIs, and I have been unsuccessful.

a. GET /ISAPI/Intelligent/FDLib/1/faceData?format=json
b. GET /ISAPI/Intelligent/FDLib/1/picture/2