github.com/instill-ai/component@v0.16.0-beta/pkg/operator/image/v0/config/tasks.json (about)

     1  {
     2    "TASK_DRAW_CLASSIFICATION": {
     3      "instillShortDescription": "Draw classification result on the image.",
     4      "input": {
     5        "description": "Input",
     6        "instillUIOrder": 0,
     7        "properties": {
     8          "category": {
     9            "$ref": "https://raw.githubusercontent.com/instill-ai/component/b530a7ac8558f38f45bd116c503b1e2a31a4f92b/schema.json#/$defs/instill_types/classification/properties/category",
    10            "instillAcceptFormats": [
    11              "string"
    12            ],
    13            "instillUpstreamTypes": [
    14              "value",
    15              "reference",
    16              "template"
    17            ]
    18          },
    19          "image": {
    20            "description": "Input image",
    21            "instillAcceptFormats": [
    22              "image/*"
    23            ],
    24            "instillUIOrder": 0,
    25            "instillUpstreamTypes": [
    26              "reference"
    27            ],
    28            "title": "Image",
    29            "type": "string"
    30          },
    31          "score": {
    32            "$ref": "https://raw.githubusercontent.com/instill-ai/component/b530a7ac8558f38f45bd116c503b1e2a31a4f92b/schema.json#/$defs/instill_types/classification/properties/score",
    33            "instillAcceptFormats": [
    34              "number",
    35              "integer"
    36            ],
    37            "instillUpstreamTypes": [
    38              "value",
    39              "reference"
    40            ]
    41          },
    42          "showScore": {
    43            "description": "Show model confidence score on each instance",
    44            "instillAcceptFormats": [
    45              "boolean"
    46            ],
    47            "instillUIOrder": 0,
    48            "instillUpstreamTypes": [
    49              "value",
    50              "reference"
    51            ],
    52            "title": "Show Score",
    53            "type": "boolean"
    54          }
    55        },
    56        "required": [
    57          "image",
    58          "category",
    59          "score"
    60        ],
    61        "title": "Input",
    62        "type": "object"
    63      },
    64      "output": {
    65        "description": "Output",
    66        "instillEditOnNodeFields": [
    67          "image"
    68        ],
    69        "instillUIOrder": 0,
    70        "properties": {
    71          "image": {
    72            "description": "Output image",
    73            "instillFormat": "image/jpeg",
    74            "instillUIOrder": 0,
    75            "title": "Image",
    76            "type": "string"
    77          }
    78        },
    79        "required": [
    80          "image"
    81        ],
    82        "title": "Output",
    83        "type": "object"
    84      }
    85    },
    86    "TASK_DRAW_DETECTION": {
    87      "instillShortDescription": "Draw detection result on the image.",
    88      "input": {
    89        "description": "Input",
    90        "instillUIOrder": 0,
    91        "properties": {
    92          "image": {
    93            "description": "Input image",
    94            "instillAcceptFormats": [
    95              "image/*"
    96            ],
    97            "instillUIOrder": 0,
    98            "instillUpstreamTypes": [
    99              "reference"
   100            ],
   101            "title": "Image",
   102            "type": "string"
   103          },
   104          "objects": {
   105            "$ref": "https://raw.githubusercontent.com/instill-ai/component/b530a7ac8558f38f45bd116c503b1e2a31a4f92b/schema.json#/$defs/instill_types/detection/properties/objects",
   106            "instillAcceptFormats": [
   107              "array:structured/detection_object"
   108            ],
   109            "instillUpstreamTypes": [
   110              "reference"
   111            ]
   112          },
   113          "showScore": {
   114            "description": "Show model confidence score on each instance",
   115            "instillAcceptFormats": [
   116              "boolean"
   117            ],
   118            "instillUIOrder": 0,
   119            "instillUpstreamTypes": [
   120              "value",
   121              "reference"
   122            ],
   123            "title": "Show Score",
   124            "type": "boolean"
   125          }
   126        },
   127        "required": [
   128          "image",
   129          "objects"
   130        ],
   131        "title": "Input",
   132        "type": "object"
   133      },
   134      "output": {
   135        "description": "Output",
   136        "instillEditOnNodeFields": [
   137          "image"
   138        ],
   139        "instillUIOrder": 0,
   140        "properties": {
   141          "image": {
   142            "description": "Output image",
   143            "instillFormat": "image/jpeg",
   144            "instillUIOrder": 0,
   145            "title": "Image",
   146            "type": "string"
   147          }
   148        },
   149        "required": [
   150          "image"
   151        ],
   152        "title": "Output",
   153        "type": "object"
   154      }
   155    },
   156    "TASK_DRAW_INSTANCE_SEGMENTATION": {
   157      "instillShortDescription": "Draw instance segmentation result on the image.",
   158      "input": {
   159        "description": "Input",
   160        "instillUIOrder": 0,
   161        "properties": {
   162          "image": {
   163            "description": "Input image",
   164            "instillAcceptFormats": [
   165              "image/*"
   166            ],
   167            "instillUIOrder": 0,
   168            "instillUpstreamTypes": [
   169              "reference"
   170            ],
   171            "title": "Image",
   172            "type": "string"
   173          },
   174          "objects": {
   175            "$ref": "https://raw.githubusercontent.com/instill-ai/component/b530a7ac8558f38f45bd116c503b1e2a31a4f92b/schema.json#/$defs/instill_types/instance_segmentation/properties/objects",
   176            "instillAcceptFormats": [
   177              "array:structured/instance_segmentation_object"
   178            ],
   179            "instillUpstreamTypes": [
   180              "reference"
   181            ]
   182          },
   183          "showScore": {
   184            "description": "Show model confidence score on each instance",
   185            "instillAcceptFormats": [
   186              "boolean"
   187            ],
   188            "instillUIOrder": 0,
   189            "instillUpstreamTypes": [
   190              "value",
   191              "reference"
   192            ],
   193            "title": "Show Score",
   194            "type": "boolean"
   195          }
   196        },
   197        "required": [
   198          "image",
   199          "objects"
   200        ],
   201        "title": "Input",
   202        "type": "object"
   203      },
   204      "output": {
   205        "description": "Output",
   206        "instillEditOnNodeFields": [
   207          "image"
   208        ],
   209        "instillUIOrder": 0,
   210        "properties": {
   211          "image": {
   212            "description": "Output image",
   213            "instillFormat": "image/jpeg",
   214            "instillUIOrder": 0,
   215            "title": "Image",
   216            "type": "string"
   217          }
   218        },
   219        "required": [
   220          "image"
   221        ],
   222        "title": "Output",
   223        "type": "object"
   224      }
   225    },
   226    "TASK_DRAW_KEYPOINT": {
   227      "instillShortDescription": "Draw keypoint result on the image.",
   228      "input": {
   229        "description": "Input",
   230        "instillUIOrder": 0,
   231        "properties": {
   232          "image": {
   233            "description": "Input image",
   234            "instillAcceptFormats": [
   235              "image/*"
   236            ],
   237            "instillUIOrder": 0,
   238            "instillUpstreamTypes": [
   239              "reference"
   240            ],
   241            "title": "Image",
   242            "type": "string"
   243          },
   244          "objects": {
   245            "$ref": "https://raw.githubusercontent.com/instill-ai/component/b530a7ac8558f38f45bd116c503b1e2a31a4f92b/schema.json#/$defs/instill_types/keypoint/properties/objects",
   246            "instillAcceptFormats": [
   247              "array:structured/keypoint_object"
   248            ],
   249            "instillUpstreamTypes": [
   250              "reference"
   251            ]
   252          },
   253          "showScore": {
   254            "description": "Show model confidence score on each instance",
   255            "instillAcceptFormats": [
   256              "boolean"
   257            ],
   258            "instillUIOrder": 0,
   259            "instillUpstreamTypes": [
   260              "value",
   261              "reference"
   262            ],
   263            "title": "Show Score",
   264            "type": "boolean"
   265          }
   266        },
   267        "required": [
   268          "image",
   269          "objects"
   270        ],
   271        "title": "Input",
   272        "type": "object"
   273      },
   274      "output": {
   275        "description": "Output",
   276        "instillEditOnNodeFields": [
   277          "image"
   278        ],
   279        "instillUIOrder": 0,
   280        "properties": {
   281          "image": {
   282            "description": "Output image",
   283            "instillFormat": "image/jpeg",
   284            "instillUIOrder": 0,
   285            "title": "Image",
   286            "type": "string"
   287          }
   288        },
   289        "required": [
   290          "image"
   291        ],
   292        "title": "Output",
   293        "type": "object"
   294      }
   295    },
   296    "TASK_DRAW_OCR": {
   297      "instillShortDescription": "Draw OCR result on the image.",
   298      "input": {
   299        "description": "Input",
   300        "instillUIOrder": 0,
   301        "properties": {
   302          "image": {
   303            "description": "Input image",
   304            "instillAcceptFormats": [
   305              "image/*"
   306            ],
   307            "instillUIOrder": 0,
   308            "instillUpstreamTypes": [
   309              "reference"
   310            ],
   311            "title": "Image",
   312            "type": "string"
   313          },
   314          "objects": {
   315            "$ref": "https://raw.githubusercontent.com/instill-ai/component/b530a7ac8558f38f45bd116c503b1e2a31a4f92b/schema.json#/$defs/instill_types/ocr/properties/objects",
   316            "instillAcceptFormats": [
   317              "array:structured/ocr_object"
   318            ],
   319            "instillUpstreamTypes": [
   320              "reference"
   321            ]
   322          },
   323          "showScore": {
   324            "description": "Show model confidence score on each instance",
   325            "instillAcceptFormats": [
   326              "boolean"
   327            ],
   328            "instillUIOrder": 0,
   329            "instillUpstreamTypes": [
   330              "value",
   331              "reference"
   332            ],
   333            "title": "Show Score",
   334            "type": "boolean"
   335          }
   336        },
   337        "required": [
   338          "image",
   339          "objects"
   340        ],
   341        "title": "Input",
   342        "type": "object"
   343      },
   344      "output": {
   345        "description": "Output",
   346        "instillEditOnNodeFields": [
   347          "image"
   348        ],
   349        "instillUIOrder": 0,
   350        "properties": {
   351          "image": {
   352            "description": "Output image",
   353            "instillFormat": "image/jpeg",
   354            "instillUIOrder": 0,
   355            "title": "Image",
   356            "type": "string"
   357          }
   358        },
   359        "required": [
   360          "image"
   361        ],
   362        "title": "Output",
   363        "type": "object"
   364      }
   365    },
   366    "TASK_DRAW_SEMANTIC_SEGMENTATION": {
   367      "instillShortDescription": "Draw semantic segmentation result on the image.",
   368      "input": {
   369        "description": "Input",
   370        "instillUIOrder": 0,
   371        "properties": {
   372          "image": {
   373            "description": "Input image",
   374            "instillAcceptFormats": [
   375              "image/*"
   376            ],
   377            "instillUIOrder": 0,
   378            "instillUpstreamTypes": [
   379              "reference"
   380            ],
   381            "title": "Image",
   382            "type": "string"
   383          },
   384          "showScore": {
   385            "description": "Show model confidence score on each instance",
   386            "instillAcceptFormats": [
   387              "boolean"
   388            ],
   389            "instillUIOrder": 0,
   390            "instillUpstreamTypes": [
   391              "value",
   392              "reference"
   393            ],
   394            "title": "Show Score",
   395            "type": "boolean"
   396          },
   397          "stuffs": {
   398            "$ref": "https://raw.githubusercontent.com/instill-ai/component/b530a7ac8558f38f45bd116c503b1e2a31a4f92b/schema.json#/$defs/instill_types/semantic_segmentation/properties/stuffs",
   399            "instillAcceptFormats": [
   400              "array:structured/semantic_segmentation_stuff"
   401            ],
   402            "instillUpstreamTypes": [
   403              "reference"
   404            ]
   405          }
   406        },
   407        "required": [
   408          "image",
   409          "stuffs"
   410        ],
   411        "title": "Input",
   412        "type": "object"
   413      },
   414      "output": {
   415        "description": "Output",
   416        "instillEditOnNodeFields": [
   417          "image"
   418        ],
   419        "instillUIOrder": 0,
   420        "properties": {
   421          "image": {
   422            "description": "Output image",
   423            "instillFormat": "image/jpeg",
   424            "instillUIOrder": 0,
   425            "title": "Image",
   426            "type": "string"
   427          }
   428        },
   429        "required": [
   430          "image"
   431        ],
   432        "title": "Output",
   433        "type": "object"
   434      }
   435    }
   436  }