Skip to content

segmentationForTrack

Query

Segment an image within the polygon defined by a track’s detection

Response

Returns SegmentationResponse

Arguments

NameTypeDescription
trackIdID!

The ID of the track

timestampDateTimeOffset!

The time of the track’s detection. Will use the nearest detection if there isn’t one at this exact timestamp

optionsSegmentationOptionsInput

Optional segmentation parameters.

Example

query segmentationForTrack(
$trackId: ID!,
$timestamp: DateTimeOffset!,
$options: SegmentationOptionsInput
) {
segmentationForTrack(
trackId: $trackId,
timestamp: $timestamp,
options: $options
) {
results {
segment {
__typename
}
regionIndex
}
}
}