예제 #1
0
파일: input.py 프로젝트: jbinfo/pyocrhelper
 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
예제 #2
0
 def __init__(self):
     self.defaults = config().defaults
     self.pages = []
예제 #3
0
 def __init__(self):
     self.defaults = config().defaults
     self.raw = []