Library to transfer image document to text and speech document.
git clone https://github.com/harshitsaini/Document-to-Text-and-Speech.git —depth 1
python3 setup.py install
import doc2speech
# Driver function
if __name__ == '__main__':
# Path of the folder where document image is present
doc_path = "/path/to/documentImage/"
# Name of the document image to be converted
docName = 'doc.png'
# Path of the folder where output has to be generated
output_path = "/path/to/output/"
doc2speech.performConversion(doc_path = doc_path,
docName = docName,
output_path = output_path)