exam questions

Exam AI-102 All Questions

View all questions & answers for the AI-102 exam

Exam AI-102 topic 2 question 13 discussion

Actual exam question from Microsoft's AI-102
Question #: 13
Topic #: 2
[All AI-102 Questions]

DRAG DROP -
You are developing a photo application that will find photos of a person based on a sample image by using the Face API.
You need to create a POST request to find the photos.
How should you complete the request? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all.
You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: detect -
Face - Detect With Url: Detect human faces in an image, return face rectangles, and optionally with faceIds, landmarks, and attributes.
POST {Endpoint}/face/v1.0/detect

Box 2: matchPerson -
Find similar has two working modes, "matchPerson" and "matchFace". "matchPerson" is the default mode that it tries to find faces of the same person as possible by using internal same-person thresholds. It is useful to find a known person's other photos. Note that an empty list will be returned if no faces pass the internal thresholds. "matchFace" mode ignores same-person thresholds and returns ranked similar faces anyway, even the similarity is low. It can be used in the cases like searching celebrity-looking faces.
Reference:
https://docs.microsoft.com/en-us/rest/api/faceapi/face/detectwithurl https://docs.microsoft.com/en-us/rest/api/faceapi/face/findsimilar

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
motu
Highly Voted 3 years, 6 months ago
Box 1 is "findsimilars", others do not match the given request body and make no sense anyway. https://docs.microsoft.com/en-us/rest/api/faceapi/face/find-similar
upvoted 76 times
leo822
3 years, 6 months ago
cool. correct answer!
upvoted 2 times
...
idrisfl
3 years, 5 months ago
definitely find-similar, as it is the only one whose body parameters correspond
upvoted 4 times
...
...
Eltooth
Highly Voted 2 years, 4 months ago
findsimilars and matchPerson https://docs.microsoft.com/en-us/rest/api/faceapi/face/find-similar?tabs=HTTP#find-similar-results-example "matchPerson" is the default mode that it tries to find faces of the same person as possible by using internal same-person thresholds. It is useful to find a known person's other photos. Note that an empty list will be returned if no faces pass the internal thresholds. "matchFace" mode ignores same-person thresholds and returns ranked similar faces anyway, even the similarity is low. It can be used in the cases like searching celebrity-looking faces.
upvoted 13 times
...
famco
Most Recent 3 months, 1 week ago
find similar and matchperson matchperson because it is identifying a specific person, not finding similar faces
upvoted 3 times
...
krzkrzkra
4 months, 4 weeks ago
1. findsimilars 2. matchPerson
upvoted 1 times
...
HaraTadahisa
5 months, 3 weeks ago
1. findsimilars 2. matchPerson
upvoted 1 times
...
hatanaoki
6 months, 2 weeks ago
1. findsimilars 2. matchPerson
upvoted 1 times
...
nanaw770
6 months, 3 weeks ago
1. findsimilars 2. matchPerson
upvoted 1 times
...
varinder82
8 months, 3 weeks ago
Final Answer: findsimilars and matchPerson
upvoted 1 times
...
rdemontis
1 year, 1 month ago
Box 1 is findsimilars. Box 2 is matchPerson and the provided explanation is correct
upvoted 2 times
...
zellck
1 year, 5 months ago
1. findsimilars 2. matchPerson https://learn.microsoft.com/en-us/azure/cognitive-services/computer-vision/how-to/find-similar-faces?tabs=rest#find-and-print-matches The Find Similar operation does face matching between a target face and a set of candidate faces, finding a smaller set of faces that look similar to the target face. This is useful for doing a face search by image.
upvoted 10 times
...
reachmymind
2 years, 9 months ago
Box 1: findsimilars Box 2: matchPerson https://dev.cognitive.azure.cn/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395237
upvoted 5 times
...
bitcoin89
2 years, 10 months ago
FIRST BOX IDEBTIFY SECOND BOX NOTHING POST {Endpoint}/face/v1.0/identify Ocp-Apim-Subscription-Key: {API key} { "largePersonGroupId": "sample_group", "faceIds": [ "c5c24a82-6845-4031-9d5d-978df9175426", "65d083d4-9447-47d1-af30-b626144bf0fb" ], "maxNumOfCandidatesReturned": 1, "confidenceThreshold": 0.5 }
upvoted 2 times
...
sumanshu
2 years, 11 months ago
Box 1 - FindSimilar Box 2 - matchPerson (We have to find based on a sample photo)
upvoted 1 times
...
mikegsm
3 years, 1 month ago
Seems FIND SIMILAR AND MATCHPERSON
upvoted 1 times
...
DeBoer
3 years, 1 month ago
Looking at the ENTIRE document the answer has to be findsimilar: You cannot send the properties like faceListID and largeFaceListId to /detect
upvoted 2 times
...
nitkat
3 years, 3 months ago
The Answer is correct. The question asks to "find photos of a person based on a sample image". Key is "based on a sample image". Only detect does this : https://docs.microsoft.com/en-us/rest/api/faceapi/face/detect-with-url. Find Similars is used to search the similar-looking faces from a faceId array, a face list or a large face list
upvoted 4 times
Zoul
3 years, 1 month ago
detect does not take faceid. Cannot be detect !
upvoted 1 times
...
...
Banye27
3 years, 3 months ago
https://docs.microsoft.com/en-us/rest/api/faceapi/face/find-similar
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago