Skip to content

maguri/lpr-gcloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lpr-gcloud

LPR with Google Cloud Vision AI with Python Client Library.

This is a simple lib to use Google Cloud to read Licens Plate numbers.

image

How it works

The script find the object "Licens Plate", crop the plate, and detect the plate text.

Getting Started

Google Console Account. Create a service account and download the private key file Read the docs: https://cloud.google.com/vision/docs/setup

Docker. This is an image from gcr.io/google.com/cloudsdktool/cloud-sdk:latest

docker build . -t lpr-gcloud
docker create -t -i -v /Path/To/Your/Repo:/app -t lpr-gcloud /bin/bash

Run or exec the script into the container

docker exec -it tender_dirac python3.7 main.py image/linux/format/path/file.jpg

Tools

  • Python 3.7
  • google-cloud-vision 1.0.0
  • Pillow 7.1.2

TODO

  • Crop Until Find License Plate Object

LICENSE

MIT

About

LPR with Google Cloud Vision AI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published