Dear Milestone SDK team,
Currently, we are using Milestone SDK to develop a face recognition plugin with Dahua camera, and currently face detection image and face recognition image can show at Milestone Xprotect.
But our customer need the face searching function, which means they can use one face image to searh the face library image and video. currently our camera can not storage the face capture image, so it is impossible to search from camera side. I image this face capture image can be storaged at Milestone software, can you help to point out the specific SDK function? Or can you help to share some suggestions?
Thanks so much.
Dear Kevin
Such a search function would be an ideal candidate for a Search Agent: https://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/intro_searchagent.html&tree=tree_4.html
If you implement it as a Search Agent you will automatically get support for saving the search from the Smart Client and as part of that storing the image.
There are other alternatives, such as storing a base64-encoded version of the image in a property of a MIP item (using SaveItemConfiguration method), but the Search Agent is definitely the most ideal solution for what you want to do.
Best regards,
Peter
Hi Peter,
Really appreciate for your kind support, our RD analyzed the demo you mentioned, but they said the according to the demo provided by milestone, what milestone provides is only the page layout of search conditions, search results, video playback and other functions, and it will not search image video data from the database.
And because our camera can storage the face capture , so we think these capture will storage on the Milestone server, and would you like to share how to search from the database?
Thanks so much.
We currently don’t have a way of searching the data. You will need to implement this on your side. We are looking into a more general way of searching through metadata, so eventually you would be able to simply provide metadata to search through (which will then be stored in the Milestone database) and we then would do the search, but that is not available yet.
So for now, you will have to implement the search yourself - most likely by going through the metadata provided to the Milestone database.
Hi Peter,
Thanks for your information, so this means if the customer want to search according one specific face image, this needs the device can storgae the face capture, this is impossible for the camera. Then this only can be avaiable for the server side.
Thanks so much.
Hi Kevin,
If the camera does not have the capability of storing the results you can also stream it into the Milestone database as a metadata stream. Then your search agent could go through the data stored there when doing the search.
You can see an example of how to send in metadata here:
https://doc.developer.milestonesys.com/html/index.html?base=samples/boundingboxmetadataprovider.html&tree=tree_2.html
And an example of how to access it again here:
https://doc.developer.milestonesys.com/html/index.html?base=samples/metadataplaybackviewer.html&tree=tree_2.html
Finally, there is the example of how to do a search agent here:
https://doc.developer.milestonesys.com/html/index.html?base=samples/scsearchagent.html&tree=tree_1.html
Best regards,
Peter