switch save and cancel, make recipes available through menu, remove calibration tools in mock
This commit is contained in:
21
README.md
21
README.md
@@ -1,5 +1,11 @@
|
||||
# Smaage Frontend Prototype
|
||||
|
||||
## TODO
|
||||
|
||||
- [x] switch save and cancel -> in case save and not abort
|
||||
- [x] make recipes available through menu
|
||||
- [x] remove calibration tools button in mock
|
||||
|
||||
## Install Requirements
|
||||
|
||||
```bash
|
||||
@@ -7,6 +13,7 @@ uv sync
|
||||
```
|
||||
|
||||
## Run
|
||||
|
||||
```bash
|
||||
uv run -m frontend
|
||||
```
|
||||
@@ -39,6 +46,7 @@ stateDiagram-v2
|
||||
|
||||
Menu --> Main : LL [back]
|
||||
Menu --> BTPairing : RL [BT Pair]
|
||||
Menu --> RecipeSelection : RL [Recipes]
|
||||
|
||||
BTPairing --> Menu : LL [cancel]
|
||||
|
||||
@@ -71,19 +79,20 @@ stateDiagram-v2
|
||||
Renders the loading screen animation and exports every unique frame as both PNG files and a NumPy array.
|
||||
|
||||
**Usage**
|
||||
|
||||
```bash
|
||||
uv run export_loading_frames.py [--out-dir <directory>]
|
||||
```
|
||||
|
||||
| Argument | Default | Description |
|
||||
|---|---|---|
|
||||
| Argument | Default | Description |
|
||||
| ------------- | ----------- | ------------------------------------ |
|
||||
| `--out-dir` | `frames/` | Directory to write output files into |
|
||||
|
||||
**Outputs**
|
||||
|
||||
| File | Description |
|
||||
|---|---|
|
||||
| `frames/frame_XXXX.png` | One PNG per unique frame, zero-padded index |
|
||||
| `frames/frames.npy` | NumPy array of shape `(N, H, W)`, dtype `bool` |
|
||||
| File | Description |
|
||||
| ------------------------- | -------------------------------------------------- |
|
||||
| `frames/frame_XXXX.png` | One PNG per unique frame, zero-padded index |
|
||||
| `frames/frames.npy` | NumPy array of shape `(N, H, W)`, dtype `bool` |
|
||||
|
||||
Consecutive duplicate frames are collapsed so only visually distinct frames are exported. The script prints the total number of frames rendered and the number of unique frames kept.
|
||||
|
||||
Reference in New Issue
Block a user