exam questions

Exam AI-102 All Questions

View all questions & answers for the AI-102 exam

Exam AI-102 topic 1 question 46 discussion

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

You have an app that analyzes images by using the Computer Vision API.

You need to configure the app to provide an output for users who are vision impaired. The solution must provide the output in complete sentences.

Which API call should you perform?

  • A. readInStreamAsync
  • B. analyzeImagesByDomainInStreamAsync
  • C. tagImageInStreamAsync
  • D. describeImageInStreamAsync
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
RAN_L
Highly Voted 1 year, 8 months ago
Selected Answer: D
The API call you should perform to provide an output in complete sentences for users who are vision impaired is describeImageInStreamAsync. The describe feature of the Computer Vision API generates a human-readable sentence to describe the contents of an image. This is particularly useful for accessibility purposes, as it allows visually impaired users to understand what is in an image without needing to see it. The describe feature can also be customized to provide additional details or context, if desired. Therefore, the correct answer is D. describeImageInStreamAsync.
upvoted 18 times
...
Sujeeth
Most Recent 1 month, 2 weeks ago
D. describeImageInStreamAsync. The describeImageInStreamAsync method in the Computer Vision API is designed to generate descriptions of an image in complete sentences, which is ideal for providing information to vision-impaired users. It outputs human-readable descriptions that convey the content of the image in a way that can be converted to audio or other accessible formats. A. readInStreamAsync is used for extracting text from images (OCR). B. analyzeImagesByDomainInStreamAsync is for domain-specific image analysis (like celebrities or landmarks). C. tagImageInStreamAsync provides tags for the image but not in complete sentences, which is less useful for accessibility purposes.
upvoted 1 times
...
moonlightc
3 months, 3 weeks ago
This was in the exam on 15/08/2024
upvoted 2 times
...
HaraTadahisa
5 months, 2 weeks ago
Selected Answer: D
see if you can spot this D.
upvoted 1 times
...
nanaw770
6 months, 2 weeks ago
Selected Answer: D
D. describeImageInStreamAsync is right answer.
upvoted 1 times
...
sivapolam90
7 months, 3 weeks ago
Selected Answer: D
Answer is D. describeImageInStreamAsync.
upvoted 1 times
...
evangelist
9 months, 3 weeks ago
Selected Answer: D
The correct answer is D. describeImageInStreamAsync. To configure an app that provides output in complete sentences for users who are vision impaired, using the Computer Vision API, you should use the describeImageInStreamAsync call. This API call analyzes an image and provides a description in natural, human-readable language.
upvoted 1 times
...
rdemontis
1 year, 1 month ago
Selected Answer: D
To provide output in complete sentences for users who are vision-impaired, you should perform the following API call: D. describeImageInStreamAsync The describeImageInStreamAsync API call is specifically designed to provide a description of the image content in a textual format that can be read aloud to users with visual impairments. This API call will generate a description of the image, making it accessible to those who rely on screen readers or other assistive technologies. (ChatGPT)
upvoted 2 times
...
trashbox
1 year, 1 month ago
Appeared on Oct/29/2023.
upvoted 3 times
...
james2033
1 year, 3 months ago
Selected Answer: D
See sample source code using (Stream imageStream = File.OpenRead(imagePath)) { ImageDescription descriptions = await computerVision.DescribeImageInStreamAsync(imageStream); Console.WriteLine(imagePath); DisplayDescriptions(descriptions); } at https://github.com/Azure-Samples/cognitive-services-dotnet-sdk-samples/blob/master/samples/ComputerVision/DescribeImage/Program.cs#L75C20-L75C20
upvoted 2 times
...
zellck
1 year, 5 months ago
Selected Answer: D
D is the answer. https://learn.microsoft.com/en-us/rest/api/computervision/3.1/describe-image-in-stream/describe-image-in-stream?tabs=HTTP This operation generates a description of an image in human readable language with complete sentences. The description is based on a collection of content tags, which are also returned by the operation. More than one description can be generated for each image. Descriptions are ordered by their confidence score. Descriptions may include results from celebrity and landmark domain models, if applicable. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.
upvoted 3 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 ...