Skip to content

ShailKPatel/Falsifi.AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Falsifi.AI – Deep Learning-Based Signature Verification

Falsifi.AI is an AI system designed to detect signature forgery using deep learning. It leverages multiple pipelines with varied preprocessing and model architectures to verify the authenticity of scanned signatures. Built with PyTorch and Streamlit, Falsifi.AI serves as a tool for applications such as identity verification, banking, legal documents, and academic records.


Capabilities

  • Classifies scanned signatures as genuine or forged using handwriting verification techniques.
  • Experiments with around 5 different pipelines, each combining unique preprocessing steps and model architectures to maximize accuracy and robustness.

Dataset Details

  • Dataset: CEDAR Signature Dataset
  • Split: 80% Training, 10% Validation, 10% Testing
  • Kaggle Link: CEDAR Signature Dataset

The dataset is split by signer, ensuring that the model is evaluated on unseen identities to simulate real-world scenarios and improve generalization.


Sample Use Workflow

Upload two images:

  • A confirmed (anchor) signature image
  • A signature image to be verified
  • Select a pipeline/model from the dropdown menu to try different combinations

Output includes:

  • Authenticity label (Genuine or Forged)
  • Confidence score
  • Visual explanation using GradCAM or SHAP

Tech Stack

Component Technology
Backend Python
Models PyTorch, CNNs, EfficientNet
Frontend Streamlit, HTML, CSS
Explainability GradCAM, SHAP
Deployment Streamlit Cloud (free hosting)

Project Structure

 Falsifi.AI /
├── .gitignore
├── .streamlit
│   └── config.toml
├── LICENSE
├── README.MD
├── assets
│   └── images
│       └── eda
│           └── aspect ratio.png
├── main.py
├── models
│   ├── model_1.py
│   ├── model_2.py
│   ├── model_3.py
│   ├── model_4.py
│   ├── model_5.pth
│   ├── model_5.py
│   └── model_result_log.csv
├── pages
│   ├── Credits.py
│   ├── Dataset_Overview.py
│   ├── Home.py
│   ├── Reviews.py
│   ├── Signature_Verification.py
│   ├── Signature_Verification_EDA.py
│   └── Tech_Stack.py
├── requirements.txt
└─── reviews
    ├── recent_reviews.json
    └── word_count.json


Running the App Locally

  1. Clone the repository:

    git clone https://github.com/ShailKPatel/Falsifi.AI.git
    cd Falsifi.AI
  2. Install dependencies:

    pip install -r requirements.txt
  3. Launch the Streamlit server:

    streamlit run main.py
  4. Open your browser and go to:

    http://localhost:8501
    

Live Demo

A live demo is available at:

https://falsifi-ai.streamlit.app/

Datasets Used

Purpose Dataset
Signature Verification CEDAR (80-10-10 split for train-val-test)

License and Acknowledgments

  • Open-sourced under the MIT License
  • Built for machine learning research and portfolio demonstration
  • Credits to the academic datasets and open-source communities

Author

Created by Shail Patel

About

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages