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:], Parameters.Output_Binarize, Parameters.Output_CCStability) if not process.initialize(): return process.start_input_processing(process_input) 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")
def main(): #usage check if not ConsoleUIProcess.usage_check(sys.argv): return input_prefix = Parameters.Output_TDStability output_prefixes = Parameters.Output_TDRefined process = ConsoleUIProcess(sys.argv[1], sys.argv[2:], input_prefix, output_prefixes) if not process.initialize(): return process.start_input_processing(process_input) print("Finished")
def main(): # usage check if not ConsoleUIProcess.usage_check(sys.argv): return in_files = [Parameters.Output_ST3D, Parameters.Output_Vid_Segment] process = ConsoleUIProcess(sys.argv[1], sys.argv[2:], in_files, Parameters.Output_Ext_Keyframes) if not process.initialize(): return process.start_input_processing(process_input) print("Finished")
def main(): #usage check if not ConsoleUIProcess.usage_check(sys.argv): return # TODO: read this from parameters: input_prefix = Parameters.Output_PersonDetection process = ConsoleUIProcess(sys.argv[1], sys.argv[2:], input_prefix, None) if not process.initialize(): return process.start_input_processing(process_input) print("Finished")
def main(): #usage check if not ConsoleUIProcess.usage_check(sys.argv): return inputs = [Parameters.Output_CCReconstructed, Parameters.Output_CCConflicts] process = ConsoleUIProcess(sys.argv[1], sys.argv[2:], inputs, Parameters.Output_Vid_Segment) if not process.initialize(): return process.start_input_processing(process_input) print("Finished")
def main(): #usage check if not ConsoleUIProcess.usage_check(sys.argv): return process = ConsoleUIProcess(sys.argv[1], sys.argv[2:], None, Parameters.Output_PersonDetection) if not process.initialize(): return fps = 1 # process.start_video_processing(fps, get_worker, get_results, 0, True) process.start_image_list_preprocessing(src_dir=Parameters.Output_FrameExport, get_worker_function=get_worker, get_results_function=get_results, img_extension=Parameters.Output_FrameExport_ImgExtension, frames_limit=0, verbose=True) print("finished")