Class Frame (0.4.0)

Frame(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The fields xMin, xMax, yMin, and yMax refer to a bounding box, i.e. the rectangle over the video frame pinpointing the found AnnotationSpec. The coordinates are relative to the frame size, and the point 0,0 is in the top left of the frame.

Attributes

Name Description
time_offset `.duration.Duration`
A time (frame) of a video in which the object has been detected. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end.
x_min `.wrappers.FloatValue`
The leftmost coordinate of the bounding box.
x_max `.wrappers.FloatValue`
The rightmost coordinate of the bounding box.
y_min `.wrappers.FloatValue`
The topmost coordinate of the bounding box.
y_max `.wrappers.FloatValue`
The bottommost coordinate of the bounding box.

Inheritance

builtins.object > proto.message.Message > Frame