Local web app for real-time webcam analysis with AI comments
Top 94.5% on sourcepulse
Mirror is a hackable, local-first AI-powered webcam application that provides real-time commentary on video feeds. It's designed for users interested in experimenting with multimodal AI, privacy-conscious individuals, and developers looking to repurpose AI for various applications. The primary benefit is its offline operation, ensuring privacy and free, continuous experimentation.
How It Works
Mirror leverages llama.cpp
to run the Bakllava multimodal AI model locally. The application streams webcam video to the AI, which analyzes the frames and generates textual responses based on user-defined prompts. This approach allows for 100% local processing, eliminating internet dependency and ensuring data privacy.
Quick Start & Requirements
llama.cpp
, downloading specific Bakllava model files (ggml-model-q4_k.gguf
, mmproj-model-f16.gguf
), building llama.cpp
(with CMake), installing Python dependencies (requirements.txt
), and installing FFmpeg.-ngl 1
) is supported and recommended for llama.cpp
.Highlighted Details
llama.cpp
for efficient LLM serving and Bakllava for multimodal capabilities.Maintenance & Community
Licensing & Compatibility
llama.cpp
is typically under MIT, and Gradio is Apache 2.0. Bakllava's license should be verified.Limitations & Caveats
Manual installation is complex and involves orchestrating multiple backend services. The README strongly recommends the Pinokio installer due to the difficulty of manual setup.
1 year ago
Inactive