Edge AI development resources for the VLX Development Module.
English | 中文
This repository collects the developer documentation and runnable web demo for the VLX Development Module. The current demo focuses on VLX-Seek: it captures frames from a USB camera, sends them to a Seek inference service, and displays detected targets and bounding boxes in a browser.
| Path | Description |
|---|---|
docs/en/ |
English developer documentation |
docs/zh/ |
Chinese developer documentation |
demos/usb_camera_seek_web/ |
VLX-Seek USB-camera web demo |
The documentation follows the complete development-module workflow, from hardware setup and operating-system installation to model API integration and troubleshooting. docs/en/ and docs/zh/ have the same chapter structure and numbering, making it easy to switch languages while staying on the same topic.
docs/
├── en/ # English documentation
│ ├── 0 VLX Development Module Product Introduction/
│ ├── 1 Quick Start/
│ ├── 2 System Installation and Configuration/
│ ├── 3 Algorithm Application Development/
│ │ ├── 3.1 Model Development APIs/
│ │ └── 3.2 SDK Integration Guide/
│ └── 4 FAQ/
└── zh/ # Chinese documentation, same layout
| Document | What it covers |
|---|---|
| Product Introduction | Product positioning, core capabilities, typical use cases, and a reading guide for the documentation set |
| Package Contents | Hardware, accessories, and other items included with the development module |
| Common Terms | Frequently used hardware, system, model, and deployment terminology |
| Document | What it covers |
|---|---|
| 1.1 Hardware Overview | Module specifications, connectors, indicators, buttons, and I/O interfaces |
| 1.2 System Flashing | Prerequisites and steps for flashing the supplied system image |
| 1.3 First Boot and Quick Acceptance | Initial startup, login, and basic hardware and service verification |
| 1.4 System Recovery | Restoring the device when the system cannot boot or operate normally |
| 1.5 Backup and Diagnostics | Backing up important data and collecting diagnostic information |
| 1.6 Obtaining the SN | Locating and reading the device serial number |
| 1.7 License Management | Checking, importing, and maintaining model or device licenses |
| Document | What it covers |
|---|---|
| 2.1 Create a System Disk | Preparing installation media from a system image |
| 2.2 Install the System | Installing and initializing the operating system on the module |
| 2.3 Network Configuration | Ethernet, DHCP, static IP, Wi-Fi, connectivity tests, and common diagnostics |
| 2.4 Install Algorithm Programs | Deploying model packages and their runtime dependencies |
| 2.5 Configure Auto-start | Starting algorithm applications and related services automatically at boot |
| 2.6 Restart Algorithm Service | Checking service status and safely restarting algorithm services |
| 2.7 System Upgrade | Upgrade preparation, execution, verification, and rollback considerations |
| Directory or document | What it covers |
|---|---|
3.1 Model Development APIs/ |
Model-specific HTTP APIs, request and response schemas, multimodal input, authentication, and examples |
| 3.1.1 VLX-Flow | VLX-Flow model invocation and parameters |
| 3.1.2 VLX-Seek | Open-vocabulary target search, image input, text results, and bounding boxes |
| 3.1.3 OmDet-Turbo | OmDet-Turbo detection API usage |
| 3.1.4 Multimodal Model-OmChat | OmChat multimodal conversation API usage |
3.2 SDK Integration Guide/ |
Language SDK setup, client initialization, calls, result handling, and error handling |
| 3.2.1 Java SDK | Integrating VLX model services into Java applications |
| 3.2.2 Python SDK | Integrating VLX model services into Python applications |
| Document | What it covers |
|---|---|
| Q&A | Troubleshooting model startup, licenses, upgrades, storage, remote access, and diagnostic exports |
The demos/ directory contains runnable application examples built around VLX-series models. Each demo is kept in its own subdirectory and can include its frontend, backend, deployment configuration, and usage guide. These examples are intended for validating model APIs, learning the integration flow, and adapting VLX models to edge-device scenarios.
At present, the repository includes only one demo:
usb_camera_seek_web— a full-stack VLX-Seek example. The browser UI selects a USB camera and target class; the Python backend captures frames, calls the Seek endpoint, and returns detection text and bounding boxes over WebSocket. It can run locally or through Docker and supports a mock mode when no model service is available.
demos/
└── usb_camera_seek_web/
├── src/ # React and TypeScript frontend
├── backend/ # FastAPI backend, camera capture, and Seek client
├── docker-compose.yml # Full-stack container orchestration
├── Dockerfile.web # Frontend production image
├── nginx.conf # Static hosting and backend proxy configuration
├── package.json # Frontend dependencies and scripts
└── README.md # Demo-specific setup and usage guide
- Discover and connect to a USB camera.
- Submit one camera frame per analysis cycle to VLX-Seek.
- Enter an open-vocabulary target such as
person,vehicle, orred helmet. - Render model text and bounding boxes in real time.
- Pause, resume, and stop a detection session.
- Run with a real Seek service or with
SEEK_MOCK=1for UI testing.
- Node.js 18 or later and npm
- Python 3.10 or later
- A Linux host with an accessible
/dev/video*USB camera for real capture - A VLX-Seek-compatible HTTP endpoint (OpenAI-compatible chat completions API)
Start the backend in one terminal:
cd demos/usb_camera_seek_web/backend
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
uvicorn app.main:app --reload --port 8000Start the frontend in another terminal:
cd demos/usb_camera_seek_web
npm install
npm run devOpen http://localhost:5173 in a browser. The Vite development server proxies /api requests according to the project configuration.
To run without a model service:
SEEK_MOCK=1 uvicorn app.main:app --reload --port 8000| Variable | Default | Description |
|---|---|---|
VLX_API_ENABLED |
true |
Enable the VLX SDK client |
VLX_API_ENDPOINT |
http://172.16.37.118:8000/os/ |
VLX API gateway endpoint used by the SDK |
VLX_API_KEY |
Value from demo.py |
VLX API access key used for bearer authentication |
VLX_API_CONNECT_TIMEOUT_MS |
60000 |
SDK connection timeout in milliseconds |
VLX_API_READ_TIMEOUT_MS |
60000 |
SDK response timeout in milliseconds |
VLX_API_WRITE_TIMEOUT_MS |
60000 |
SDK write timeout in milliseconds |
SEEK_MODEL |
vlx-seek-1.5-3b |
Model ID sent in requests |
SEEK_ANALYSIS_FPS |
1 |
Maximum analysis cycles per second |
SEEK_PREVIEW_DELAY_MS |
500 |
Camera preview delay in milliseconds |
SEEK_MOCK |
0 |
Return mock detections when set to 1, true, or yes |
For Docker deployment:
cd demos/usb_camera_seek_web
docker compose up --buildThe web UI is exposed at http://127.0.0.1:5173. The Compose file maps /dev/video0 by default; set VIDEO_DEVICE to use another camera device.
The backend uses the omai==1.0.3 Python SDK. It creates a client with VlxApiClient.from_env(), builds the multimodal request with the SDK's typed request classes, and calls vlx_api_client.vlx_seek(request) in a worker thread. The response exposes detection text through choices[].message.content and boxes through choices[].result_bbox_list.
Backend tests:
PYTHONPATH=demos/usb_camera_seek_web/backend \
python -m unittest discover -s demos/usb_camera_seek_web/backend/testsFrontend production build:
cd demos/usb_camera_seek_web
npm install
npm run buildCheck the accompanying documentation and model distribution terms before deploying the kit in production. For product, integration, or technical support, contact the VLX project team through your organization’s support channel.