Generates text from image
Project description
shiftlab_ocr
SHIFT OCR is a library fo handwriting text segmentation and character recognition.
Get Started
pip install shiftlab_ocr
import shiftlab_ocr
PATH_TO_IMAGE = 'test.jpg'
scanner = shift_ocr.Scanner(model_name='hw-cyr')
result = scanner.doc2text(PATH_TO_IMAGE)
('Директору Заявление 10 январе 2019г. Ирл Иванов А.П. ',
[<shift_ocr.crop.Crop at 0x7f158cffd1d0>,
<shift_ocr.crop.Crop at 0x7f158cffd610>,
<shift_ocr.crop.Crop at 0x7f158cffd790>,
<shift_ocr.crop.Crop at 0x7f158cffd8d0>,
<shift_ocr.crop.Crop at 0x7f158cffdd50>,
<shift_ocr.crop.Crop at 0x7f158cffd910>])
Also, see Google Colab Demo
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for shiftlab_ocr-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e41a0f2352b81ed259df3ac21dd4dd365df7eb96465b1a6cc05fe054e337bbb |
|
MD5 | fbd16bbed354190e2917b50707982f44 |
|
BLAKE2b-256 | 99ee7d4a10b74e401272f0d6001e5a71b5b20dc8b904fd8880fd35cb083ed1fa |