def __init__(self,inputFile): self.defaults = config().defaults self.inputFile = inputFile self.inputFileName = os.path.basename(self.inputFile) self.inputFileDir = os.path.dirname(self.inputFile) self.pdfinfo = {} # holds pdfinfo if needed self.rawImageHolder = [] # holds imgs for converting self.preparedImages = [] # hold imgs ready for ocr self.inputFileFormat = "" # placeholder for format
def __init__(self): self.defaults = config().defaults self.pages = []
def __init__(self): self.defaults = config().defaults self.raw = []