This is a much evolved and simplified version of the project I shared several years ago:
https://discourse.nodered.org/t/ai-enhanced-video-security-system-with-node-red-controller-viewer/21622
Only minor changes to the node-red controller interface, the installation is simplified because I dropped support for weak hardware that has little chance of running yolo8 models, and most of the pieces are now installable via pip.
Yolo8 is the key to the very low false positive rate I've achieved, four false positives in about two years of 24/7/365 operation with 26 cameras. Three of the four false positives happened with the yolo4 verification step, 19 cameras run with yolo8 verification on an i7 laptop with GTX1060 GPU, 7 cameras run on an i5 "industrial PC" with NCS2 yolo4 verification.
The last version that supports "weak" hardware (what I've been running) is here, but installation and setup can be pretty difficult:
I'll be making no more changes to this, although I'm still running this version for the foreseeable future
The new version which I will continue to try and improve with some "newer" models (Yolo10, YoloNAS, MobilenetSSD_v3) can be found here:
Currently it supports MobilenetSSD_v2 for initial AI detection using either Corel TPU or openvino 2024.3 CPU AI and does yolo8 verification with either openvino iGPU or NVidia cuda capable GPU. The real work is done in python, with node-red providing a simple but effective user interface.
You can see the system in action as a solicitor distributing "flyers" walks from my neighbor's yard to my mailbox and then across my yard to the next house:
https://youtu.be/XZYyE_WsRLI