在运行信用卡数字识别的时候,出现以下错误,原因是需要在程序运行前输入规定参数值,才能运行
usage: ocr_template_match.py [-h] -i IMAGE -t TEMPLATE
ocr_template_match.py: error: the following arguments are required: -i/--image, -t/--template
参数设置:
# 设置参数
ap = argparse.ArgumentParser()
ap
在运行信用卡数字识别的时候,出现以下错误,原因是需要在程序运行前输入规定参数值,才能运行
usage: ocr_template_match.py [-h] -i IMAGE -t TEMPLATE
ocr_template_match.py: error: the following arguments are required: -i/--image, -t/--template
参数设置:
# 设置参数
ap = argparse.ArgumentParser()
ap