Production Case Study 02 • Verified Enterprise System

Custom ALPR & Facial Recognition Platform

Computer Vision ONNX Runtime Qdrant Vector DB ALPR / OCR RabbitMQ C# Desktop

Engineered an end-to-end computer vision security ecosystem across 25 commercial sites—combining high-capacity facial recognition, vector similarity search, automated license plate recognition, and national law enforcement crime database integration.

Role Lead Developer & Solutions Architect
Timeline 2023 – 2024
Scale & Throughput 25 Sites • >1 plate & >1 face/sec
Client / Organization Daxicare / IPDynamics (Control Room)
Executive Brief

Operational Snapshot & Impact

High-stakes systems integration demands real-world reliability, sub-second latency, and deterministic execution under peak production load. Here is the operational profile:

Role Lead Developer & Solutions Architect
Timeline 2023 – 2024
Scale & Throughput 25 Sites • >1 plate & >1 face/sec
Client / Organization Daxicare / IPDynamics (Control Room)

The Challenge

A multi-site commercial security client had invested in Dahua DSS camera and recording infrastructure. While Dahua provided video capture, its native analytics could not meet the client's operational requirements:

  • Accuracy & Capacity Limits: The built-in software capped the number of storeable faces and generated unacceptable false-positive rates in outdoor conditions.
  • Ad-Hoc Vector Search: Operators could not perform arbitrary similarity searches against historical captures.
  • External Intelligence: Plate recognition could not cross-reference vehicles against the national Business Against Crime database in real time.

The client needed a custom platform that could leverage the existing camera capital investment while superseding Dahua's analytics with enterprise-grade computer vision, high-volume vector search, and instant control-room alerting.

Vision & Vector Pipeline

Warren architected and developed the complete software solution in C#, deploying ONNX models and Qdrant vector database storage directly within the operational environment.

Dahua DSS Video Network / IP Cameras
↓ High-Resolution Snapshots via Custom Auth API
SCRFD 2.5G (ONNX) — Real-Time Face Detection & Crop
↓ Isolated Face Crop
ArcFace / ResNet-100 (ONNX) — 512-Dimensional Vector Extraction
↓ High-Dimensional Vector Embeddings
Qdrant Vector Database — Sub-Second Cosine Similarity Search
↓ Match Exceeding 80% Threshold
RabbitMQ Event Dispatch → Real-Time Windows Control Room

The system stores blacklist facial vectors in Qdrant. When a face is detected at any checkpoint, its feature vector is extracted and compared using cosine similarity against the database within milliseconds. Matches trigger automated alarm notifications and video clips for human security dispatch.

ALPR & Law Enforcement Integration

In parallel with facial recognition, Warren engineered an automated license plate recognition (ALPR) pipeline utilizing custom ONNX plate localization and Google Tesseract OCR.

Front-of-Vehicle Camera Image Capture
↓ Plate Region Crop
Custom ONNX Plate Detector + Tesseract OCR String Extraction
↓ Normalized Vehicle Registration
Business Against Crime Secure REST API Cross-Reference
↓ Flagged Vehicle Match
Control Room Emergency Alert + SAPS Police Escalation Workflow

This closed the loop from camera capture to operational law enforcement action, allowing security teams to intercept stolen or suspicious vehicles before they entered secured perimeters.

Real-Time Control Room Application

To put intelligence into the hands of operators, Warren developed a dedicated Windows desktop control-room application in C#.

  • Subscribes to RabbitMQ message queues to receive instant incident events without polling latency.
  • Displays split-screen verified suspect photos, live camera capture crops, plate text, camera GPS coordinates, and site ownership information.
  • Enables one-click incident escalation directly to armed response teams and the South African Police Service (SAPS).

Technical Breakthroughs

The most difficult integration hurdle was authenticating directly against Dahua's DSS proprietary management layer in C#. The vendor's C# SDK was incomplete and poorly documented for custom analytics integration.

Working from fragmentary Python prototype code, Warren reverse-engineered Dahua's cryptographic handshake and session authentication protocol, implementing a robust C# API client that reliably pulls video frames directly from DSS appliances across all 25 sites.

Scale & Production Reliability

The deployment proved dramatically superior to Dahua's native analytics, delivering sharper recognition recall and virtually eliminating nuisance alarms.

  • Deployment Scale: 25 enterprise sites with concurrent facial-recognition and vehicle checkpoints.
  • Throughput: Sustained rates exceeding 1 vehicle scan per second and multiple simultaneous faces per second during shift changes.
  • Zero-Maintenance Reliability: The system has operated continuously in production for more than two years without requiring ongoing developer intervention or code patches.

Technology Stack

Language & Desktop UI C#, .NET, Windows Desktop Control Room UI
AI & Computer Vision Microsoft ONNX Runtime, SCRFD, ArcFace/ResNet-100, Tesseract OCR
Vector Search Qdrant (Vector Database & Cosine Similarity)
Messaging & Queues RabbitMQ (Real-time alarm dispatch)
APIs & Networking REST, RestSharp, gRPC, Reverse-Engineered DSS Auth
Local Database SQLite (High-speed local metadata caching)
Enterprise Architecture Consulting

Facing Similar Systems Integration Bottlenecks?

Get a 48-Hour High-Stakes Architecture Audit ($8,500) to diagnose bottlenecks and design a zero-downtime execution roadmap with Warren Basterfield.

Book 48-Hour Audit ($8,500) ➔ Consult Principal Architect