Load an image and identify the main regions through segmentation.
A possible solution:
More robust techniques are required for coping with all the possible situations. In the following images, reflections and textured faces make the problem harder.
The acquisition set-up plays an important role for the success of the segmentation. Coping with non-uniform illumination, reflections, and lens distortions may require significant efforts.