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-cu12 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| just_keypoints_cu12-0.1.0-cp312-abi3-win_amd64.whl | CPython 3.12 | abi3 | Windows x86-64 | Details for just_keypoints_cu12-0.1.0-cp312-abi3-win_amd64.whl |
| just_keypoints_cu12-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_cu12-0.1.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
Total release size: 15.8 MB
Release files / just_keypoints_cu12-0.1.0-cp312-abi3-win_amd64.whl
| Download URL | just_keypoints_cu12-0.1.0-cp312-abi3-win_amd64.whl |
|---|---|
| Size | 7.9 MB |
| Tags | CPython 3.12 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
ba79307b0d2b73e730aa402bf75d9ccd040ab82bc3decc91dba8f92469f05918
|
|
BLAKE2b-256 checksum How to use checksums |
b3b805f708dcb7d15a384fd9e9c8b3b3e2590cf2bfb50e238dd877ef5721c798
|
| 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 logRelease files / just_keypoints_cu12-0.1.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | just_keypoints_cu12-0.1.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 7.9 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 |
c519abc300a3f4bf6bbf0bf313c39cc04e14fe0f659755d7edb0deaa6ad54ae2
|
|
BLAKE2b-256 checksum How to use checksums |
4b319d8f53b7b0c98c1adacfbd8d07c165dea8397221e11124be17e4e62f9fa3
|
| 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 logSecurity for just-keypoints-cu12 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.
Attestation for just_keypoints_cu12-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 logA 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.