update exe GUI build

This commit is contained in:
ykcheungab
2026-06-21 12:01:34 +08:00
parent 258948bcb7
commit 7feae9550e
18 changed files with 862 additions and 173 deletions
+50
View File
@@ -39,3 +39,53 @@ pip install -e ".[gui]"
## Notes
- Dashboard: click **启动** to start acquisition; `Q` quit, `R` reset, `S`/`E` record, `Esc` fullscreen.
## Windows standalone folder (CPU-only)
Build a portable folder with bundled Python, packages, `config/`, and `assets/`:
```bat
conda activate py310
pip install -e ".[gui]"
pip install nuitka ordered-set zstandard
build\build_gui_win.bat
```
Output:
```
dist/OrisysDashboard/
OrisysDashboard.exe
config/
assets/
README.txt
(+ bundled DLLs and runtime files)
```
Run:
```bat
cd dist\OrisysDashboard
OrisysDashboard.exe --video path\to\video.mp4
```
After building, smoke-test bundled files and `--help`:
```bat
python build\verify.py --gui-dist
```
Manual QA on a machine without Python:
1. Launch `OrisysDashboard.exe` — dashboard window opens
2. Play a bundled or local video — 3D mesh and charts update
3. Confirm default config resolves to `config\dd02-ov.json`
4. Toggle settings (log, displacement arrows, thresholds)
Notes:
- One-folder layout is recommended (not a single-file exe) for Open3D + PyQt5 reliability
- CPU-only: CUDA/CuPy are excluded from the build
- Expect a large folder (Open3D, OpenCV, SciPy, Qt)
- Frozen path resolution lives in `examples/app_paths.py`