I am doing data extraction from scanned document.I am using the below code for constructing and parsing the arguments:
from PIL import Image import pytesserac