验证码图片无法识别
[2022-02-07 10:20:21,732] [Login] [元素截图] [SNTag:20220207100031317138] 返回值:[<class ‘str’>]D:/01.project/img/ 登录验证码.png
[2022-02-07 10:20:21,733] [D:/01.project/codes/Main.py] - [Login] [验证码] [SNTag:20220207100125374141] []
[2022-02-07 10:20:21,733] [lib/ubpa/iocr.pyd] - Ready to execute[vCode_recognize]
[2022-02-07 10:21:30,208] [lib/ubpa/iocr.pyd] - vcode_recognize error:None
[2022-02-07 10:21:30,208] [lib/ubpa/iocr.pyd] - [vcode_recognize] result :[]
Traceback (most recent call last):
File “D:/01.project/codes\Main.py”, line 748, in
File “D:/01.project/codes\Main.py”, line 161, in Login
File “iocr.py”, line 300, in iocr.vcode_recognize
File “iocr.py”, line 290, in iocr.vcode_recognize
File “ocr.py”, line 131, in ocr.IipOcr.vcode
File “base.py”, line 118, in base.IipOcrBase._request
File “base.py”, line 160, in base.IipOcrBase.proccessResult
File "D:\Program Files\ISRPA\Python\lib\json_init.py", line 354, in loads
File “D:\Program Files\ISRPA\Python\lib\json\decoder.py”, line 339, in decode
File “D:\Program Files\ISRPA\Python\lib\json\decoder.py”, line 357, in raw_decode
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
运行异常
第二天就自己好了,我也不知道是什么情况。。。
我使用了你的图片,初步尝试是可以的,谢谢。
版本号:2021.3.0.160 x64
元素截图和验证码组件搭配使用,无法识别验证码