docs: README

This commit is contained in:
Tony Yang 2023-04-30 18:48:49 +08:00
parent 4000e5bba1
commit d5c7d62507
Signed by: t510599
GPG Key ID: D88388851C28715D

16
README.md Normal file
View File

@ -0,0 +1,16 @@
# cloudprog-hw4
Team 02
## Features
- `lambda-gen-s3-url.py`: AWS Lambda function that generates S3 presigned URL for IoT thing to upload.
- Envs:
- `MQTT_TOPIC`: `S3_URL_TOPIC`
- `BUCKET`: S3 bucket to upload
- `lambda-detect-face.py`: AWS Lambda function that calls rekognition API tiggered by S3 events.
- Envs:
- `MQTT_TOPIC`: `LED_TOPIC`
- `led_control.py`: Code run on IoT thing.
- Controls the LED with MQTT topic.
- Take picture and upload it to S3.
- Send upload request via MQTT topic `S3_UPLOAD_TOPIC`
- Get presigned URL via `S3_URL_TOPIC`