Hello all,
Is the replicator composer limited to a simple camera/stereo?
I am asking, because I want to generate pointclouds from a lidar sensor that are further used for training my model. Is there any opportunity to do so?
Please give me support for my project!
Thanks in advance,
Best Regards,
Christof
Hi Christof, you can create multiple cameras that look at different place of the scene, and create each render product for each of the camera, and attach the writer to these render products. Currently Composer does not support this, but you can use replicator code to achieve this:
camera1 = rep.create.camera()
camrea2 = rep.create.camera()
render_product1 = rep.create.render_product(camera1, resolution=(500, 500))
render_product2 = rep.create.render_product(camera2, resolution=(500, 500))
# Initialize and attach writer
writer = rep.WriterRegistry.get("BasicWriter")
writer.initialize(output_dir="_output", rgb=True, bounding_box_2d_tight=True)
writer.attach([render_product1, render_product2])
1 Like