exam questions

Exam AI-102 All Questions

View all questions & answers for the AI-102 exam

Exam AI-102 topic 2 question 29 discussion

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

HOTSPOT
-

You develop a test method to verify the results retrieved from a call to the Computer Vision API. The call is used to analyze the existence of company logos in images. The call returns a collection of brands named brands.

You have the following code segment.



For each of the following statements, select Yes if the statement is true. Otherwise, select No.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

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
zellck
Highly Voted 1 year, 8 months ago
YYN is the answer. https://learn.microsoft.com/en-us/rest/api/computervision/3.1/detect-objects/detect-objects?tabs=HTTP#boundingrect A bounding box for an area inside an image. - x X-coordinate of the top left point of the area, in pixels. - y Y-coordinate of the top left point of the area, in pixels. - h Height measured from the top-left point of the area, in pixels. - w Width measured from the top-left point of the area, in pixels.
upvoted 12 times
...
syupwsh
Most Recent 2 weeks, 6 days ago
Yes is CORRECT because the code will display the name of each detected brand with a confidence equal to or higher than 75 percent. The if condition checks if brand.Confidence is greater than or equal to 0.75, and if so, it prints the brand name along with its coordinates. Yes is CORRECT. The properties brand.Rectangle.X and brand.Rectangle.Y represent the X and Y coordinates of the top-left point of the area, respectively. No is CORRECT because the code does not directly display the coordinates for the bottom-right corner of the rectangle. It displays the coordinates for the top-left corner (brand.Rectangle.X, brand.Rectangle.Y) and the width (brand.Rectangle.W) and height (brand.Rectangle.H). The bottom-right corner coordinates are not explicitly calculated or displayed.
upvoted 1 times
...
krzkrzkra
7 months, 3 weeks ago
YYN is the answer.
upvoted 1 times
...
taiwan_is_not_china
9 months, 1 week ago
The answer is YYN.
upvoted 1 times
...
takaimomoGcup
9 months, 2 weeks ago
Yes Yes No
upvoted 1 times
...
evangelist
1 year, 1 month ago
answer is correct: Y Y N response only display the top left corner and width and height from this origin
upvoted 2 times
...
rdemontis
1 year, 4 months ago
YYN: correct answer and duplicated question
upvoted 3 times
...
jangotango
1 year, 5 months ago
YYY - the last one is Y because all coordinates together give you top left and bottom right.
upvoted 1 times
AnonymousJhb
1 year, 5 months ago
YYN. not the bottom right
upvoted 3 times
...
rdemontis
1 year, 4 months ago
no, you can calculate the bottom right corner coordinates but they aren't displyed in the code provided
upvoted 1 times
...
...
[Removed]
1 year, 5 months ago
Answer is correct
upvoted 1 times
...
zellck
1 year, 8 months ago
Same as Question 14. https://www.examtopics.com/discussions/microsoft/view/55050-exam-ai-102-topic-2-question-14-discussion
upvoted 4 times
...
Rob77
1 year, 10 months ago
Correct YYN. The last one is width and height.
upvoted 1 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