2017 © Pedro Peláez
 

library laraocr

Laravel Optical Character Reader(OCR) package using different OCR engines like Tesseract

image

alimranahmed/laraocr

Laravel Optical Character Reader(OCR) package using different OCR engines like Tesseract

  • Saturday, May 5, 2018
  • by al_imran
  • Repository
  • 2 Watchers
  • 14 Stars
  • 104 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 1 Open issues
  • 2 Versions
  • 55 % Grown

The README.md

Latest Stable Version License Total Downloads Latest Unstable Version, (*1)

LaraOCR

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

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., (*3)

Installation

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

composer require alimranahmed/laraocr

Then, publish this package using php artisan vendor:publish command, (*5)

That's All!, (*6)

Usages

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

Programming

From anywhere of your code you can simply access the OCR facade to scan image as below:, (*8)

\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., (*9)

select_image, (*10)

Upload Image, (*11)

selected_image, (*12)

Uploaded Image, (*13)

output, (*14)

Parsed text, (*15)

Wish list

  • [x] 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.., (*16)

License

This package is licensed under Apache License, Version 2.0, (*17)

The Versions

05/05 2018

dev-master

9999999-dev

Laravel Optical Character Reader(OCR) package using different OCR engines like Tesseract

  Sources   Download

Apache-2.0 Apache 2.0

The Requires

  • php ^7.0

 

by Al- Imran Ahmed
by Al Imran Ahmed

image data ocr

05/05 2018

dev-dev

dev-dev

Laravel Optical Character Reader(OCR) package using different OCR engines like Tesseract

  Sources   Download

Apache-2.0 Apache 2.0

The Requires

  • php ^7.0

 

by Al- Imran Ahmed
by Al Imran Ahmed

image data ocr