For more details, pls visit my blog (in chinese): https://www.cnblogs.com/AdaminXie/p/8379749.html
Functions introductions:
mkdir_for_imgs()
新建9个文件夹 Num_1-Num_9,分别用于之后存放数字1-9图片;
del_imgs()
删除子文件夹 Num_1-9 中的所有图片;
generate_single()
生成单张手写体随机数图片;
generate_1to9(n):
生成 n 次手写体数字 1-9,并存入指定文件夹 Num_1-Num_9;
Thanks for your support.