Skip to main content

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

Project description

EasyOCR2

Fastly Built by FastBuilder.AI 🚀

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.1.tar.gz (94.0 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.1-py3-none-any.whl (94.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: easyocr2-1.0.1.tar.gz
  • Upload date:
  • Size: 94.0 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.1.tar.gz
Algorithm Hash digest
SHA256 b7cf09bb05f79d331e2f7b40a1cf4a8d4f50d869c9e7cc1e83ccf840d759f0ad
MD5 500d1ef3ccbb0f4ce0701166b471cb35
BLAKE2b-256 af560c040cef01e897e7f3d56c32522b118d2aa302ce1bc32e435ed8df8d5192

See more details on using hashes here.

File details

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

File metadata

  • Download URL: easyocr2-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 94.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1250b74822bec1a79afd7f6ff8539bf974c8b4ff703e1ca39e2fb5c150aa549d
MD5 a1e0785c540282237836e02ce11f22d1
BLAKE2b-256 624ca804c29d35bffcab6fb660840d4d218cc5f79a981cda7136125954f2f93f

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