Skip to content

๐Ÿ Geometric Computer Vision Library for Spatial AI

docs: realign ROADMAP with the reference-core direction (#3933)

Dmytro Mishkin3358ef161134
diff --git a/README.md b/README.md
index 99015704b..9cd4a4691 100644
--- a/README.md
+++ b/README.md
@@ -27,7 +27,7 @@ English | [็ฎ€ไฝ“ไธญๆ–‡](README_zh-CN.md)
**Kornia** is a differentiable computer vision library that provides a rich set of differentiable image processing and geometric vision algorithms. Built on top of [PyTorch](https://pytorch.org), Kornia integrates seamlessly into existing AI workflows, allowing you to leverage powerful [batch transformations](), [auto-differentiation]() and [GPU acceleration](). Whether you're working on image transformations, augmentations, or AI-driven image processing, Kornia equips you with the tools you need to bring your ideas to life.
-> **๐Ÿ“ข Announcement**: Kornia is shifting towards end-to-end vision models. We are focusing on integrating state-of-the-art Vision Language Models (VLM) and Vision Language Agents (VLA) to provide comprehensive end-to-end vision solutions.
+> **๐Ÿ“ข Direction**: Kornia is becoming the **reference implementation and executable specification** for differentiable computer vision and geometry in the PyTorch ecosystem โ€” explicit conventions, conformance tests, and honest benchmarks over API growth. Read the [Roadmap](ROADMAP.md).
## Key Components
1. **Differentiable Image Processing**<br>
@@ -252,21 +252,22 @@ tf_kornia = kornia.to_tensorflow()
## Call For Contributors
-Are you passionate about computer vision, AI, and open-source development? Join us in shaping the future of Kornia! We are actively seeking contributors to help expand and enhance our library, making it even more powerful, accessible, and versatile. Whether you're an experienced developer or just starting, there's a place for you in our community.
+Are you passionate about computer vision, AI, and open-source development? Join us in shaping the future of Kornia! We are actively seeking contributors to help strengthen the library โ€” making it more correct, faster, and better specified. Whether you're an experienced developer or just starting, there's a place for you in our community.
-### Accessible AI Models
+### Strengthen the Core (Priority)
-We are excited to announce our latest advancement: a new initiative designed to seamlessly integrate lightweight AI models into Kornia.
-We aim to run any models as smooth as big models such as StableDiffusion, to support them well in many perspectives.
+Kornia's differentiated value is its geometry core: warping and sampling, homographies, cameras, epipolar geometry, rotations and Lie groups, and geometry-consistent augmentation. The highest-impact contributions make that core more trustworthy โ€” see the [Roadmap](ROADMAP.md) for the full picture. Great entry points:
-**Priority Focus: VLM/VLA Models**
+- **Benchmark results from your hardware** *(green lane โ€” just send the PR)*: run the benchmark suite with `--contribute` and send the JSON โ€” CUDA numbers from diverse GPUs are especially wanted.
+- **Convention pinning tests and conformance vectors** for core geometry ops *(green lane once curated into a `help wanted` issue with acceptance criteria)*.
+- **Corrective error messages** *(same curation rule)*: upgrade bare shape asserts into errors that state what was wrong, what was expected, and which convention applies.
+- **Classical vision in the core domain** *(discuss-first โ€” open an issue)*: camera intrinsic calibration, fiducial markers (ArUco/ChArUco), classical tracking, dense stereo, Hough transforms.
-Our primary focus is on integrating **Vision Language Models (VLM)** and **Vision Language Agents (VLA)** to enable end-to-end vision solutions. We're actively seeking contributors to help us:
+See the [Roadmap's contributor areas](ROADMAP.md#areas-seeking-contributors) for how each of these routes through the contribution lanes.
-- **VLM/VLA Integration (Priority)**: Implement and integrate state-of-the-art Vision Language Models and Vision Language Agents. This includes models like Qwen2.5-VL, SAM-3, and other cutting-edge VLM/VLA architectures. If you are a researcher working on VLM/VLA models, Kornia is an excellent place for you to promote your model!
-- Expand the Model Selection: Import decent models into our library. If you are a researcher, Kornia is an excellent place for you to promote your model!
-- Model Optimization: Work on optimizing models to reduce their computational footprint while maintaining accuracy and performance. You may start from offering ONNX support!
-- Model Documentation: Create detailed guides and examples to help users get the most out of these models in their projects.
+### AI Models
+
+The model zoo is currently **frozen for expansion** while maintainer bandwidth concentrates on the core. Shipped models (LoFTR, LightGlue, DISK, DeDoDe, SAM, and friends) stay available and maintained, and model work approved before the freeze (Efficient LoFTR, SANDesc) will be completed under its existing scope. New integrations โ€” including VLM/VLA models โ€” require a named maintainer sponsor who accepts ongoing ownership of the integration; a contributor implementation alone cannot reopen the surface. See the [Roadmap](ROADMAP.md#guiding-themes) for the reasoning and the reopen condition.
### Documentation And Tutorial Optimization
diff --git a/ROADMAP.md b/ROADMAP.md
index b9a1805c4..15259855b 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -5,164 +5,288 @@ high-impact work, to show users the direction of the project, and to make our
priorities legible to the wider community.
It is a living document. Dates are intentions, not commitments, and priorities shift
-as the ecosystem does. If you want to work on something here, open or comment on the
-linked issue first so we can coordinate (see [CONTRIBUTING.md](CONTRIBUTING.md)).
+as the ecosystem does. If you want to work on something here, check which
+contribution lane it falls into first (see
+[CONTRIBUTING.md](CONTRIBUTING.md)): small evidence-bearing fixes can go straight to
+a PR; features and behavior changes need a discussion on an issue first.
+
+**Where Kornia is going.** Kornia is becoming the **reference implementation and
+executable specification** for differentiable computer vision and geometry in the
+PyTorch ecosystem. At ~3M downloads/month the highest-leverage work is not growing
+the API โ€” it is making the differentiated core (warping and sampling, homographies,
+cameras, epipolar geometry, rotations and Lie groups, geometry-consistent
+augmentation) unusually trustworthy: conventions explicit and pinned by tests,
+behavior validated by conformance vectors, guarantees enforced by CI. Progress is
+measured in confidence, not API count โ€” a strong release can contain zero new public
+APIs and still deliver better `torch.compile` coverage, fixed convention ambiguity,
+improved numerical stability, and stronger dtype/device behavior.
## Guiding themes
-Three engineering north stars shape most of the roadmap below. The important insight
-is that the first two are largely **the same body of work**:
+Four engineering north stars shape the roadmap below.
+
+1. **The reference core: conventions, conformance, tiers.** Geometric code has a
+ uniquely dangerous failure mode: small convention mistakes (`align_corners`,
+ pixel-center vs corner, (x,y) vs (row,col), normalized vs pixel coordinates,
+ rotation direction, homography normalization) produce code that *runs correctly
+ while being mathematically wrong* โ€” and this is exactly the error class LLMs
+ reproduce. The program, in order, per API surface:
+
+ 1. **Document** โ€” every core op gets a Convention block in its docs plus
+ `test_convention_*` pinning tests, describing actual behavior including known
+ warts. The first batches have landed
+ ([#3924](https://github.com/kornia/kornia/pull/3924),
+ [#3926](https://github.com/kornia/kornia/pull/3926)); the canonical
+ [Conventions & Pitfalls](https://kornia.readthedocs.io/en/latest/get-started/conventions.html)
+ page is live. Behavior bugs found by the audit get dedicated issues.
+ 2. **Repair & deprecate** โ€” one coordinated window fixes accumulated semantic and
+ default-value bugs, so downstream users face a single loud migration instead of
+ a drizzle of breaking changes. The window runs *under* the
+ [stability policy](https://kornia.readthedocs.io/en/latest/get-started/stability.html),
+ not around it: every semantic or default change gets the policy's deprecation
+ treatment (at least one minor release of warnings, landing at a 0.x minor
+ boundary) โ€” "coordinated" means the changes are batched into one migration,
+ not that the deprecation rules are waived. Only clearly-broken-output bugs
+ (NaN, crashes) use the policy's correctness escape hatch and land early as
+ ordinary bugfixes.
+ 3. **Freeze** โ€” after the window, a **Tier A ("Kornia Core")** set is declared:
+ symbols with the strongest guarantees (autograd, gradcheck, compile, dtype/
+ device correctness, explicit conventions, semantic stability). Tier A starts
+ brutally small and a guarantee is only claimed where CI enforces it.
+ **These tiers are proposed, not yet in force**: until the tier policy is
+ published after the window, the current
+ [stability policy](https://kornia.readthedocs.io/en/latest/get-started/stability.html)
+ (stable core / best-effort / experimental) remains the authoritative contract.
-1. **Compile-first (`torch.compile` / dynamo).** The numeric core (filters, color,
+ Alongside this grows a **conformance corpus**: framework-neutral golden vectors
+ (inputs, expected outputs, tolerances, convention metadata) that external
+ implementations โ€” JAX ports, Rust/Triton kernels, vendored copies, and
+ LLM-generated code โ€” can validate against. Long-term, Kornia defining the
+ conformance tests for differentiable geometric vision may matter more than owning
+ every implementation.
+
+2. **Compile-first (`torch.compile` / dynamo).** The numeric core (filters, color,
geometry, enhance, losses) is already largely compile-clean. The remaining work is
concentrated in the stochastic augmentation pipeline and the dynamic-shape feature
- detectors, which branch on tensor values and break the graph.
+ detectors, which branch on tensor values and break the graph โ€” the augmentation
+ classes fail structurally in data-dependent parameter generation
+ ([#3913](https://github.com/kornia/kornia/issues/3913)). Compile support is
+ claimed **per evidenced surface**: today that means the functional core, not the
+ augmentation classes as a class-level guarantee โ€” many individual augmentations
+ already run fullgraph in the PR-time dynamo job (see the compile/export spine
+ below), but the data-dependent parameter generators keep the class-level claim
+ off the table โ€” and docs state the scope explicitly.
-2. **Export-first (ONNX).** ONNX export fails on the *same* patterns that break
+3. **Export-first (ONNX).** ONNX export fails on the *same* patterns that break
`torch.compile`: data-dependent control flow, `.item()` calls, and dynamic shapes.
[#3722](https://github.com/kornia/kornia/pull/3722) demonstrated the fix โ€” replacing
the stochastic apply path with `torch.where` blends and gating linear-algebra
fallbacks on `is_tracing()` โ€” which advanced both goals in a single change. The
remaining spine work pays out to compile and export together.
-3. **Performance.** A static-shape, data-independent augmentation graph โ€” the same one
- the compile/export work produces โ€” is what fuses under `inductor` and what a native
- `kornia-rs` kernel can accelerate. Our differentiator is GPU-batched, on-device,
- differentiable augmentation; our goal is to make that regime dramatically faster and
- to measure it honestly against alternatives. For the non-differentiable CPU/`uint8`
- regime โ€” where users today reach for albumentations โ€” an opt-in `kornia-rs` backend is
- the path to a step-change: local benchmarks already show `kornia-rs` beating
- albumentations by 1.3โ€“2.5x on common ops, so the moonshot there is an API-integration
- problem, not a kernel-performance one.
+4. **Performance, honestly measured.** The benchmark harness is now first-class:
+ `benchmarks/` measures kornia (eager + compiled) against OpenCV, torchvision v2,
+ albumentations, and PIL with median+IQR timings, hardware metadata, and an
+ auto-published results page โ€” and it publishes where Kornia *loses* (CPU,
+ batch=1) alongside where it wins (large-batch GPU, differentiability, compiled
+ paths), so the page is citable by skeptics. Measurement drives the fix order:
+ the systemic finding is that the augmentation pipeline is **launch-bound, not
+ kernel-bound** (per-call wrapper orchestration can make throughput *fall* as
+ batch grows), so orchestration overhead is fixed first; then the measured kernel
+ outliers (`median_blur`, `canny`, `rotate`). For the non-differentiable
+ CPU/`uint8` regime an opt-in `kornia-rs` backend is the path to a step-change,
+ and hand-written Triton kernels are reserved for the small set of ops `inductor`
+ structurally cannot fuse.
-A fourth theme, **breadth**, runs in parallel and is largely community-driven: closing
-classical-CV gaps and hardening the model zoo.
+A fifth theme, **breadth**, is community-driven and runs through the discuss-first
+lane. One boundary is stated openly: **model-zoo expansion is frozen.** No new model
+or VLM/VLA integrations while maintainer bandwidth concentrates on the core; shipped
+wrappers (LoFTR, LightGlue, DISK, DeDoDe, SAM, XFeat, ALIKED, Kimi-VL, โ€ฆ) remain
+available and maintained under a *usable-or-deleted* rule. The single exception
+rule, applied everywhere in this document: **a new integration requires a named
+maintainer sponsor who accepts ongoing ownership โ€” a contributor's implementation
+alone, however good, does not reopen the surface.** The freeze lifts when a
+maintainer with model-work capacity joins the project. Contributions already in
+flight before the freeze (an open issue plus a PR under review) are grandfathered
+and finish under the rules they started under.
-## Short term โ€” next release (v0.8.4)
+## Short term โ€” next release
- **Stabilize CI and the augmentation core.** Recent fixes repaired regressions from the
ONNX-exportability refactor and healed the scheduled test matrix. Ship these in a
release so users get the fixes.
+- **Convention-block batches.** Continue the per-op audit:
+ `geometry.conversions` โ†’ bounding boxes
+ ([#3934](https://github.com/kornia/kornia/issues/3934)) โ†’ camera โ†’ augmentation
+ classes. Each batch delivers Convention blocks, pinning tests, and dedicated
+ issues for any behavior bug found.
+- **Broken-output bugfixes** from the audit, landing ahead of the repair window:
+ pyramid bounds check ([#3927](https://github.com/kornia/kornia/issues/3927)),
+ 1-pixel crop NaN ([#3929](https://github.com/kornia/kornia/issues/3929)).
+- **CI truthfulness.** Every advertised CI matrix axis must actually reach the code
+ under test; first repair is the unused pytorch-version axis
+ ([#3930](https://github.com/kornia/kornia/issues/3930)).
+- **Contribution policy v2** ([#3932](https://github.com/kornia/kornia/pull/3932)):
+ the two-lane model (green lane / discuss-first), verification-based AI policy, and
+ minimized templates.
- **Progressively enable more `ruff` rule sets** to raise code health
([#2445](https://github.com/kornia/kornia/issues/2445)).
- **Docs modernization** โ€” evaluate the migration to MkDocs
([#3454](https://github.com/kornia/kornia/issues/3454)).
-- **Harden the recently-landed model zoo.** Several VLM/model integrations shipped without
- full test coverage; add tests before building further on them
- ([#3554](https://github.com/kornia/kornia/issues/3554),
- [#3555](https://github.com/kornia/kornia/issues/3555),
- [#3556](https://github.com/kornia/kornia/issues/3556),
- [#3481](https://github.com/kornia/kornia/issues/3481)).
+- **Model-zoo maintenance (best-effort tier; future Tier C).** Shipped integrations
+ must be usable or deleted โ€” kept loading, tested, and honest (recent example:
+ repointing Kimi-VL to working weights). The 2025-era coverage-gap issues are
+ resolved; newly found maintenance work gets a current tracking issue with
+ acceptance criteria โ€” no new integrations.
+- **`help wanted` label audit.** Older issue templates auto-applied the label;
+ re-triage the open `help wanted` issues so the label only marks genuinely
+ pre-approved work with acceptance criteria, as the green lane requires.
## Medium term โ€” ~6 months
+- **The Repair & Deprecation window โ†’ Tier A v1.** Execute the one coordinated
+ release motion for the semantic and default-value repairs accumulated by the
+ audit (e.g. `warp_image_tps` `align_corners` default
+ [#3928](https://github.com/kornia/kornia/issues/3928), `pyrdown` output rounding,
+ inconsistent 3D-crop defaults, bbox width arithmetic
+ [#3934](https://github.com/kornia/kornia/issues/3934)) โ€” each change with an
+ old-vs-new conformance vector pair, the stability policy's deprecation treatment
+ (at least one minor release of warnings before landing at a 0.x minor boundary),
+ and one collective migration note. Afterwards, publish the support-tier policy and
+ declare Tier A v1: small, explicit, CI-enforced. Until that publication the
+ current stability policy remains the authoritative contract.
+- **The conformance corpus.** Define the framework-neutral format (per-dtype/device
+ tolerances, convention metadata), migrate the existing convention-pinning tests
+ into it, add semantic invariant tests
+ (`warp(inv(H), warp(H, img)) โ‰ˆ img`, `project(unproject(d, K), K) โ‰ˆ uv`,
+ `R @ R.T โ‰ˆ I`), and publish a docs page: *validate your (hand-written or
+ LLM-generated) geometry code against Kornia*.
+- **The agent knowledge layer.** `llms.txt` / `llms-full.txt` are live and
+ benchmark-fed; after the final convention batch, ship `AGENTS.md` and a small set
+ of validated skills (image warping & homographies, batched differentiable
+ augmentation with transform tracking, camera/epipolar conventions, feature
+ matching) โ€” all derived from the canonical docs, never duplicating them.
- **The compile / export spine.** *In progress โ€” much of the augmentation surface now
compiles fullgraph.* The stochastic-apply path, the `_extract_device_dtype`/version-check
helpers, the transform-matrix blend, and the shape-changing crops (`Resize`, `CenterCrop`)
have all landed as genuine single-path fixes; common intensity ops (color jitter, solarize,
brightness/contrast, erasing, flips) are fullgraph on the CI torch. Remaining: the
data-dependent tail โ€” random-coordinate `RandomCrop`/`crop_by_indices`, histogram-based
- `equalize`, and random-permutation dispatch โ€” which need redesign, not guards. On the export
+ `equalize`, and random-permutation dispatch โ€” which need redesign, not guards
+ ([#3913](https://github.com/kornia/kornia/issues/3913)). On the export
side: solve multi-output ONNX export generically so tuple-returning modules (e.g. `Canny`,
YUV conversions) are no longer blocked, and converge on a single modern ONNX opset.
- **Dynamo tests in CI โ€” landed for the compile-clean core.** A PR-time `dynamo` job now runs
the compile-clean augmentation/enhance/filter/color/loss/morphology tests under `inductor` on
- the CI torch version, so a fullgraph regression is caught at PR time (it immediately caught a
- version-dependent flip break that local-only testing had masked). Still to do: publish an ONNX
- export conformance matrix (exportable / numerically-verified / blocked-with-reason) for the
- public API, and widen the dynamo job beyond the core once model/feature paths are vetted.
-- **Augmentation performance.** Introduce a `uint8` fast path and begin moving the hottest
- ops (warps, blurs, color conversions) toward native `kornia-rs` kernels. *The cross-library
- benchmark harness has landed* โ€” `benchmarks/augmentation/{flagship,cross_library,pipeline}.py`
- plus a documented `README.md` measure kornia (eager + compiled) against torchvision v2,
- albumentations, OpenCV, and PIL on CPU and GPU, with an honest per-regime reading
- and a standing improvement list. Early findings: `torch.compile` gives kornia 2โ€“4ร— on pointwise
- ops and a compiled pipeline already beats torchvision v2 / reaches albumentations parity on CPU;
- kornia-rs is the fastest CPU/`uint8` backend on most ops (motivating the backend item below).
- *GPU headline (measured on a Jetson Orin, `pipeline.py`, batch 32, 224ยฒ, a 6-op pipeline
- including `ColorJitter`): the compiled kornia pipeline runs at **2669 img/s vs torchvision
- v2's 1536 (~1.7ร— faster) โ€” while staying end-to-end differentiable**, the regime no other
- library competes in.* This depended on a device-propagation fix: `nn.Module.to()/.cuda()`
- move children through `_apply`, bypassing the augmentation's `to()` override, so building a
- pipeline the recommended way left random-parameter sampling on the CPU (host-bound, ~171
- img/s eager, and `torch.compile` could not fuse across the per-forward host work). Moving
- parameter generation onto the module's device (~903 img/s eager) is what lets `inductor`
- fuse the whole pipeline.
+ the CI torch version, so a fullgraph regression is caught at PR time. Still to do: publish an
+ ONNX export conformance matrix (exportable / numerically-verified / blocked-with-reason) for
+ the public API, and widen the dynamo job beyond the core once model/feature paths are vetted.
+- **Augmentation performance โ€” orchestration first.** GPU profiling shows the deficit
+ vs torchvision on cheap augmentations is *not* the kernels: for
+ `RandomHorizontalFlip` the raw flip is ~22% of the module forward and the other
+ ~78% is per-call orchestration in the augmentation base (transform-matrix build,
+ the `where`-blend, dtype/shape bookkeeping). The highest-leverage work is a leaner,
+ fully-compilable base `forward` (a fast path that skips `compute_transformation`
+ for non-affine ops) plus CUDA-graph capture โ€” one fix that lifts every
+ augmentation. Compiled kornia pipelines already beat torchvision v2 on GPU while
+ staying end-to-end differentiable (see the published benchmark page); killing
+ wrapper overhead extends that lead to the eager path everyone runs by default.
- **A `kornia-rs` augmentation backend (opt-in).** Add a backend selector (e.g.
`backend="rust"`) that routes non-differentiable, CPU, `uint8` augmentation through
- `kornia-rs` (`kornia_rs.imgproc` / `kornia_rs.augmentations`), while the PyTorch path
- stays the default for GPU-batched, differentiable, and float workloads. This is the
- concrete route to a 10x-vs-albumentations target on CPU: local benchmarks at 256ยฒ show
- `kornia-rs` already ahead of albumentations (e.g. HFlip 13.4k vs 10.5k, ColorJitter
- 1.56k vs 0.62k, Rotation 4.6k vs 2.2k img/s) and 2โ€“28x faster than the equivalent
- PyTorch path, so the remaining work is API surface (dispatch, dtype/layout bridging,
- parity tests), not raw speed. Prototyping the dispatch hook is the first step.
-- **GPU augmentation leadership โ€” kill wrapper overhead, then Triton the kernel-bound
- minority.** GPU profiling shows kornia's deficit vs torchvision on cheap augmentations is
- *not* the kernels: for `RandomHorizontalFlip` the raw flip is ~22% of the module forward and
- the other ~78% is per-call orchestration in the augmentation base (transform-matrix build,
- the `where`-blend, dtype/shape bookkeeping) that torchvision skips. The highest-leverage work
- is therefore a leaner, fully-compilable base `forward` (a fast path that skips
- `compute_transformation` for non-affine ops) plus CUDA-graph capture โ€” one fix that lifts
- every augmentation. `torch.compile` alone helps (ColorJitter's fused pointwise chain already
- beats torchvision v2 at 1.86ร—) but cannot erase overhead that lives outside the graph.
- Hand-written **Triton** kernels are reserved for the genuinely kernel-bound ops `inductor`
- cannot fuse or beat: the fused warp sampler (`warp_affine`/`warp_perspective`/`grid_sample`/
- `remap` โ€” highest fan-out, all geometric augs route through it), `median_blur`,
- `equalize`/histogram, bilateral/guided filters, and morphology. Pointwise ops stay on
- `inductor` โ€” a Triton rewrite there only re-derives what the compiler already emits.
-- **VLM / VLA focus.** Complete and test the native-PyTorch model integrations that are the
- project's current priority: e.g. SmolVLM2
- ([#3455](https://github.com/kornia/kornia/issues/3455),
- [#3770](https://github.com/kornia/kornia/issues/3770)),
- PaliGemma ([#3471](https://github.com/kornia/kornia/issues/3471)),
- Qwen2.5-VL ([#3410](https://github.com/kornia/kornia/issues/3410)),
- and SAM-3 ([#3406](https://github.com/kornia/kornia/issues/3406)).
+ `kornia-rs`, while the PyTorch path stays the default for GPU-batched,
+ differentiable, and float workloads. Upstream kernels are already fast (recent
+ `kornia-rs` releases beat OpenCV raw on warps); the current bottleneck is the
+ tensorโ†”image interop cost, and the dispatch only ships for ops where it wins
+ โ‰ฅ5ร— including conversion. Sequencing is conformance-first: `kornia-rs` outputs are
+ validated against Kornia's golden vectors before any dispatch, making it the
+ conformance corpus's first external consumer.
+- **Triton for the kernel-bound minority.** Hand-written kernels only where
+ `inductor` structurally cannot help and the benchmark data shows a real gap:
+ `median_blur` (selection networks), `canny` (data-dependent NMS + hysteresis),
+ possibly large-kernel morphology. Capped ambition (2โ€“3 kernels), each with a
+ registered custom op, backward, and conformance vectors; opt-in experimental until
+ GPU CI can verify them.
+- **Batched RANSAC.** Restructure the RANSAC hot loop to not need a compiler:
+ vectorize over hypotheses (sample K minimal sets, solve batched, score batched)
+ with chunked execution and confidence-based stopping. GPU-batched robust geometry
+ is core mission; the variants (eager, lazy-scripted, compiled-chunked, batched)
+ are benchmark-arbitrated.
## Long term โ€” vision
-- **A fully compilable, fully exportable library.** Every public operator runs under
- `torch.compile` without graph breaks and exports to ONNX with verified numerical
- equivalence โ€” including the stochastic augmentation and dynamic-shape feature paths.
+- **The reference implementation for differentiable CV.** External implementations โ€”
+ JAX ports, native kernels, vendored code, and code written by LLMs โ€” validate
+ against Kornia's conformance data, and humans and coding agents consistently
+ produce *correct* geometry code from Kornia's documentation. Success is fewer
+ convention bugs in the wild, not more modules in the package.
+- **A fully compilable, fully exportable core.** Every applicable Tier A tensor
+ operator runs under `torch.compile` without unnecessary graph breaks and exports
+ to ONNX where ONNX can represent its semantics, with verified numerical
+ equivalence โ€” including the stochastic augmentation and dynamic-shape feature
+ paths that break today. Best-effort and experimental surfaces are covered as
+ evidence allows, never by blanket claim.
- **The fastest differentiable, GPU-batched augmentation stack**, with a published,
reproducible benchmark that states precisely the regime in which we lead.
-- **End-to-end spatial-AI and VLM/VLA workflows** โ€” pairing Kornia's deep geometry and
- feature-matching foundations with modern learned models, usable from classical
- calibration through to vision-language reasoning.
-- **Breadth toward feature-completeness** for a differentiable CV library โ€” closing the
- notable gaps below.
## Areas seeking contributors
-We especially welcome help in these areas. Comment on the linked issue (or open one) to
-get started. Issues labelled [`help wanted`](https://github.com/kornia/kornia/labels/help%20wanted)
-and [`good first issue`](https://github.com/kornia/kornia/labels/good%20first%20issue)
-are good entry points.
-
-**Modern deep-learning CV (largest gaps):**
+We especially welcome help in these areas. Curated
+[`help wanted`](https://github.com/kornia/kornia/labels/help%20wanted) issues with
+explicit acceptance criteria are green-lane entry points. While the legacy-label
+audit (short-term work above) is pending, check that the issue actually contains
+those criteria or an explicit maintainer confirmation before starting. No
+assignment needed โ€” and if duplicate PRs land, maintainers merge the
+best-supported implementation, not the earliest. For anything feature-shaped,
+open or comment on an issue first (discuss-first lane, see
+[CONTRIBUTING.md](CONTRIBUTING.md)).
-- **Learned optical flow** (RAFT / SEA-RAFT). A significant gap โ€” the endpoint-error
- metric (AEPE) already exists, but there is no flow model.
-- **Pose estimation** models (human / hand keypoints).
-- **Object-detection breadth** beyond RT-DETR and YuNet (e.g. YOLO, open-vocabulary
- detection).
-- **Feature-matching extensions** โ€” Efficient LoFTR
- ([#3282](https://github.com/kornia/kornia/issues/3282)),
- SANDesc ([#3752](https://github.com/kornia/kornia/issues/3752)).
+**Classical vision in the core domain (highest priority):** these strengthen exactly
+the geometry/camera surface the project is built around.
-**Classical computer vision:**
-
-- **Camera intrinsic calibration** (Zhang's method, checkerboard / ChArUco detection).
- Kornia can undistort and solve PnP but cannot yet calibrate a camera from scratch.
-- **Fiducial markers** (ArUco / ChArUco).
+- **Camera intrinsic calibration** (Zhang's method, checkerboard / ChArUco
+ detection). Kornia can undistort and solve PnP but cannot yet calibrate a camera
+ from scratch โ€” the largest gap in the camera core.
+- **Fiducial markers** (ArUco / ChArUco) โ€” detection feeding directly into the
+ calibration and pose pipelines.
- **Classical tracking** โ€” Lucas-Kanade, KCF
([#1381](https://github.com/kornia/kornia/issues/1381)).
-- Dense stereo matching, Hough transforms, contour/shape analysis, template matching.
+- Dense stereo matching, Hough transforms and Hough voting, contour/shape analysis,
+ template matching.
+
+**Reference-core contributions:**
+
+- **Benchmark results from your hardware** (unconditionally green lane) โ€” run the
+ suite with `--contribute` and send the JSON; CUDA numbers from diverse GPUs are
+ especially wanted.
+- **Good candidates for curated `help wanted` issues** โ€” convention pinning tests
+ and conformance vectors for core geometry ops; corrective error messages
+ (upgrading bare shape asserts into errors that state what was wrong, what was
+ expected, which convention applies, and the likely fix). These become green-lane
+ once a maintainer has written acceptance criteria into a `help wanted` issue โ€”
+ pinning behavior and changing raised errors are contract-adjacent edits, so they
+ need that curation step first.
-**Augmentation parity** (vs. common augmentation libraries): dropout-family transforms
+**Augmentation parity** โ€” low-priority, community-driven, discuss-first: Kornia does
+not compete on generic augmentation breadth (the differentiated value is
+differentiability, GPU batching, and transform tracking), but well-motivated parity
+transforms are accepted through the discuss-first lane: dropout-family transforms
(CoarseDropout, GridDropout), grid/optical distortion, weather effects (fog, sun-flare),
noise variants (ISO noise), and additional compression transforms.
+**Learned models โ€” frozen (see the guiding themes):**
+
+- **Grandfathered model work.** Efficient LoFTR
+ ([#3282](https://github.com/kornia/kornia/issues/3282), PR
+ [#3621](https://github.com/kornia/kornia/pull/3621) under review) and SANDesc
+ ([#3752](https://github.com/kornia/kornia/issues/3752), pre-freeze maintainer
+ approval on the issue) were approved and started before the model-zoo freeze and
+ may continue under their existing scopes. They are exceptions honoring prior
+ commitments, not invitations for new model integrations.
+- **Acknowledged gaps โ€” not currently soliciting contributions.** Learned optical
+ flow (RAFT / SEA-RAFT), pose estimation, and object-detection breadth beyond
+ RT-DETR and YuNet are real gaps, listed for honesty. New model work remains
+ frozen until a maintainer accepts ongoing ownership of the integration.
+
**Code health & infrastructure:**
- Expanding `ruff` rule coverage ([#2445](https://github.com/kornia/kornia/issues/2445)).
@@ -172,7 +296,9 @@ noise variants (ISO noise), and additional compression transforms.
## How to contribute
-See [CONTRIBUTING.md](CONTRIBUTING.md) for setup and guidelines. In short: link your PR to
-an approved issue, include local test output, and cite a reference (paper, OpenCV,
-PyTorch, etc.) for any new algorithm. For larger roadmap items, start a discussion on the
-issue first so we can align on design before you write code.
+See [CONTRIBUTING.md](CONTRIBUTING.md) for setup, guidelines, and the two-lane
+model: **green lane** (test-first bug fixes, verified docs fixes, `help wanted`
+issues, benchmark results โ€” just send the PR) and **discuss-first** (features and
+behavior changes โ€” align on scope in an issue before writing code). Include local
+test output in your PR and cite a reference (paper, OpenCV, PyTorch, etc.) for any
+new algorithm.
diff --git a/docs/source/get-started/stability.rst b/docs/source/get-started/stability.rst
index 814965bf8..b98c0eac3 100644
--- a/docs/source/get-started/stability.rst
+++ b/docs/source/get-started/stability.rst
@@ -28,6 +28,26 @@ rather than grown.
**Experimental** โ€” ``kornia.contrib`` and anything underscore-prefixed or
absent from the rendered documentation. No stability promise.
+Planned evolution: support tiers
+--------------------------------
+
+The `roadmap <https://github.com/kornia/kornia/blob/main/ROADMAP.md>`_ describes
+a future, finer-grained tier structure ("Tier A / B / C") in which a deliberately
+small Tier A core carries per-symbol, CI-enforced guarantees. **That structure is
+not in force yet.** It will be published only after the coordinated
+repair-and-deprecation window described in the roadmap has resolved the
+convention bugs surfaced by the ongoing per-operator audit โ€” targeted within the
+roadmap's ~6-month medium-term horizon (dates are intentions, not commitments).
+Until the tier policy is published, this page is the authoritative stability
+contract and the tiers above (stable core / best-effort / experimental) are what
+you may rely on.
+
+The repair window itself runs under the promises on this page, not around them:
+every semantic or default change it ships gets the promise-2 deprecation
+treatment โ€” at least one minor release of warnings, landing at a 0.x minor
+boundary, with old-vs-new reference vectors โ€” and only clearly-broken-output
+bugs (NaN, crashes) use the correctness escape hatch below.
+
What counts as public API
-------------------------