
Detect crimes and abnormal behavior in CCTV footage: theft, violence, intrusion. AI-powered video analytics for real-time security monitoring.
The CCTV Abnormality & Crime Detection model analyzes surveillance video footage to identify suspicious activities, abnormal behaviors, and potential criminal incidents. This model is designed for security applications where automated monitoring of video feeds is essential.
Security personnel cannot monitor all camera feeds continuously. With thousands of hours of footage generated daily, human operators miss critical events due to fatigue, distraction, or simply the overwhelming volume of data. By the time an incident is noticed, it's often too late for prevention.
Automated detection systems can monitor multiple feeds 24/7, alerting operators only when suspicious activity is detected. This allows security teams to focus their attention where it matters most, improving response times and reducing the risk of missed incidents.
This model uses advanced deep learning to provide fast and accurate crime detection. A two-stage pipeline enables rapid screening of normal footage while performing detailed analysis only when suspicious activity is detected.
The model achieves 91.6% F1 score with 94.3% recall in detecting abnormal activities across 17 crime categories.
The model employs a two-stage detection pipeline:
The API returns a structured JSON response containing:
Example Response:
{
"label": "abnormal_or_crime",
"alert": true,
"abnormality_probability": 0.87,
"confidence": 0.92,
"num_frames": 16,
"hotspots": [
{ "x": 0.45, "y": 0.62, "intensity": 0.89 },
{ "x": 0.32, "y": 0.71, "intensity": 0.67 }
]
}Code
The model is trained to detect 17 categories of abnormal and criminal activities:
| Metric | Value |
|---|---|
| F1 Score | 91.6% |
| Recall (Sensitivity) | 94.3% |
| Precision | 89.0% |
| AUC-ROC | 91.6% |
| Accuracy | 86.9% |
| Average Response Time | 2-8ms (depending on content) |
| Max File Size | 100MB |
| Supported Formats | MP4, MOV, AVI, WebM, MKV |
This model supports flexible deployment configurations to match your infrastructure needs:
Send video files or URLs directly to our cloud API for processing. Ideal for batch analysis of recorded footage and applications with moderate throughput requirements.
Deploy the model locally via Docker for real-time streaming analysis. Required for live CCTV monitoring with minimal latency.
Contact sales for on-premise deployment licensing and Docker image access.
Important Considerations:
This model provides probability scores, not definitive determinations of criminal activity.
Best Practice: Use this model as an alert system to direct human attention to potential incidents. All security decisions should involve human judgment and follow established protocols.
CCTV abnormality and crime detection for surveillance video footage
video_urlstringURL of the CCTV/surveillance video to analyze
https://example.com/cctv_footage.mp4base64_videostringBase64-encoded video data
AAAAIGZ0eXBpc29t...fpsintegerFrames per second to extract from video (1-10). Default 3 gives ~5 seconds per analysis window.
3CCTV crime/abnormality detection results with confidence scores and spatial hotspots
labelstringClassification label for the video content
normalalertbooleanTrue if abnormal or criminal activity detected
falseabnormality_probabilityfloatProbability of abnormality or crime (0.0-1.0)
0.15confidencefloatModel confidence score (0.0-1.0)
0.95num_framesintegerNumber of video frames analyzed
32hotspotsarrayTop regions of detected activity (up to 5), with normalized coordinates (0.0-1.0)
[
{
"x": 0.45,
"y": 0.62,
"intensity": 0.89
},
{
"x": 0.32,
"y": 0.71,
"intensity": 0.67
}
]{
"model": "bynn-cctv-abnormality-crime",
"video_url": "https://example.com/cctv_footage.mp4"
}{
"success": true,
"data": {
"label": "abnormal_or_crime",
"alert": true,
"abnormality_probability": 0.87,
"confidence": 0.92,
"num_frames": 32,
"hotspots": [
{
"x": 0.45,
"y": 0.62,
"intensity": 0.89
},
{
"x": 0.32,
"y": 0.71,
"intensity": 0.67
}
]
}
}429 HTTP error code along with an error message. You should then retry with an exponential back-off strategy, meaning that you should retry after 4 seconds, then 8 seconds, then 16 seconds, etc.Integrate CCTV Abnormality & Crime Detection into your application today with our easy-to-use API.