Explain it simpler
Image Analysis is an Azure service that looks at a picture and tells you what is in it, without you teaching it anything first. You send it a photo and say what you want to know. A caption is one sentence about the whole picture, like 'a dog running on a beach'. Dense captions are several sentences about different parts of the picture, each with a box showing where. Tags are single words, like 'dog', 'sand', 'outdoor'. Objects tells you what things are in the picture and where each one is, so you can count them. People finds where people are, but not who they are. Smart crops suggests the best way to trim a photo into a different shape without cutting off the important part.
The digital editor at the Riverside Gazette has a problem. Twelve thousand archive photos have no alt text, so screen reader users hear only 'image'. The photo search box finds almost nothing, because nobody tagged the pictures. And every thumbnail on the homepage is a center crop that slices through people's heads. Elena, the editor, asks whether she needs to hire a team of interns or train a machine learning model. You suspect neither: Azure already has prebuilt models that describe, label and crop images. But which features answer which of her three problems, and what should you be careful about before letting a machine write descriptions of people?
Azure AI Vision's Image Analysis API describes what is in an image using prebuilt models trained by Microsoft, with no training on your part. You send an image, either as a URL or as binary data in the request body, along with a list of visual features you want. The service returns JavaScript Object Notation (JSON) with the results for each feature, usually with confidence scores between 0 and 1. The current version, Image Analysis 4.0, is called at the imageanalysis:analyze path with a features query parameter, such as features=caption,tags,objects, or through the ImageAnalysisClient in the Python and C# software development kits (SDKs).
Keep reading for free
Create a free StudyToCert account to read the rest of this lesson: 8 more sections, 6 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.