camera.RoomCamera

Generates a camera within a room.

Requires a generator.Room to have already been initialized.

{
  "modules":
  [
    {
      "module": "generator.Room",
      "config": {}
    },
    {
      "module": "camera.RoomCamera",
      "config": {
        "num": 3,
        "height": [1.2, 1.8],
        "initial_pose": "center",
        "room_name": ["livingroom", "corridor", "bedroom"],
        "cam_type": "PANO"
      }
    }
  ]
}

Room Camera Parameters

  • "initial_pose": Defines the initial pose of the camera in the room. Can be one of the following:

    • "center"

    • "corner"

    • "random"

  • "cam_type": Defines the type of camera to be used. Can be one of the following:

    • "PERSP"

    • "ORTHO"

    • "PANO"

  • "room_name" : List room names declared in the generator.Room module. Defines the possible rooms in which the camera can be placed.

Last updated