A tool to crop images and extract text using OCR
Project description
Image Cropping and Text Extraction
This code is designed to crop images and extract text from them using Optical Character Recognition (OCR). It is particularly useful for processing images of documents or forms where specific information needs to be extracted. Please install tesseract ocr first!
Installation
pip install image-trimmer
Usage
The code can be run from the command line using the following syntax:
image-trimmer -i ./path/to/folder -o ./path/to/output -t scb
Example
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file image-trimmer-0.0.10.tar.gz.
File metadata
- Download URL: image-trimmer-0.0.10.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64d32010cac9ac041fd7edb3b29e8557ef38dd826680cc9be05536d4b02a079d
|
|
| MD5 |
1082aa78954f2b2b8b1177823ae48db4
|
|
| BLAKE2b-256 |
b09df566a7f15928d6a5d1406c7d244270ccf74365ce5b80488b8b879fbe8b93
|
File details
Details for the file image_trimmer-0.0.10-py3-none-any.whl.
File metadata
- Download URL: image_trimmer-0.0.10-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
743a24af7dd09014b85c44a7b29dd26e3badf5bf1b7118d04ba1ac01b20ecefe
|
|
| MD5 |
f93eca59a6892d71e7eb4a30ac2fbf43
|
|
| BLAKE2b-256 |
a64df750ef77f3391a741e7d097e877903bf53f62c619fc654256f0c56b7f1bf
|