LiteRTHandler
A generic base class for model-specific preprocessing and postprocessing logic, combined with high-level task orchestration.
Type Parameters
I
The type of the input data to be preprocessed (e.g., LiteRtImage).
O
The type of the final result returned after postprocessing.
Functions
Link copied to clipboard
Closes the underlying LiteRTCompiler.
Link copied to clipboard
Initializes the handler and its underlying resources. This is an optional step that can be called before the first runTask. Subclasses should initialize the compiler here using setupCompiler or setCompiler.