Skip to main content

AksharaJaana

An OCR for Kannada.

pypi

AksharaJaana is a package which uses tesseract ocr in the backend to convert the read-only kannada text to editable format. A Special feature of this is it can separate columns in the page and thus making it easier to read and edit. Do consider using this package if necessary and feel free to mail me for any clarifications.

Happy coding and installing.

To see the python package visit https://pypi.org/project/AksharaJaana/

The Requirements

Conda environment is preferred for the smooth use

  • AksharaJaana (pip package), check out the latest version available
  • Tesseract
  • poppler

Details for Installation

Ubuntu

Open terminal and execute below commands.

  1. Install the requirements in your system

    sudo apt-get update -y 
    sudo apt-get install -y poppler-utils python3 python3-venv tesseract-ocr tesseract-ocr-kan
    
  2. Installing packages for AksharaJaana

    pip install --upgrade AksharaJaana
    

Windows

  1. Installing tesseract-ocr in the system

    • Download tesseract
      • go to the website
      • click on tesseract-ocr-w64-setup-v5.0.0-alpha.20200328.exe (64 bit).
    • Install tesseract for Kannada Language and Script
      • open the downloaded file and click next and accept the agreement.
      • Next you will give an option to choose the languages.
      • Choose kannada in both script and language
    • Add tesseract to Path
      • Check if this folder C:\Program Files\Tesseract-OCR\ is present. If yes, follow below procedure
      • Add C:\Program Files\Tesseract-OCR\ to your system PATH by doing the following
        1. Click on the Windows start button, search for Edit the system environment variables, click on Environment Variables
        2. Under System variables, look for and double-click on PATH, click on New.
        3. then add C:\Program Files\Tesseract-OCR\, click OK.
      • if folder is not present, manually add the folder tesseract-ocr to the Program Files in the C drive which must be present at the download section (after extraction) and follow the same procedure
      • See complete docs.
  2. Installing poppler in the system

    • Download Poppler
      • go to this page
      • click on poppler-0.54_x86
    • Unzip the file and copy files to C:\Users\Program Files\poppler-0.68.0_x86
    • Add poppler to path
      • Add C:\Program Files\poppler-0.68.0_x86\bin to your system PATH by doing the following:
        1. Click on the Windows start button, search for Edit the system environment variables, click on Environment Variables
        2. under System variables, look for and double-click on PATH, click on New
        3. then add C:\Users\Program Files\poppler-0.68.0_x86\bin, click OK.
  3. Installing python and pip in the system (If pip is not installed)

  4. Installing packages for AksharaJaana

    • open command prompt

      pip install AksharaJaana
      
  5. Reboot the system before starting to use

Python Script

from AksharaJaana.main import OCREngine
from AksharaJaana.utils import ModelTypes, FileOperationUtils

ocr = OCREngine(modelType=ModelTypes.Easyocr)
# choices are Paddleocr, Easyocr, Tesseract

text = ocr.get_text_from_file("Your file Path") 
print(text) 

Metadata

Release files for AksharaJaana 1.0.1.3

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

Source distribution (sdist)

Source distribution for AksharaJaana 1.0.1.3
File Size Uploaded
AksharaJaana-1.0.1.3.tar.gz 8.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for AksharaJaana 1.0.1.3
File Interpreter ABI Platform
AksharaJaana-1.0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 15.8 kB

Release files / AksharaJaana-1.0.1.3.tar.gz

Download URL AksharaJaana-1.0.1.3.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7f86abce8dc28ac444dae19f3d171c1c0a77bb7b903aaf63ebc18d8598468c3e
BLAKE2b-256 checksum
How to use checksums
bee984f69dfc5ec0c81742f44f06fecf17d9768cfa18a07337e6a8c1f1e46c24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.0

Release files / AksharaJaana-1.0.1.3-py3-none-any.whl

Download URL AksharaJaana-1.0.1.3-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6569ac301dfdb5767927acaeccd881e97ca41427a87a3e14be1d363c3004e72d
BLAKE2b-256 checksum
How to use checksums
31905a0441109e81dac3c3d50a5daf27dfe7b71309f46d853647bf796e535ae7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.0

Release history Release notifications | RSS feed

This release

1.0.1.3 This release

2 release files

0.1.8

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.2.9

1 release file

0.1.2.8

1 release file

0.1.2.7

1 release file

0.1.2.6

1 release file

0.1.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