setup.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:Doc-Analysis-Public-Data 作者: AdnanMuhib 项目源码 文件源码
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
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号