Skip to content

Detection

Object

Detections are the lowest level unit of computer vision primitive within Worlds. A detection represents a single frame of a recognized object, which then has additional data associated with it, including its position, track, and interactions with zones and geofences.

Fields

FieldTypeDescription
idID!

The unique identifier for the detection.

trackTrack!

The track that is associated with the detection.

timestampDateTimeOffset!

The time at which the detection occurred.

frameFrame

Information about the video frame in which this detection was captured

polygonGeoJSONPolygon

A GeoJSON polygon that represents the spatial bounds of the detection.

positionGeoJSONPoint

A GeoJSON point that represents the location of the detection in the world. This value may be null if the camera that captured the detection hasn’t been calibrated. It may also be null if the location cannot be calculated (i.e the detected object is in the sky).

zones[Zone!]!

A list of Zones with which the detection intersects.

geofences[Geofence!]!

A list of Geofences with which the detection intersects.

metadataJSON

Arbitrary metadata associated with the detection.

createdAtDateTimeOffset

Timestamp that the detection was created. May be delayed from the timestamp due to post-processing video feeds or other latency.

updatedAtDateTimeOffset

Timestamp that the detection was most recently updated.

directionFloat

The direction in which the detection is moving, represented in degrees.

geofenceIds Deprecated[ID!]!

A list of geofence unique identifiers with which the detection intersects.

Deprecated: geofenceIds is deprecated. Use geofences.id instead

zoneIds Deprecated[ID!]!

A list of zone unique identifiers with which the detection intersects.

Deprecated: zoneIds is deprecated. Use zones.id instead

globalTrackId DeprecatedString

The global track id that governs the detection, if any.

Deprecated: globalTrackId is deprecated. Use track.id instead

deviceId DeprecatedID

The unique identifier of the device where the detection occurred.

Deprecated: deviceId is deprecated. Use track.dataSourceId.id instead

tag DeprecatedString!

The class label of the detected object, i.e person, car, truck, etc.

Deprecated: tag is deprecated. Use track.tag instead