SecureGate Docs

SecureGate Documentation

Biometric identity verification platform — face detection, weapon detection, event access control

What is SecureGate?

SecureGate is a multi-tenant event access control platform that uses facial biometrics for identity verification. It detects and recognizes faces in real-time camera streams, manages event attendees, tracks room occupancy, and detects weapons.

Key Capabilities

CapabilityDescription
Face DetectionReal-time face detection via InsightFace antelopev2 (SCRFD detector) with quality filtering
Face Recognition512-dimensional ArcFace embeddings with cosine similarity matching against per-tenant indexes
Weapon DetectionYOLO-based Weapon/Knife/Gun classification — browser (YOLO26n) and server (YOLOv8n)
Deepfake DetectionSensity API integration for liveness and manipulation analysis
Event Access ControlFull event lifecycle — rooms, cameras, attendees, invites, timeline
Face EnhancementCodeFormer restoration + RealESRGAN 4x upscaling for low-quality captures
Multi-TenantPer-tenant encrypted data isolation with org/tenant/customer hierarchy

Architecture at a Glance

                   Hanzo Ingress (TLS, hostname routing)
                              |
                   Hanzo Gateway (JWT validation, IAM)
                              |
                   Base API (Go, hanzo/base)
                              |
           +------------------+------------------+
           |                  |                  |
        Ingest            Embed             Enhance
        :8002             :8001             :8003
        InsightFace       ArcFace           CodeFormer
        + Weapons         Batcher           RealESRGAN
           |                 |
           |          sqlite-vec + FAISS
           |          (per-tenant index)
           |
           +-------> S3/R2 (face crops)
Getting StartedRun locally, create an event, connect cameras
ArchitectureMulti-tenant design, microservices, encryption hierarchy
API ReferenceAll v1 and legacy endpoints
Face DetectionInsightFace antelopev2 detector and quality pipeline
Face RecognitionArcFace embeddings and similarity matching
Weapon DetectionYOLO weapon/knife/gun classification
ModelsComplete model inventory
Deploymentcompose.yml, K8s, GPU scheduling
SecurityEncryption hierarchy, HSM, MPC, tenant isolation
White-LabelMulti-tenant branding and data isolation

GitHub Organization

All repositories are under the securegate-ai organization:

RepoLanguageDescription
appTypeScript (React/Vite)Operator dashboard — events, cameras, live detection, billing
apiGo (hanzo/base) + PythonBase API with SQL collections + microservices (ingest, embed, enhance)
modelsPythonTraining, fine-tuning, benchmarking for all vision models
universeYAML/MakefileCI/CD + K8s deployment control plane

Environments

EnvironmentDomainGCP Project
Devsecuregate.dev.satschel.comsecuregate-devnet
Testsecuregate.test.satschel.comsecuregate-testnet
Prodsecuregate.satschel.comsecuregate-mainnet

On this page