  The application of computer vision and machine learning methods in the field
of additive manufacturing (AM) for semantic segmentation of the structural
elements of 3-D printed products will improve real-time failure analysis
systems and can potentially reduce the number of defects by enabling in situ
corrections. This work demonstrates the possibilities of using physics-based
rendering for labeled image dataset generation, as well as image-to-image
translation capabilities to improve the accuracy of real image segmentation for
AM systems. Multi-class semantic segmentation experiments were carried out
based on the U-Net model and cycle generative adversarial network. The test
results demonstrated the capacity of detecting such structural elements of 3-D
printed parts as a top layer, infill, shell, and support. A basis for further
segmentation system enhancement by utilizing image-to-image style transfer and
domain adaptation technologies was also developed. The results indicate that
using style transfer as a precursor to domain adaptation can significantly
improve real 3-D printing image segmentation in situations where a model
trained on synthetic data is the only tool available. The mean intersection
over union (mIoU) scores for synthetic test datasets included 94.90% for the
entire 3-D printed part, 73.33% for the top layer, 78.93% for the infill,
55.31% for the shell, and 69.45% for supports.
