microsoft / Cognitive-Face-Python

Python SDK for the Microsoft Face API, part of Cognitive Services
https://www.microsoft.com/cognitive-services/en-us/face-api
Other
236 stars 142 forks source link

Trouble finding code for verification #69

Open Rajivrocks-Ltd opened 5 years ago

Rajivrocks-Ltd commented 5 years ago

I am a student that got tasked to run a lot of face compares through the verification function of the API with a custom algorithm written to automate it. How I understand it works by running the App is that it first needs to detect both faces submitted after that you get the faceid's back from both and those face Id's get compared to each other. I'm trying to find the section in the code samples where it goes through these steps but I can't find it. could someone point me towards the file/line I need to go to where it happens? I'm not a python guy so I'm really struggling but we are required to write in Python. Also is it possible to specify that you only want the faceId of an image returned instead of all the other info included? Sorry if I sound like a complete amateur it's because I am one. :(

acured commented 5 years ago

Here: https://github.com/Microsoft/Cognitive-Face-Python/blob/3a33333c0c5c45d3c7d90f463072b3b5b3e86ac1/sample/view/panel_verification.py#L295