{"slug":"medien-halowerk-com-v1-oss-opencv-lens-undistort-camera-pose-259f59","title":"Lens undistortion plus camera pose estimation in one paid call (OpenCV 4.13)","host":"medien.halowerk.com","method":"POST","resource":"https://medien.halowerk.com/v1/oss-opencv-lens-undistort-camera-pose","category":"image","description":"Lens undistortion plus camera pose estimation in one paid call (OpenCV 4.13). Send the same fields as /v1/oss-opencv-calibrated-lens-undistort and /v1/oss-opencv-landmark-camera-pose: grayscale image, camera matrix, five distortion coefficients, 3D object points and their pixel positions. Returns th","price_listed":0.0035,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"camera_matrix":[[45,0,7.5],[0,45,7.5],[0,0,1]],"distortion":[0.2,0.01,0,0,0],"image":[[0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30],[1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31],[2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32],[3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33],[4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34],[5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35],[6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36],[7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37],[8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38],[9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39],[10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40],[11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41],[12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42],[13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43],[14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44],[15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45]],"image_points":[[4.089635,0.052715],[15.28601,1.247651],[13.939933,12.229251],[3.055042,11.534801],[4.17277,5.477471],[11.507841,7.529774],[8.221936,0.786991],[11.242104,10.102808]],"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":{"additionalProperties":false,"description":"Union of the input fields of /v1/oss-opencv-calibrated-lens-undistort (image, camera_matrix, distortion) and /v1/oss-opencv-landmark-camera-pose (object_points, image_points, camera_matrix, distortion). camera_matrix and distortion are shared. image_points are pixel positions in the original (distorted) image. Numeric JSON arrays only; maximum 32768 pixels, 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":2,"minimum":-2,"type":"number"},"maxItems":5,"minItems":5,"type":"array"},"image":{"items":{"items":{"maximum":255,"minimum":0,"type":"integer"},"maxItems":256,"minItems":16,"type":"array"},"maxItems":256,"minItems":16,"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":["image","camera_matrix","distortion","object_points","image_points"],"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":{},"type":{"type":"string"}},"required":["type","example"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Lens undistortion plus camera pose estimation in one paid call (OpenCV 4.13). Send the same fields as /v1/oss-opencv-calibrated-lens-undistort and /v1/oss-opencv-landmark-camera-pose: grayscale image, camera matrix, five distortion coefficients, 3D object points and their pixel positions. Returns the undistorted image plus rotation, translation and reprojection RMSE of the camera pose (solvePnP). 0.0035 USDC instead of 0.004 for both single calls.","last_updated":"2026-11-24T10:07:43.042Z","schemes":["exact"]}