svalvasori
Young grasshopper
Have now deleted everything in the ALPR directory and removed the containers/images. New install (as per GitHub Command) and still see the errors even before any plates sent.
The GitHub installation instructions are not up to date. You might to check out this site:New install (as per GitHub Command) and still see the errors even before any plates sent.
Thanks. Other than the data sent as the alert - the windows instruction are the same as on GitHubThe GitHub installation instructions are not up to date. You might to check out this site:
ALPR Database
Complete ALPR & Traffic Intelligence Solution for CodeProject.AI and Blue Iris Surveilance Systemsalprdatabase.org
You don't need to use this option unless you want to save a jpeg file to your PC. Here's what I'm using...So I reduced to 50% quality and size to 640 x 480, but still getting the same message.
No stream typically means there's a network issue.Not sure what 'No Stream' indicates - maybe that's my issue?
Just doing that for now so I can drop them in the AI tool to see what it see's. I found it interesting that only the trigger zone part of the image is sent to AI. As a tuning later, I was wondering if it can be setup with two zones, one for detection and a larger area that gets sent to the AI. I'll try unchecking it for now to see if it makes any differenceYou don't need to use this option unless you want to save a jpeg file to your PC. Here's what I'm using...
View attachment 217411
That was my first thought, but it all looks okay and is using the same switch as other cameras. But I don't think it's related to this issue since the no stream appears exactly after each attempt to send data to ALPR.No stream typically means there's a network issue.
68299a0cc953f95cf27525b3c3023d41 migrations.sqlCan you post the md5sum of your migrations.sql and schema.sql files?
pdp11:/alprdash-lift# md5sum migrations.sql schema.sql
68299a0cc953f95cf27525b3c3023d41 migrations.sql
c11e379d5e7946a667b01a031086eb70 schema.s
{ "ai_dump":&JSON, "Image":"&ALERT_JPEG", "camera":"&CAM", "ALERT_PATH": "&ALERT_PATH", "ALERT_CLIP": "&ALERT_CLIP", "timestamp":"&ALERT_TIME" }
psql -U postgres -d postgres -f /migrations/migrations.sql
UPDATE
So I re-downloaded the migrations.sql and schema.sql from git. Then ran in the postgres consolepsql -U postgres -d postgres -f /migrations/migrations.sql
, rebooted the container and now ALPR seems to be showing old records:
Thanks for verifying. The unraid section on the alpr webpage needs info. @algertc I am more than happy to assist in that. Let me know if I can help.Yes, this is the only way to do it on unRAID. The update.sh script won’t work. If the database tables have changed, you’ll always need to run migrations.sql manually from the console.
What I usually do is check on GitHub before updating to see if migrations.sql has changed. If it has, I run Db update on the above way.
No stream typically means there's a network issue.
@svalvasori, is your install of ALPR Database on Windows or Linux? Those MD5 hashes do seem to match the latest files. Have you tried rerunning the docker commands from your ALPR folder?
docker compose pull
docker compose up -d
Thanks for verifying. The unraid section on the alpr webpage needs info. @algertc I am more than happy to assist in that. Let me know if I can help.
I'm loving the work being done here! Im looking to get mine set up when I come back from a holiday, so I am pretty new to this.
Two questions:
How are you handling plates from different states/countries? Are you bunching them all in one?
What about MAC addresses? Sure, some cars dont have them, some only transmit them when a device is connected and others have randomised addresses, but councils do use these for traffic monitoring. Then police could use them to track a car (albeit only in high profile cases or if they are used to doing this).
I've done this:When I get a chance to work on this, I'll update the scripts to have them check themselves this way. Ty for the idea.
root@alpr:/opt/ALPR_Database# docker compose down
[+] Running 3/3
✔ Container alpr_database-app-1 Removed 1.2s
✔ Container alpr_database-db-1 Removed 11.2s
✔ Network alpr_database_default Removed 0.3s
root@alpr:/opt/ALPR_Database# docker compose pull
[+] Pulling 2/2
✔ db Pulled 0.8s
✔ app Pulled 0.8s
root@alpr:/opt/ALPR_Database# docker compose up -d
[+] Running 3/3
✔ Network alpr_database_default Created 0.1s
✔ Container alpr_database-db-1 Started 1.8s
✔ Container alpr_database-app-1 Started 2.4s
root@alpr:/opt/ALPR_Database#