{"uid":"cap_vZKZ-9rLfNdRuWeAYpAah","slug":"halowerk-oss-opencv-paired-point-triangulate-ef080650","name":"HALOWERK OSS OpenCV Paired Point Triangulate","description":"Triangulates 3D positions from corresponding points in two calibrated views using the supplied projection matrices. Degenerate cases are reported honestly: a correspondence whose rays are near-parallel has no finite intersection, and it comes back as null with its position in the finite mask, instead of as an enormous coordinate that silently poisons whatever consumes it. That makes the result safe to feed into a fitting step without a sanity filter of your own.","url":"https://medien.halowerk.com/v1/oss-opencv-paired-point-triangulate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"left_points":{"type":"array","items":{"type":"array","items":{"type":"number","maximum":1000000000,"minimum":-1000000000},"maxItems":2,"minItems":2},"maxItems":2048,"minItems":1},"right_points":{"type":"array","items":{"type":"array","items":{"type":"number","maximum":1000000000,"minimum":-1000000000},"maxItems":2,"minItems":2},"maxItems":2048,"minItems":1},"left_projection":{"type":"array","items":{"type":"array","items":{"type":"number","maximum":1000000000,"minimum":-1000000000},"maxItems":4,"minItems":4},"maxItems":3,"minItems":3},"right_projection":{"type":"array","items":{"type":"array","items":{"type":"number","maximum":1000000000,"minimum":-1000000000},"maxItems":4,"minItems":4},"maxItems":3,"minItems":3}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__LChd-5zj3vuhqR3Ey5Oq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Triangulates 3D world positions from matched 2D point pairs in two calibrated camera views using their projection matrices, safely reporting degenerate near-parallel ray cases as null rather than spurious large coordinates.","exampleAgentPrompt":"I have matched 2D keypoints from my left and right stereo cameras — here are up to 50 point pairs and both 3x4 projection matrices. Triangulate their 3D world positions and flag any degenerate correspondences as null instead of returning garbage coordinates.","exampleUseCases":[{"title":"Stereo robot arm 3D localization","prompt":"I've got a stereo camera rig on my robot arm. Here are 30 matched feature point pairs from the left and right frames, plus both cameras' 3x4 projection matrices. Can you triangulate the 3D world positions of each point so I can plan the arm's motion?"},{"title":"Photogrammetry scene reconstruction","prompt":"I'm building a sparse 3D point cloud from a calibrated stereo camera pair. I have 200 matched SIFT correspondences and both projection matrices. Triangulate the 3D positions and tell me which ones are degenerate so I can exclude them before fitting my surface model."},{"title":"Augmented reality depth estimation","prompt":"For my AR overlay I need the real-world 3D coordinates of 15 tracked anchor points visible in both my left and right camera feeds. I have the 2D coordinates in each view and both projection matrices — can you triangulate their positions and mark any that can't be reliably resolved?"}],"resultDescription":"An array of 3D world coordinate triples (one per input correspondence), with degenerate near-parallel-ray cases returned as null and their indices identified in a finite mask, making the output safe to pipe directly into downstream fitting or optimization steps.","failureModes":["Mismatched array lengths between left_points and right_points returns an error","Malformed projection matrix (not 3x4) causes a validation error","All correspondences degenerate (all rays near-parallel) returns all nulls with empty finite mask","Points outside the valid numeric range (-1e9 to 1e9) are rejected","More than 2048 point pairs exceeds the maxItems limit and is rejected"],"whenToPreferThis":"Choose this endpoint when you need numerically safe stereo triangulation that explicitly marks degenerate cases as null rather than returning astronomically large but finite coordinates that would silently corrupt downstream fitting. Ideal for stereo vision pipelines, 3D scene reconstruction, photogrammetry, and robotics applications where you supply calibrated projection matrices and matched 2D correspondences and need reliable 3D positions without writing your own sanity filter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:05:04.346Z","isFirstParty":false,"canonicalSlug":"halowerk-oss-opencv-paired-point-triangulate-ef080650"}