| 1 Definition | 2 Functional Requirements | 3 Syntax |
| 4 Semantics | 5 Conformance Testing | 6 Performance Assessment |
1 Definition
A Data Type representing a rectangle or right parallelepiped containing a 2D or 3D Visual Object, respectively.
2 Functional Requirements
The rectangle or right parallelepiped is defined, respectively, by
- Rectangle (2D): 3 vertices not on a straight line.
- Right Parallelepiped (3D): 4 vertices not on a plane.
The Visual Object (Content) may be absent. If present, it may fit exactly in the rectangle/parallelepiped and have the same axes of the rectangle/parallelepiped.
3 Syntax
https://schemas.mpai.community/OSD/V1.4/data/BoundingBox.json
4 Semantics
| Label | Description |
| Header | Bounding Box Header |
| – Standard-BoundingBox | The characters “OSD-BBX-V” |
| – Version | Major version – 1 or 2 characters |
| – Dot-separator | The character “.” |
| – Subversion | Minor version – 1 or 2 characters |
| MInstanceID | Identifier of M-Instance |
| BoundingBoxID | Identifier of Bounding Box. |
| Dimension | One of 2D, 3D |
| VisualData | Visual Data in the Bounding Box. |
|
VisualDataQualifier
|
Qualifier of Visual Data in the Bounding Box. |
| DescrMetadata | Descriptive Metadata |
5 Conformance Testing
A Data instance Conforms with Bounding Box (OSD-BBX) if:
- The Data validates against the Bounding Box’s JSON Schema.
- All Data in the Bounding Box’s JSON Schema
- Have the specified type
- Validate against their JSON Schemas
- Conform with their Data Qualifiers if present.