public abstract class BaseVisionTaskApi extends BaseTaskApi
Known Direct Subclasses

Base class for Task Vision APIs.

Nested Class Summary

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

Protected Constructor Summary

BaseVisionTaskApi(long nativeHandle)

Protected Method Summary

<T> T
run(InferenceProvider<T> provider, TensorImage image, ImageProcessingOptions options)
Runs inference with TensorImage and ImageProcessingOptions.

Inherited Method Summary

Protected Constructors

protected BaseVisionTaskApi (long nativeHandle)

Protected Methods

protected T run (InferenceProvider<T> provider, TensorImage image, ImageProcessingOptions options)

Runs inference with TensorImage and ImageProcessingOptions.