Go to MPAI-OSD V1.5 Data Types

Definition
Functional Requirements
Syntax
Semantics
Conformance Testing
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:

  1. Rectangle (2D): 3 vertices not on a straight line.
  2. 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.5/data/BoundingBox.json

4      Semantics

Table 1 – Semantics of the Bounding Box Data Type

Label
Description
Header Bounding Box Header – Standard “OSD‑BBX‑Vx.y”.
MInstanceID Identifier of the M-Instance (Virtual Space) where this Bounding Box is or is intended to be located.
UEnvironmentID Identifier of the U-Environment (Real Space) where this Bounding Box is or is intended to be located.
BoundingBoxID Unique identifier of this Bounding Box.
BoundingBoxTime Time this Bounding Box was produced.
BoundingBoxSpaceTime Space/Time where/when this Bounding Box is located.
Dimensions Bounding Box dimensionality: “2D” (rectangle) or “3D” (right parallelepiped).
RightParallelepiped 3D bounding volume defined by 4 vertices not on a plane. Present only when Dimensions = 3D.
VisualData The Visual Object surrounded by the Bounding Box. May be absent.
BBXContentFormats[] Format(s) of the Visual Object content within this Bounding Box. Each item specifies either a 2D or 3D Visual format.
DataXMData MPAI-PTF Data Exchange Metadata providing provenance, authorisation, legal, security, and confidence information associated with this Bounding Box in a trusted data exchange context.
DescrMetadata Human-readable descriptive metadata of the Bounding Box (plain text, max 2048 characters).

5      Conformance Testing

A Data instance conforms with Bounding Box (OSD‑BBX) if:

  1. The Data validates against the Bounding Box’s JSON Schema.
  2. All Data in the Bounding Box’s JSON Schema:
    1. Have the specified type.
    2. Validate against their JSON Schemas.
    3. Conform with their Data Qualifiers.

6      Performance Assessment

Not part of this specification.

Go to MPAI-OSD V1.5 Data Types