CommunityImagegithub.com

cv-architecture-diagram

Use when creating or refining computer vision neural network architecture diagrams, method framework figures, or module zoom-ins for CVPR, ICCV, ECCV, NeurIPS, ICML, ICLR, IEEE TPAMI, TGRS, TIP, or IJCV papers—especially for pansharpening, image fusion (IVF/MIF), super-resolution, restoration, and 2D vision backbones.

What is cv-architecture-diagram?

cv-architecture-diagram is a Gemini CLI agent skill that use when creating or refining computer vision neural network architecture diagrams, method framework figures, or module zoom-ins for CVPR, ICCV, ECCV, NeurIPS, ICML, ICLR, IEEE TPAMI, TGRS, TIP, or IJCV papers—especially for pansharpening, image fusion (IVF/MIF), super-resolution, restoration, and 2D vision backbones.

Works with~Claude Code~Codex CLI~Cursor✓Gemini CLI
npx skills add https://github.com/sukipai/cv-architecture-diagram/tree/HEAD

Installed? Explore more Image skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

CV Architecture Diagram

Author hand-crafted Illustrator/PPT-grade CV network diagrams (Fig. 1 paradigms, Fig. 2 frameworks, module zoom-ins) at exact LaTeX print width (2 SVG units = 1 pt), free of Tailwind/SaaS dashboard artifacts.

Routing

  • Use for CV/AI neural architectures, pansharpening/IVF/SR/restoration pipelines, Transformer/Mamba/Diffusion backbones, and module zoom-ins.
  • Avoid for quantitative plots (use vivid-illustration-skill), and never emit nested dashed SaaS cards, #000 outlines, rainbow text/arrows, or Web icon badges.

Mandatory 5-Step Workflow

Skipping any step produces AI-looking diagrams—even under a tight deadline.

  1. Lock 1 Structural Prototype First: Pick exact venue + layout in references/conference-themes.md (cvpr/iccv 495 pt, icml 486 pt, neurips/iclr 396 pt, eccv 345.8 pt, tpami/tgrs 515.5 pt). Open one primary real figure from references/examples/PAPERS_GALLERY.md (84 curated real papers, 44 pansharpening core) via read_file and lock its layout skeleton (vertical pill rhythm, container depth, whitespace, inline symbols)—not just its colors. See references/cv-paradigms.md for routing patterns.
  2. Real Images First: Find real workspace dataset crops (PAN/LRMS/HRMS/IR/VI/HR). If none exist, generate ONE realistic scene and physically derive aligned PAN (grayscale), LRMS (blurred/downsampled), LMS (upsampled), and HRMS via magick/PIL, embedding with image_card(..., img_path=...). Vector proxy=... is a last-resort fallback only.
  3. Compose with Hand-Crafted Restraint: Import ArchCanvas and tensors from ~/.gemini/config/skills/cv-architecture-diagram/scripts/ (fallback: scripts/) per references/primitives-catalog.md:
    • Pure-white canvas + ≤ 1 dashed nesting level (stage_group uses fill="none" + inline crimson ×N; use panel_box on containers layer when routing internal sub-arrows).
    • 95% dark charcoal ink (#1F2328) for text and fine arrows (1.25 stroke, 7.2 head, junction_dot, op_node("-")), with ≤ 2 muted accent hues.
    • Borderless vertical pastel capsules (vertical=True) + flat-swatch legend_bar (default variant="swatch"). Use icons.py strictly on-demand (sparse borderless snowflake/flame only).
  4. Render & Strict De-AI Audit: Run:
    python3 ~/.gemini/config/skills/cv-architecture-diagram/scripts/render_and_audit.py \
      fig2.svg --venue cvpr --layout double --dpi 300 --strict --de-ai
    
    Fix all print & De-AI warnings (< 6 pt, #000 borders, overflow, dashed depth > 1, > 2 accent hues, > 3 badges, vector proxies) until exit 0.
  5. Mandatory Visual QA: Inspect the 300-DPI PDF-derived PNG via read_file; refine overlaps and rhythm until publication-ready. Remove /tmp scratch files; deliver .pdf, .svg, .png, .py.

Red Flags — STOP and Fix

AI Smell / ShortcutRequired Fix
Nested dashed cards / colored card-in-cardPure-white canvas, <= 1 dashed stage_group(fill="none").
Rainbow text/arrows matching box colors95% dark charcoal ink; <= 2 muted accents.
Circular Web badges or vector proxy housesDrop decorative icons; embed real/derived photos via img_path=.
Copying palette without structural referenceLock 1 skeleton in PAPERS_GALLERY.md (Pan-Mamba/ARNet/FDMamba).
Skipping read_file on 300-DPI PNGAlways visually inspect the PDF-derived PNG before delivering.

Related Skills