Fits small cameras

This commit is contained in:
Ankle committed 2026-07-29 16:25:16 +08:00
1 parent a773166c91
commit 98ed2576c6
7 files changed
+526 -96

No files matched your search

+7 -5
View File
@@ -50,21 +50,23 @@ find /userdata/data/scan -mindepth 1 -maxdepth 1 -type d -printf '%f\n' | sort
指定扫描目录名进行拼图:
```bash
./stitch.sh 2026-07-22_18-25-09 --mount desktop
./stitch.sh 2026-07-22_18-25-09 --mount desktop --pan-direction increasing
```
必须用`--mount`声明球机安装方式:
```bash
# 办公室测试:球机正放桌面,摄像头后台将画面旋转180度
./stitch.sh 2026-07-22_18-25-09 --mount desktop
./stitch.sh 2026-07-22_18-25-09 --mount desktop --pan-direction increasing
# 野外部署:球机物理倒挂
./stitch.sh 2026-07-22_18-25-09 --mount hanging
./stitch.sh 2026-07-22_18-25-09 --mount hanging --pan-direction increasing
```
- `desktop`同时反转网格行顺序和列顺序;
- `hanging`按`meta.json`原始row/col顺序排列;
- `desktop`反转上下行顺序,`hanging`保持上下行顺序;
- `--pan-direction increasing`表示画面左到右时pan递增,列保持正序;
- `--pan-direction decreasing`表示画面左到右时pan递减,列反序;
- pan方向由交互式标定第④步自动识别,不能根据desktop/hanging猜测;
- 两种模式都不会旋转或镜像单张图片,只改变图片在大图中的位置。
目录名会自动解析为: