def batch_processor_current():
bulk_folder = "F:\\KICS - Research Officer\\Document Analysis\\DATA SET\\Test Data\\Bulk"
extension = ".png"
model_file = "Model\\Model.model"
write_path = ntpath.expanduser('~\\Documents\\Document Analysis')
file_path = bulk_folder
# Get the files in the directory
file_list = os.listdir(bulk_folder)
for file in file_list:
if file.endswith(".png"):
name_of_file = re.split(extension, file)[0]
setup_main(file_path, name_of_file, write_path, model_file)
return
############## End of Function ###############################################################
##############################################################################################
# Command line arguments
评论列表
文章目录