blenderproc.python.modules.writer.Hdf5Writer module

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

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

For each key frame merges all registered output files into one hdf5 file.

Configuration:

Parameter Description Type
append_to_existing_output If true, the names of the output hdf5 files will be chosen in a way such that there are no collisions with already existing hdf5 files in the output directory. Default: False bool
compression The compression technique that should be used when storing data in a hdf5 file. string
delete_temporary_files_afterwards True, if all temporary files should be deleted after merging. Default value: True. bool
stereo_separate_keys If true, stereo images are saved as two separate images *_0 and *_1. Default: False (stereo images are combined into one np.array (2, …)). bool
run()[source]