itsluckysharma01's picture
Upload 39 files
cb3c674 verified

Quick Start: Screenshot Capture for Unusual Activity

How It Works (3 Simple Steps)

Step 1: Start Live Camera Monitoring

  1. Go to Live Camera page
  2. Select your camera from the dropdown (USB camera must be connected)
  3. Check the detection models you want to use:
    • โœ“ Weapon Detection (guns/knives)
    • โœ“ Violence Detection (fighting, aggression)
    • โœ“ Anomaly Detection (unusual behavior)
    • โœ“ Pose Detection (unsafe positions)
  4. 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

  1. Good Lighting: Ensure adequate lighting for detection
  2. Clear View: Keep camera unobstructed
  3. Proper Angle: Position camera to capture potential threats
  4. Multiple Models: Enable multiple detection types for better coverage
  5. 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:

  1. Click on detection in gallery
  2. Right-click image โ†’ "Save image as..."
  3. 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! ๐ŸŽฅ