# DeepCaptcha Solver
A deep learning model for solving CAPTCHA images using convolutional neural networks (CNNs) built with Keras. ๐ค๐
![GitHub last commit](https://img.shields.io/github/last-commit/Armanx200/deepcaptcha-solver) ![GitHub stars](https://img.shields.io/github/stars/Armanx200/deepcaptcha-solver?style=social) ![GitHub forks](https://img.shields.io/github/forks/Armanx200/deepcaptcha-solver?style=social)
## Features ๐
โจ Recognizes CAPTCHA images with high accuracy
โจ Multi-symbol prediction for each letter
โจ Trained on diverse CAPTCHA samples
## Project Structure ๐
project_dir
โโโ Samples
โโโ code_finder.py
โโโ full_model.h5
โโโ model.py
โโโ model_weights.weights.h5
## Installation โ๏ธ
1. Clone the repository:
```bash
git clone https://github.com/Armanx200/deepcaptcha-solver.git
- Install the required dependencies:
pip install -r requirements.txt
- Run
model.py
to train the CAPTCHA recognition model. - Trained model weights will be saved as
model_weights.weights.h5
. - Save the entire model (architecture + weights) as
full_model.h5
.
- Use
code_finder.py
to recognize CAPTCHA images. - Provide the path to the CAPTCHA image when prompted.
- Get the predicted CAPTCHA code.
from code_finder import predict
captcha_image_path = input('๐ผ๏ธ Path to your captcha image: ')
predicted_text = predict(captcha_image_path)
print("๐ฎ Predicted Captcha:", predicted_text)
Special thanks to Keras and the CAPTCHA dataset providers.
Contributions are welcome! Feel free to open issues or pull requests.
Armanx200 - GitHub Profile