New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

bkremenovic/licenceplate

Licence plate recognition for Laravel 5
61
Install
composer require bkremenovic/licenceplate:dev-master
License:MIT
Last Updated:Feb 17, 2017
Links: GitHub  ·  Packagist
Maintainer: bkremenovic

Installation

Install dependencies:

sudo apt-get update && sudo apt-get install -y openalpr openalpr-daemon openalpr-utils libopenalpr-dev tesseract-ocr

Include a package into your project using composer:

composer require bkremenovic/licenceplate dev-master

Open your config/app.php and add the following to the providers array:

Bkremenovic\Licenceplate\LicenceplateServiceProvider::class,

In the same config/app.php and add the following to the aliases array:

'Licenceplate' => Bkremenovic\Licenceplate\Facades\Licenceplate::class,

Run the command below to publish the package config file config/licenceplate.php:

php artisan vendor:publish --provider="Bkremenovic\Licenceplate\LicenceplateServiceProvider"

Usage

Use recognize() method using an image as a parameter (either remote or local). If the licence plate has been successfully recognized, it will return a string containing your licence plate. Otherwise, it will return null.

Example:

Licenceplate::recognize("licence.jpg")

or

Licenceplate::recognize("http://example.com/licence.jpg")

Related Packages

yk/laravel-ocr

A wrapper for gocr.

56,822 14
bkremenovic/fingerprint-matching

Laravel / Lumen package that allows you to match fingerprints scanned with SecuG...

221 20
insign/laravel-decaptcha

A Laravel package for captcha recognition for popular services like rucaptcha.co...

766 5
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

648,266,899 9,701
laravel/framework

The Laravel Framework.

604,216,237 34,982