{"uid":"cap_J4YMrinWiLWiZbxguGldf","slug":"halowerk-opencv-stereo-rig-calibration-56d845f9","name":"HALOWERK OpenCV Stereo Rig Calibration","description":"Given paired calibration observations and the intrinsics of both cameras, this computes the rotation and translation between them and derives everything a stereo pipeline needs downstream: rectification transforms for both views, both projection matrices, and the disparity-to-depth mapping. The RMS error in pixels says how well the rig geometry actually fits the data.","url":"https://medien.halowerk.com/v1/oss-opencv-stereo-rig-calibrate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType"],"properties":{"type":{"const":"http"},"method":{"const":"POST"},"bodyType":{"const":"json"},"schemaUrl":{"type":"string","format":"uri"},"exampleUrl":{"type":"string","format":"uri"}},"additionalProperties":true},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string"},"example":{}}}},"additionalProperties":true},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uYcfe67QX2oKR1cPu86zB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes rotation, translation, rectification transforms, projection matrices, and disparity-to-depth mapping from paired stereo camera calibration observations and intrinsics","exampleAgentPrompt":"I have paired calibration observations and the intrinsic matrices for both cameras in my stereo rig — can you run the stereo calibration to get the rotation and translation between them, plus the rectification transforms, projection matrices, and the disparity-to-depth Q matrix?","exampleUseCases":[{"title":"Stereo depth camera rig setup","prompt":"I've collected checkerboard calibration images from my left and right cameras and have both sets of intrinsics ready — please calibrate the stereo rig and give me the rectification transforms and disparity-to-depth mapping so I can start computing depth maps."},{"title":"Robot binocular vision calibration","prompt":"My robot has two cameras mounted on its head and I need to calibrate them as a stereo pair. I have the paired observation data and both camera intrinsics — can you compute the rotation, translation, and projection matrices between them and tell me the RMS reprojection error?"},{"title":"Validate stereo rig geometry quality","prompt":"I just recalibrated my stereo camera setup and have the paired calibration point data along with intrinsics for both cameras. Can you run the stereo calibration and report the RMS pixel error so I can tell whether the rig geometry is good enough for accurate 3D reconstruction?"}],"resultDescription":"Returns the rotation matrix and translation vector between the two cameras, rectification transforms for both views, projection matrices for both cameras in the rectified coordinate space, the 4x4 disparity-to-depth mapping matrix (Q), and the RMS reprojection error in pixels indicating how well the computed geometry fits the calibration observations.","failureModes":["Insufficient or poorly distributed calibration points leading to degenerate solutions","Mismatched number of observations between left and right cameras","Invalid or ill-conditioned intrinsic matrices causing numerical instability","Too few calibration image pairs to robustly estimate extrinsics","High RMS error indicating poor calibration data quality or incorrect correspondences","Malformed JSON body or missing required fields returning a 400 error","Payment failure via x402 protocol returning a 402 response"],"whenToPreferThis":"Choose this endpoint when you need a fully hosted, pay-per-call stereo rig calibration service backed by OpenCV without managing your own OpenCV environment. It is ideal for pipelines that already have camera intrinsics computed and need to derive the inter-camera geometry and rectification parameters. Prefer it over self-hosted solutions when you want instant results at low cost per call ($0.003 USDC) and do not want to maintain calibration infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:05:20.950Z","isFirstParty":false,"canonicalSlug":"halowerk-opencv-stereo-rig-calibration-56d845f9"}