Image to Ndarray (DP_ITN)
This function creates an image array
This function converts an image from a URL to a JSON array
Sample Request
Parameter Details
Image to Ndarray
POST
https://autogon.ai/api/v1/engine/start
Request Body
Name | Type | Description |
---|---|---|
project_id* | int | current project ID |
parent_id* | int | parent block ID |
block_id* | int | current block ID |
function_code* | String | block's function code |
args* | object | block arguments |
target_size* | array | The target size of the image array |
image_url* | String | Path to uploaded image |
rescale | boolean | specifies wether the image array should be scaled between 0-1 Default: |
Last updated