Dev.to AI πŸ€– Ai πŸ‘ 0 πŸ“– 3 min read

Live VLM WebUI on Jetson Orin: Real-Time Visual AI with Ollama

Live VLM WebUI combines a camera stream, a vision-language model, and a browser interface. This CAVEDU tutorial uses Jetson Orin and Ollama for local scene descriptions, OCR, safety-related prompts, and activity descript

Live VLM WebUI on Jetson Orin: Real-Time Visual AI with Ollama

Live VLM WebUI combines a camera stream, a vision-language model, and a browser interface. This CAVEDU tutorial uses Jetson Orin and Ollama for local scene descriptions, OCR, safety-related prompts, and activity descriptions.

Author and photography: ιƒ­δΏŠε»·. Estimated time: about one hour, depending on downloads. Difficulty: 2/5.

What is Live VLM WebUI?

Traditional vision pipelines capture an image, run recognition, and display a result. Vision-language models can also describe scenes, interpret activities, read text, and answer questions about images. NVIDIA's VLM introduction explains the underlying concept.

Live VLM WebUI is an open-source Jetson AI Lab project with WebRTC camera streaming, VLM inference, Ollama/vLLM/OpenAI-compatible backends, resource monitoring, and an editable prompt interface. It lets you experiment with streaming observations rather than manually upload each image.

Hardware and software

The original test uses JetPack 6.2 and a reComputer Super J4012 with a Jetson Orin NX 16 GB module, keyboard, mouse, and USB webcam. The source also discusses AGX Thor, AGX Orin 32/64 GB, and Orin Nano 8 GB deployments. Choose software and model sizes that match the actual module; JetPack compatibility varies by device.

An NVMe SSD is recommended. The source estimates approximately 4 GB for the WebUI container, with additional space for Ollama and model files ranging from several to tens of gigabytes.

Local models can keep inference on the device. Performance depends on model size, quantization, image resolution, and hardware; streaming input does not guarantee a particular inference frame rate.

Live VLM WebUI architecture

1. Install Ollama and a vision model

The application needs an inference backend. This walkthrough uses Ollama:

curl -fsSL https://ollama.com/install.sh | sh
ollama pull gemma3:4b

Other models named in the source include:

ollama pull qwen2.5-vl:7b
ollama pull llama3.2-vision:11b

As a starting point, the article suggests 3B–4B for Orin Nano 8 GB, 4B–7B for Orin NX 16 GB, and 7B–11B for AGX Orin. These are sizing suggestions, not guarantees that every model variant fits.

See CAVEDU's Ollama setup.

2. Download and start the project

git clone https://github.com/nvidia-ai-iot/live-vlm-webui.git
cd live-vlm-webui
./scripts/start_container.sh

The startup workflow prepares the container environment, starts the WebRTC server and web interface, and detects the Ollama backend in the demonstrated setup.

Live VLM installation screenshot
Starting the container

3. Open the browser interface

Use a computer on the same LAN and open https://:8090, for example https://192.168.1.104:8090.

The original local setup uses a self-signed certificate, which may cause a browser warning. Verify the device and local certificate before proceeding. The browser also requests camera permission. A laptop opening the page can supply its built-in webcam or an attached USB camera; the camera belongs to the browser device in this streaming arrangement.

Local browser connection
Camera access setup

To stop or restart the container:

docker stop live-vlm-webui
docker start live-vlm-webui

4. Choose the model and video source

Click Start to begin the camera and analysis workflow. Under VLM API Configuration, select the inference model; the demonstration uses gemma3:4b locally. Other API backends can also be configured.

Under Video Source, select the camera and FPS or configure an RTSP stream. The source demonstrates an external C270 USB webcam.

Starting visual analysis
VLM API configuration
Video source settings

5. Experiment with prompts

Scene description

Describe what you see in this image.

The interface displays the prompt and generated response. Open Prompt Editor to select a preset or write your own instruction. If the model supports Chinese, requesting Traditional Chinese changes the response language in the demonstrated example.

Scene-description response
Prompt editor
Traditional Chinese prompt and response

OCR

Read and transcribe any text visible in the image.

The source points the camera at the WebUI page and demonstrates transcription of visible text.

OCR prompt result

Safety-related scene description

Are there any safety hazards visible? Answer with 'ALERT: description' or 'SAFE'.

The examples show ALERT for a forest-fire scene and SAFE for a mountain landscape without an obvious hazard. These are prompt demonstrations, not a validated safety-monitoring system.

Hazard prompt example
Landscape prompt example

Activity description

Describe the person's activity and what they are doing.

The demonstrated response describes a person riding a bicycle.

Activity-description example

What this gives you

Live VLM WebUI offers a practical way to explore local visual understanding for education, robotics prototypes, and edge-AI projects. Prompt changes make it easy to compare tasks without rebuilding a separate application for each one. Accuracy and latency still need to be measured for the intended use.

References: Live VLM WebUI, Ollama on Jetson, and DGX demonstration video.

English adaptation of CAVEDU's original article. The source link opens the CAVEDU website. Original screenshots may contain Traditional Chinese. Versions and examples reflect the source test environment.

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.