← Open Source
ngxson

smolvlm-realtime-webcam

Real-time webcam demo with SmolVLM and llama.cpp server

AI EngineeringGive agent toolsHTML
Open on GitHub
Momentum
+1stars in 24 hours+0.0%
5.58k
Stars
898
Forks
+-1
This week
1
Contributors
Created 2025-05-12 · Updated 2026-10-06 · #4260 today
Top developers
README

SmolVLM real-time camera demo

demo

This repository is a simple demo for how to use llama.cpp server with SmolVLM 500M to get real-time object detection

How to setup

  1. Install llama.cpp
  2. 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
  3. Open index.html
  4. Optionally change the instruction (for example, make it returns JSON)
  5. Click on "Start" and enjoy