Unified Textual TUI that runs gesture sensing (MediaPipe + webcam), live microphone levels (PyAudio), system stats (psutil), and Ollama LLM reasoning in one process. Background threads act like RTOS tasks; the UI drains a central queue.Queue on a timer tick (scheduler analogy).
- Python 3.10 or 3.11 (MediaPipe has the most reliable wheels here).
- Webcam (for gesture / head pose).
- Microphone (for audio meter; app still runs if PyAudio fails).
- Ollama installed and running (
ollama serve), with at least one model pulled (e.g.ollama pull qwen2.5:3b).
If pip install PyAudio fails, try a prebuilt wheel for your Python version, or:
pip install pipwin
pipwin install pyaudiocd "D30 OrcaOS"
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txtpython run.pySame as python main.py; run.py only ensures the project directory is on sys.path.
| Key / input | Action |
|---|---|
| Ctrl+C | Quit |
| Ctrl+R | Clear LLM panel |
| Ctrl+L | Clear task log |
| Command bar | ask: your question — sends prompt to Ollama |
status — bus / thread info |
|
help — command summary |
|
clear — clear LLM + log |