{"id":18547767,"url":"https://github.com/bluepeter/aws-lambda-rekognition","last_synced_at":"2025-04-09T21:31:53.213Z","repository":{"id":79017992,"uuid":"147897721","full_name":"bluepeter/aws-lambda-rekognition","owner":"bluepeter","description":"Node.js Lambda invocation, via S3 trigger, of AWS Rekognition for facial recognition.","archived":false,"fork":false,"pushed_at":"2018-09-13T23:46:41.000Z","size":40,"stargazers_count":12,"open_issues_count":0,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T10:44:41.290Z","etag":null,"topics":["aws","aws-lambda","aws-lambda-node","aws-rekognition","aws-s3","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bluepeter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-08T03:30:12.000Z","updated_at":"2022-11-29T06:20:38.000Z","dependencies_parsed_at":"2023-04-09T06:49:04.864Z","dependency_job_id":null,"html_url":"https://github.com/bluepeter/aws-lambda-rekognition","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluepeter%2Faws-lambda-rekognition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluepeter%2Faws-lambda-rekognition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluepeter%2Faws-lambda-rekognition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluepeter%2Faws-lambda-rekognition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bluepeter","download_url":"https://codeload.github.com/bluepeter/aws-lambda-rekognition/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248114747,"owners_count":21050103,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["aws","aws-lambda","aws-lambda-node","aws-rekognition","aws-s3","nodejs"],"created_at":"2024-11-06T20:31:15.823Z","updated_at":"2025-04-09T21:31:53.193Z","avatar_url":"https://github.com/bluepeter.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS Lambda + Rekognition\n\nThis project shows you how to setup an S3 trigger whenever an image is added to\nan S3 bucket. The trigger will invoke a Lambda function. This Lambda function\nwill call AWS Rekognition, and output the results in the same S3 bucket as a\nJSON file.\n\n## Screenshots\n\n![Screenshot](https://user-images.githubusercontent.com/2158187/45521780-63028900-b774-11e8-891b-6d6f2a6a1c01.png)\n![Screenshot](https://user-images.githubusercontent.com/2158187/45521781-63028900-b774-11e8-80c1-6f9fdf1a9df4.png)\n![Screenshot](https://user-images.githubusercontent.com/2158187/45521779-63028900-b774-11e8-8075-993191ce9074.png)\n\n## How to use\n\n1. Clone this repo!\n2. `yarn` to build everything.\n3. Go to AWS Console.\n4. Create a Node.js 8.10 Lambda function called \"rekognize\" with dummy\n   Javascript. When you create the function, add a Role giving full access to\n   CloudWatch, Rekognition, and S3. Bump up the timeout to 30 seconds.\n5. `yarn run deploy` to deploy our code to this new Lambda function!\n6. Go to your S3 bucket. We are going to add a trigger so that our\n   function fires whenever a `png` image is added. Click the \"Properties\" tab.\n   Expand the \"Events\" panel. Add a Lambda trigger that should look like this:\n   ![Screenshot](https://user-images.githubusercontent.com/2158187/45250485-e80b1f80-b2e8-11e8-988b-07fe25212e7d.png)\n7. Test it! Upload a png image to the S3 bucket. In a moment or so, you will\n   see a JSON file with the results. Cool!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbluepeter%2Faws-lambda-rekognition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbluepeter%2Faws-lambda-rekognition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbluepeter%2Faws-lambda-rekognition/lists"}