Fingerprint segmentation based on an AdaBoost classifier