Interface FunctionCallRequest

FunctionCallRequest

interface FunctionCallRequest {
    cleanup?: boolean;
    conv_mask_to_poly?: boolean;
    convMaskToPoly?: boolean;
    function: string;
    job?: number;
    mapping?: { [key: string]: LabelMappingEntryRequest };
    max_distance?: number;
    task: number;
    threshold?: number;
}

Properties

cleanup?: boolean

Whether existing annotations should be removed

FunctionCallRequest

conv_mask_to_poly?: boolean

Convert mask shapes to polygons

FunctionCallRequest

convMaskToPoly?: boolean

Deprecated; use conv_mask_to_poly instead

FunctionCallRequest

function: string

The name of the function to execute

FunctionCallRequest

job?: number

The id of the job to be annotated

FunctionCallRequest

mapping?: { [key: string]: LabelMappingEntryRequest }

Label mapping from the model to the task labels

FunctionCallRequest

max_distance?: number

FunctionCallRequest

task: number

The id of the task to be annotated

FunctionCallRequest

threshold?: number

FunctionCallRequest