# Class ImageLabeler

java.lang.Object
com.codename1.ai.vision.ImageLabeler

All Implemented Interfaces:
  `VisionAnalyzer<ImageLabel[]>, AutoCloseable`

public final class ImageLabeler extends Object
Creates reusable on-device image classifiers.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ImageLabeler()`
  `ImageLabeler(VisionOptions options)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `final void`
  `close()`
  `final boolean`
  `isSupported()`
  `final AsyncResource<ImageLabel[]>`
  `process(VisionImage image)`

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ImageLabeler

    public ImageLabeler()

  - ### ImageLabeler

    public ImageLabeler(VisionOptions options)

- ## Method Details

  - ### isSupported

    public final boolean isSupported()
    Specified by:
      `isSupported` in interface `VisionAnalyzer<T>`

  - ### process

    public final AsyncResource<ImageLabel[]> process(VisionImage image)
    Specified by:
      `process` in interface `VisionAnalyzer<T>`

  - ### close

    public final void close()
    Specified by:
      `close` in interface `AutoCloseable`
    Specified by:
      `close` in interface `VisionAnalyzer<T>`