You're looking at a specific version of this model. Jump to the model overview.
olumise /bbox-mask-generator:d5eed685
Input schema
The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
| Field | Type | Default value | Description |
|---|---|---|---|
| image |
string
|
Input image to create mask for
|
|
| bbox_json |
string
|
JSON string containing bbox coordinates from face detection. Format: {"bbox": [x1, y1, x2, y2], "label": "face", "confidence": 0.789}
|
|
| padding |
integer
|
10
Max: 50 |
Padding percentage to add around the face area
|
| mask_shape |
None
|
rectangle
|
Shape of the mask to generate
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'additionalProperties': {'format': 'uri', 'type': 'string'},
'title': 'Output',
'type': 'object'}