The backend OCR CNN to recognize CaptchaV1 characters. Built with PyTorch. Uses Captcha Dataset.
Backend:
- Build/Tune/Train NN
- (?) Setup Captcha generation for frontend samples: PHP Captcha
- Build backend communication with Django Framework
- Deploy through a Docker container
Frontend:
- Upload/generate Captcha images
To install for development:
-
Make sure python is installed.
python3 --version
-
Create a python virtual environment.
python3 -m venv NNEnvironment
-
Activate the CNN virtual environment.
a. For macOS and Linux:
source ./NNEnvironment/bin/activate
b. For Windows:
.\NNEnvironment\Scripts\activate.bat
-
Install the dependencies for NNEnvironment.
pip install -r ./requirements.txt
Instructions to run the server will come soon.
-
Run the virtual environment.
a. For macOS and Linux:
source ./NNEnvironment/bin/activate
b. For Windows:
.\NNEnvironment\Scripts\activate.bat
Instructions for Docker deployment coming soon.