Estimate 6D pose
Locate named objects in 3D: get each one's position and orientation in the camera frame.
Authorization
AuthorizationheaderrequiredBearer sk-orb-v1-…, your API key, or a free test key (sk-orb-test-…; no account? get one withPOST /sandbox/keys).
Request body
JSON, with Content-Type: application/json.
modelstringrequiredThe pose model to run. The models for this endpoint are listed below.
imagestringrequiredThe image, base64 JPEG or PNG (a
data:URL works too). Under 4 MB of base64.objectstringThe object to locate, by name or mesh id. Send
objectorobjects.objectsstring[]Several objects, up to 16.
depthstringA depth image of the same view.
intrinsicsnumber[4][fx, fy, cx, cy]in pixels of the image (fx, fy > 0).meshesobjectCAD models by object name, for model-based estimators:
{ "mug": { format, data, units? } }withformat"ply"or"obj",datathe file as base64, andunits"m"(default) or"mm". Under 2 MB of base64 together.boxesobjectWhere each object is in the image, by object name (e.g. from detect):
[x0, y0, x1, y1]in pixels.
Response
idstringUnique id of this call, e.g.
pos_48213. It matches the call in your Activity dashboard.modelstringThe model that answered.
backendstring"http": the real model ran on a GPU."simulated": stand-in output of the same shape, as test keys get.sandboxbooleantruewhen the call was made with a test key: the output is simulated, nothing ran on a GPU and nothing was charged. Absent otherwise.posesobject[]One per object found, in the camera frame.
Show 4 child attributes
objectstringWhich object.
scorenumberConfidence, 0–1.
translationnumber[3][x, y, z]in meters.rotationnumber[4]Quaternion
[qx, qy, qz, qw].
usageobjectWhat the call cost.
Show 2 child attributes
cost_usdnumberCharged to your credits, in US dollars.
latency_msintegerTime the model took, in milliseconds.
Errors
The errors every endpoint shares: invalid input, keys, credits and cold starts. See Errors.
Models
1 live model for /pose. Each page has a ready-made request.
1 more is coming soon. See the models page.