Skip to content

Instantly share code, notes, and snippets.

View v3rmine's full-sized avatar
cooking 🏳️‍⚧️

Astrid v3rmine

cooking 🏳️‍⚧️
View GitHub Profile
@v3rmine
v3rmine / crackEndGamev.py
Created June 26, 2020 13:09
dread/post/5e40aa87f1bc99df2b20
# BetterThanBartards.py
# New EndGame captcha solved in less than 100 lines of code
# m = train_model(9, 12,125,10)
# This model takes about 10 minutes to train on a decent GPU or 30 on a standard CPU.
# This model will solve the new EndGame captcha with approximately 59.6% accuracy - better scores than a bartard!
# Increasing the batch size, model scale, or number of epochs will all result in a model that takes longer to train, but can achieve up to ~85% accuracy.
# Source http://hastebin.net/axijebimok.py
from PIL import Image
from PIL import ImageDraw
from PIL import ImageFont