SegNet is a convolutional neural network (CNN) architecture designed for semantic segmentation in computer vision. Semantic segmentation is…