//clika-runtime/io.clika.modelverse/ImageToTextPipeline
ImageToTextPipeline
[common]
class ImageToTextPipeline : Pipeline
Text recognition over a VisionModel: a picture answers the text read off it.
Properties
| Name | Summary |
|---|---|
| model | [common] open override val model: VisionModel The loaded model the pipeline runs. |
| task | [common] val task: String The task the pipeline serves, in transformers' spelling. |
Functions
| Name | Summary |
|---|---|
| close | [common] open fun close(): <Error class: unknown class> |
| invoke | [common] operator fun invoke(image: ImageInput, options: OcrOptions = OcrOptions()): String |