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

HOTSPOT

-

You have a library that contains thousands of images.

You need to tag the images as photographs, drawings, or clipart.

Which service endpoint and response property should you use? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

    Correct Answer:

Discussion
jimbojambo

I think that the answers are wrong. They should be: 1 - Computer Vision analyze image 2 - imageType According to https://learn.microsoft.com/en-us/azure/cognitive-services/computer-vision/concept-detecting-image-types Computer Vision can analyze the content type of images, indicating whether an image is clip art or a line drawing

mmaguero

Agree, see json example at: https://westcentralus.dev.cognitive.microsoft.com/docs/services/computer-vision-v3-2/operations/56f91f2e778daf14a499f21b

PeteColag

This link no longer works

rdemontis

agree and thanks for posting the related documentation

TJ001

out of box option this is the best bet if not custom vision and train the model for object detection - more work

zellck

1. Computer Vision analyze images 2. imageType https://learn.microsoft.com/en-us/azure/cognitive-services/computer-vision/concept-detecting-image-types With the Analyze Image API, Computer Vision can analyze the content type of images, indicating whether an image is clip art or a line drawing.

zellck

Gotten this in Jul 2023 exam.

trashbox

Appeared on Oct/29/2023.

HarshSharma786

To tag images as photographs, drawings, or clipart, you should use the following service endpoint and response property: Service endpoint: Computer Vision image classification Property: imageType The Computer Vision image classification endpoint allows you to classify images into different categories, and the imageType property specifically provides information about the type of image, such as whether it is a photograph, drawing, or clipart.

sl_mslconsulting

I would say the answers are correct. Image type can only indicate whether an image is clip art or a line drawing. It can’t tell you if it’s a photograph or not - you can’t just assume that if the image isn’t a clip art or a line drawing will automatically be categorized as a photograph. It’s a very sloppy solution IMO. Besides you have thousands of images and it’s a good reason to create your own model.

PeteColag

The example at https://learn.microsoft.com/en-us/azure/ai-services/computer-vision/concept-detecting-image-types implies that if the "imageType": { "clipArtType": 0, "lineDrawingType": 0 }, then we have an image.

ulloo

ChatGPT: You can use the Microsoft Azure Computer Vision API to tag the images as photographs, drawings, or clipart. You can call the "Describe Image" API endpoint and use the "imageType" property of the response to determine if the image is a photograph, a drawing, or clipart. The "imageType" property can have the following values: "Clipart": Indicates that the image is a clipart. "LineDrawing": Indicates that the image is a line drawing. "Photograph": Indicates that the image is a photograph. You can send an HTTP POST request to the API endpoint with the image file as the request body and specify the "imageType" in the "visualFeatures" parameter. The API will return a JSON response containing the "imageType" property along with other properties such as "tags", "description", and "categories".

krzkrzkra

1. Computer Vision analyze images 2. imageType

NagaoShingo

1. Computer Vision analyze images 2. imageType

taiwan_is_not_china

The following aligned answer is correct. 1. Computer Vision analyze images 2. imageType

nanaw770

1. Computer Vision analyze images 2. imageType

takaimomoGcup

Service endpoint should be "Computer Vision analyze images". Property should be "imageType".

takaimomoGcup

Service endpoint shoud be "Computer Vision analyze images". Property should be "imageType".