Example of semantic segmentation in Keras
Generated data: random ellipse with random color on random color background and with random noise added.
Result: 1st images is input image, 2nd image is ground truth mask, 3rd image is probability, 4th image is probability thresholded at 0.5.
Generated data: first class is random ellipse with random color and second class is random rectangle with random color on random color background and with random noise added.
Result: 1st images is input image, 2nd image is ground truth mask, 3rd image is probability, 4th image is probability thresholded at 0.5.