(1)问题:
不进行参数配置的错误提示,例:
usage: ocr_template_match.py [-h] -i IMAGE -t TEMPLATE
ocr_template_match.py: error: the following arguments are required: -i/–image, -t/–template
(2)解决:
2.1:edit configuration
需要配置参数的py文件进行edit configuration
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/0f9f2e5ed4f8cb2585fecd0f1b4f3f35.png)
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/268f3b8c0d95a3af353a83e392fbc406.png)
2.2指定参数
参数之间用空格隔开,例博主的参数有两个,为这两个参数指定值
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/27cdd7fcd27c608d6d4f53ee5ab0ffef.png)
设置之后点OK
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/c21d64d6f195fe5bae399feb610b8839.png)