Skip to content
This repository has been archived by the owner on May 7, 2023. It is now read-only.

Latest commit

 

History

History
15 lines (11 loc) · 566 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 566 Bytes

Grab text from images and convert them to an audio file.

Install

  1. install Python 3
  2. create a virtual env: python -m venv venv
  3. activate the virtual env: source venv/bin/activate
  4. install requirements: python -m pip install -r requirements.txt

Use

  1. make sure to have an AWS profile setup with access to s3, textract and polly
  2. add images in the pages folder, named in alphabetical order to be read
  3. run the script: python main.py AWS-PROFILE AWS-BUCKET PREFIX DIRECTORY
  4. check the generated audio file in the target bucket