Skip to content

CreateDetectionInput

Input

This type is used to create a new Detection

Input fields

NameTypeDescription
trackIdID!

The id of the track that governs the detection

timestampDateTimeOffset!

The time at which the detection occurred.

positionGeoJSONPointInput

A GeoJSON point that represents the location of the detection in the world.

polygonGeoJSONPolygonInput

A GeoJSON polygon that represents the two dimensional bounds of the detection in its captured video or image.

directionFloat

The direction, in degrees, of the detection in the world. Direction is measured clockwise from north, so 0 is north, 90 is east, 180 is south and 270 is west. The direction should be between 0 and 360 degrees.

metadataJSON

Arbitrary metadata associated with the detection.