- install Python 3
- create a virtual env:
python -m venv venv
- activate the virtual env:
source venv/bin/activate
- install requirements:
python -m pip install -r requirements.txt
- make sure to have an AWS profile setup with access to
s3
,textract
andpolly
- add images in the
pages
folder, named in alphabetical order to be read - run the script:
python main.py AWS-PROFILE AWS-BUCKET PREFIX DIRECTORY
- check the generated audio file in the target bucket