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!
Neighbors reporting suspicious vehicles stealing mail from mailboxes:
Men walking down the street while dawning ski masks:
Newspaper delivery driving through yards to turn around:
Coyotes running through our backyard into the road:
This project has been well worth since it has been installed. I’ve been successfully capturing license plates as they drive by, but I wanted to try some Automatic License Plate Recognition (ALPR) next. I found OpenALPR which seemed to have pretty good accuracy from the demos I watched.
My main media server currently runs on Unraid serving up plex, mail servers, etc via docker containers. The OpenALPR “agent”, which streams video from the camera and parses it for license plates, has a docker image available. I am currently running on a trial account, which gives access to the commercial features allowing local storage of plates instead of uploading them to their cloud application. I wasn’t able to get the OpenALPR web server running on Docker due to the multitude of dependencies that need to run with it. I installed an Ubuntu VM on the box then installed the web server inside the VM. The modern UI exposes the “agent” which allows for camera configuration for streaming:
Included with the commercial license is vehicle color and make/model descriptions. The agent can parse the details about a car just by analyzing the video stream!
It does get confused when vehicles are not a common type, have trailers, or attachments on them:
The camera configuration has inclusion and exclusion zones, which limit the area the agent will scan for plates, lowering CPU usage. While the commercial license has motion sensing optimizations, the “homeowner” license constantly checks for plates whether there is motion in the video feed or not, creating higher CPU usage. I found that at night when the entire screen is black the commercial license had near 0% CPU usage, while the homeowner license was a steady 15-20% throughout the entire day.
From there it was pretty much hands off. The OpenALPR algorithm, coupled with my camera placement right next to the road the angle, allows for good plate reads even at night.
The web server comes with useful features like reporting and alerting based on license plates. While the reports aren’t too useful for me, I do have several alerts for some of my coworkers who like to drive by my house and see if the cameras are working correctly.
The main downside to OpenALPR is the price. While the homeowner license is only $5/month per camera, In order to get the CPU optimizations, plate reading optimizations, the agent’s ability to send it’s information to a private web server, and other various features, the business license is required, $45/month per camera.
I’m looking into getting the license plate information overlaid on the video while it’s being recorded to Blue Iris.