Industrial Security AI Monitoring - 1

Industrial Security AI Monitoring

Edge AI-powered industrial security monitoring on NVIDIA Jetson with TensorRT-accelerated person detection, zone intrusion, line crossing, and loitering detection.

Beginner15minSecurity
JetsonSecuritytensorrtyoloedge-aisurveillance

Industrial Security AI Monitoring

<p align="center"> <b>Edge AI-Powered Industrial Security Monitoring on NVIDIA Jetson</b> </p>

A comprehensive industrial security monitoring solution powered by edge AI, running on NVIDIA Jetson devices. This solution provides real-time person detection, behavior analysis, and event logging — all processed locally without sending video data to the cloud.

Key Features

FeatureDescription
TensorRT FP16 AccelerationYOLO26n model with TensorRT FP16 inference achieves ~3.7ms latency (268 QPS) on Jetson Orin NX
GStreamer Hardware DecodeJetson NVDEC hardware decoding for RTSP video streams with near-zero CPU overhead
Real-time Person DetectionSupports YOLO26n (default), YOLOv5, YOLOv8, YOLO11 with automatic model switching
Centroid TrackingMulti-person tracking with configurable distance threshold and timeout
Zone Intrusion DetectionDefine restricted areas and detect unauthorized entry
Line Crossing DetectionMonitor virtual lines and trigger alerts when crossed
Loitering DetectionDetect prolonged presence in restricted zones
Web DashboardBrowser-based real-time monitoring with MJPEG streaming and interactive zone configuration
Event LoggingAutomatic event recording with snapshots and JSONL logs

System Architecture

RTSP Camera ──► GStreamer NVDEC ──► Async Capture Thread
                                        │
                                        ▼
                          YOLO26 TensorRT FP16 Inference
                                (NMS-free, ~3.7ms)
                                        │
                                        ▼
                            Centroid Tracking + Rules Engine
                                        │
                        ┌───────────────┴───────────────┐
                        ▼                               ▼
                OpenCV Local Display              Web Dashboard
                                                (HTTP + WebSocket)

Supported Devices

DeviceSoMJetPackGPU
reComputer J40Jetson Orin NX 16GB6.xAmpere 1024 CUDA
reComputer Industrial J401Jetson Orin NX 16GB6.xAmpere 1024 CUDA

Performance Metrics

ModelGPU LatencyThroughput
YOLO26n3.72ms268 QPS
YOLOv5n2.96ms337 QPS
YOLOv8n3.89ms256 QPS

API Endpoints

EndpointMethodDescription
/api/streamGETMJPEG video stream
/api/eventsGETEvent list with date filter
/api/statsGETReal-time statistics (FPS, detections, tracks)
/api/configGET/POSTRead/update runtime configuration
/api/modelsGETAvailable model list
/api/model/switchPOSTRuntime model switching

Use Cases

  • Factory Security: Monitor restricted areas and detect unauthorized personnel
  • Warehouse Monitoring: Track personnel movement and detect loitering
  • Construction Site Safety: Monitor safety zones and trigger alerts
  • Perimeter Protection: Virtual line crossing detection for boundary monitoring

Privacy & Compliance

All video processing happens locally on the edge device. No video data is sent to the cloud, ensuring compliance with industrial security and privacy regulations.

Usage Requirements

rtsp

RTSP camera stream or USB camera

Deployment Options

Download & Install

Preset: Deploy Security Monitor {#default}

Deploy an AI-powered industrial security monitoring system to your Jetson device. This solution provides real-time person detection, zone intrusion alerts, line crossing detection, and loitering monitoring — all processed locally on the edge.

DevicePurpose
NVIDIA Jetson Orin NX (reComputer J40 / Industrial J401)Runs TensorRT-accelerated YOLO detection + tracking + rules engine

What you'll get:

  • Real-time person detection with YOLO26n (TensorRT FP16, ~3.7ms latency)
  • Multi-person centroid tracking
  • Zone intrusion, line crossing, and loitering detection
  • Web dashboard with MJPEG streaming at http://<jetson-ip>:8080
  • Event logging with snapshots and REST API access
  • Interactive zone/line configuration via browser

Requirements: Jetson with JetPack 6.x · SSH access · RTSP camera or USB camera · Internet to pull Docker image (~500MB)

Step 1: Deploy Security Monitoring Service {#security_service type=docker_deploy required=true config=devices/jetson.yaml}

Deploy the containerized security monitoring service to your Jetson device. The pre-built image includes all dependencies — just pull and run.

Target: Remote Deployment (Jetson) {#jetson_remote type=remote config=devices/jetson.yaml default=true}

Deploy to your Jetson over SSH with one click.

Wiring

  1. Connect your Jetson to the same network as your camera
  2. Enter the Jetson's IP address and SSH credentials
  3. Configure your camera source (RTSP URL or USB camera index)
  4. Click Deploy — the system will pull the Docker image and start the service automatically

What you'll get:

  • Real-time person detection with YOLO26n (TensorRT FP16, ~3.7ms latency)
  • Multi-person centroid tracking
  • Zone intrusion, line crossing, and loitering detection
  • Web dashboard with MJPEG streaming at http://<jetson-ip>:8080
  • Event logging with snapshots and REST API access

Deployment Complete

Service is running at http://<jetson-ip>:8080. Quick verification:

# Check service health
curl http://<jetson-ip>:8080/api/stats
# Expected: {"fps": 30.0, "detections": 0, "tracks": 0, "total_events": 0}

# View event log
curl http://<jetson-ip>:8080/api/events

# Check available models
curl http://<jetson-ip>:8080/api/models

Open your browser to http://<jetson-ip>:8080 to view the live monitoring dashboard.

Troubleshooting

IssueSolution
SSH connection failedVerify the IP address and credentials. Try ssh username@ip from your computer first
Image pull slowThe image is ~500MB. Ensure stable internet on the Jetson
Service not startingCheck logs: ssh user@ip "docker logs industrial-security-demo"
TensorRT fallback to CPUEnsure JetPack 6.x is installed and NVIDIA runtime is configured
Camera not detectedVerify RTSP URL is accessible or USB camera is connected to /dev/video*
Web dashboard not accessibleCheck firewall: sudo ufw allow 8080/tcp on Jetson
Port 8080 already in useStop existing services on port 8080 or change port in config

Target: Local Deployment {#jetson_local type=local config=devices/jetson_local.yaml}

Deploy directly on the current machine (requires NVIDIA GPU and Docker).

Wiring

  1. Ensure Docker and NVIDIA Container Toolkit are installed
  2. Click Deploy to start installation

Note: First startup may take 5-10 minutes for Docker image download and TensorRT engine generation.

What you'll get:

  • All features from remote deployment
  • Local HTTP access at http://localhost:8080
  • Direct container log access without SSH

Deployment Complete

Service is running at http://localhost:8080. Quick verification:

# Check service health
curl http://localhost:8080/api/stats

# View live stream (open in browser)
# http://localhost:8080

Troubleshooting

IssueSolution
NVIDIA runtime not foundInstall NVIDIA Container Toolkit: sudo apt install nvidia-container-toolkit && sudo systemctl restart docker
Port 8080 already in useStop existing services on port 8080
Container keeps restartingCheck logs: docker logs industrial-security-demo
TensorRT init failedEnsure JetPack 6.x and CUDA 12.x are installed

Step 2: Configure Detection Zones {#configure_zones type=manual required=false}

Configure detection zones and lines through the web dashboard.

Wiring

  1. Open http://<jetson-ip>:8080 in your browser
  2. Click on the video feed to draw detection zones
  3. Draw lines for line crossing detection
  4. Configure dwell time for loitering detection

Configuration Tips

  • Restricted Area: Draw polygons around areas where unauthorized personnel should not enter
  • Gate Line: Draw lines at entry/exit points to track movement
  • Dwell Time: Set how long a person can stay in a zone before triggering loitering alert

Troubleshooting

IssueSolution
Cannot access web dashboardCheck Jetson IP address, ensure container is running: docker ps
Video feed not showingVerify camera is connected and accessible: ls /dev/video*
Detection zones not savingClear browser cache and reload the page
No detection boxes appearingCheck model is loaded: curl http://localhost:8080/api/stats

Deployment Complete

Your security monitoring system is now fully configured and actively monitoring.


Deployment Complete

Congratulations! Your industrial security monitoring system is running.

Quick Verification

  1. Open http://<jetson-ip>:8080 in your browser — you should see the live video feed
  2. Walk in front of the camera — detection boxes should appear around people
  3. Check the event log at http://<jetson-ip>:8080/api/events

API Reference

EndpointMethodDescription
/api/streamGETMJPEG video stream
/api/eventsGETEvent list (add ?date=YYYYMMDD to filter)
/api/statsGETReal-time statistics
/api/configGET/POSTRead/update configuration
/api/modelsGETAvailable model list
/api/model/switchPOSTSwitch detection model

Event Types

EventDescription
zone_enterPerson entered a restricted zone
line_crossPerson crossed a virtual line
loiteringPerson stayed in a zone longer than dwell time

Next Steps

Contact Us
We Are Glad to Be Your Hardware Partner !
Next
Industrial Security AI Monitoring