Skip to content

funnymonke0/captcha-slayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Captcha Slayer

A custom CNN-based CAPTCHA solver for image-based CAPTCHAs, built from scratch using Keras.

Overview

This project implements a convolutional neural network to automatically solve image-based CAPTCHAs. I designed and trained a simple custom CNN architecture.

Technical Approach

Model Architecture:

Data Pipeline:

  • CAPTCHA generation for creating training data
  • Image preprocessing (grayscale conversion) to improve model performance

Key Features:

  • Basic end-to-end solution from data generation to trained model
  • Benchmarking results available in /results folder
  • Simple, lightweight architecture focused on understanding functionality

Tech Stack

  • Framework: Keras/TensorFlow
  • Image Processing: OpenCV (grayscale preprocessing)
  • Dataset Generation: captcha

Project Structure

captcha-slayer/
├── results/          # Benchmark images and performance metrics
├── [model files]     # Trained model weights
├── [training code]   # Dataset generation and training pipeline
└── README.md

Results

Performance benchmarks and accuracy metrics can be found in the /results folder, including visual demonstrations of the model's predictions.

What I Learned

  • Designing CNN architectures from documentation
  • Building basic data pipelines for ML training
  • Simple image preprocessing techniques for improving model accuracy

Future Improvements

  • Expand support for different CAPTCHA types
  • Optimize model architecture for better accuracy
  • Clean up dependencies and document them

Installation

# 1. Create a virtual environment
python -m venv venv

# 2. Activate the environment
# On Windows: .\venv\Scripts\activate
# On macOS/Linux: source venv/bin/activate

# 3. Install requirements
pip install -r requirements.txt

Results

Click to view performance metrics and examples

Benchmark Results Training_Graph

Note: This project is for educational purposes only.

About

A custom CNN-based CAPTCHA solver for image-based CAPTCHAs, built from scratch using Keras.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages