An open API service indexing awesome lists of open source software.

https://github.com/blakley/captcha-classification

A deep learning model to classify Captcha images
https://github.com/blakley/captcha-classification

classfication-model cnn-keras deep-learning keras-tensorflow python tensorflow

Last synced: 6 months ago
JSON representation

A deep learning model to classify Captcha images

Awesome Lists containing this project

README

          

# Captcha Classification
A multi-class classification model using convolutional neural networks (CNNs) to classify captcha images into different categories.

---

### Summary Example
![Model Summary](src/assets/summary.png)

### Prediction Example
![Model Prediction](src/assets/prediction.png)

---

## Requirements
Python 3.x, TensorFlow, Matplotlib

## Installation
1. Clone this repository:
``` bash
git clone https://github.com/Blakley/captcha-classification
```

2. Install the required dependencies:
```bash
pip install -r requirements.txt
```
## Usage
1. **Setup** the dataset:
- Download the captcha dataset from [Kaggle](https://www.kaggle.com/datasets/aneeshtickoo/hcaptcha-dataset/data).
Extract the dataset files to the dataset/ directory in the project root.

2. **Training** the model:
- Run the main.py script to train the classification model:
```bash
python3 model.py
```

3. **Testing** the model:
- Once the model is trained, you can make predictions on captcha images using the saved model.