Crates.io | generate-captcha |
lib.rs | generate-captcha |
version | 0.1.0 |
source | src |
created_at | 2021-08-31 03:18:59.301192 |
updated_at | 2021-08-31 03:18:59.301192 |
description | Generate a training dataset of captchas. But do it really really fast. |
homepage | https://github.com/aalekhpatel07/captcha-generator/ |
repository | https://github.com/aalekhpatel07/captcha-generator/ |
max_upload_size | |
id | 444829 |
size | 25,027 |
Generate large amounts of captchas (in parallel) with a simple binary written in Rust.
Note: It is really FAST. (Generates 1500 captcha per second which is about 12 x faster compared to 125 captchas per second of a previous Numpythonic implementation.)
Download the binary from the recent release.
Then:
captcha-generator [number-of-captchas] [path/to/output/dir]
The text of the captcha will be stored in the filename.
data
directory inside your current working directory.captcha-generator 100 ./data
captcha-generator 1 ./data/train
produces ./data/train/qgC6z.png