Real-time webcam video analysis using AI
Unproofread notes
Xuan-Son Nguyen shared a video on X where he is analyzing his webcam video feed in real-time by using local LLaMA model via ggml and Huggingface SmolVLM.
Real-time webcam demo with @huggingface SmolVLM and @ggml_org llama.cpp server.
All running locally on a Macbook M3
He also shared the GitHub repo containing the instructions on how to do it. The steps are:
- Install llama.cpp
- Run
llama-server -hf ggml-org/SmolVLM-500M-Instruct-GGUF
Note: you may need to add-ngl 99
to enable GPU (if you are using NVidia/AMD/Intel GPU)
Note (2): You can also try other models here- Open
index.html
- Optionally change the instruction (for example, make it returns JSON)
- Click on "Start" and enjoy
Definitely worth trying.
- ← Previous
Cursor codebase indexing - Next →
Firefox moves to GitHub
Comment via email