File size: 6,712 Bytes
cb3c674 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 | # Quick Start: Live Session Recording
## 30-Second Setup
### What You Need
- β
USB camera connected
- β
Logged into NETRA
- β
Any detection model selected
### Record a Session
```
1. Open "Live Camera" tab
2. Check 1+ detection models (required)
3. Click "π¬ Start Camera"
β Recording starts automatically
β See "Recording live session..." message
4. Let it run 30+ seconds (or as long as needed)
5. Click "βΉοΈ Stop Camera"
6. Click "Yes" to confirm
7. Done! β
Session saved
```
### Find Your Sessions
```
Same "Live Camera" tab:
β Scroll down to "π― Recent Detections"
β See thumbnails of your recorded sessions
β Most recent at top
β Click to view or download
```
---
## What Gets Saved
| Item | What It Is |
| -------------- | ----------------------------------------------- |
| **MP4 Video** | Full recording with AI overlays (boxes, labels) |
| **Thumbnail** | First frame as preview image |
| **Duration** | How long you recorded (in seconds) |
| **Detections** | Count of all detected objects |
| **Alerts** | Count of triggered alerts |
| **Timestamp** | When session was created |
---
## Where It's Stored
After you stop recording:
```
Server: webapp/processed/sessions/user_[yourID]/
βββ session_20260503_120000_abc.mp4 β Your video
βββ preview_20260503_120000_abc.jpg β Thumbnail
βββ ... (more sessions)
Database: LiveSession table records all metadata
Persistent: Survives logout/login
```
---
## Common Actions
### "How do I download a session?"
```
1. Find session in Recent Detections
2. Right-click thumbnail or video link
3. Select "Save video as..."
4. MP4 downloads to Downloads folder
```
### "Where are my old sessions?"
```
1. Login to NETRA
2. Open "Live Camera" tab
3. Scroll to "Recent Detections"
4. ALL your sessions appear there (newest first)
5. Sorted by date recorded
```
### "Can I share a session?"
```
Currently: No direct share feature
Workaround: Download MP4 and email/upload manually
Future: Cloud sharing coming soon
```
### "How much disk space?"
```
Per hour of recording:
640x480: ~300 MB
1280x720: ~600 MB
1920x1080: ~1.2 GB
Monitor: webapp/processed/sessions/ folder size
```
### "Why do I see timestamp error?"
```
Fixed! β
Error was: "Invalid isoformat string: '2026-05-03T09:06:30.890Z'"
Cause: Browser timezone format
Solution: Now handled automatically
Action: Just use normally, no action needed
```
---
## Status Indicators
### While Recording
- β
"Recording live session..." (green/info badge)
- β
Detections shown in real-time
- β
Camera feed visible
### When Saved
- β
"Session saved!" message
- β
Thumbnail appears in Recent Detections
- β
Session shows: Duration β±οΈ, Detections π―, Alerts π¨
### If Critical
- π¨ RED "CRITICAL INCIDENT" badge
- π¨ Means: weapons, violence, or anomalies detected
- π¨ Flag for immediate review
---
## Troubleshooting
### Session Not Recording
```
Check:
1. β USB camera connected and working?
2. β At least one model selected?
3. β Browser showing "Recording live session..."?
4. β Free disk space available?
If no "Recording" message: See browser console (F12)
```
### Session Doesn't Appear in Recent Detections
```
Try:
1. Refresh the page (Ctrl+R or Cmd+R)
2. Logout and login again
3. Wait 5 seconds for database to sync
4. Check Recent Detections scroll area
```
### Video Plays but Looks Wrong
```
If no overlays (boxes/labels):
- Recording might have been cut short
- Ensure camera runs fully before stopping
If stutters/lags:
- Normal for slow internet/old computer
- MP4 still fully saved and playable
If won't play:
- Browser might not support MP4
- Try different browser (Chrome recommended)
- Or download and play with VLC player
```
### Sessions Take Up Too Much Space
```
Cleanup:
1. Go to webapp/processed/sessions/
2. Sort by date modified
3. Delete old user_[id]/ folders
4. Keep recent ones you need
Tip: Compress old sessions first:
- Right-click folder β Compress to ZIP
- Move ZIP to external drive
- Delete original folder
```
---
## Tips & Tricks
### Best Practices
- β Record full sessions (don't stop/start repeatedly)
- β Run 1-2 minute test first to verify recording works
- β Clean up old sessions monthly
- β Download critical recordings as backup
### Performance Tips
- β Close other tabs/apps for smoother recording
- β Use 640x480 for fast recording, 1920x1080 for detail
- β Check "Processed Sessions" folder size periodically
- β Archive sessions older than 30 days
### Security Tips
- β Keep login password strong
- β Logout when done (others can see sessions if logged in)
- β Don't record sensitive areas without consent
- β Delete recordings not needed for compliance
---
## What's Different from Before?
### Before
- β Live camera only for monitoring
- β No recording available
- β Detections only in gallery, not saved
### After
- β
Auto-records every session
- β
Full MP4 with all overlays
- β
Persistent storage
- β
Download anytime
- β
Survives logout/login
- β
Detections metadata preserved
---
## System Requirements
- Browser: Chrome, Firefox, Safari, Edge
- Camera: Any USB camera (webcam, IP camera, etc.)
- Storage: 500 MB - 1 GB per hour recommended
- Internet: Needed for upload, optional for playback (local)
---
## Quick Reference
| Need | How To |
| ---------------- | ------------------------------------------- |
| Start recording | "Live Camera" β "Start Camera" |
| Stop recording | "Stop Camera" β Confirm |
| View sessions | Scroll to "Recent Detections" |
| Download video | Right-click thumbnail β Save |
| Delete session | Delete folder in webapp/processed/sessions/ |
| Find old session | Login β Live Camera β Recent Detections |
---
## Support
- π Full guide: See LIVE_SESSION_RECORDING.md
- π§ Technical details: See LIVE_SESSION_IMPLEMENTATION.md
- π Issues: Check browser console (F12 β Console tab)
- πΎ Disk space: Monitor webapp/processed/sessions/
---
**π¬ Ready to record? Start the camera now!** π
|