Back to Tensorflow

BaseVisionTaskApi

tensorflow/lite/g3doc/api_docs/java/org/tensorflow/lite/task/vision/core/BaseVisionTaskApi.html

2.21.02.5 KB
Original Source

public abstract class BaseVisionTaskApi

| Known Direct Subclasses

ImageClassifier, ImageSearcher, ImageSegmenter, ObjectDetector

| ImageClassifier | Performs classification on images. | | ImageSearcher | Performs similarity search on images. | | ImageSegmenter | Performs segmentation on images. | | ObjectDetector | Performs object detection on images. |

|

Base class for Task Vision APIs.

Nested Classes

| interface | BaseVisionTaskApi.InferenceProvider<T> | Syntax sugar to run vision tasks with FrameBuffer and image processing options. |

Inherited Methods

From class org.tensorflow.lite.task.core.BaseTaskApi

| synchronized void | close() Release the memory allocated from C++ and deregister the library from the static holder.

| | long | getNativeHandle() | | boolean | isClosed() |

From class java.lang.Object

| boolean | equals(Object arg0) | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |

From interface java.io.Closeable

| abstract void | close() |

From interface java.lang.AutoCloseable

| abstract void | close() |