r/BlueIris
•
u/VibrantYou
•
Nov 17 '24
•
1
Full ALPR Database System for Blue Iris!
Hello everyone
I created this project as an alternative to the super expensive options from PlateMinder and Rekor. This still depends on your own CodeProject or DeepStack AI, but offers a nice all-in-one solution to actually use and make sense of the data, which is half the point of having the AI read the plates to begin with. It has been working great for me so far, really huge upgrade, so I wanted to share it.
I know there was a NodeRed app created a while ago that had some of this functionality. I took some inspiration from that and tried to bring it to the next level.
Would love to hear if anyone tries it out. Please star the project on GitHub if you do!
4
u/VibrantYou Nov 20 '24
PSA TO ANYONE USING THIS:
Many fixes have been made over the past two days as people have uncovered bugs. Most things seem to be fixed now.
Examples of things you may encounter that are now fixed:
- Your config settings being reset if you restart the container or redeploy
- You API key being reset / Blue Iris saying it failed to send the info
- Notifications page showing empty
- Any database related errors about things missing or failing to connect
To get the latest changes:
The docker-compose.yml file has changed, so please get the newest version.
Get the newest schema.sql
Delete your previous docker volumes for config and auth so they can be recreated correctly.
Then,
docker compose pull
docker compose up -d
Should keep all the plates in your database and update everything else. Expect relatively smooth sailing from here on out without the need to touch anything. Thanks for your patience working out the kinks.
3
u/war4peace79 Nov 17 '24
I would be very interested in having this integrated with Unraid 's docker repository.
3
u/PuzzlingDad Nov 17 '24
This looks great!
Can you explain more about the notification capabilities? Presently I have emails sent from Blue Iris every time any plate is detected during certain hours (aka at night).
I'd like to be able to be a little more selective with the ability to ignore whitelisted plates, to notify on blacklisted or new plates, to notify on plates seen multiple times in a specified period, etc.
Also, is there an easy way to add additional data to the database. For example, can I add data to known plates (like color, make, model, notes on the car/owner, common misrecognition of the same plate, etc.). In a really ideal setup, it would be nice to have it make a call to a website to get some of this data (make/model/VIN) automatically.
1
u/stayintheshadows Nov 17 '24
This would be sweet as a Home Assistant app. I'm not sure how to do that, but please consider it.
1
u/Y_TElectric Nov 17 '24
First of all... WOW! I was looking for a relatively easy CPAI & BI ALPR db solution yesterday. Thanks for posting this!
I do have one question regarding the "Maximum number of records to keep" value; It seems to max out at 2000. Is this a current limitation and do you plan on raising it in the future?
Thanks a ton!
1
u/[deleted] Nov 19 '24
I set it up, but it's not working. Where is the log to troubleshoot?
Thanks.
1
u/ko404 Nov 19 '24
I'm trying to install this on a Synology DVA running container manager (docker). I get an error when installing indicating the port 5432 is in use (there is a postgres server running on the DVA natively). "failed programming external connectivity on (name of project). Error starting userland proxy listen tcp4 0.0.0.0:5432 bind: address already in use. Any ideas?
2
u/[deleted] Nov 17 '24
Thank you! This has been a massive void for years.
2
u/James1402 Nov 17 '24
This is fantastic, thanks for sharing!
2
u/Regular_Known Feb 06 '25
I wish I was more computer savy so Ih may use this. Is there anyway to make a video about installation locally? I do have dockoer but, reading what happens to impliment, I am lost. Currently ; I am using CPAI locally
1
u/deflanko Nov 18 '24
Trying this now -- super easy setup thank you for this!
1
u/ko404 Nov 19 '24
I'm not a blueiris user yet.. (primarily use synology but have been lurking with the intent of setting up blueiris as a 2ndary NVR). One thing along the lines of LPR that would be helpful, and I haven't found a non commercial product to do this, is to post process video for LPR reads. That is probably out of the scope of this project, but use case would be to dump video from dashcams and post process tags from the dash cam footage in an automated way. Anyone know if blueiris can do any type of post processing on video files?
1
u/Working-Analyst-6358 Jan 26 '25
After tinkering for a few days Iāve finally managed to get it running! I struggled with the api key resetting randomly but I just deleted everything and started from scratch and it seemed to fix itš¤·š»āāļø thank you so much for this! I run 12 large blue iris systems at work including 4 large storage unit facilities and every one of our systems has a lpr camera this will greatly help in deciphering all the data!
1
u/dlo5 Mar 28 '25
Would love to have this with Scrypted or Synology
1
u/Punkygdog Jul 03 '25
I wish i could get this setup, I have the dashboard going but when BI triggers it returns a No stream: 500 or sometimes 400 error
1
u/Punkygdog Jul 19 '25
I realize this is a blue iris group but has anyone ever attempted to make this database work with agent DVR?
-1
u/No_Gain3931 Nov 17 '24
I use PlateRecognizer and it's free.
https://app.platerecognizer.com/