Image Labelingplat_iosplat_android

With ML Kit's image labeling APIs, you can recognize entities in an
image without having to provide any additional contextual metadata, using either
an on-device API or a cloud-based API.

Image labeling gives you insight into the content of images. When you use the
API, you get a list of the entities that were recognized: people, things,
places, activities, and so on. Each label found comes with a score that
indicates the confidence the ML model has in its relevance. With this
information, you can perform tasks such as automatic metadata generation
and content moderation.

Want to label images with your own categories?
Train your own image labeling models with
AutoML Vision Edge.This is a beta release of ML Kit for Firebase. This
API might be changed in backward-incompatible ways and is not subject to any
SLA or deprecation policy.

Example on-device labels

The device-based API supports 400+ labels, such as the following examples:

Category

Example labels

People

CrowdSelfieSmile

Activities

DancingEatingSurfing

Things

CarPianoReceipt

Animals

BirdCatDog

Plants

FlowerFruitVegetable

Places

BeachLakeMountain

Example cloud labels

The cloud-based API supports 10,000+ labels, such as the following examples:

Category

Example labels

Category

Example labels

Arts & entertainment

SculptureMusical InstrumentDance

Astronomical objects

CometGalaxyStar

Business & industrial

RestaurantFactoryAirline

Colors

RedGreenBlue

Design

FloralPatternWood Stain

Drink

CoffeeTeaMilk

Events

MeetingPicnicVacation

Fictional characters

Santa ClausSuperheroMythical creature

Food

CasseroleFruitPotato chip

Home & garden

Laundry basketDishwasherFountain

Activities

WeddingDancingMotorsport

Materials

CeramicTextileFiber

Media

NewsprintDocumentSign

Modes of transport

AircraftMotorcycleSubway

Occupations

ActorFloristPolice

Organisms

PlantAnimalFungus

Organizations

GovernmentClubCollege

Places

AirportMountainTent

Technology

RobotComputerSolar panel

Things

BicyclePipeDoll

Google Knowledge Graph entity IDs

In addition the text description of each label that ML Kit returns, it also
returns the label's Google Knowledge Graph entity ID. This ID is a string that
uniquely identifies the entity represented by the label, and is the same ID used
by the Knowledge Graph Search API.
You can use this string to identify an entity across languages, and
independently of the formatting of the text description.