inzh / CropAndCombine-IdCard

批量身份证裁剪&拼接
3 stars 2 forks source link

运行出现错误 IndexError: tuple index out of range #1

Open dwm97317 opened 2 years ago

dwm97317 commented 2 years ago

Traceback (most recent call last): File "E:/CropAndCombine-IdCard-master/main.py", line 207, in getPrintImgMode1(rootPath) File "E:/CropAndCombine-IdCard-master/main.py", line 27, in getPrintImgMode1 print('正在拼合身份证图像.....进度:当前处理{},剩余{},总共{}'.format(count, int((imgListLen/2)-count)),int((imgListLen/2)))

ashajia commented 2 years ago

他这个括号写错位了 format(count, int((imgListLen/2)-count),int((imgListLen/2))))