def __init__(self, options, processorPool): DependentFrameProcessor.__init__(self, options, processorPool) self.colorFilterProcessor = processorPool.getProcessorByType(ColorFilterProcessor) if self.colorFilterProcessor is None: self.loge("__init__", "Could not find a ColorFilterProcessor; will use internal white filter") #self.debug = True # override debug flag self.state = LineDetector.State.INIT
def __init__(self, options, processorPool): DependentFrameProcessor.__init__(self, options, processorPool) self.colorFilterProcessor = processorPool.getProcessorByType(ColorFilterProcessor) # keep a reference to a ColorFilterProcessor, if given #self.debug = True # overriding debug flag self.state = self.State.INIT
def __init__(self, options, processorPool): DependentFrameProcessor.__init__(self, options, processorPool) self.detector = processorPool.getProcessorByType(LineDetector) if self.detector is None: self.loge("__init__", "Could not find a LineDetector; will not activate :(") self.state = LineWalker.State.INIT