def main():
    #usage check
    if not ConsoleUIProcess.usage_check(sys.argv):
        return

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

    # fps = Parameters.Sampling_FPS
    fps = 15
    process.start_video_processing(fps, get_worker, get_results, 0, True)
    print("finished")
def main():
    # usage check
    if not ConsoleUIProcess.usage_check(sys.argv):
        return

    process = ConsoleUIProcess(sys.argv[1], sys.argv[2:], None, None)

    if not process.initialize():
        return

    fps = Parameters.Sampling_FPS  # 1.0
    process.start_video_processing(fps, get_worker, get_results, 0, True)

    print("Finished")