[Chennaipy] Chennaipy - Monday Module - 21 Nov 2022
selvi dct
selvi.dct at gmail.com
Mon Nov 21 12:55:11 EST 2022
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/chennaipy/attachments/20221121/6cf16115/attachment.html>
More information about the Chennaipy
mailing list