Text cleaner v1

Description

Model for cleaning image with text. It is based on text detection model with extra post-processing.

Predicted Entities

Copy S3 URI

How to use

cleaner = ImageTextCleaner \
            .pretrained("text_cleaner_v1", "en", "clinical/ocr") \
            .setInputCol("image") \
            .setOutputCol("cleaned_image") \
            .setMedianBlur(0) \
            .setSizeThreshold(1) \
            .setTextThreshold(0.3) \
            .setPadding(2) \
            .setBinarize(False)

Model Information

Model Name: text_cleaner_v1
Type: ocr
Compatibility: Visual NLP 3.0.0+
License: Licensed
Edition: Official
Language: en
Size: 77.1 MB