Skip to main content

FOR ELLIOT (ME):

python -m build`
python -m twine upload dist/* --username __token__
pip install mistral-ocr

Mistral OCR

A command-line tool for performing OCR (Optical Character Recognition) using Mistral.

Installation

You can install this package directly from the repository:

pip install .

Or if you want to install in development mode:

pip install -e .

Prerequisites

This package requires Tesseract OCR to be installed on your system:

macOS

brew install tesseract

Ubuntu/Debian

sudo apt-get install tesseract-ocr

Windows

Download and install from: https://github.com/UB-Mannheim/tesseract/wiki

Usage

After installation, you can use the mistral-ocr command from anywhere:

mistral-ocr path/to/image.jpg

Options:

  • -o, --output: Specify output file (default: prints to stdout)
  • -v, --verbose: Increase output verbosity

Example:

mistral-ocr image.jpg -o extracted_text.txt

License

This project is licensed under the MIT License.

Metadata

Release files for mistral-ocr 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mistral-ocr 0.6.0
File Size Uploaded
mistral_ocr-0.6.0.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mistral-ocr 0.6.0
File Interpreter ABI Platform
mistral_ocr-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.9 kB

Release files / mistral_ocr-0.6.0.tar.gz

Download URL mistral_ocr-0.6.0.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
fa120f019e0e3a7f72a0c20c3a72b324b345939bf97cc1c1db85910ab46a03ca
BLAKE2b-256 checksum
How to use checksums
e46196f8fdd9f8ffab2171b97e15cf439b50375e05894bd3345c57cff8ea9fbc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Release files / mistral_ocr-0.6.0-py3-none-any.whl

Download URL mistral_ocr-0.6.0-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b7fde92d0c9a90b40d20f1142449c1f696a0aded88d52c944fdbf573df685330
BLAKE2b-256 checksum
How to use checksums
cbec17ef224568be4d583ff01348356983985a5016c4558cb3f4a74699319f8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page