blenderproc.python.modules.writer.CameraStateWriter module

class blenderproc.python.modules.writer.CameraStateWriter.CameraStateWriter(config)[source]

Bases: blenderproc.python.modules.writer.WriterInterface.WriterInterface

Writes the state of all camera poses to a numpy file, if there was no hdf5 file to add them to.

Attributes per object:

Parameter Description Type
fov_x The horizontal FOV. float
fov_y The vertical FOV. float
half_fov_x Half of the horizontal FOV. float
half_fov_y Half of the vertical FOV. float
run()[source]

Collect camera and camera object and write them to a file.