Full ALPR Database System for Blue Iris!

Hi All, Help needed please. I think I'm close but need nudged in the right direction. So, BI is capturing images, CodeProject is identifying plate numbers, I just can't get the data to show up in ALPR Database System. I've included some images which might offer clues. Any suggestions?


ss1.jpg
ss2.jpg
ss3.jpg
ss4.jpg
ss5.jpg
ss6.jpg
ss7.jpg
 
Last edited:
Did you check your API key to make sure it's the same on both sides? What do you have in your database logs? Do you see the calls from BI?
 
Check things in this order:
1) Confirm plates are being recognized on the BI console (done)
2) Confirm the call from BI is being made when a plate is detected. (check the BI log to confirm the call is happening. The return code should be 200.
3) If you are seeing errors confirm the IP address of the ALPR DB is correct. Personally since mine is running on the BI machine so I just used localhost:3000 rather than having to specify it explicitly. If it is on a separate machine, confirm there aren't firewall rules preventing access from BI. Try a ping. If the error indicates a security error, verify the API key is correct.
4) If it is reaching the DB, check the logs. I think it's the second to last icon on the left. Check your database password matches what you setup initially and that it is reading the DB.
5) If the call is going through, maybe the fields you are sending aren't fully correct. Can you copy/paste the full post/payload field? For one, I see you are using the Plate call (one plate) but you can use the label call if there are multiple plates being detected by the ALPR module. Are you sending the clip fields?
 
I re-copied the key and that should be good. Here's a screen shot of the data base I think you're refering to. Doesn't look good.
1) How about the ALPR Sytem Logs?

1741644960914.png


2) Also where/how is the db being hosted?
 
BI, CodeProject, ALPR are all on the same machine. Found the log, here's what it looks like:
You may need to run the migration first to get it running like I did based upon some of the error messages. I'm just guessing here.

 
I also picked up a bunch of these:


It's a 2mp on a 2.8 sensor, 1-10x zoom. It's basically a Uniview rebranded camera with slightly different firmware. It's not as good as the dual lens, but at $35, the value is hard to beat.
LOL. I have no specific need for these, but for $33.24 when you buy 2, as you said, it's hard to pass up. I just ordered 2.
 
As an eBay Associate IPCamTalk earns from qualifying purchases.
LOL. I have no specific need for these, but for $33.24 when you buy 2, as you said, it's hard to pass up. I just ordered 2.
Hmmm don't tempt me. That's ridiculously cheap. Can get them coming AND going.
 
Also, in your AI Alert, for the Post/payload, you may want to use the MEMO field instead of the PLATE field from the original instructions. I'd also recommend adding the ALERT_PATH and ALERT_CLIP fields to allow linking back to Blue Iris to play the associated clip, if not already there.
Code:
{ "memo":"&MEMO", "Image":"&ALERT_JPEG", "camera":"&NAME", "timestamp":"&ALERT_TIME", "ALERT_PATH": "&ALERT_PATH", "ALERT_CLIP": "&ALERT_CLIP"}
 
Last edited:
Also, in your AI Alert, for the Post/payload, you may want to use the MEMO field instead of the PLATE field from the original instructions. I'd also recommend adding the ALERT_PATH and ALERT_CLIP fields to allow linking back to Blue Iris to play the associated clip.
Code:
{ "memo":"&MEMO", "Image":"&ALERT_JPEG", "camera":"&NAME", "timestamp":"&ALERT_TIME", "ALERT_PATH": "&ALERT_PATH", "ALERT_CLIP": "&ALERT_CLIP"}
That alert clip and path is handy in the interface
 
  • Like
Reactions: VideoDad
Too dark to read plates tonight. I only have a daytime setup for now. I'm thinking of doing a complete reinstall of docker desktop for windows and retry the documented ALPR Database install. Thanks much for all your help thus far.
 
OK, so I methodically reinstalled Dockers Desktop for windows and ALPR Database per Algertc's installation procedure this morning. Here are two captures to review. One is of CodeProject capturing the plate and the other is of the log entry just as ALPR Database was trying to process it. Does this offer any clues?
1.jpg
2.jpg
 
OK, so I methodically reinstalled Dockers Desktop for windows and ALPR Database per Algertc's installation procedure this morning. Here are two captures to review. One is of CodeProject capturing the plate and the other is of the log entry just as ALPR Database was trying to process it. Does this offer any clues?
View attachment 216533View attachment 216534
The log indicates that you are successfully calling the DB API when BI alerts on a plate. And it looks like the image is saved successfully, but then the rest of the plate read data doesn't save correctly. Can you post the complete text of your post/payload from the "On Alert" that makes the http/API call?
 
  • Like
Reactions: wpiman