Add camera overview, .env.example, fix rotation docs
This commit is contained in:
1 parent
b7f73c57d5
commit
7e1944ed04
3 files changed
+60
-11
No files matched your search
@@ -61,16 +61,40 @@ Die Konfiguration erfolgt über Umgebungsvariablen oder eine `.env`-Datei im Pro
|
||||
| `CAM_HEIGHT` | Ausgabehöhe | `480` |
|
||||
| `CAM_FRAMERATE` | Ziel-FPS | `20` |
|
||||
| `CAM_QUALITY` | JPEG-Qualität (1–100) | `30` |
|
||||
| `CAM_ROTATION` | Rotation (0/90/180/270) | leer |
|
||||
| `CAM_ROTATION` | Rotation (`0` oder `180`) | leer |
|
||||
|
||||
Beispiel `.env`:
|
||||
Eine kommentierte Vorlage liegt in `.env.example`:
|
||||
|
||||
```bash
|
||||
cp .env.example .env
|
||||
```
|
||||
CAM_MODE=1640:1232
|
||||
CAM_WIDTH=820
|
||||
CAM_HEIGHT=616
|
||||
CAM_FRAMERATE=20
|
||||
CAM_QUALITY=50
|
||||
CAM_ROTATION=
|
||||
APP_PORT=8080
|
||||
```
|
||||
|
||||
Die verfügbaren Sensor-Modi der angeschlossenen Kamera zeigt `rpicam-hello --list-cameras`.
|
||||
|
||||
## Kompatible Kameras
|
||||
|
||||
Alle offiziellen Raspberry-Pi-Kameras laufen mit `rpicam-vid`.
|
||||
|
||||
| Sensor | Auflösung | Kamera | Besonderheit |
|
||||
|---|---|---|---|
|
||||
| OV5647 | 5 MP | Camera Module V1 | Älterer Klassiker |
|
||||
| IMX219 | 8 MP | Camera Module V2 | Bewährt, günstig |
|
||||
| IMX708 | 12 MP | Camera Module 3 | Autofokus, HDR |
|
||||
| IMX477 | 12,3 MP | HQ Camera | Größerer Sensor, Wechselobjektive |
|
||||
| IMX296 | 1,6 MP | Global Shutter | Keine Rolling-Shutter-Verzerrung |
|
||||
| IMX500 | 12,3 MP | AI Camera | KI-Beschleuniger direkt im Sensor |
|
||||
|
||||
NoIR-Varianten (ohne Infrarotfilter) gibt es für V1, V2, Module 3 und HQ. Sie nutzen denselben Sensor und dieselben Modi.
|
||||
|
||||
### Passende `CAM_MODE`
|
||||
|
||||
Richtwerte, maßgeblich ist die Ausgabe von `rpicam-hello --list-cameras`.
|
||||
|
||||
| Sensor | `CAM_MODE` |
|
||||
|---|---|
|
||||
| OV5647 | `1296:972`, `1920:1080` |
|
||||
| IMX219 (getestet) | `1640:1232`, `1920:1080` |
|
||||
| IMX708 | `2304:1296` |
|
||||
| IMX477 | `2028:1520`, `2028:1080` |
|
||||
| IMX296 | `1456:1088` |
|
||||
| IMX500 | `2028:1520` |
|
||||
Reference in new issue
Block a user