mosip / inji-wallet

MIT License
17 stars 79 forks source link

inji "face matching sdk" pending work #301

Open MonobikashDas opened 1 year ago

MonobikashDas commented 1 year ago

The model used for face matching should be downloaded from a secure url and should not be embedded in the library. A new version is released for same and need to be integrated with inji.

Step 1 : get the download url

Get the download url from the mimoto api - https://api.dev.mosip.net/residentmobileapp/allProperties

This returns key value pair in the response. Read value for key "facesdk.model.download.link".

Step 2: call url to download model

In step 1 url is received as value of the key "facesdk.model.download.link". Call this url to get value.

pmigueld commented 1 year ago

@MonobikashDas do I need some kind of credential to access the URL above? It does not work for me at the moment with just a GET request.

MonobikashDas commented 1 year ago

Hi @pmigueld , get will work with the public url : https://api.dev.mosip.net/residentmobileapp/allProperties i have updated in description. I had shared private url earlier.

pmigueld commented 1 year ago

@MonobikashDas what do I do with this facenet.tflite file after downloading when the app initializes? Is there a function in the SDK to call with this file?