https://github.com/aalekhpatel07/captcha-generator
Generate captchas for ML tasks in parallel.
https://github.com/aalekhpatel07/captcha-generator
captcha captcha-generator machine-learning-dataset rust
Last synced: about 1 year ago
JSON representation
Generate captchas for ML tasks in parallel.
- Host: GitHub
- URL: https://github.com/aalekhpatel07/captcha-generator
- Owner: aalekhpatel07
- License: mit
- Created: 2021-08-30T16:43:07.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-31T03:18:33.000Z (almost 5 years ago)
- Last Synced: 2025-03-11T06:48:33.342Z (about 1 year ago)
- Topics: captcha, captcha-generator, machine-learning-dataset, rust
- Language: Rust
- Homepage:
- Size: 24.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# captcha-generator
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.)
## Usage
Download the binary from the recent release.
Then:
```bash
captcha-generator [number-of-captchas] [path/to/output/dir]
```
The text of the captcha will be stored in the filename.
## Examples
1. Generate 100 random captchas to a `data` directory inside your current working directory.
```bash
captcha-generator 100 ./data
```
2. Generate 1 random captcha to a './data/train' directory inside your current working directory.
```bash
captcha-generator 1 ./data/train
```
produces `./data/train/qgC6z.png`
