api.assets.IntrinsicParams#

class datagen.api.assets.IntrinsicParams(*, projection: Projection = Projection.PERSPECTIVE, resolution_width: ConstrainedIntValue = 512, resolution_height: ConstrainedIntValue = 512, fov_horizontal: ConstrainedIntValue = 8, fov_vertical: ConstrainedIntValue = 8, sensor_width: float = 15, wavelength: Wavelength = Wavelength.VISIBLE)#

The set of intrinsic parameters that define a camera’s internal workings.

For use with the Camera object.

fov_horizontal: int#

The angle covered by the camera lens in the horizontal direction, in degrees.

Min: 5

Max: 180

fov_vertical: int#

The angle covered by the camera lens in the vertical direction, in degrees.

Min: 5

Max: 180

projection: Projection#

The basic type of projection that is used by the camera.

resolution_height: int#

The height component of the camera’s image resolution, in pixels.

Min: 64

Max: 4096

resolution_width: int#

The width component of the camera’s image resolution, in pixels.

Min: 64

Max: 4096

sensor_width: float#

The horizontal width of the camera sensor, measured in millimeters.

Currently this setting does not have any effect on the output image.

wavelength: Wavelength#

The type of light collected by the camera sensor (such as visible spectrum or near-infrared).