Ejemplo n.º 1
0
def main():
    # usage check
    if not ConsoleUIProcess.usage_with_config_check(sys.argv):
        return

    process = ConsoleUIProcess.FromConfigPath(sys.argv[1], sys.argv[2:], None, None)
    if not process.initialize():
        return

    process.start_input_processing(video_process)
def main():
    #usage check
    if not ConsoleUIProcess.usage_with_config_check(sys.argv):
        return

    process = ConsoleUIProcess.FromConfigPath(sys.argv[1], sys.argv[2:], None, None)
    if not process.initialize():
        return

    
    fps = process.configuration.get_float("FRAME_EXPORT_FPS")
    process.start_video_processing(fps, get_worker, None, 0, True, True)

    print("Finished")
Ejemplo n.º 3
0
def main():
    # usage check
    if not ConsoleUIProcess.usage_with_config_check(sys.argv):
        print("\t-b [baseline]\t: Process Summaries from specified baseline")
        return

    process = ConsoleUIProcess.FromConfigPath(sys.argv[1], sys.argv[2:], None,
                                              None)
    if not process.initialize():
        return

    evaluator = SummaryEvaluator()
    process.start_input_processing(evaluator.process_summary)

    evaluator.print_totals(True)

    print("Finished")