Created
September 26, 2021 13:32
-
-
Save sgqy/f7e3561cf8062b003adad63fcb49102d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from captcha.image import ImageCaptcha | |
cap = ImageCaptcha(width=400, height=100, fonts=['/usr/share/fonts/opentype/source-code-pro/SourceCodePro-Regular.otf']) | |
img = cap.generate_image('13800138000') | |
img.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment