{"slug":"medien-halowerk-com-v1-oss-opencv-landmark-camera-pose-e168d5","title":"Solves for the rigid transform between an object's coordinate frame and the came","host":"medien.halowerk.com","method":"POST","resource":"https://medien.halowerk.com/v1/oss-opencv-landmark-camera-pose","category":"image","description":"Solves for the rigid transform between an object's coordinate frame and the camera, given 3D landmark coordinates, where those landmarks appear in the image, and the camera matrix and distortion. Returns the rotation and translation together with the reprojection RMSE, so a caller can tell a well-co","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":1231,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"camera_matrix":[[600,0,320],[0,620,240],[0,0,1]],"distortion":[0,0,0,0,0],"image_points":[[274.82442322658574,138.0607836446957],[422.81782331735394,154.68270558004707],[405.3335625225262,304.75471173217716],[260.9427911556416,295.394646129259],[275.70309278688563,212.1756002318462],[373.35347266512593,240.4095743603427],[329.5830012375891,147.92099403909572],[369.79289732313043,275.787735327383]],"object_points":[[-0.1,-0.1,0],[0.1,-0.1,0],[0.1,0.1,0],[-0.1,0.1,0],[-0.08,0,0.1],[0.1,0.04,0.2],[0,-0.1,0.15],[0.07,0.08,0.09]]},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"description":"Numeric JSON arrays only. Additionally enforce equal paired dimensions, nondegenerate geometry, maximum 32768 pixels/image, 131072 scalars/array, and 1048576 encoded bytes. No paths or network resources.","properties":{"camera_matrix":{"items":{"items":{"maximum":1000000000,"minimum":-1000000000,"type":"number"},"maxItems":3,"minItems":3,"type":"array"},"maxItems":3,"minItems":3,"type":"array"},"distortion":{"items":{"maximum":1000000000,"minimum":-1000000000,"type":"number"},"maxItems":5,"minItems":5,"type":"array"},"image_points":{"items":{"items":{"maximum":1000000000,"minimum":-1000000000,"type":"number"},"maxItems":2,"minItems":2,"type":"array"},"maxItems":2048,"minItems":6,"type":"array"},"object_points":{"items":{"items":{"maximum":1000000000,"minimum":-1000000000,"type":"number"},"maxItems":3,"minItems":3,"type":"array"},"maxItems":2048,"minItems":6,"type":"array"}},"required":["object_points","image_points","camera_matrix","distortion"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":false,"properties":{"operation":{"const":"landmark-camera-pose"},"result":{"additionalProperties":false,"properties":{"reprojection_rmse_pixels":{"minimum":0,"type":"number"},"rotation":{"items":{"items":{"type":"number"},"maxItems":3,"minItems":3,"type":"array"},"maxItems":3,"minItems":3,"type":"array"},"translation":{"items":{"type":"number"},"maxItems":3,"minItems":3,"type":"array"},"warnings":{"items":{"maxLength":1024,"type":"string"},"maxItems":8,"minItems":1,"type":"array"}},"required":["rotation","translation","reprojection_rmse_pixels","warnings"],"type":"object"},"runtime_ms":{"minimum":0,"type":"number"},"upstream":{"additionalProperties":false,"properties":{"binary_sha256":{"const":"1fd4eb220f9986baa0ea0492cbcbedf85b868e792cbcac5f69e10d067a2f956c"},"components":{"const":["solvePnP","Rodrigues","projectPoints"]},"numpy_version":{"const":"2.5.0"},"package_version":{"const":"4.13.0.92"},"project":{"const":"OpenCV"},"version":{"const":"4.13.0"}},"required":["project","version","package_version","binary_sha256","numpy_version","components"],"type":"object"}},"required":["operation","result","upstream","runtime_ms"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1231,"error":null}],"description_full":"Solves for the rigid transform between an object's coordinate frame and the camera, given 3D landmark coordinates, where those landmarks appear in the image, and the camera matrix and distortion. Returns the rotation and translation together with the reprojection RMSE, so a caller can tell a well-constrained pose from one that merely converged. This is the standard step for placing a known object in a scene or locating a camera against a known marker.","last_updated":"2026-10-25T16:42:56.597Z","schemes":["exact"]}