Skip to main content

Next-generation OCR with 80+ languages - Ready-to-use OCR powered by deep learning

Project description

EasyOCR2

Next-generation ready-to-use OCR with 80+ supported languages and all popular writing scripts.

Installation

pip install easyocr2

Quick Start

import easyocr2

# Create reader
reader = easyocr2.Reader(['en'])

# Perform OCR
result = reader.readtext('image.jpg')
print(result)

Features

  • 🌍 80+ Languages Support
  • 🚀 GPU Acceleration (CUDA/MPS)
  • 📦 Easy Installation via pip
  • 🎯 High Accuracy with deep learning
  • 🔧 Simple API - just 3 lines of code

Supported Languages

Latin, Chinese (Simplified & Traditional), Japanese, Korean, Thai, Arabic, Cyrillic, Devanagari, and many more!

See full list at: https://github.com/cyberiums/EasyOCR

Advanced Usage

import easyocr2

# GPU mode (default)
reader = easyocr2.Reader(['en'], gpu=True)

# CPU mode
reader = easyocr2.Reader(['en'], gpu=False)

# Multiple languages
reader = easyocr2.Reader(['en', 'ch_sim', 'ja'])

# Perform OCR with details
result = reader.readtext('image.jpg', detail=1)
for bbox, text, confidence in result:
    print(f"Text: {text}, Confidence: {confidence:.2f}")

Integration with RustOCR

EasyOCR2 works seamlessly with RustOCR CLI for high-performance batch processing:

# Install easyocr2
pip install easyocr2

# Use with RustOCR server mode
rustocr --server
rustocr -i image.jpg --use-server  # 5-10x faster!

Requirements

  • Python >= 3.7
  • PyTorch >= 1.6

License

Apache-2.0

Credits

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

easyocr2-1.0.0.tar.gz (93.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

easyocr2-1.0.0-py3-none-any.whl (94.7 kB view details)

Uploaded Python 3

File details

Details for the file easyocr2-1.0.0.tar.gz.

File metadata

  • Download URL: easyocr2-1.0.0.tar.gz
  • Upload date:
  • Size: 93.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for easyocr2-1.0.0.tar.gz
Algorithm Hash digest
SHA256 885df602bcdce668a6d4861a2b0dcb0d69ea6d9ac8c1195acc4eed4a67b4fea4
MD5 2a72c17642021572011f81d205127e28
BLAKE2b-256 bed541397aff16f30b8623014089aa8c2ab0e1afd071fa6d1a2837c36058763d

See more details on using hashes here.

File details

Details for the file easyocr2-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: easyocr2-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 94.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for easyocr2-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d801234402ba84ee0f84462bcd882194d4acaf5e4cd81aae6129309cf47b8002
MD5 36242361657e2dc4a9f79658e2e81a7b
BLAKE2b-256 be33fb60e7ccd91e17c873a62de3c20ec051e6675ca5330373c6a251829842bb

See more details on using hashes here.

Supported by

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