Automatic identification authentication code Python

First, crop images

Could have direct use dynamic positioning location crop((left, top, right, bottom)), but unfortunately my resolution is too great, the system will zoom in the browser, I can only driver.save_screenshot("D:/code.png)"cut down the pictures on the "Paint" to locate the verification code coordinates , or coordinates ride magnification

def

Guess you like

Origin blog.csdn.net/qq_27009225/article/details/104524990