🚀 AWS Rekognition Setup

📋 Setup Instructions

  1. Create an AWS account and access the IAM console
  2. Create a new IAM user with programmatic access
  3. Attach the "AmazonRekognitionFullAccess" policy to the user
  4. Copy the Access Key ID and Secret Access Key
  5. Update the config.php file with your credentials
  6. Click "Initialize AWS Rekognition" below
  7. Register user faces using the registration page

🔧 Configuration

Update these values in config.php:

AWS_ACCESS_KEY_ID = 'your_access_key_id_here'
AWS_SECRET_ACCESS_KEY = 'your_secret_access_key_here'
AWS_REGION = 'us-east-1' (or your preferred region)

💰 AWS Pricing

Free Tier: 5,000 images per month for the first 12 months

After Free Tier: $0.001 per image processed

Face Storage: $0.01 per 1,000 face metadata stored per month

Much more cost-effective than Azure Face API!

✅ AWS Rekognition Benefits

  • No approval required - works immediately
  • High accuracy face recognition
  • Scalable and reliable
  • Simple REST API integration
  • Face collection management
  • Real-time face matching

🔑 IAM Policy (Advanced)

For production use, create a custom policy with minimal permissions:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "rekognition:CreateCollection",
        "rekognition:ListCollections",
        "rekognition:IndexFaces",
        "rekognition:SearchFacesByImage"
      ],
      "Resource": "*"
    }
  ]
}