hatamiarash7/openalpr

OpenALPR Library for Laravel

1.3 2019-02-13 13:55 UTC

This package is auto-updated.

Last update: 2020-05-13 17:39:26 UTC


README

It's an OpenALPR package for Laravel. You can easily use this in your project.

Installation

OpenALPR is a cross-platform project that you can run it on Windows, Linux or MacOS. First you should install core package of OpenALPR.

Linux

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

Windows

  1. Install python ( 64-bit )
  2. Donwload 64-bit SDK here and extract that
  3. Add extracted folder to your PATH

Test

You can test alpr by running this command :
alpr --version

Installation ( Laravel )

Include package into your project using composer

composer require hatamiarash7/openalpr

Publish the package config file

php artisan vendor:publish --provider="Hatamiarash7\OpenALPR\OpenALPRServiceProvider"

Usage

Local

OpenALPR::recognize("licence.jpg")

From URL

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

Sample

There is a sample laravel project. Check it and write your awesome project
OpenLaravel-OpenALPR