Date: 21 Nov 2022

Module : deeptext


Installation : pip install deeptext


About:

A cross-platform framework for deep learning based text detection,
recoginition and parsing


Sample:

# import package

import deeptext


# set image path and export folder directory

image_path = 'idcard.png'

output_dir = 'outputs/'


# apply text detection and export detected regions to output directory

detection_result = deeptext.detect_text(image_path, output_dir)


# apply text recognition to detected texts

recognition_result =
deeptext.recognize_text(image_path=detection_result["text_crop_paths"])



Reference:

https://pypi.org/project/deeptext
_______________________________________________
Chennaipy mailing list
Chennaipy@python.org
https://mail.python.org/mailman/listinfo/chennaipy

Reply via email to