@harciufff on cena
### What I Made
I built "Cena", an event-driven, edge-native system for real-time environment understanding. It runs a multi-threaded architecture that combines geometric telemetry (YOLO-World + MediaPipe) with asynchronous semantic descriptions (Moondream-2), logging everything locally into Markdown files inside Obsidian without vector database latency.
### The Challenge
Managing heavy AI models locally on an edge device without performance throttling or memory leaks. I had to design a loosely-coupled asynchronous pipeline where the semantic layer runs on a background thread every 10 seconds, ensuring the geometric layer can maintain a smooth ~30 FPS with GPU Metal/MPS acceleration on my Mac M4.
### What I'm Proud Of
The zero-indexing latency architecture. Instead of relying on heavy cloud vector databases, integrating the output directly into Obsidian markdown files creates a lightning-fast, local-first memory pipeline inspired by the LLM-as-an-OS concept.
### How to Test It
Clone the GitHub repository, set up a Python virtual environment, and install the requirements. You will need a local camera feed and an Obsidian vault path configured in your script. Run `python3 main.py` to start the pipeline and press 'q' to safely shut down.
- 1 devlog
- 6h