This project is a console application created to facilitate the Large Face List manipulation.
- Add large face lists
- Delete large face lists
- Add faces in a large face list (provides Telemetry in App Insights)
- Train large face list (provides Telemetry in App Insights)
- Find similar faces in large face lists (provides Telemetry in App Insights)
Clone the project from GitHub repo
git clone https://github.com/rcervantes/large-face-list-tool.git
Edit the file config.ini with the correct values:
[general]
AzureWebJobsStorage="AZURE_STORAGE_CONNECTION_STRING"
FaceAPIKey="FACE_API_KEY"
FaceAPIZone="FACE_API_ZONE(e.g. westus or southcentralus)"
AppInsightsKey="AZURE_APPINSIGHTS_INSTRUMENTATION_KEY"
ImageFolderPath="Path of the folder used to allocate all images for a massive manipulation"
FindSimilarFolderPath="Path of the folder used to allocate the input image to query all large face lists"
AddFaceRetries="Number of retries in add faces process"
AddFaceTimeToSleepInMs="Milliseconds to wait in case of an exception in add faces process"
Copy sample\Workspace folder from the repo to C:\Workspace\
Workspace folder contains:
- Images folder: "Folder used to allocate all images for a massive manipulation"
- FindSimilar folder: "Folder used to allocate the input image to query all large face lists"
Important: The name of the image must be the same name of the json file, the json file must contain a "Unique Business Identificator" for the face.
Now it's time to create or use an existing large face list.
In the top of the console there are some settings needed:
Settings required:
- LargeFaceListId: PENDING CONFIGURATION!
You can configure this with options:
- [ 1 ] Create large face list
- [ 2 ] Assign large face list
Then you can manipulate the large face list using the options:
- [ 5 ] Add faces to large face list
- [ 6 ] Train large face list
- [ 7 ] Find similar faces in all large lists
Remember that you can access to App Insigths -> Search to verify the activity and traces for the following operations:
- [ 5 ] Add faces to large face list
- [ 6 ] Train large face list
- [ 7 ] Find similar faces in all large lists