Use third-party platform verification code for identification

Foreword: Here is the use of a third-party platform "Super Eagle" for image recognition. The Super Eagle platform is a fee-based platform. I personally think it is very cheap and conscientious. First, you need to register an account with Super Eagle and recharge the amount (recharge first is recommended Try it for a dollar, feel first)

Insert picture description here
Also need to use a file, which encapsulates the identification code

Link: https://pan.baidu.com/s/1X2-4_RrIG-uh_jcp_LeuVA Extraction code: e1qk

In fact, the code is very simple, just four steps, as follows

from ImgDistinguish import ImgDistinguish

img_distinguish = ImgDistinguish("超级鹰账户", "超级鹰密码", "软件id")
img = open("1.png", "rb").read()
img_value = img_distinguish.PostPic(img, 1902)
print(img_value["pic_str"])

Super Eagle account: the account registered on the Super Eagle platform
Super Eagle password: the password corresponding to the account
Software id: "Home_User Center_Software ID" menu generation

Insert picture description here

Verification code type: here only the English numbers are truncated as shown in the figure below, there are many others, such as Chinese characters, if you are specific, just go to the official website to see

Insert picture description here
Finally, look at the recognition results
Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_44102466/article/details/105415438