Verify Faces"2. Design UI to upload two face images 3. Send the two images to Face API Verification endpoint with "isIdentical" and "confidence" in the response4. Display response on UI: - If isIdentical = true, show "Identical" - If isIdentical = false, show "Not Identical
The document contains examples of JSON responses from various cognitive services APIs, including:
- A text detection API that detects text in an image and returns bounding box coordinates.
- A face detection API that detects faces in an image and returns attributes like age, gender, and head pose.
- A face verification API that takes two face images and returns whether they are identical.
- An intent recognition API that takes text and returns the most likely intent and confidence scores.
- Examples of using the APIs in code and accessing documentation on the Project Oxford site.
Verify Faces"2. Design UI to upload two face images 3. Send the two images to Face API Verification endpoint with "isIdentical" and "confidence" in the response4. Display response on UI: - If isIdentical = true, show "Identical" - If isIdentical = false, show "Not Identical
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13. JSON:
{
"language": "en",
"orientation": "Up",
"regions": [
{
"boundingBox": "41,77,918,440",
"lines": [
{
"boundingBox": "41,77,723,89",
"words": [
{
"boundingBox": "41,102,225,64",
"text": "LIFE"
},
{
"boundingBox": "356,89,94,62",
"text": "IS"
},
{
"boundingBox": "539,77,225,64",
"text": "LIKE"
}
. . .
TEXT:
LIFE IS LIKE
RIDING A BICYCLE
TO KEEP YOUR BALANCE
YOU MUST KEEP MOVING