Exam AI-102 All QuestionsBrowse all questions from this exam
Question 82

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:

    Correct 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

Discussion
motu

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

leo822

cool. correct answer!

idrisfl

definitely find-similar, as it is the only one whose body parameters correspond

Eltooth

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.

zellck

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.

reachmymind

Box 1: findsimilars Box 2: matchPerson https://dev.cognitive.azure.cn/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395237

nitkat

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

Zoul

detect does not take faceid. Cannot be detect !

rdemontis

Box 1 is findsimilars. Box 2 is matchPerson and the provided explanation is correct

bitcoin89

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 }

DeBoer

Looking at the ENTIRE document the answer has to be findsimilar: You cannot send the properties like faceListID and largeFaceListId to /detect

Banye27

https://docs.microsoft.com/en-us/rest/api/faceapi/face/find-similar

azurelearner666

Correct!

krzkrzkra

1. findsimilars 2. matchPerson

HaraTadahisa

1. findsimilars 2. matchPerson

hatanaoki

1. findsimilars 2. matchPerson

nanaw770

1. findsimilars 2. matchPerson

varinder82

Final Answer: findsimilars and matchPerson

sumanshu

Box 1 - FindSimilar Box 2 - matchPerson (We have to find based on a sample photo)

mikegsm

Seems FIND SIMILAR AND MATCHPERSON