Overview
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.
Protocol
x402 (POST)
Price
$0.0020
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
media/images
Provider
HALOWERK Medien
Indexed
2026-10-25 17:35:27
Health
Status
healthy
Latency (p50)
68ms
Uptime (30d)
100.0%
Reliability Score
97/100
Last Checked
2026-10-31 07:18:33
Last Healthy
2026-10-31 07:18:33
Consecutive Failures
0
Input Schema
{
"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
{
"example": {
"operation": "landmark-camera-pose",
"result": {
"reprojection_rmse_pixels": 4.263256414560601e-14,
"rotation": [
[
0.9806970717062694,
-0.10070347779723854
],
[
0.07862356762266362,
0.9879206084997457
]
],
"translation": [
0.029999999999999995,
-0.019999999999999993
],
"warnings": [
"The transform maps object coordinates into camera coordinates; ambiguous scenes may admit other poses."
]
},
"runtime_ms": 0.696,
"upstream": {
"binary_sha256": "1fd4eb220f9986baa0ea0492cbcbedf85b868e792cbcac5f69e10d067a2f956c",
"components": [
"solvePnP",
"Rodrigues"
],
"numpy_version": "2.5.0",
"package_version": "4.13.0.92",
"project": "OpenCV",
"version": "4.13.0"
}
},
"type": "json"
}