feat(pybot): Camera 默认采集分辨率 640×480 → 1920×1080

为 actpred 高分辨率模型训练积累 1080p 数据;@Camera 块显式
width/height 仍可覆盖默认值。
This commit is contained in:
qing committed 2026-08-13 02:19:19 +08:00
1 parent 36feeb4b9f
commit a240377ba1
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -62,7 +62,7 @@ venv/bin/python -m pytest tests/ -v
```
@Camera
name width height framerate capacity;
cam0 640 480 30 4;
cam0 1920 1080 30 4;
@
```
+1 -1
View File
@@ -27,7 +27,7 @@ class Camera:
grabber: 可注入的抓帧回调(测试用),None = 用 picamera2 抓帧。
"""
def __init__(self, width=640, height=480, framerate=30.0, capacity=4,
def __init__(self, width=1920, height=1080, framerate=30.0, capacity=4,
grabber=None, dry_run=False):
self.width = width
self.height = height