HPCC Conference Raspberry Pi competition project
Create the S3 buckets and the DynamoDB instance using Terraform. The file main.tf defines the cloud infrastructure needed.
> terraform plan
> terraform apply
This application uses Python 3. You should not be using Python 2 anymore, EOL 2020.
There are many ways to setup AWS credentials, most typical is environment variables and .aws/config files. Credentials are expected to already be sourced.
Required pip modules
- boto3
- Pillow
- IMDbPy
- gpiozero
- picamera
- pygame
- google_images_download
> python main.py
- Rekognition
- Polly
- DynamoDB
- Route 53
- S3
- power on the unit with AC or battery pack
- boots into command prompt
- Linux init.d system runs python script "main.py"
- speaker will emit a ready signal when the system is initialized
- object is triggered by a mechanical action - button push
- speaker emits a countdown
- capture picture from camera
- save picture to /tmp/image.jpg
- upload picture to S3
- delete /tmp/image.jpg
- call apis and store label counts
- detect_faces
- recognize_celebrities
- detect_labels
- detect_text
- JavaScript generated on stats
- website updated with graph and photo booth
- speaker emits voice of what is analyzed
- return script to ready state