Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: CC-BY-SA-4.0

crowd-image-classifier

A widget for classifying an image, which can be a JPG, PNG, or GIF, with no size limit.

The following attributes are required by this element.

A JSON formatted array of strings, each of which is a category that a worker can assign to the image. You should include “other” as a category, so that the worker can provide an answer. You can specify up to 10 categories.

The text to display above the image. This is typically a question or simple instruction for the worker.

The name of this widget. It is used as a key for the widget’s input in the form output.

The URL of the image to be classified.

This element has the following parent and child elements. + Parent elements: crowd-form + Child elements: full-instructions, short-instructions

The following regions are required by this element.

General instructions about how to do image classification.

Important task-specific instructions that are displayed in a prominent place.

The output of this element is a string that specifies one of the values defined in the categories attribute of the <crowd-image-classifier> element.

Example : Sample Element Outputs
The following is a sample of output from this element.

[
  {
    "<name>": {
      "label": "<value>"
    }
  }
]

For more information, see the following. + Amazon SageMaker Ground Truth + HTML Elements Reference