Skip to main content

Tamil OCR engine using PARSeq and CRAFT

Project description

Yes, good catch! ✅ You need to have a README.md file in your project root before building the package. It's used as the long description for your PyPI page (what people see when they visit your package).


✍️ How to Create README.md

In your project root (E:\tamilocrx), create a new file named README.md and add something like:

# tamilocrx

`tamilocrx` is a Python package that extracts Tamil text from images using deep learning-based OCR models like **CRAFT** for text detection and **PARSeq** for recognition.

## 🚀 Features

- Detect and extract Tamil and English text
- Based on PyTorch, CRAFT, and PARSeq
- Easy to use with Gradio demo

## 🔧 Installation

```bash
pip install tamilocrx

🧪 Usage

from tamilocrx.ocr import OCR

ocr = OCR(detect=True, enable_cuda=False)
result = ocr.predict("path/to/image.jpg")
print(result)

📦 Model Files

  • parseq_tamil.pt – Tamil text recognition model
  • craft_mlt_25k.pth – Text detection model

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

tamilocrx-0.1.0.tar.gz (56.9 kB view details)

Uploaded Source

Built Distribution

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

tamilocrx-0.1.0-py3-none-any.whl (68.0 kB view details)

Uploaded Python 3

File details

Details for the file tamilocrx-0.1.0.tar.gz.

File metadata

  • Download URL: tamilocrx-0.1.0.tar.gz
  • Upload date:
  • Size: 56.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for tamilocrx-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e036590abf4a39f39e361049e22c0665516a1295e8978d662dff81af3f8ad7dd
MD5 c113d30f0259134298c6eb8f0a1de66f
BLAKE2b-256 f16f89c74372ff7d0ff68f18013094478edaad5bf7ee5883270faadf9f5656fa

See more details on using hashes here.

File details

Details for the file tamilocrx-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tamilocrx-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 68.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for tamilocrx-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 11afedc837a69d062fc4ad529fbdb9c480df791cdffc6afe8040cd65fbc138c2
MD5 d6b56394dfa47fc3d829202fe5509d11
BLAKE2b-256 3650d16ef323f7f083207dc8a68658d9b54a8d9f4f7876ade1d311b16ac9c0b0

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