You can read the complete documentation on Amazon Rekognition and the provided SDK's on aws.amazon.com.
This code example uses their PHP SDK and requires Composer to be installed locally.
- Run
composer install
- Copy the
.env.example
file to.env
and and fill in your AWS credentials
Simply run php index.php
, your images with face detection will be saved in /dataset-output/amazon-rekognition
.