GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - algertc/ALPR-Database: Fully-Featured Automated License Plate Recognition Database Platform for Blue Iris + CodeProject AI Server 🚘

BranchesTags
Open more actions menu

Latest commit

 

History

234 Commits
234 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
Images
Images
 
 
app
app
 
 
components
components
 
 
hooks
hooks
 
 
lib
lib
 
 
logging
logging
 
 
public
public
 
 
.dockerignore
.dockerignore
 
 
.eslintrc.json
.eslintrc.json
 
 
.gitignore
.gitignore
 
 
1024.png
1024.png
 
 
180.png
180.png
 
 
192.png
192.png
 
 
512.png
512.png
 
 
CHANGELOG.md
CHANGELOG.md
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
components.json
components.json
 
 
docker-compose-dbonly.yml
docker-compose-dbonly.yml
 
 
docker-compose.without-database.yml
docker-compose.without-database.yml
 
 
docker-compose.yml
docker-compose.yml
 
 
example.json
example.json
 
 
install.ps1
install.ps1
 
 
install.sh
install.sh
 
 
jsconfig.json
jsconfig.json
 
 
json-dump-example.json
json-dump-example.json
 
 
middleware.js
middleware.js
 
 
migrations.sql
migrations.sql
 
 
multi-ai-payload.json
multi-ai-payload.json
 
 
next.config.js
next.config.js
 
 
package.json
package.json
 
 
postcss.config.mjs
postcss.config.mjs
 
 
schema.sql
schema.sql
 
 
tailwind.config.js
tailwind.config.js
 
 
test-mqtt.js
test-mqtt.js
 
 
test-payload.json
test-payload.json
 
 
tsconfig.json
tsconfig.json
 
 
update.ps1
update.ps1
 
 
update.sh
update.sh
 
 
yarn.lock
yarn.lock
 
 

Repository files navigation

ALPR Database

A Fully-Featured Automated License Plate Recognition Database for Blue Iris + CodeProject AI Server

Feature Requests & Roadmap Downloads Plates Processed Release

⭐ Please star the repository if you find the project useful ⭐


App Screens

🌟 Overview

I've been using CodeProject AI with Mike Lud's license plate model on Blue Iris for a couple years now, but in this setup, the ALPR doesn't really do a whole lot. Really, you have more of a license plate camera with some OCR as a bonus, and no nice way to take advantage the data other than parsing Blue Iris logs or paying $600+/year for PlateMinder or Rekor ALPR.

This project serves as a complement to a CodeProject Blue Iris setup, giving you a full-featured database to store and actually use your ALPR data, completely for free. Complete with the following it has a very solid initial feature set and is a huge upgrade over the standard setup.

Features:

  • Searchable database & fuzzy search
  • Build labeled training sets from your traffic
  • Live recognition feed
  • Traffic Analytics
  • Categorization and filtering
  • Store information on known vehicles
  • Push notifications
  • Automation rules
  • Customizable tagging
  • Configurable retention
  • Flexible API
  • HomeAssistant integration
  • Permissioned users

šŸ”§ Installation

Setup Time

The application is packaged as a Docker image. This is the fastest and most reliable way to deploy. Below is a done-for-you installation script that will create a Docker stack with both the application and a PostgreSQL database. The installation script is recommended and more carefully maintained, but manual installation instructions are also available here.


Prerequisites

In order to send data and use the application, you will need ALREADY WORKING ALPR within Blue Iris. If you are not getting plate numbers in your alert memos, please configure and ensure your ALPR is working before beginning the setup.

You will also need the following installed on your system.

  • Docker
  • Docker Compose
  • Docker engine enabled and running

Tip

If unfamiliar with Docker, an easy way to check all three of these boxes at once is to install Docker Desktop, which has a GUI and bunch of nice tools.


Linux/MacOS

Create a new directory wherever you would like to store your ALPR data. Enter the directory in your terminal and paste in the below command. After that, everything will be set up automatically!

curl -sSL https://raw.githubusercontent.com/algertc/ALPR-Database/main/install.sh | bash

Or, if you prefer:

wget -qO- https://raw.githubusercontent.com/algertc/ALPR-Database/main/install.sh | bash

ā€¼ļø Note for Linux:

If your user is not in the Docker group, you will need to run with sudo using the command below:

curl -sSL https://raw.githubusercontent.com/algertc/ALPR-Database/main/install.sh | sudo bash

Windows

Create a new directory wherever you would like to store your ALPR data. Open PowerShell with administrator priveleges and cd into your new install directory.

Paste in the below commands. After that, everything will be set up automatically!

Set-ExecutionPolicy RemoteSigned
irm https://raw.githubusercontent.com/algertc/ALPR-Database/main/install.ps1 | iex


āš™ļø Setup

Get Your API Key

To start sending data, log in to the application and navigate to settings -> security in the bottom left hand corner. At the bottom of the page you should see an API key. Click the eye to reveal the key and copy it down for use in Blue Iris.

enter image description here


Set up an alert action within Blue Iris:

ALPR recognitions are sent to the api/plate-reads endpoint.

We can make use of the built-in macros to dynamically get the alert data and send it as our payload. It should look like this:

{ "ai_dump":&JSON, "Image":"&ALERT_JPEG", "camera":"&CAM", "ALERT_PATH": "&ALERT_PATH", "ALERT_CLIP": "&ALERT_CLIP", "timestamp":"&ALERT_TIME" }

Set your API key with the x-api-key header as seen below. enter image description here

Thats it! You're now collecting and storing your ALPR data.


šŸ“· Screenshots

Live Viewer Live View Dashboard TPMS Plate Database Insights

āš ļø Disclaimer

This is meant to be a helpful project and is still a work-in-progress. There's a good amount of spaghetti vibe coding in here and random things left over from the initial release. Not to be relied on for anything critical.

About

Fully-Featured Automated License Plate Recognition Database Platform for Blue Iris + CodeProject AI Server 🚘

alprdatabase.org

Topics

aialpranprblue-irisblueiriscodeprojectcodeproject-ai-serverdeepstackhomeassistantlicense-plate-recognitionocronnxpaddleocrpytorchtensorflow

Resources

Readme
MIT license
Activity

Stars

108 stars

Watchers

11 watching

Forks

13 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Ɨ600. No cookies required.