File size: 1,010 Bytes
321aee7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Vision Inference Request",
  "type": "object",
  "required": ["inputs", "task"],
  "properties": {
    "inputs": {
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "object",
        "required": ["image_base64"],
        "properties": {
          "image_id": { "type": "string" },
          "image_base64": { "type": "string", "minLength": 1 },
          "metadata": { "type": "object" }
        },
        "additionalProperties": true
      }
    },
    "task": {
      "type": "string",
      "enum": ["object_segmentation", "depth_estimation"]
    },
    "parameters": {
      "type": "object",
      "properties": {
        "text_query": { "type": "string" },
        "confidence_threshold": {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        }
      },
      "additionalProperties": true
    }
  },
  "additionalProperties": true
}