https://github.com/maemresen/license-plate-recognizer
An example PHP API to recognize license plates from an image and return as response.
https://github.com/maemresen/license-plate-recognizer
alpr license-plate-recognition openalpr php restapi
Last synced: 4 months ago
JSON representation
An example PHP API to recognize license plates from an image and return as response.
- Host: GitHub
- URL: https://github.com/maemresen/license-plate-recognizer
- Owner: maemresen
- License: mit
- Created: 2020-11-07T00:52:42.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-11-18T05:28:37.000Z (over 2 years ago)
- Last Synced: 2024-11-12T17:19:22.821Z (6 months ago)
- Topics: alpr, license-plate-recognition, openalpr, php, restapi
- Language: Shell
- Homepage:
- Size: 50.8 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# License Plate Recognizer
The main motivation of the project is implementing an API which, takes an Image as input and try to recognize license plates on the image and return recognized license plates as responseFor license plate recognition, it uses [OpenAlpr library](https://github.com/openalpr/openalpr).
# Usage
* (only for one time) build base docker image
```bash
docker build -f Dockerfile.base -t license-plate-recognizer-base:dev --no-cache .
```
* build image and run container
```bash
docker-compose up -d --build
```
* to stop;
```bash
docker-compose stop
```
* to remove;
```bash
docker-compose down
```
* An then, open following url on your browser \
[localhost:9090](http://localhost:9090/)
* Upload an **jpg** image and wait for results