Skip to content
Back to skills

Programmatic Api

ASecurity

"Guide Python users who want to call Matching, SuperPoint,

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
toolspythonapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill programmatic-api --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Programmatic Api?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Programmatic Api
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-programmatic-api-arex-skill/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-programmatic-api-arex-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: programmatic-api
description: "Guide Python users who want to call Matching, SuperPoint,
  SuperGlue, and the geometry/plotting utilities directly."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# Programmatic API

Use this sub-skill when you want to write Python code against the model classes and helper utilities instead of using the batch CLI or live demo.

## In scope

- `models.Matching(config={})` composition and `forward(data)` behavior.
- `models.SuperPoint` and `models.SuperGlue` configs, weights, and output contracts.
- Direct inference on grayscale float tensors with shape `1x1xHxW`.
- Output tensors, unmatched id `-1`, and confidence interpretation.
- Utility functions for image loading, resizing, pose estimation, pose error, AUC, and plotting.
- CPU/CUDA device choice, `eval()`, and `torch.no_grad()` inference.

## Route elsewhere

- Batch image-pair CLI, pair files, `.npz` dumps, and pose-evaluation tables -> [pair-matching-evaluation](../pair-matching-evaluation/SKILL.md)
- Webcam, IP camera, video, or directory demo and visualization controls -> [live-demo-and-visualization](../live-demo-and-visualization/SKILL.md)
- Training code, retraining, or checkpoint editing -> unavailable in this repo

## Bundled references

- [API reference](references/api-reference.md)
- [Workflow patterns](references/workflows.md)
- [Troubleshooting](references/troubleshooting.md)

## Bundled helpers

- `scripts/inspect_superglue_api.py`
- `scripts/run_matching_api_smoke.py`

## Practical rule of thumb

Keep the model and inputs on the same device, use `model.eval()` plus `torch.no_grad()`, and start with a single image pair unless you have already normalized feature lengths across the batch.

The shipped checkpoints live with the repo, so the helpers do not download anything.

Preserve the repository license terms when reusing the bundled code or checkpoints.

Files in this skill

  • SKILL.md1.9 KB
  • references/api-reference.md4 KB
  • references/troubleshooting.md2.5 KB
  • references/workflows.md3.8 KB
  • scripts/inspect_superglue_api.py4.8 KB
  • scripts/run_matching_api_smoke.py7.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.