Thing > Annotation > Region > Polygon


Definition A polygon in an image or video. This is a two-dimensional object so if this occurs in a video it will be anchored to a particular frame or time point in the video.
URI http://mmif.clams.ai/0.3.1/vocabulary/Polygon

Metadata

Metadata from Region

Property Type Description
unit String The unit used to determine boundaries. For text regions this is typically *offsets* to indicate character offsets, for images this is could be *pixels*, and for audio or video streams *seconds*, *milliseconds*, *timestamps* or *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
coordinates List of pairs The coordinates of the polygon. [Required]
timePoint ID 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]