In Isaac sim image dataset generation how can I configure the image size (height and width)

I am able to generate the images from custom fbx using below command

./start_data_generation.sh --datadir=$DATA_DIR --samples=$TRAINING_SAMPLES --tests=$TRAINING_TESTS
But the images which are generating are in different size than what I expected.

I want to know how can I configure that setting inside the ./start_data_generation.sh

Hi @sk.ahmed401

It will help if you can share your script. However, I can explain how you can configure image size in the offline data generator script: https://isaac.gitlab-master-pages.nvidia.com/omni_isaac_sim/app_isaacsim/app_isaacsim/sample_syntheticdata.html#offline-dataset-generation

To configure the image size, update the width and height parameters in the RENDER_CONFIG as you can see in python_samples/syntheticdata/offline_generation/generator.py

# Default rendering parameters
RENDER_CONFIG = {
    "renderer": "RayTracedLighting",
    "samples_per_pixel_per_frame": 12,
    "headless": True,
    "experience": f'{os.environ["EXP_PATH"]}/omni.isaac.sim.python.kit',
    "width": 1024,
    "height": 800,
}
1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.