TextTrainingBuilderExtensions
Helpers & Utilities · AiDotNet
Annotation-based training for the text families through the facade: text detection on polygons and recognition on transcriptions. Each model applies its paper’s target assignment and loss.
Methods
| Method | Summary |
|---|---|
IAiModelBuilder<T, Tensor<T>, Tensor<T>> TrainRecognition(IAiModelBuilder<T, Tensor<T>, Tensor<T>> builder, Tensor<T> images, IReadOnlyList<string> transcriptions) |
Trains the configured text recogniser one step on text-line images and their transcriptions. |
IAiModelBuilder<T, Tensor<T>, Tensor<T>> TrainTextDetections(IAiModelBuilder<T, Tensor<T>, Tensor<T>> builder, Tensor<T> images, TextDetectionTrainingBatch targets) |
Trains the configured text detector one step on page images and their text polygons. |