Using AWS Rekognition AWS SDK for JavaScript v3, implemented in NodeJS/ExpressJS as backend and ReactJS for front end
Face Detection: The AWS Rekognition DetectFaces will return bounding box coordinates and we will use that value to crop the face, once crop will convert it to base64.
Face Compare: Not yet implemented
- NodeJS
- AWS Credentials
- make sure you setup the aws credential
- Windows: C:\Users\Profile.aws\credentials
- this contain, aws_access_key_id and aws_secret_access_key
- Windows: C:\Users\Profile.aws\credentials
- or follow this: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html
- make sure you setup the aws credential
- Clone this repository
- copy the .env.copy and rename it to .env
- change the value of AWS_REGION and PORT if there's any
- in face-rekognition-app directory
- run
npm install
- after running,
cd client
and runnpm install
- run the app
- for backend: in face-rekognition-app directory run
npm run start
- for frontend: in face-rekognition-app
cd client
andnpm run start
NOTE: You can delete the client if you only wanted the backend part