v1
latestOpenAPI 3.0.32026-07-26451985.7 KBdepth-estimation
Predict object distances from a camera using depth estimation models for robotics, AR, and autonomous vehicles
post/models/v2/vinvino02/glpn-nyu
Request body
Example request
{
"url": "https://as1.ftcdn.net/v2/jpg/03/03/55/82/1000_F_303558268_YNUQp9NNMTE0X4zrj314mbWcDHd1pZPD.jpg",
"base64": "data:image/jpg;base64,...BASE_64_GOES_HERE (Only use this is you are not using a url)"
}Response
Successful depth-estimation response.
Example response
{
"output": {
"depth_png": "iVBORw0KGgoAAAANSUhE...",
"formatted_predicted_depth_array": [
[
0,
1,
2
],
[
0,
1,
2
],
[
0,
1,
2
]
]
}
}