Advanced level hands-on tutorial to create synthetic datasets with frames that are semantically segmented and can be used to train deep learning datasets. With Custom Depth Stencil in Unreal Engine 5.
https://dev.epicgames.com/community/learning/tutorials/3DLV/semantic-segmentation-with-custom-depth-in-unreal-engine-5