Table of Contents

Function Definition: analyseURL(url = "https://ai.thestempedia.com/wp-content/uploads/2022/02/Robert-and-Chris.jpg")

Parameters

NameTypeDescriptionExpected ValuesDefault Value
urlstringThe URL address of the image.URL"https://ai.thestempedia.com/wp-content/uploads/2022/02/Robert-and-Chris.jpg"

Description

This function is used to analyze the image received as input from the specified URL of the image, for the feature.

By analyzing the images for image features, you can recognize the following things:

  1. Brands: Brand detection uses a database of thousands of global logos to identify commercial brands in images. The Computer Vision service detects if there are brand logos in a given image; if so, it returns the brand name; else, it returns NULL.
    Brands
  2. Celebrity: Celebrity detection uses a database to identify celebrities in images. The Computer Vision service detects if there is a celebrity in a given image; if so, it returns their name; else, it returns NULL.
    Celebrity
  3. Objects: Computer vision detects if there are objects in a given image; if so, it returns their name; else, it returns NULL.
    Object Detection
  4. Landmarks: Landmark detection uses a database of thousands of global landmarks to identify them in images, e.g., the Taj Mahal.
    Taj Mahal 2
  5. Image Tags: Computer vision returns the taxonomy-based categories detected in an image. Computer Vision can categorize an image broadly or specifically according to the 86 categories given in the following diagram:
    Category Tags
  6. Image Description: Human-readable sentence that describes the contents of the image.

Alert: This block processes the image input and updates the values in the other functions hence it needs to be put inside loops while making projects.

Example

There are no examples documented for this article.