59 lines
1.5 KiB
Markdown
59 lines
1.5 KiB
Markdown
# Quick Start - Which Version to Use?
|
|
|
|
## 🎯 Two Versions Available
|
|
|
|
### 1. **Lightweight RPI Version** (`poc_demo_rpi_lightweight.py`)
|
|
**Perfect for**: Raspberry Pi 4/5 deployment
|
|
|
|
### 2. **High-Performance Version** (`poc_demo_rpi.py` or `poc_demo.py`)
|
|
**Perfect for**: High-end Ubuntu machines (auto-detects and optimizes)
|
|
|
|
---
|
|
|
|
## 🚀 Quick Start Commands
|
|
|
|
### For Raspberry Pi:
|
|
```bash
|
|
streamlit run src/poc_demo_rpi_lightweight.py --server.port 8501 --server.address 0.0.0.0
|
|
```
|
|
|
|
### For High-Performance Ubuntu (Your Machine):
|
|
```bash
|
|
streamlit run src/poc_demo_rpi.py --server.port 8501
|
|
# or
|
|
streamlit run src/poc_demo.py --server.port 8501
|
|
```
|
|
|
|
The high-performance version will **automatically detect** your system and use optimal settings!
|
|
|
|
---
|
|
|
|
## 📊 What You'll Get
|
|
|
|
### On Your Ubuntu Machine (High-Performance):
|
|
- ✅ **Every frame processed** (skip=1)
|
|
- ✅ **HD resolution** (1280x720)
|
|
- ✅ **Maximum accuracy** (640x640 YOLO input)
|
|
- ✅ **Smooth 25-30 FPS**
|
|
- ✅ **Auto-detected settings**
|
|
|
|
### On Raspberry Pi (Lightweight):
|
|
- ✅ **Every 3rd frame** (skip=3)
|
|
- ✅ **Standard resolution** (640x480)
|
|
- ✅ **Good accuracy** (416x416 YOLO input)
|
|
- ✅ **Stable 8-12 FPS**
|
|
- ✅ **Lower resource usage**
|
|
|
|
---
|
|
|
|
## ✅ Both Versions Are:
|
|
- **Accurate** - High-quality detection
|
|
- **Smooth** - Continuous video playback
|
|
- **Reliable** - No MediaPipe dependencies
|
|
- **Optimized** - Best settings for each platform
|
|
|
|
Choose the right version for your platform and enjoy smooth, accurate performance! 🎉
|
|
|
|
|
|
|