text extractor from images
Project description
pytextractor
python ocr using tesseract/ with EAST opencv text detector
Uses the EAST opencv detector defined here with pytesseract to extract text(default) or numbers from images.
usage: text_detection.py [-h] [-east EAST] [-c CONFIDENCE] [-w WIDTH]
[-e HEIGHT] [-d] [-n] [-p PERCENTAGE]
images [images ...]
Text/Number extractor from image
positional arguments:
images path(s) to input image(s)
optional arguments:
-h, --help show this help message and exit
-east EAST, --east EAST
path to input EAST text detector
-c CONFIDENCE, --confidence CONFIDENCE
minimum probability required to inspect a region[0.5]
-w WIDTH, --width WIDTH
resized image width (should be multiple of 32)[320]
-e HEIGHT, --height HEIGHT
resized image height (should be multiple of 32)[320]
-d, --display Display bounding boxes
-n, --numbers Detect only numbers
-p PERCENTAGE, --percentage PERCENTAGE
Expand/shrink detected bound box[2.0]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pytextractor-0.0.3.tar.gz
(754.1 kB
view hashes)
Built Distribution
pytextractor-0.0.3-py3-none-any.whl
(761.0 kB
view hashes)
Close
Hashes for pytextractor-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5426c001fc8db779d8ec7102d7d8bfd6bfa9121330a81f3ec32c9b11395df0da |
|
MD5 | 9350ace3cc7398ef6ddab9448a21e3ab |
|
BLAKE2b-256 | c6580ff8e598f3f1bb4968590dd05a1ecfea72dc3bbfcc9cbece1e15d7e7f415 |