Skip to main content

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_cropping -i <path to input folder> -o <path to output folder> -t <template name>

Example

Example

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

image-trimmer-0.0.9.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

image_trimmer-0.0.9-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file image-trimmer-0.0.9.tar.gz.

File metadata

  • Download URL: image-trimmer-0.0.9.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

Hashes for image-trimmer-0.0.9.tar.gz
Algorithm Hash digest
SHA256 656f4254f722c97095679851f30475bcbe60dc743fe1b341610a2e407e8a3d11
MD5 ce5fe9db7d462e471a76441076129fd4
BLAKE2b-256 779d255edde17a929cd7464f10324bcaac0e8c2e4c5e53834246b751e1e4e049

See more details on using hashes here.

File details

Details for the file image_trimmer-0.0.9-py3-none-any.whl.

File metadata

File hashes

Hashes for image_trimmer-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 52f003862e91d42207c4113dab7748ebbdc1df263c63b8c9c0f5d3b837368627
MD5 97bd615197b067a9038568ccf7f6bf12
BLAKE2b-256 310d1268f37cf587c764287cda49d46cf3535c645c8481e2c8066d755db810d4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page