Skip to content
Back to skills

Senior Computer Vision

ASecurity

Computer vision engineering for object detection, segmentation, and visual AI, covering CNN and Vision Transformer architectures and ONNX/TensorRT deployment. Use when you have a COCO/YOLO dataset to validate, split, convert or turn into a training config, or a model file to size and plan optimisation for; also for building detection pipelines and choosing architectures.

  • 1,271 stars
  • 0 votes
  • 0 copies
  • 7 views
  • Added May 29, 2026
ai-agentspythongodevopsperformance

Works with

  • cli

Security analysis

A100/100

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

Scanned December 4, 2026

npx -y skills add borghei/Claude-Skills --skill senior-computer-vision --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Senior Computer Vision?

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

Security grade badge for Senior Computer Vision
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/borghei-senior-computer-vision/badge)](https://www.skillsdirectory.com/skills/borghei-senior-computer-vision)

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: senior-computer-vision
description: >
  Computer vision engineering for object detection, segmentation, and visual AI, covering CNN
  and Vision Transformer architectures and ONNX/TensorRT deployment. Use when you have a COCO/YOLO
  dataset to validate, split, convert or turn into a training config, or a model file to size
  and plan optimisation for; also for building detection pipelines and choosing architectures.
license: MIT + Commons Clause
metadata:
  version: 1.1.0
  author: borghei
  category: engineering
  domain: computer-vision
  updated: 2026-11-08
  tags: [object-detection, image-segmentation, computer-vision, model-training]
---
# Senior Computer Vision Engineer

Design end-to-end computer vision pipelines for object detection, instance/semantic segmentation, and production deployment. Generates training configurations for YOLO/Detectron2/MMDetection, optimizes models for ONNX/TensorRT/OpenVINO runtimes, and builds dataset preparation workflows with format conversion and augmentation.

## Core Capabilities

- **Detection pipeline design** — requirements analysis, architecture selection (YOLO/RT-DETR/Faster R-CNN/DINO), dataset prep, training config, and metric evaluation.
- **Model optimization & deployment** — baseline benchmarking, ONNX export, INT8/FP16 quantization, and conversion to TensorRT/OpenVINO/CoreML/TFLite per target platform.
- **Dataset engineering** — audit, cleaning, format conversion (COCO/YOLO/VOC/CVAT/LabelMe), augmentation config, and stratified train/val/test splits.
- **Architecture guidance** — detection and segmentation architecture trade-offs plus CNN vs Vision Transformer selection.
- **Production targets** — FPS, mAP, latency P99, memory, and model-size budgets for real-time, high-accuracy, and edge deployments.

## When to Use

- Building an object detection or segmentation system from scratch.
- Optimizing and deploying a trained model to GPU, edge, or mobile.
- Preparing, converting, or auditing a computer vision dataset.
- Choosing an architecture for a speed/accuracy/deployment trade-off.

## Clarify First

Before generating training configs or pipelines, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.

- **Task:** detection / instance or semantic segmentation / classification (selects the architecture and `--task`).
- **Dataset:** location and format (COCO / YOLO / VOC) to analyze or convert (the input to `dataset_pipeline_builder.py`).
- **Deployment target:** GPU / edge / mobile (drives architecture choice and `inference_optimizer --target`).

Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.

## Tools

All three are stdlib-only CLIs. `inference_optimizer.py` needs the model's runtime (torch for
`.pt`, onnx/onnxruntime and numpy for `.onnx`) to analyse or benchmark; without it only
format-based recommendations are produced and `--benchmark` exits 2.

| Tool | Purpose | Example (runs as written) |
|------|---------|---------|
| `vision_model_trainer.py` | Analyse a COCO/YOLO dataset and generate a YOLO / Detectron2 / MMDetection training config (`--framework`, `--arch`, `--epochs`, `--batch`, `-o`, `--analyze-only`, `--format text\|json`) | `python3 scripts/vision_model_trainer.py assets/sample_coco_valid --analyze-only --format json` |
| `inference_optimizer.py` | Analyse, benchmark and recommend optimisations per target (`--analyze`, `--benchmark`, `--recommend`, `--target gpu/cpu/edge/mobile/apple/intel`, `--format text\|json`, `-o`) | `python3 scripts/inference_optimizer.py assets/sample_model.pt --recommend --target edge` |
| `dataset_pipeline_builder.py` | Subcommands `analyze`, `convert`, `split`, `augment-config`, `validate` (`analyze`/`validate` take `--format text\|json`; `validate --dataset-format coco\|yolo\|voc` forces the dataset type) | `python3 scripts/dataset_pipeline_builder.py validate --input assets/sample_coco_flawed` |

`--json` remains an alias for `--format json`. `inference_optimizer.py` needs the model's runtime
(torch for `.pt`, onnx/onnxruntime and numpy for `.onnx`) to analyse or benchmark; without it only
file-size and format-based recommendations are produced and `--benchmark` exits 2. Speedup ranges it
prints are heuristics, not measurements: measure on the target hardware.

### Real output

```
$ python3 scripts/dataset_pipeline_builder.py validate --input assets/sample_coco_flawed
Format: coco
Valid: ✗

Errors (2):
  ✗ annotations.json: annotation 2 references non-existent image_id 7. Fix: add an images entry with id 7 or delete annotation 2
  ✗ annotations.json: annotation 4 bbox [10, 10, 40] has 3 values, COCO needs 4. Fix: rewrite as [x, y, width, height]
...
FIX 2 errors
```

## Exit codes

| Code | Meaning |
|------|---------|
| `0` | Done / `validate` found no errors |
| `1` | `validate` found errors (orphan annotations, malformed boxes) |
| `2` | Unusable input: missing path, no recognisable dataset (empty folder, broken JSON), file that is not a model, bad split ratios, unknown architecture, split with no image files, or a requested benchmark that could not run |

Samples: `assets/sample_coco_valid/` validates clean (0); `assets/sample_coco_flawed/` has an orphan
annotation and a 3-value bbox (1); `assets/sample_coco_malformed/` and `assets/sample_yolo_malformed/`
are not datasets (2); `assets/sample_coco_images/` has real image files for `split`/`convert`;
`assets/sample_model.pt` is a header-only stub for exercising recommendations (not a trained model).
Contract: `python3 scripts/skill_contract_check.py --skill engineering/senior-computer-vision`.

Default recommendation: YOLO26 (Ultralytics' current family; COCO mAP50-95 yolo26n 40.9,
yolo26s 48.6, yolo26m 53.1 per docs.ultralytics.com/models/yolo26/, checked November 2026),
with YOLO11 kept for existing pipelines. The trainer's table cites its source per entry;
check the docs again before quoting figures, since families turn over yearly.

## References

Load the reference that matches the task — keep this file lean and pull detail on demand:

- **[references/detection-workflows.md](references/detection-workflows.md)** — quick-start commands and the three end-to-end workflows (detection pipeline, model optimization/deployment, dataset prep) plus the architecture selection guide. Read when executing a pipeline.
- **[references/commands-targets-and-troubleshooting.md](references/commands-targets-and-troubleshooting.md)** — framework command catalogs (YOLO/Detectron2/MMDetection/optimization), performance targets, anti-patterns, troubleshooting table, and success criteria. Read while running training or deployment.
- **[references/tool-reference.md](references/tool-reference.md)** — full parameter, example, and output-format reference for the three scripts. Read when scripting the tools.
- **[references/computer_vision_architectures.md](references/computer_vision_architectures.md)** — CNN backbones (ResNet, EfficientNet, ConvNeXt), ViT variants (ViT, DeiT, Swin), detection heads, and FPN/BiFPN/PANet necks. Read when choosing or tuning architectures.
- **[references/object_detection_optimization.md](references/object_detection_optimization.md)** — NMS variants, anchor optimization, loss design (focal, GIoU/CIoU/DIoU), training strategies, and detection augmentation. Read when improving detection accuracy.
- **[references/production_vision_systems.md](references/production_vision_systems.md)** — ONNX/TensorRT export, batch inference, edge deployment (Jetson, Intel NCS), Triton serving, and video pipelines. Read when deploying to production.

## Scope & Limitations

**This skill covers:**

- End-to-end object detection and segmentation pipeline design (data preparation through production deployment)
- Training configuration generation for Ultralytics YOLO, Detectron2, and MMDetection frameworks
- Model optimization and export to ONNX, TensorRT, OpenVINO, and CoreML runtimes
- Dataset format conversion (COCO, YOLO, Pascal VOC, CVAT), splitting, validation, and augmentation configuration

**This skill does NOT cover:**

- Generative vision tasks (image generation, style transfer, super-resolution) -- see dedicated generative AI skills
- 3D reconstruction, SLAM, or point cloud processing beyond basic depth estimation
- Medical imaging regulatory compliance (DICOM, FDA 510(k)) -- see `ra-qm-team/` compliance skills
- Real-time video streaming infrastructure (RTSP, WebRTC, GStreamer pipeline design) -- see `senior-devops` for infrastructure

## Anti-Patterns

### Benchmarking Without the Runtime
**Mistake:** Reporting latency or speedup numbers from `inference_optimizer.py` when torch or onnxruntime is not installed.
**Why it happens:** The recommendations print either way, so the run looks complete.
**Instead:** Treat exit 2 from `--benchmark` as "no measurement". Install the runtime, benchmark on the target hardware, and quote only measured numbers.

### Quantizing Without an Accuracy Check
**Mistake:** Shipping an INT8 model because it is 2-4x faster, without re-measuring mAP.
**Why it happens:** Speed is visible immediately; accuracy loss shows up later, on rare classes first.
**Instead:** Re-run validation on the held-out split after every precision change and accept the model only inside the agreed mAP budget.

### Splitting After Augmenting
**Mistake:** Augmenting the whole dataset, then splitting into train/val/test.
**Why it happens:** It feels like one pipeline step.
**Instead:** Split first (stratified), keep val/test untouched, and apply augmentation online during training. Otherwise near-duplicates leak into evaluation and inflate mAP.

## Files

| File | Purpose |
|------|---------|
| `scripts/vision_model_trainer.py` | Dataset analysis and training-config generation |
| `scripts/inference_optimizer.py` | Model analysis, benchmark and optimisation recommendations |
| `scripts/dataset_pipeline_builder.py` | Dataset analyze / convert / split / augment-config / validate |
| `assets/sample_coco_valid/annotations.json` | Sound COCO sample (validate exits 0) |
| `assets/sample_coco_flawed/annotations.json` | Flawed COCO sample (validate exits 1) |
| `assets/contract.json` | Declared sample runs checked by the contract script |
| `references/*.md` | Workflows, command catalogs, architectures, optimisation and deployment detail |

Files in this skill

  • SKILL.md27.3 KB
  • references/computer_vision_architectures.md16 KB
  • references/object_detection_optimization.md22.1 KB
  • references/production_vision_systems.md33.4 KB
  • scripts/dataset_pipeline_builder.py64 KB
  • scripts/inference_optimizer.py20.9 KB
  • scripts/vision_model_trainer.py20.8 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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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