| Install | |
|---|---|
composer require bkremenovic/licenceplate |
sudo apt-get update && sudo apt-get install -y openalpr openalpr-daemon openalpr-utils libopenalpr-dev tesseract-ocr
composer require bkremenovic/licenceplate dev-master
Bkremenovic\Licenceplate\LicenceplateServiceProvider::class,
'Licenceplate' => Bkremenovic\Licenceplate\Facades\Licenceplate::class,
php artisan vendor:publish --provider="Bkremenovic\Licenceplate\LicenceplateServiceProvider"
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.
Licenceplate::recognize("licence.jpg")
or
Licenceplate::recognize("http://example.com/licence.jpg")