Quick Start: Screenshot Capture for Unusual Activity
How It Works (3 Simple Steps)
Step 1: Start Live Camera Monitoring
- Go to Live Camera page
- Select your camera from the dropdown (USB camera must be connected)
- Check the detection models you want to use:
- โ Weapon Detection (guns/knives)
- โ Violence Detection (fighting, aggression)
- โ Anomaly Detection (unusual behavior)
- โ Pose Detection (unsafe positions)
- Click "Start Camera" button
Step 2: Monitor in Real-Time
- The live feed appears with AI analysis
- Watch the "Recent Detections" gallery at the top
- When unusual activity is detected, screenshots are automatically captured
- Status indicators show:
- ๐ข LIVE - Camera is streaming
- ๐ Statistics - Real-time detection counts
- ๐จ Alerts - Active threats
Step 3: Review Detections
- Look at the "Recent Detections" gallery
- Click any thumbnail to see full details:
- Full-size screenshot
- Detection type (Weapon/Violence/Anomaly)
- Alert severity level
- Exact timestamp
- Confidence score
What Gets Automatically Captured?
| Activity | Icon | Alert Level | Example |
|---|---|---|---|
| Weapon Detected | ๐ซ | HIGH | Gun/knife detection with confidence |
| Violence | ๐ | MEDIUM-CRITICAL | Fighting, aggression detected |
| Anomaly | โ | LOW-CRITICAL | Unusual behavior pattern |
| Risk Pose + Weapon | โ ๏ธ | HIGH-CRITICAL | Person holding weapon + unsafe pose |
Features
โ
Automatic Capture - No manual screenshots needed
โ
Instant Storage - Saved to local uploads/detections/ folder
โ
Real-time Gallery - Updates every 5 seconds
โ
Secure Access - Only your detections visible to you
โ
Fast Retrieval - Thumbnail preview with instant details
โ
Timestamped - Exact time of each detection recorded
File Storage Location
All screenshots saved to: uploads/detections/
Files are named: detection_{type}_{date}_{time}_{id}.jpg
Example: detection_weapon_20250503_143022_a7f2b1c3.jpg
Common Use Cases
๐ข Security Monitoring
1. Start camera in lobby/entrance
2. Enable weapon + violence detection
3. Monitor gallery for threats
4. Escalate alerts to security team
๐ฎ Incident Investigation
1. Review captured screenshots from incident time
2. Click detections to see high-res images
3. Export screenshots as evidence
4. Document timeline with timestamps
๐ Audit & Compliance
1. System automatically logs all detections
2. Each detection has timestamp and confidence
3. Create incident reports with evidence
4. Archive screenshots for compliance
Keyboard Shortcuts
| Action | Shortcut |
|---|---|
| Start/Stop Camera | Space |
| Toggle Recording | R |
| Fullscreen View | F |
| Refresh Detections | Ctrl+R |
Tips for Best Results
- Good Lighting: Ensure adequate lighting for detection
- Clear View: Keep camera unobstructed
- Proper Angle: Position camera to capture potential threats
- Multiple Models: Enable multiple detection types for better coverage
- Regular Review: Check gallery frequently during monitoring
Storage Management
- Each screenshot is ~500KB (typical 1080p JPEG)
- 100 detections = ~50MB
- Consider archiving old detections to save space
- Monitor disk usage:
uploads/detections/folder
Export & Reporting
To save detection screenshots:
- Click on detection in gallery
- Right-click image โ "Save image as..."
- Use for incident reports or compliance documentation
Support & Troubleshooting
Camera Not Starting?
- Ensure USB camera is connected
- Try different USB port
- Restart browser
- Check camera drivers installed
No Detections Appearing?
- Verify at least one model is selected
- Camera must be running (green indicator)
- Check if unusual activity actually present
- Review model confidence thresholds
Screenshots Not Saving?
- Check folder permissions on
uploads/detections/ - Ensure sufficient disk space
- Check browser console for errors (F12)
- Contact admin if folder missing
Ready to go? Start the live camera and monitor unusual activity! ๐ฅ