- Python 100%
| iuid.py | ||
| LICENSE | ||
| pyproject.toml | ||
| README.md | ||
| requirements.txt | ||
Interface and Interaction Design CrisisBoard Software
Running
To run the application, install Python 3.14 and clone the repository with
git clone https://git.goisser.net/Benjamin/CrisisBoard.git
cd CrisisBoard
To install the dependencies, run (in a bash shell)
python -m venv venv
source venv/bin/activate || source venv/Scripts/activate
python -m pip install -r requirements.txt
Then you should be able to run it with
python iuid.py
Note
When running for the first time (or entering a voice command for the first time), it will take some time to download the voice recognition model. This happens only once.
Usage
You can switch pages with the Left and Right arrow keys.
To enter a voice command, press and hold Space and release it when done speaking. Possible voice commands include:
- Anything containing
switch|go to|page|where can|tell me|are there|show meandwater|news|medicine|food|needs, likeTell me where I can find some food.This switches to theFoodpage. - For adding items to the
Needspage, say any itemwater|food|medicine|medicationand a room number. It can also handle multiple items, likeI need some water, food and medicine in room number 11 please. - Removing items works the same way as adding, but it has to contain
no longer|anymore|received|anything|everything|doesn't need|does not need, likeApartment 12 no longer needs water and food.Also, to remove every item from a room number, the keywordanythingcan be used.
When specifying items, such as I need some water, it will prompt the user to say a room number. The user can then press and hold Space again to specify a room number, such as For room number 20. Both prompts will then get concatenated and executed.
Simlarly, when specifying a room number, it will ask about which items are needed.
For details, have a look at the function processing the voice commands.