Generating segmented images along with normal images

I am working on generating images of the car interiors. I want to generate normal images and segmented images(instance/ label images) to train an AI model.
Now I need to know how to generate two different kind of images while the game view should show only the normal images.

I am thinking of using 2 different cameras and 2 different render targets. Can anyone guide me on this or if you have any better approach, kindly help me. Thanks a lot.