AI-102 Exam QuestionsBrowse all questions from this exam

AI-102 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:

Show Answer
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

17 comments
Sign in to comment
motu
Jun 7, 2021

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
Jun 14, 2021

cool. correct answer!

idrisfl
Jul 2, 2021

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

Eltooth
Jul 18, 2022

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
Jul 1, 2023

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
Mar 4, 2022

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

nitkat
Sep 3, 2021

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
Oct 18, 2021

detect does not take faceid. Cannot be detect !

azurelearner666
Jun 30, 2021

Correct!

Banye27
Aug 23, 2021

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

DeBoer
Oct 18, 2021

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

bitcoin89
Feb 9, 2022

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 }

rdemontis
Nov 3, 2023

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

mikegsm
Nov 6, 2021

Seems FIND SIMILAR AND MATCHPERSON

sumanshu
Jan 5, 2022

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

varinder82
Mar 25, 2024

Final Answer: findsimilars and matchPerson

nanaw770
May 25, 2024

1. findsimilars 2. matchPerson

hatanaoki
May 28, 2024

1. findsimilars 2. matchPerson

HaraTadahisa
Jun 21, 2024

1. findsimilars 2. matchPerson

krzkrzkra
Jul 15, 2024

1. findsimilars 2. matchPerson