Hand detection for contactless biometrics identification