Skip to content
Back to skills

Demo Visualize

ASecurity

"Guides AdelaiDet image/video/webcam demos, VisualizationDemo

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
documentationpythonbashdebugging

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill demo-visualize --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Demo Visualize?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Demo Visualize
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-demo-visualize/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-demo-visualize)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "demo-visualize"
description: "Guides AdelaiDet image/video/webcam demos, VisualizationDemo
  usage, confidence thresholds, output handling, and dataset visualization."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# demo-visualize

Use this sub-skill when a task asks to run AdelaiDet inference on images, videos, webcam streams, visualize predictions, adjust confidence thresholds, or inspect dataset annotations visually.

## Use this route for

- Building AdelaiDet demo commands for image, video, or webcam inference.
- Understanding `VisualizationDemo`, Detectron2 predictors, and output behavior.
- Running dataset visualization before training.
- Debugging missing `MODEL.WEIGHTS`, input/output path, OpenCV, or headless-display issues.
- Visualizing text/non-text predictions after setup succeeds.

## Do not use this route for

- Environment/build failures. Use `../setup-build/SKILL.md`.
- Training/evaluation launches. Use `../train-eval/SKILL.md`.
- Text lexicons/dictionaries or text evaluator behavior. Use `../text-spotting/SKILL.md`.
- Dataset conversion/preparation. Use `../data-prep/SKILL.md`.
- ONNX export. Use `../export-convert/SKILL.md`.

## Read first

- `references/demo-workflows.md` for image/video/webcam launch patterns.
- `references/visualization.md` for dataset visualization and output interpretation.
- `../../references/troubleshooting.md` for OpenCV/headless and checkpoint issues.

## Skill-owned scripts

- `scripts/run_demo.py` — validates repo root, config, weights, input/output mode, then builds/runs the demo command.
- `scripts/visualize_dataset.py` — validates and launches the dataset visualization workflow.

## Typical workflow

1. Confirm setup with `../../scripts/check_install.py --cuda-ops`.
2. Choose a config and weights. Use `train-eval` if you are not sure which config family fits.
3. Dry-run the demo:

   ```bash
   python scripts/run_demo.py --repo-root /path/to/AdelaiDet \
     --config configs/FCOS-Detection/R_50_1x.yaml \
     --weights /path/to/model.pth --input image.jpg --output outputs/ --dry-run
   ```

4. Remove `--dry-run` to execute.
5. For dataset visual inspection, use `scripts/visualize_dataset.py --dry-run` first.

## Decision points

- Headless server with no display: use image/video input and `--output`; avoid webcam or GUI window modes.
- Text model predictions: use this route for drawing outputs, but switch to `text-spotting` for lexicon/evaluation semantics.
- Missing/incorrect boxes or masks with a custom dataset: switch to `data-prep` to inspect annotations and dataset mappers.

Files in this skill

  • SKILL.md2.6 KB
  • references/demo-workflows.md1.9 KB
  • references/visualization.md1.7 KB
  • scripts/run_demo.py2.8 KB
  • scripts/visualize_dataset.py2.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…