SegmentationProcessor predicts foreground mask for an image.
Retrieve input image on which segmentation can be applied.
Retrieve segmented image mask.
Initialize and load the tensorflow model.
Predicts the foreground on the input image.