AI-102 Question 108
Single answerYou are working on an AI solution that requires detecting objects in images and generating image tags for a product catalog. You decide to use Azure Cognitive Services for this task. Which service and approach should you use to achieve this functionality efficiently?
- A
Use the Computer Vision API and its 'Analyze Image' method.
- B
Use the Face API to detect objects and generate tags based on facial features.
- C
Use the Form Recognizer to extract objects and generate descriptive tags.
- D
Use Azure Machine Learning to train a custom model for object detection and tagging.
Show answer and explanation
Correct answer: A
Explanation
The Computer Vision API within Azure Cognitive Services offers pre-trained functionality for object detection and image tagging through its 'Analyze Image' method. This eliminates the need to develop and train custom models, making it the most efficient and effective solution for detecting objects and generating image tags in this scenario.
- A. Correct.
The Computer Vision API's 'Analyze Image' method is specifically designed to detect objects in images and generate descriptive image tags, making it the most efficient and appropriate choice.
- B. Incorrect.
The Face API is designed for facial recognition and analysis, not for general object detection or generating descriptive image tags.
- C. Incorrect.
The Form Recognizer is used for extracting structured data from documents and forms, not for detecting objects in images or generating tags.
- D. Incorrect.
Using Azure Machine Learning to train a custom model is unnecessary for this scenario, as the Computer Vision API already provides a pre-built solution for object detection and tagging.