Skip to main content

Module task

Module task 

Source
Expand description

Task trait definitions for the OCR pipeline.

This module defines the Task trait and related types that represent different OCR tasks (text detection, recognition, layout analysis, etc.). Tasks define input/output schemas and execution contracts.

Structs§

ImageTaskInput
Common input type for image-based tasks.
TaskRunner
A task runner that executes tasks using a model adapter.
TaskSchema
Schema definition for task inputs and outputs.

Enums§

TaskType
Represents the type of OCR task being performed.

Traits§

Task
Core trait for OCR tasks.