Pretrained Pipeline for Reading Handwritten Text with Image Documents

Description

Pretrained pipeline designed to extract handwritten text from document images. It empowers accurate and efficient conversion of handwritten content into digital text, making it an invaluable tool for text recognition tasks.

Predicted Entities

Live Demo Open in Colab Download

How to use

img_pipeline = PretrainedPipeline('image_handwritten_transformer_extraction', 'en', 'clinical/ocr')

img_path = '/content/images/'
img_example_df = spark.read.format("binaryFile").load(img_path).cache()

result = img_pipeline.transform(img_example_df)
val img_pipeline = new PretrainedPipeline("image_handwritten_transformer_extraction", "en", "clinical/ocr")

val img_path = "/content/images/"
val img_example_df = spark.read.format("binaryFile").load(img_path).cache()

val result = img_pipeline.transform(img_example_df)

Example

Input

Screenshot

Output

"This is an example of handwritten
text .
Let's # check the performance !
I hope it will be awesome ."

Model Information

Model Name: image_handwritten_transformer_extraction
Type: pipeline
Compatibility: Visual NLP 5.0.2+
License: Licensed
Edition: Official
Language: en