Pose Estimation

%!s()

Request parameters

Description
Parameter’s name Parameter’s type Description
out_filters string Optional. Comma separated list of model outputs to return.
input image Input image
curl-form
curl -X POST \
    -H 'Authorization: Bearer YOUR_USER_TOKEN' \
    -H 'Content-Type: multipart/form-data' \
    -F "out_filters=output" \
    -F "input=input_value" \
    https://dev.kibernetika.io/api/v0.2/workspace/kuberlab-demo/serving/tf-pose-estimation/form-data
curl-json
curl -X POST \
    -H 'Authorization: Bearer YOUR_USER_TOKEN' \
    -H 'Content-Type: application/json' \
    -d '
      {
        "input": "base64_encoded_input_contents"
      }
    '
    https://dev.kibernetika.io/api/v0.2/workspace/kuberlab-demo/serving/tf-pose-estimation/proxy
python
import kclient
from kclient.utils import client, request


cl = client.with_bearer_token("YOUR_USER_TOKEN")
serving_api = kclient.api.serving_api.ServingApi(cl)

data = request.make(files={
    "input": "/path/to/input_file",
})
resp = serving_api.serving_proxy(data, "kuberlab-demo", "tf-pose-estimation")

Response format

{
  "output": [
    "base64_encoded_string"
  ]
}