{"id":17207353,"url":"https://github.com/abdus/face-rekognition","last_synced_at":"2026-02-22T02:03:50.290Z","repository":{"id":206557431,"uuid":"716677611","full_name":"abdus/face-rekognition","owner":"abdus","description":"Face Detection and Recognition using AWS Rekognition","archived":false,"fork":false,"pushed_at":"2023-11-10T18:44:56.000Z","size":3583,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T11:12:38.792Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abdus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-11-09T16:30:09.000Z","updated_at":"2023-11-09T16:34:53.000Z","dependencies_parsed_at":"2023-11-10T19:47:43.349Z","dependency_job_id":null,"html_url":"https://github.com/abdus/face-rekognition","commit_stats":null,"previous_names":["abdus/face-rekognition"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/abdus/face-rekognition","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdus%2Fface-rekognition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdus%2Fface-rekognition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdus%2Fface-rekognition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdus%2Fface-rekognition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abdus","download_url":"https://codeload.github.com/abdus/face-rekognition/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdus%2Fface-rekognition/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29703256,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T23:35:04.139Z","status":"online","status_checked_at":"2026-02-22T02:00:08.193Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T02:45:16.178Z","updated_at":"2026-02-22T02:03:45.270Z","avatar_url":"https://github.com/abdus.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform AWS Face Recognition Infrastructure\n\nWhen uploading images to S3 bucket, make sure to follow this folder structure.\nThe lambda function is configured to take the parent directory as individual's\nname.\n\n```\n.\n– individual-1-name/\n-— 1.jpg\n-— 2.jpg\n-— 3.jpg\n– individual-2-name/\n-— 1.jpg\n-— 2.jpg\n-— 3.jpg\n```\n\n---\n\nThis Terraform code is designed to create an AWS infrastructure for a face\nrecognition application. It includes the setup of an S3 bucket, AWS Lambda\nfunction, DynamoDB table, and AWS Rekognition collection. Below are the key\ncomponents and how they are configured:\n\n## Prerequisites\n\nBefore using this Terraform code, make sure you have the following\nprerequisites:\n\n- AWS CLI installed and configured with the necessary credentials.\n- Terraform CLI installed on your local machine.\n\n## Usage\n\n1. Clone the repository to your local machine.\n2. Run `terraform init` to initialize the Terraform environment.\n3. Customize variables to suit your requirements.\n4. Run `terraform apply` to create the AWS infrastructure based on the specified configurations.\n\n## Components\n\n### AWS S3 Bucket\n\nAn S3 bucket is created with a unique name generated using the `random_pet`\nresource. The bucket is configured with private access controls and Bucket\nOwnership Controls with \"BucketOwnerPreferred.\"\n\n### AWS Lambda Function\n\nA Lambda function is created, packaged as a ZIP file from the `lambda`\ndirectory. The function has permissions to read/write to the S3 bucket, and its\nexecution is triggered by new S3 object creations. The Lambda function is\nassociated with an IAM role.\n\n### DynamoDB Table\n\nA DynamoDB table is created with a primary key and optional TTL (Time to Live)\nfor data expiration.\n\n### AWS Rekognition Collection\n\nAn AWS Rekognition collection is created, allowing you to index faces for\nrecognition.\n\n## Configuration\n\nYou can customize the following configuration options in `variables.tf`:\n\n- `aws_profile`: The AWS CLI profile to use for authentication.\n- `aws_region`: The AWS region where the resources will be created.\n- `tags`: Tags to be applied to various resources for better organization.\n\n## Cleanup\n\nAfter you are done using the infrastructure, you can run `terraform destroy` to\nremove all the created resources. Be cautious, as this will permanently delete\nthe configured resources.\n\nFor more details about the specific configurations and resource details, please\nrefer to the respective Terraform resource blocks in the code.\n\nPlease make sure you have reviewed and understood the Terraform code and its\nimplications before applying it to your AWS account.\n\nChatGPT2 / 2\n\nCertainly! Here's a short README file for the provided Terraform code:\nFace Recognition Infrastructure Deployment\n\nThis Terraform configuration automates the setup of an AWS infrastructure for\nface recognition services.\n\n## Required Providers:\n\n1. Terraform Version: ~\u003e 1.5\n2. AWS: Source: hashicorp/aws (version: ~\u003e 5.19)\n3. Random: Source: hashicorp/random (version: ~\u003e 3.5.1)\n4. AWSCC: Source: hashicorp/awscc (version: ~\u003e 0.1)\n5. Archive: Source: hashicorp/archive (version: ~\u003e 2.4.0)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdus%2Fface-rekognition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdus%2Fface-rekognition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdus%2Fface-rekognition/lists"}