I am trying to run tesseract through python subprocess using the following code:
import subprocess extract = subprocess.run([\'tesseract\', \'imCropped.png\', \'