text extractor from images
Project description
pytextractor
python ocr using tesseract/ with EAST opencv text detector
Use the EAST opencv detector defined here with pytesseract to get text/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
-w WIDTH, --width WIDTH
resized image width (should be multiple of 32)
-e HEIGHT, --height HEIGHT
resized image height (should be multiple of 32)
-d, --display Display bounding boxes
-n, --numbers Detect only numbers
-p PERCENTAGE, --percentage PERCENTAGE
Expand/shrink detected bound box
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.1.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for pytextractor-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4924d325770b6007e2e4083b64e3680d668851f96834b344d3fe52f866a6654f |
|
MD5 | b22989ee6b26c5f2f10cdac0153e72d7 |
|
BLAKE2b-256 | 05de7b04b5ea0a6dc09440af414c3fcce4062588b075c586c13987b5687f4596 |