
WEDA Vision AI Monitor on Qualcomm Hexagon
A camera and a vision-language model on the Hexagon NPU give a live verdict: does each person wear a hard hat and hi-vis vest? Deploy from WEDA portal, watch in a browser, results in WEDA Cloud.
WEDA Vision AI Monitor
The WEDA Vision AI Monitor is a ready-to-demo edge AI application for the Advantech AIR-055. A camera looks at a scene; a vision-language model (VLM) running entirely on the Qualcomm Hexagon NPU decides whether the people in view are wearing the required personal protective equipment (PPE) — a hard hat and a high-visibility vest. Each verdict appears instantly on a live web page, in the judge's log, and in Advantech WEDA Cloud.
Everything runs on the board: the model is built into the container image, so there is nothing to download at deploy time, and the whole stack is deployed from the WEDA portal with a single file.
Note:
This application is a best-effort demonstration of on-device vision-language inference. It is not a certified safety system — the model is compact and can be wrong.
| At a glance | |
|---|---|
| Checks | Hard hat and high-visibility vest for each person in view (gloves and safety goggles can be enabled in settings) |
| Model | Gemma 4 E2B on the Qualcomm Hexagon NPU — built into the image, nothing to download |
| Live view | A live picture with the model's description and a state-coloured border |
| Reports to | WEDA Cloud: 17 data streams, the judge state, and the judge.now command |
| Deploys | One stack file from the WEDA portal; no other file on the board |
| Speed | ~2 s per judgement; ~4.5 s from camera to cloud |
Key Features
- On-device vision-language inference — Gemma 4 E2B runs on the Qualcomm Hexagon NPU; no cloud inference and no model download.
- Natural PPE judgement — the model describes the scene and decides, per person, whether a hard hat and hi-vis vest are worn; gloves and goggles are configurable.
- Live web view — a browser page (port
8080) shows the camera image, a one-sentence description, and a border colour that reflects the current state (compliant / violation / no person / stale). - Full WEDA Cloud integration — 17 telemetry streams, a live judge state (
CURRENT/STALE/OFFLINE), and an on-demandjudge.nowcommand. - One-file deployment — deploy the entire stack from the WEDA portal; nothing is copied to the board manually.
- Secure remote viewing — open the live view from anywhere through a WEDA tunnel, without exposing the board's address.
Demo

The live page shows the model's one-sentence description at the bottom and a border that reflects the state: red for a violation, green for compliant, grey for nobody in view, amber when the result is older than 15 s.
Use Case Scenario
On a production line or in a warehouse, supervisors need to confirm that workers are wearing the required PPE. The VLM PPE Judge watches a camera feed and, every few seconds, returns a plain-language verdict on whether each person in view is wearing a hard hat and a high-visibility vest — turning an existing on-site camera into a continuous, cloud-reported PPE-compliance check.
Because the judgement is made by a vision-language model rather than a fixed, pre-trained detector, the same application can be extended to other PPE (such as gloves or goggles) through settings, without retraining a model.
How It Works
- The camera gives the judge (
vlm-judge) a picture every few seconds. - The judge asks the model server (
geniex-serve, Gemma 4 E2B on the Hexagon NPU) about the picture, checks the answer, and decides the verdict. - The judge shows the picture and description on the live view (port
8080) and writes each judgement to its log. - The judge publishes the result as MQTT messages on the board's loopback broker.
- The Sub-Node (
vlm-judge-subnode) reads the messages and reports them through the WedaNode to WEDA Cloud.
How the Parts Fit Together
The demo is made up of four parts. In WEDA it appears as two devices — the board and the Sub-Node — each with its own job:
| Name | What it is | Where you see it |
|---|---|---|
| WEDA | Advantech's cloud for managing edge devices: it deploys containers to boards and stores and shows their data | The WEDA web portal |
| The board (edge node) | The AIR-055, registered in WEDA as a device. It runs the WedaNode agent (dmagent, system-agent) — its link to WEDA |
Devices list; Container Stacks are deployed to this device |
| The Sub-Node | The container vlm-judge-subnode, which WEDA shows as its own device (VlmJudge) |
Devices list; its Telemetry tab holds the judge's data |
| The judge | The AI application (container vlm-judge): camera, model, verdict. WEDA does not know it directly; it talks to the Sub-Node over a local MQTT broker |
The web page on the board, port 8080 |

Prerequisites
Host Device
- Board: AIR-055 with the Qualcomm® Dragonwing™ IQ-9075 (Hexagon NPU, two compute cores)
- OS: Ubuntu 24.04 (arm64), Docker with Compose 2.20 or newer
- Camera: a USB UVC camera on
/dev/video0, or a video file instead - Free space: 8 GB of memory and 20 GB of disk before the first deploy
- Time: the board's clock synchronised (NTP), because results carry the board's timestamps
Getting Started
- Deploy the stack from the WEDA portal (Container Stacks → deploy icon → tick the board). You upload only one file,
docker/weda-stack-vlm-demo.yml; nothing is cloned or copied to the board and no variable is required. - Open the live view through WEDA — send one call to open a tunnel to the board's port
8080, then open the address it returns. (Or, on a trusted network, add the stack variableHTTP_BIND = 0.0.0.0and openhttp://<board address>:8080/; the page has no login.) - Compare with the cloud — in the WEDA portal open Devices →
VlmJudge→ Telemetry. The same verdict appears there within about 10 s.
Without WEDA (to try the judge on a board with Docker only), run the following in the repository's docker folder:
cd docker && export COMPOSE_FILE=weda-stack-vlm-demo.yml
docker login <registry named in the stack file> # type the password yourself
docker compose pull
export DEVICE_ID=<board id> HTTP_BIND=0.0.0.0
docker compose up -d # all services; live view at http://<board address>:8080/
docker compose logs --tail 5 vlm-judge # one line per judgement
Stop with docker compose down.
For installation, setup, build, and development instructions, please refer to the WEDA-Vision-DevKit-Qualcomm-Hexagon.
What’s Included
| Component | Role |
|---|---|
vlm-judge |
The AI application: captures the camera image, queries the model, decides the verdict, and serves the live view |
geniex-serve |
Model server running Gemma 4 E2B on the Qualcomm Hexagon NPU |
vlm-judge-subnode |
WEDA Sub-Node: reads local MQTT and reports the judge to WEDA Cloud as its own device |
| Local MQTT broker | Loopback broker carrying judgements between the judge and the Sub-Node |
WedaNode (dmagent, system-agent) |
The board's WEDA agent and its link to the cloud |
Integration with WEDA
Sub-Node — vlm-judge-subnode, built with the WEDA Sub-Node SDK, registers the judge in WEDA as its own device (VlmJudge) through the board's WedaNode. It:
- reports 17 data streams (the verdict, the counts, the description, the latency, the camera state and the counters);
- keeps a judge state for the cloud —
CURRENTwhile results arrive,STALEafter 15 s without one,OFFLINEwhen the judge is gone; - accepts one cloud command,
judge.now, which returns a fresh verdict; - records locally, so a gap after a network outage can be filled in again.
Tunnel management — a WEDA feature that opens a secure connection from the cloud to the board's port 8080, so the live view can be opened from anywhere without exposing the board directly.
Container Name
WEDA Vision AI Monitor on Qualcomm Hexagon
Description
A camera and a vision-language model on the Hexagon NPU give a live verdict: does each person wear a hard hat and hi-vis vest? Deploy from WEDA portal, watch in a browser, results in WEDA Cloud.
Publisher
Advantech
Released Date
2026/11/30
Categories