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.1

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.1
File Interpreter ABI Platform Actions
just_keypoints_cu13-0.1.1-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details for just_keypoints_cu13-0.1.1-cp312-abi3-win_amd64.whl
just_keypoints_cu13-0.1.1-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 abi3 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for just_keypoints_cu13-0.1.1-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Total release size: 20.4 MB

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

Download URL just_keypoints_cu13-0.1.1-cp312-abi3-win_amd64.whl
Size 10.1 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
0fe38281bbd97bb75c6820414e48b76fd5d33d6d161ba826b60d35499a584c60
BLAKE2b-256 checksum
How to use checksums
629c04d67cae1d0d7db48075eb7bbf5ebc4cae513fa5970304f5e0bfa8028b24
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 20, 2026.

Transparency log

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

Download URL just_keypoints_cu13-0.1.1-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 10.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
943f6d2fae4b29b206f5eeb497df0a00007885e5de16015b0426909767fb66fd
BLAKE2b-256 checksum
How to use checksums
3d85c138c4d93672fc1c613f6321780c00b489d21cb7f8a748ab99711947561f
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 20, 2026.

Transparency log

Security for just-keypoints-cu13 0.1.1

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.1-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 20, 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