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.
- 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: 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.
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
| Component | Technology |
|---|---|
| Backend | Python |
| Models | PyTorch, CNNs, EfficientNet |
| Frontend | Streamlit, HTML, CSS |
| Explainability | GradCAM, SHAP |
| Deployment | Streamlit Cloud (free hosting) |
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
-
Clone the repository:
git clone https://github.com/ShailKPatel/Falsifi.AI.git cd Falsifi.AI -
Install dependencies:
pip install -r requirements.txt
-
Launch the Streamlit server:
streamlit run main.py
-
Open your browser and go to:
http://localhost:8501
A live demo is available at:
https://falsifi-ai.streamlit.app/
| Purpose | Dataset |
|---|---|
| Signature Verification | CEDAR (80-10-10 split for train-val-test) |
- Open-sourced under the MIT License
- Built for machine learning research and portfolio demonstration
- Credits to the academic datasets and open-source communities
Created by Shail Patel