def __init__(self, inputDir, outputDir, canvasHeight=800, canvasWidth=1200, cropBasePx=32):
    self.inputDir = inputDir
    self.outputDir = outputDir
    self.currImage = None
    self.fileQueue = deque()
    self.queueIndex = 0
    self.doneSet = set()
    self.canvasHeight = canvasHeight
    self.canvasWidth = canvasWidth
    self.cropBasePx = cropBasePx
    self._datasource = _DataStore((get_current_folder() + '/dataStore'))
    self._folderProgDict = self._datasource.get_value(_DataStore.FOLDER_PROG_KEY)
    self.tkroot = tkinter.Tk()
    self.imageCanvas = ImageCanvas(self.tkroot)
    self.tkroot.bind('<Key>', self._on_key_down)
def __init__(self, inputDir, outputDir, canvasHeight=800, canvasWidth=1200, cropBasePx=32):
    self.inputDir = inputDir
    self.outputDir = outputDir
    self.currImage = None
    self.fileQueue = deque()
    self.queueIndex = 0
    self.doneSet = set()
    self.canvasHeight = canvasHeight
    self.canvasWidth = canvasWidth
    self.cropBasePx = cropBasePx
    self._datasource = _DataStore((get_current_folder() + '/dataStore'))
    self._folderProgDict = self._datasource.get_value(_DataStore.FOLDER_PROG_KEY)
    self.tkroot = tkinter.Tk()
    self.imageCanvas = ImageCanvas(self.tkroot)
    self.tkroot.bind('<Key>', self._on_key_down)