Category Archives: CCTV

Displaying Plate Numbers on ALPR Cameras

I’ve been running OpenALPR on Unraid for about 6 months. Since January I’ve been working on a tool that replaces the limited closed-source OpenALPR web ui with my own OpenALPR Webhook Processor. I pointed the OpenALPR agent at my tool instead of the OpenALPR web ui. The agent sends a JSON payload defined here.

After the JSON payload is processed it is displayed through an Angular web app running on Asp.net Core backend. It uses a SQLite database to store plate information, and retrieves images from the agent on the fly. It records a small amount of statistics, allows searching based on make/model and plate numbers including regular expressions, and can both ignore and alert on plates.

The home plate screen

The tool can also manage individual cameras day/night toggling and zoom/focus based on the camera GPS location:

Modifying ALPR and regular cameras

When the tool receives a webhook from the agent, it parses the plate information and overlays the text on the camera:

The agent tries to determine the make/model of the vehicle, it’s not always correct (especially at night), but it does get a fair amount of accurate results.

So far it has been working pretty well! I am currently working on a method for “scraping” the agent’s debug web ui for information instead of using webhooks. This will be useful for people with the “Homeowner” membership that requires the webhook to come from the OpenALPR cloud website.

Enabling PIR Alarms With Blue Iris and Hikvision

I had previously configured my cameras to trigger a Hikvision NVR to record when the PIR sensor was triggered on a camera. I have now moved on to Blue Iris since I moved beyond the 8 cameras my NVR could support.

I Started by enabling Camera’s digital input or motion alarm, and Trigger until reset, but I couldn’t get the alerts to work.

Turns out, enabling this same functionality with Blue Iris is just as confusing as the Hikvision NVR. In order for BI to detect the event coming from the camera, Enable Pan/Tilt/Zoom and other controls (focus, brightness, etc) has to be enabled for the camera

After this I was able to get PIR events coming from the camera!