All Projects → mrsimonfletcher → nuclear-codes

mrsimonfletcher / nuclear-codes

Licence: other
Electron and React facial rekognition app

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to nuclear-codes

aws-batch-image-processor
Simple sample of AWS Batch
Stars: ✭ 25 (+25%)
Mutual labels:  aws-rekognition
ReadToMe
No description or website provided.
Stars: ✭ 51 (+155%)
Mutual labels:  aws-polly
ex aws rekognition
Package to use AWS Rekognition service
Stars: ✭ 21 (+5%)
Mutual labels:  aws-rekognition
aws.polly
Client for AWS Polly
Stars: ✭ 24 (+20%)
Mutual labels:  aws-polly
aws-rekognition
A Laravel Package/Facade for the AWS Rekognition API
Stars: ✭ 20 (+0%)
Mutual labels:  aws-rekognition
aws-content-analysis
This project is a fully automated video search engine which uses AWS AI services for computer vision and speech recognition to catalog video archives.
Stars: ✭ 67 (+235%)
Mutual labels:  aws-rekognition
denoised-smoothing
Provably defending pretrained classifiers including the Azure, Google, AWS, and Clarifai APIs
Stars: ✭ 82 (+310%)
Mutual labels:  aws-rekognition

Nuclear Codes

What is nuclear codes?

Nuclear Codes is a simple facial recognition mac app. Heavily inspired by Donald Trump taking office in 2017 and him gaining access to the nuclear codes. The app takes a snapshot of the person in front of the screen, compares it with an image that is allowed to access the nuclear codes, either lets them view the codes or not.

This was a simple task to develop further skills in React and a chance to try out the AWS AI services.

What is the stack?

  • ElectronJS - Used for the mac interface.
  • React - My JS framework of choice.
  • AWS Rekognition - used for comparing the given face with the "presidents" face.
  • AWS Polly - used for the voice prompts.

How can I try it out?

  1. Create an AWS account and make sure your user has S3, Rekognition and Polly read and write access. See this and this if you are unsure how to get this set up.

  2. In the AWS console create an S3 bucket with the name of rekognitionnn-{mysecret}. Change mysecret to be unique to your account.

  3. Upload your "president" image. Make sure you change the president.jpg file in the repo to be a clear picture of your face. Then from the root directory, run:

  s3 cp ./president.jpg s3://{your_bucket_name}/nuclear-codes/president.jpg

(Make sure your CLI is using the details for the account you are using for this application. I use Named Profiles to do this.)

  1. Copy the aws_config.json.example into aws_config.json and update the details to be the security credential of the user you are using in the aws_config.json file.
aws cp aws_config.json.example aws_config.json
  1. The bucket name is kept as a constant in our AWSUtil module. So go over there and make sure you update this line with the bucket name you created in point two.

  2. That should be everything, lets install the dependencies and spin up the app.

npm install && npm build && npm run app
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].