百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
L

LaraOCR

> 后端框架
开源

Laravel 光学字符识别(OCR)包使用 OCR 引擎(Tesseract)

170 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

Laravel 光学字符识别(OCR)包使用 OCR 引擎(Tesseract)

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:

php
\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.

Upload Image

Uploaded Image

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

Issues· 2 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

PHPlaravel55ocrtesseract

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类后端框架
定价开源

> 相关工具

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架