Class Frame (0.7.1)

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

NameDescription
time_offset google.protobuf.duration_pb2.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 google.protobuf.wrappers_pb2.FloatValue
The leftmost coordinate of the bounding box.
x_max google.protobuf.wrappers_pb2.FloatValue
The rightmost coordinate of the bounding box.
y_min google.protobuf.wrappers_pb2.FloatValue
The topmost coordinate of the bounding box.
y_max google.protobuf.wrappers_pb2.FloatValue
The bottommost coordinate of the bounding box.

Inheritance

builtins.object > proto.message.Message > Frame