fun predict(): PredictResult
Predicts the foreground on the input image.
Return PredictResult value of type int.