This project aims to verify the authenticity of handwritten signatures using deep learning techniques. It uses PyTorch and Torchvision for model processing, and Django for building and serving the web application.
- Signature Authentication: Detect whether a signature is genuine or forged.
- Deep Learning Model: Utilizes a Convolutional Neural Network (CNN) model to analyze signatures, but training is handled externally or with pre-trained models.
- Web Interface: A user-friendly interface where users can upload signatures for verification.
- Real-Time Feedback: Provides instant feedback on the authenticity of the uploaded signature via the web interface.
- Backend: Django
- Deep Learning Framework: PyTorch, Torchvision
- Frontend: HTML, CSS, Bootstrap
- Image Processing: Matplotlib for visualization
Ensure you have the following installed:
- Python 3.x
- Django
- PyTorch
- Torchvision
- Matplotlib
-
Clone the repository:
git clone https://github.com/yourusername/signature-authentication.git cd signature-authentication
-
Create a virtual environment:
python -m venv env source env/bin/activate # For macOS/Linux .\env\Scripts\activate # For Windows
-
Install the dependencies:
pip install -r requirements.txt
-
Run migrations for database setup:
python manage.py migrate
-
Start the development server:
python manage.py runserver
-
Navigate to
http://127.0.0.1:8000/
in your browser to access the app.
- Users can upload a scanned image of a signature via the provided upload section.
- The Django backend will handle the signature verification in real-time without the need for additional deep learning training.
- The system will return whether the signature is genuine or forged.
If you'd like to contribute to this project:
- Fork the repository.
- Create a new branch for your feature (
git checkout -b feature-name
). - Commit your changes (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature-name
). - Create a new pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
- PyTorch, Torchvision, and Django for their powerful frameworks.
- Dataset sources for signature verification.
- Inspiration from various deep learning-based signature verification methods.