def recognize(cmdline): survey = model.survey.Survey.load(cmdline['project']) import recognize if cmdline['identify']: return recognize.identify(survey) else: return recognize.recognize(survey)
def recognize(cmdline): survey = model.survey.Survey.load(cmdline['project']) import recognize if not cmdline['rerun']: filter = lambda: not (survey.sheet.verified or survey.sheet.recognized) else: filter = lambda: True if cmdline['identify']: return recognize.identify(survey, filter) else: return recognize.recognize(survey, filter)
def recognize(cmdline): survey = model.survey.Survey.load(cmdline['project']) import recognize if not cmdline['rerun']: filter = lambda : not (survey.sheet.verified or survey.sheet.recognized) else: filter = lambda: True if cmdline['identify']: return recognize.identify(survey, filter) else: return recognize.recognize(survey, filter)