Skip to content
Back to skills

Inference Visualization

ASecurity

"Use MMDetection 3.3.0 public APIs for image, batch, folder,

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

Works with

  • api

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill inference-visualization --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Inference Visualization?

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

Security grade badge for Inference Visualization
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-inference-visualization-arex-skill/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-inference-visualization-arex-skill)

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: inference-visualization
description: "Use MMDetection 3.3.0 public APIs for image, batch, folder,
  NumPy-array, video, large-image, visualization, prediction-dump, and
  deployment-route inference tasks."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# inference-visualization

Use this sub-skill when the task is to run MMDetection inference, save predictions or visualizations, process arrays/videos/large images, or choose a deployment path. For config/model-zoo selection route to `configuration-model-zoo`; for training/testing route to `training-testing`; for dataset conversion and metrics route to `datasets-evaluation`.

## Fast Routes

- **High-level image/folder/batch inference:** use `mmdet.apis.DetInferencer`; see `references/api-reference.md` and `references/workflows.md`.
- **Scripted image inference:** run `scripts/mmdet_infer_image.py` for safe argparse around `DetInferencer`.
- **Raw downstream objects:** use `return_datasamples=True` or `init_detector` + `inference_detector`; see `references/api-reference.md`.
- **Headless visualization/dumping:** set `out_dir`, `no_save_pred`, and `no_save_vis` deliberately; see `references/workflows.md`.
- **Video, webcam, and large images:** prefer public API patterns and environment-aware caveats in `references/workflows.md`.
- **TorchServe/MMDeploy/ONNX/TensorRT route choice:** use `references/deployment.md`.
- **Known failures:** check `references/troubleshooting.md` before debugging package, device, GUI, checkpoint, or ABI errors.

## Minimal Examples

```python
from mmdet.apis import DetInferencer

inferencer = DetInferencer(model='rtmdet_tiny_8xb32-300e_coco', device='cpu')
result = inferencer('images/', batch_size=4, out_dir='outputs', no_save_pred=False, no_save_vis=True)
```

```python
import mmcv
from mmdet.apis import init_detector, inference_detector

model = init_detector('config.py', 'checkpoint.pth', device='cpu')
image_bgr = mmcv.imread('image.jpg')
sample = inference_detector(model, image_bgr)
```

## Packaged Helper

```shell
python scripts/mmdet_infer_image.py \
  image_or_folder rtmdet_tiny_8xb32-300e_coco --device cpu \
  --out-dir outputs --no-save-vis --save-pred
```

The helper uses public package APIs only and is safe for image files, image folders, model aliases, config files, local checkpoint files, and open-vocabulary prompt parameters supported by MMDetection.

Files in this skill

  • SKILL.md2.4 KB
  • references/api-reference.md5 KB
  • references/deployment.md3.4 KB
  • references/troubleshooting.md4.2 KB
  • references/workflows.md6.1 KB
  • scripts/mmdet_infer_image.py4.4 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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.