Skip to main content

just-keypoints

Keypoints and descriptors from ALIKED (aliked-n16) and keypoints with ranker scores and covariances from RaCo, with minimal dependencies: hand-written CPU, Metal and CUDA kernels, no PyTorch, no ONNX Runtime. In FP32 the results match the original networks.

This is a test bed for dependency-free inference, not a replacement for ALIKED or RaCo: the methods, the weights and the credit are their authors'. For real work, depend on them.

Install

Package Platforms Backends
pip install just-keypoints Linux x86_64, macOS arm64 (13 or later), Windows x86_64 CPU; Metal on macOS
pip install just-keypoints-cu12 Linux x86_64, Windows x86_64 CPU and CUDA 12
pip install just-keypoints-cu13 Linux x86_64, Windows x86_64 CPU and CUDA 13

Install one of them: all three provide the just_keypoints module. The CUDA packages link the CUDA runtime statically and need only an NVIDIA driver. CUDA 12 runs on Pascal (sm_60) and later, CUDA 13 on Turing (sm_75) and later. Python 3.12 or later. Both models' weights are built in.

import just_keypoints as jkp
print(jkp.__version__, jkp.compiled_backends())

Use

import numpy as np
import just_keypoints as jkp

backend = "cuda" if jkp.backend_available("cuda") else "metal" if jkp.backend_available("metal") else "cpu"
extractor = jkp.Extractor(backend=backend, top_k=2000)   # aliked-n16, built-in weights
f = extractor.extract(image)            # uint8 (h, w), (h, w, 3) RGB or (h, w, 4) RGBA
f.xy, f.score, f.desc                    # (n, 2), (n,), (n, 128) float32 copies

raco = jkp.Extractor(backend=backend, model="raco", top_k=2048, descriptor="aliked-n16")
r = raco.extract(image)
r.xy, r.rank, r.cov, r.desc              # (n, 2), (n,), (n, 2, 2) in pixels², (n, 128)

Pixel coordinates are x right, y down, with (0, 0) the centre of the top-left pixel. precision="fp16" is faster on the GPU backends (ALIKED only) with slightly different results. Without top_k, ALIKED keeps every keypoint with score > score_threshold (0.2), at most max_keypoints (5000). An Extractor is made once and used for many images; calls from several threads are serialized. Errors (no such device, bad weights) raise RuntimeError.

Documentation: https://just-keypoints.pages.dev.

Licences: the code is Apache-2.0; the built-in weights are ALIKED's (BSD-3-Clause) and RaCo's (Apache-2.0); both licence files are in the package.

Metadata

Release files for just-keypoints-cu13 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for just-keypoints-cu13 0.1.0
File Interpreter ABI Platform Actions
just_keypoints_cu13-0.1.0-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details for just_keypoints_cu13-0.1.0-cp312-abi3-win_amd64.whl
just_keypoints_cu13-0.1.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 abi3 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for just_keypoints_cu13-0.1.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Total release size: 14.3 MB

Release files / just_keypoints_cu13-0.1.0-cp312-abi3-win_amd64.whl

Download URL just_keypoints_cu13-0.1.0-cp312-abi3-win_amd64.whl
Size 7.1 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
8b8c0fa4ffd77ca24e39434b05878d855ef01ff0d9c2ee5dc6d214fd6f7d5a75
BLAKE2b-256 checksum
How to use checksums
6c22df430d6b7b4dd3a6dd843108255405d799ff68d204a6f654f52867c148e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Release files / just_keypoints_cu13-0.1.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL just_keypoints_cu13-0.1.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 7.2 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
88f6fda9a66e68f24b24f1d14cd341dfeb27617a8ba20c5ed277cfd3f4cb2d8f
BLAKE2b-256 checksum
How to use checksums
16f40b37ca9a58e0efed7bcffdc36b26eb8d8e9739c33e92c4ec9bdd9a982795
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Security for just-keypoints-cu13 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for just_keypoints_cu13-0.1.0-cp312-abi3-win_amd64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page