API Reference
Depth estimation
POST
/
v1
/
images
/
depth-estimation
Depth estimation
curl --request POST \
--url https://api.synapsai.cloud/v1/images/depth-estimation \
--header 'Content-Type: application/json' \
--data '
{
"inputs": "<string>",
"parameters": {},
"timeout": 123
}
'import requests
url = "https://api.synapsai.cloud/v1/images/depth-estimation"
payload = {
"inputs": "<string>",
"parameters": {},
"timeout": 123
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"predicted_depth": [
123
],
"depth": "<string>"
}Body
application/json
Request to estimate per-pixel depth from images.
⌘I
Depth estimation
curl --request POST \
--url https://api.synapsai.cloud/v1/images/depth-estimation \
--header 'Content-Type: application/json' \
--data '
{
"inputs": "<string>",
"parameters": {},
"timeout": 123
}
'import requests
url = "https://api.synapsai.cloud/v1/images/depth-estimation"
payload = {
"inputs": "<string>",
"parameters": {},
"timeout": 123
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"predicted_depth": [
123
],
"depth": "<string>"
}