Solves for the rigid transform between an object's coordinate frame and the came
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.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://medien.halowerk.com/v1/oss-opencv-landmark-camera-pose
| Category | Image and media |
|---|---|
| Provider host | medien.halowerk.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 0 from 0 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-25 | valid payment request | 402 | $0.002 | 1231 ms |
Example input (from the provider)
{
"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"
}
Promised output schema (from the provider)
{
"$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"