Skip to content

A small Javascript project for detecting license plates in the browser using TensorflowJS and AutoML models.

License

Notifications You must be signed in to change notification settings

ozjuly19/Browser-License-Plate-Enhancement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This project is a simple license plate detection script that uses TensorflowJS to run an AutoML model on a given realtime image. The model will return coordinates on the input image to allow drawing of a bounding box or further image processing. NodeJS is the basic API and web host for my own sanity however, you could build this on whatever server you prefer (I'm just familiar with Node.)

Workflow

The index will call realtime.js and await the realtime image. When the image is received it will be process by Tensorflow, and this entire section of the app is run in public/ which is client side only.

The images are gathered using the file realtime.js temporarily saving the image to /run/pen.jpg or a tempfs of your choice. Make sure the user executing this node project has authority to save inside /run/ or you will face a permissions error.

Important Notes:

  • I'm assuming the use of a TFT 3.5" screen attached to the RPI with the usage of a kiosk browser configuration. This will be reflected in the latest styling and structure of this project to fit the screen limitations.
  • My future plan for this project is to implement YOLO object detection to first hone in on specific vehicles then process that frame for license plates. The thought here is to avoid false positives that appear in this specific model models/v2/ (which could also likely be solved by a better/wider dataset.)

Legal Notice

This project in its current or future form will NOT come pre-built with any systems allowing the operator to: determine the ownership of a motor vehicle, the mileage or route traveled by a motor vehicle, the location or identity of a motor vehicle, or the identity of a motor vehicle's occupants on public highways.

About

A small Javascript project for detecting license plates in the browser using TensorflowJS and AutoML models.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published