There's a few different ways you can detect faces in Amazon Rekognition with Android Studio. The first way is to use Amazon's own face detection tool, called Amazon Rekognition. This tool is part of Amazon's cloud services, and it's pretty accurate. You can find more information about it here:
https://aws.amazon.com/rekognition/
To use Amazon Rekognition, you'll need an Amazon account, and you'll need to create a project in Amazon Rekognition. Once you've done that, you can follow the instructions here to use the tool:
https://docs.aws.amazon.com/rekognition/latest/dg/getting-started.html
Another way to detect faces in images is to use the Google Cloud Vision API. The Google Cloud Vision API is a bit more complicated to use than Amazon Rekognition, but it's also more accurate. You can find more information about the Google Cloud Vision API here:
https://cloud.google.com/vision/
To use the Google Cloud Vision API, you'll need a Google account, and you'll need to enable the API in the Google Cloud Console. Once you've done that, you can follow the instructions here to use the API:
https://cloud.google.com/vision/docs/face-detection
I hope that helps! Let me know if you have any other questions.