The Project details please read AWS DeepRacer Tips and Tricks: How to build a powerful rewards function with AWS Lambda and Adobe Photoshop.
chmod +x resize.sh
./resize.sh 20
chmod +x install_sam_cli.sh
./install_sam_cli.sh
git clone https://github.com/wongcyrus/deepracerrewardfunctionapi
cd deepracerrewardfunctionapi
sudo ./get_layer_packages.sh
Create a new S3 bucket in us-east-1 and change "s3_bucket" in samconfig.toml.
./deployment.sh
Now, you can copy the reward.py as your DeepRacer Reward Function.