GithubHelp home page GithubHelp logo

navaneeth-sharma / akshara-jaana Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 3.0 4.56 MB

A OCR Project for Reading New and Old Kannada Texts

Python 73.71% HTML 13.15% Rich Text Format 13.15%
tesseract-ocr poppler python python3 pypi-package kannada ocr-python package

akshara-jaana's Introduction

Hello there ๐Ÿ‘‹ It's Navaneeth here

Simple Developer with Full stack skills who

  • respects clean code, good documentation and simplicity
  • working on Vue.js , Fastapi, Djnago , Alpine.js, Tailwind, UI/UX, Figma Designs
  • learning advanced Python, Rust, Deep Learning and design principles
  • into Transformers, Diffusion, LLMs and much more

Snake contribution

akshara-jaana's People

Contributors

cclauss avatar dependabot[bot] avatar dileep-shar avatar navaneeth-sharma avatar rohanrbharadwaj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

akshara-jaana's Issues

Add `paddleocr` Model for OCR

Currently only tesseract model is present, which is not that efficient for old Kannada scripts (printed), So implement the OCR in paddleocr. No Extra Installation Required

Modules required

pip install paddleocr paddlepaddle

Sample Code

import cv2
from paddleocr import PaddleOCR, draw_ocr

# Creating OCR object
ocr = PaddleOCR(lang="ka")

# Reading image
img_path = "/content/test_image.jpeg"
img = cv2.imread(img_path)

# Running OCR
result = ocr.ocr(img)

# Printing results
for line in result:
    print(line)


boxes = [line[0] for line in result]  # the box locations in the image (just like cv2)
txts = [line[1][0] for line in result] # the extracted text 
scores = [line[1][1] for line in result] # confidence score

Reference

Unicode Error while reading PDF

Unicode Error while reading PDF

To Reproduce
Steps to reproduce the behavior:

  1. Install dependencies
  2. run below commands
from AksharJaana.main import ocr_engine
ocr_engine('path.pdf')

Expected behavior
The below error is occurring while reading the pdf
bug

Desktop (please complete the following information):

  • OS: Windows
  • Version : (github clone)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.