At present I have been using Isaac’s synthetic data helper to generate ground truth data. I would also like to capture the normal maps of objects in the scene. I got the impression this would be supported due to the preview available in the GUI. It looks like the API has been setup to do this but it is missing from the configuration dictionary as a valid option. So far I have dug a little deeper and tried to call it directly using:
normals = self._sd_helper.sensor_helper_lib.get_normals(self._viewport)
But this yields an error:
ValueError: cannot reshape array of size 0 into shape (0,0,newaxis)
Almost like the buffer was empty when the request was made. Am I missing something about how to use this? Is there a more standard way?
Any help would be much appreciated