ngxson/smolvlm-realtime-webcam

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

HTML

5,598

1 commits

updated May 12, 2025

See the code

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

Significant stargazers

(top 24 of 56)

Jeff Emanuel

3,486 followers · starred May 2025

Jhen-Jie Hong

752 followers · starred May 2025

Liran Tal

2,566 followers · starred May 2025

Tom Aarsen

1,004 followers · starred May 2025

ngxson/smolvlm-realtime-webcam

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

HTML

5,598

1 commits

updated May 12, 2025

See the code

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

Significant stargazers

(top 24 of 56)

Jeff Emanuel

3,486 followers · starred May 2025

Jhen-Jie Hong

752 followers · starred May 2025

Liran Tal

2,566 followers · starred May 2025

Tom Aarsen

1,004 followers · starred May 2025