OmniScenes / omniscenes_region_format.md
wpengz's picture
Upload folder using huggingface_hub
2985a48 verified
  • region_name

    • json_path: string
    • region_type: string
    • region_boundary_type: string (“polygon” or “rectangle”)
    • region_boundary_info:
      • polygon
        • Type: list of coordinate pairs
        • Structure:
          [
            [float, float],
            [float, float],]
          
      • rectangle
        • Type: object
        • Fields:
          • width: float
          • length: float
    • objects: list of object entries
      • Each entry:
        • object_name: string
        • category: string
        • translation: [float, float, float]
        • zxy_rotation: [float, float, float]
        • size: [float, float, float]
        • scale: [float, float, float]
  • note:

    • The asset’s default forward direction is along the positive X‑axis.
    • Euler angles type is Intrinsic Z–X–Y. You can use Trimesh package to get world-to-obj transform:
      • rotation_matrix = trimesh.transformations.euler_matrix(zxy_rotation[0], zxy_rotation[1], zxy_rotation[2], axes='rzxy')