Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 636 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 636 Bytes

rekognition-find-my-son

保育園の膨大な写真リストから、我が子が写っている写真を抽出するスクリプト。 Amazon Rekognitionを利用しています。

Find picures with a person from many pictures. Using Amazon Rekognition API.

Usage

  1. Create .env
AWS_REGION=ap-northeast-1
AWS_ACCESS_KEY_ID=AKI**********
AWS_SECRET_ACCESS_KEY=****************

The access key must have the permission of Amazon Rekognition.

  1. Save target images to images directory

  2. Save source image to root directory

  3. ruby compare_faces.rb ./source.jpg

  4. Result images will be saved in results directory