Giter Club home page Giter Club logo

laraocr's Introduction

Latest Stable Version License Total Downloads Latest Unstable Version

LaraOCR

Laravel Optical Character Reader(OCR) package using ocr engines like Tesseract under the hood.

Features

  1. Read text from image using WebUI/Programing Interface
  2. Can be used as Laravel Facade
  3. Configurable and extendable

Requirements

OCR Engine Tesseract should be install in the system(e.g. for ubuntu sudo apt-get install tesseract-ocr). Follow Tesseract installation guide here. Make sure from the command line you have the tesseract command available.

Installation

Execute the following command in your terminal while you are in the root directory of your Laravel project to install this package:

composer require alimranahmed/laraocr

Then, publish this package using php artisan vendor:publish command

That's All!

Usages

This package can be used to read text from image to text using different type of interface like Web and Programming.

Programming

From anywhere of your code you can simply access the OCR facade to scan image as below:

\OCR::scan($imagePath);
WebUI

After successful installation of this package we already have a web interface to parse text from image. Simply go to {project-url}/ocr, select your image then click the Parse Image button.

select_image

Upload Image

selected_image

Uploaded Image

output

Parsed text

Wish list

  • Artisan command to read image and show parsed text from CLI
  • Restful API to accept image and return parsed text
  • Multilingual support
  • Adding More options which are already available in OCR engines

Contribution

Anyone is always welcome to contribute on the project. If you want to work with:

  1. Just create and issue(even if you want to fix the issue).
  2. After fixing any issue or adding any new feature just send a pull request
  3. I will be happy to add your code for the betterment of this project. Thanks..

License

This package is licensed under Apache License, Version 2.0

laraocr's People

Contributors

alimranahmed avatar henning256 avatar isbkch avatar

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.