Thing
>
Annotation
>
Region
>
Polygon
>
BoundingBox
Definition
|
A rectangular object in an image or video. At the moment it does not have features that would not make any sense on its parent type Polygon so technically we can do without BoundingBox, but it was introduced because the term is in widespread use.
|
URI
|
http://mmif.clams.ai/0.4.1/vocabulary/BoundingBox
|
Metadata
Metadata from Region
Property
|
Type
|
Description
|
timeUnit
|
String
|
Specifies which unit of time the measurement is based. Can be *seconds* or *milliseconds*, or in case of annotations on a VideoDocument, *frames*.
|
Metadata from Annotation
Property
|
Type
|
Description
|
document
|
ID
|
The identifier of the document that the annotation is over. This has to be defined either at the metadata level, in which case it has scope over all annotations of the same type in a view, or at the instance level, in which it has scope over just the single annotation.
|
Properties
Property
|
Type
|
Description
|
boxType
|
String
|
The type of BoundingBox. Mostly used for text boxes where we use the value text.
|
Properties from Polygon
Property
|
Type
|
Description
|
coordinates
|
List of pairs
|
The coordinates of the polygon, taking the top-left of the image as the origin (0,0). Unit used to measure the distance is the number of pixels.
[Required]
|
timePoint
|
Integer
|
If on a video stream, the TimePoint that the BoundingBox occurs in.
|
Properties from Annotation
Property
|
Type
|
Description
|
document
|
ID
|
The identifier of the document that the annotation is over.
|
Properties from Thing
Property
|
Type
|
Description
|
id
|
ID
|
A unique identifier for the annotation or document. Uniqueness is relative to the view the annotation is in or the list of documents at the top level of a MMIF file.
[Required]
|