# Path: sunds/typing.py



from typing import Optional
from sunds.typing import Json
import numpy as np
import sunds
import tensorflow_datasets as tfds

# Additional TFDS metadata
VERSION = tfds.core.Version('1.0.0')
RELEASE_NOTES = {
    '1.0.0': 'Initial version',
}
CONFIGS = [
    tfds.core.BuilderConfig(name=scene_name) for scene_name in SCENE_NAMES
]
DATASET_INFO_KWARGS = dict(
    description="""Nerf synthetic dataset.""",
    homepage='https://github.com/bmild/nerf',
    citation="""
    @inproceedings{mildenhall2020nerf,
      title={NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis},
      author={Mildenhall, Ben and Srinivasan, Pratul P and Tancik, Matthew and Barron, Jonathan T and Ramamoorthi, Ravi and Ng, Ren},
      booktitle={European Conference on Computer Vision},
      pages={405--421},
      year={2020},
      organization={Springer}
    }
    """,
)
DL_URL = 'https://drive.google.com/uc?id=18JxhpWD-4ZmuFKLzKlAw-w5PpzZxXOcG&export=download'

IMG_SHAPE = (800, 800)

CAMERA_NAME = 'default_camera'



# Path: sunds/typing.py



# Path: sunds/datasets/nerf_synthetic/builder_utils.py
from typing import Optional
from sunds.typing import Json
import numpy as np
import sunds
import tensorflow_datasets as tfds


# Additional TFDS metadata
VERSION = tfds.core.Version('1.0.0')
RELEASE_NOTES = {
    '1.0.0': 'Initial version',
}
CONFIGS = [
    tfds.core.BuilderConfig(name=scene_name) for scene_name in SCENE_NAMES
]
DATASET_INFO_KWARGS = dict(
    description="""Nerf synthetic dataset.""",
    homepage='https://github.com/bmild/nerf',
    citation="""
    @inproceedings{mildenhall2020nerf,
      title={NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis},
      author={Mildenhall, Ben and Srinivasan, Pratul P and Tancik, Matthew and Barron, Jonathan T and Ramamoorthi, Ravi and Ng, Ren},
      booktitle={European Conference on Computer Vision},
      pages={405--421},
      year={2020},
      organization={Springer}
    }
    """,
)
DL_URL = 'https://drive.google.com/uc?id=18JxhpWD-4ZmuFKLzKlAw-w5PpzZxXOcG&export=download'

IMG_SHAPE = (800, 800)

CAMERA_NAME = 'default_camera'



def camera_intrinsics(scene_data: Json) -> sunds.specs_utils.CameraIntrinsics: