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 0.1.0

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

Source distribution (sdist)

Source distribution for just-keypoints 0.1.0
File Size Uploaded Provenance Actions
just_keypoints-0.1.0.tar.gz 4.6 MB With provenance Details for just_keypoints-0.1.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for just-keypoints 0.1.0
File Interpreter ABI Platform Actions
just_keypoints-0.1.0-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details for just_keypoints-0.1.0-cp312-abi3-win_amd64.whl
just_keypoints-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-0.1.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
just_keypoints-0.1.0-cp312-abi3-macosx_13_0_arm64.whl CPython 3.12 abi3 macOS 13.0+ ARM64 Details for just_keypoints-0.1.0-cp312-abi3-macosx_13_0_arm64.whl

Total release size: 18.4 MB

Release files / just_keypoints-0.1.0.tar.gz

Download URL just_keypoints-0.1.0.tar.gz
Size 4.6 MB
Tags Source
SHA-256 checksum
How to use checksums
ea16ce120800d1200bbcd9eefab1c5ee7058a070457932995cb48201324530cf
BLAKE2b-256 checksum
How to use checksums
f6f25e94e32231050a6959de7b2403c5e301719ff1284e73407a0804b5f95c5d
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-0.1.0-cp312-abi3-win_amd64.whl

Download URL just_keypoints-0.1.0-cp312-abi3-win_amd64.whl
Size 4.7 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
3f4fad613b1a9d31bd9b461c6b4a81e4cd0333ae04e31308ccf79813a90fe82a
BLAKE2b-256 checksum
How to use checksums
4e3b64e8f8be2dfe942401447cf287495b47b8c43e7f96627c323d5053ea0805
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-0.1.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL just_keypoints-0.1.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 4.5 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
59ad027c8078feef08ba8b9e9d6571b70aab7441c9c31cb53b1bc82d20df7395
BLAKE2b-256 checksum
How to use checksums
ac23d25308cb3bd2c972245518f90794be5e0b60ab2716c2994280933b5f7e2f
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-0.1.0-cp312-abi3-macosx_13_0_arm64.whl

Download URL just_keypoints-0.1.0-cp312-abi3-macosx_13_0_arm64.whl
Size 4.6 MB
Tags CPython 3.12 abi3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
c32ad9259c494a82635a755fd916b53f0898dbfa28deaeebc6eca83177ce0bd0
BLAKE2b-256 checksum
How to use checksums
090357cca6155ca737f45a6611fff68ad16030d7cc969e1140b80cfe1fb8f495
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 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

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for just_keypoints-0.1.0.tar.gz

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