blenderproc.python.modules.loader.VisNormalImage module¶
-
class
blenderproc.python.modules.loader.VisNormalImage.
VisNormalImage
(config)[source]¶ Bases:
blenderproc.python.modules.main.Module.Module
- This module can visualize a .hdf5 container containing a normal and a distance image and also the campose,
this can be used while debugging to make sure that the resulting distance and normal image are as intended.
- Necessary keys in the .hdf5 container are:
- distance: (X, Y) or (X, Y, 3)
- normal: (X, Y, 3)
- campose: string written by the CameraStateWriter
8Configuration*:
Parameter Description Type path_to_hdf5 The file path to the hdf5 container. string max_distance Maximum distance to be considered. Default: 24. float normal_length Length of the normal edge in the scene. Default: 0.1. float