Text this: Face recognition with partial occlusions using weighing and image segmentation