AWS image recognition application to match a look-alike face in a single or group photo.
- Install Node.js - version 8.x
- In root and root/client directory, run below command - -> npm install
You need to set up your AWS security credentials before the sample code is able to connect to AWS. You can do this by creating a file named "credentials" at ~/.aws/ (C:\Users\USER_NAME.aws\ for Windows users) and saving the following lines in the file:
[default]
aws_access_key_id = <your access key id>
aws_secret_access_key = <your secret key>
- npm start (Start the server on 5555 port.)
- Hit http://localhost:5555/ in the browser.
- Browse the base image in the "Browse Image" form - Will see the preview upon selecting an image from the system.
- Hit upload button - The application will call aws rekognition API to match the face.
- If the face is matched successfully, then you'll see that the matched image.
- Otherwise it will show the error/warning message.