Skip to content
Fourohtwo

medien.halowerk.com/v1/oss-opencv-robust-planar-homography

Fits a 2D projective transform between two point sets with RANSAC at a caller-chosen reprojection threshold, and returns both the homography and the inlier mask. The mask is what makes this useful beyond a plain fit: bad correspondences are named rather than quietly averaged in, so a caller can re-run detection, drop a frame or raise an alarm. Suitable for document rectification, planar tracking a

BaseAnswering
POSThttps://medien.halowerk.com/v1/oss-opencv-robust-planar-homography

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://medien.halowerk.com/v1/oss-opencv-robust-planar-homography", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"reprojection_threshold":1,"source_points":[[5,10],[35,10],[70,10],[100,10],[5,50],[35,50],[70,50],[100,50],[5,90],[35,90],[70,90],[100,90]],"target_points":[[16.923842707814835,4.081632653061225],[51.986267778322706,4.61010299166258],[91.61041465766635,5.207328833172614],[124.52471482889733,5.703422053231939],[20.74074074074074,39.604938271604944],[55.47445255474452,39.61070559610705],[94.736842),
});
console.log(await res.json());

Example input

{"reprojection_threshold":1,"source_points":[[5,10],[35,10],[70,10],[100,10],[5,50],[35,50],[70,50],[100,50],[5,90],[35,90],[70,90],[100,90]],"target_points":[[16.923842707814835,4.081632653061225],[51.986267778322706,4.61010299166258],[91.61041465766635,5.207328833172614],[124.52471482889733,5.703422053231939],[20.74074074074074,39.604938271604944],[55.47445255474452,39.61070559610705],[94.736842

More from HALOWERK MedienProvider status