Image to text using python

Hi all, I am new to python and I have built an optical character recognition program which can convert image to text, but while converting the image to text it loses some data and there is a lot spelling mistake I need to overcome this challenge kindly help me with this