All Projects → Aftaab99 → OfflineSignatureVerification

Aftaab99 / OfflineSignatureVerification

Licence: MIT License
Writer independent offline signature verification using convolutional siamese networks

Programming Languages

Jupyter Notebook
11667 projects
javascript
184084 projects - #8 most used programming language
python
139335 projects - #7 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to OfflineSignatureVerification

Siamese Triplet
Siamese and triplet networks with online pair/triplet mining in PyTorch
Stars: ✭ 2,564 (+5132.65%)
Mutual labels:  siamese-network, contrastive-loss
Offline-Signature-Verification-using-Siamese-Network
Identifying forged signatures using convolutional siamese networks implemented in Keras
Stars: ✭ 31 (-36.73%)
Mutual labels:  signature-verification, siamese-network
EfficientWord-Net
OneShot Learning-based hotword detection.
Stars: ✭ 78 (+59.18%)
Mutual labels:  siamese-network, siamese-neural-network
Signature-verification-using-deep-learning
Using SigComp'11 dataset for signature verification
Stars: ✭ 54 (+10.2%)
Mutual labels:  signature-verification, siamese-network
farm-animal-tracking
Farm Animal Tracking (FAT)
Stars: ✭ 19 (-61.22%)
Mutual labels:  siamese-network
info-nce-pytorch
PyTorch implementation of the InfoNCE loss for self-supervised learning.
Stars: ✭ 160 (+226.53%)
Mutual labels:  contrastive-loss
TCE
This repository contains the code implementation used in the paper Temporally Coherent Embeddings for Self-Supervised Video Representation Learning (TCE).
Stars: ✭ 51 (+4.08%)
Mutual labels:  contrastive-loss
One-Shot-Learning-with-Siamese-Networks
Implementation of One Shot Learning using Convolutional Siamese Networks on Omniglot Dataset
Stars: ✭ 129 (+163.27%)
Mutual labels:  siamese-network
image triplet loss
Image similarity using Triplet Loss
Stars: ✭ 76 (+55.1%)
Mutual labels:  siamese-network
pedestrian recognition
A simple human recognition api for re-ID usage, power by paper https://arxiv.org/abs/1703.07737
Stars: ✭ 29 (-40.82%)
Mutual labels:  siamese-network
TorchBlocks
A PyTorch-based toolkit for natural language processing
Stars: ✭ 85 (+73.47%)
Mutual labels:  siamese-network
Offline-Signature-Verification
Implemented two papers for offline signature verification. Both use different deep learning techniques - Convolutional network and Siamese network.
Stars: ✭ 24 (-51.02%)
Mutual labels:  siamese-network
Siamese-Recurrent-Architectures
Usage of Siamese Recurrent Neural network architectures for semantic textual similarity
Stars: ✭ 19 (-61.22%)
Mutual labels:  siamese-network
KitcheNette
KitcheNette: Predicting and Recommending Food Ingredient Pairings using Siamese Neural Networks
Stars: ✭ 52 (+6.12%)
Mutual labels:  siamese-neural-network
RankNet
Learning to Rank from Pair-wise data
Stars: ✭ 40 (-18.37%)
Mutual labels:  siamese-network
finetuner
Finetuning any DNN for better embedding on neural search tasks
Stars: ✭ 442 (+802.04%)
Mutual labels:  siamese-network
Facial-Recognition-Using-FaceNet-Siamese-One-Shot-Learning
Implementation of Facial Recognition System Using Facenet based on One Shot Learning Using Siamese Networks
Stars: ✭ 104 (+112.24%)
Mutual labels:  siamese-network
niftygate
Drop-in Access Control via NFT Ownership
Stars: ✭ 61 (+24.49%)
Mutual labels:  signature-verification
FDCNN
The implementation of FDCNN in paper - A Feature Difference Convolutional Neural Network-Based Change Detection Method
Stars: ✭ 54 (+10.2%)
Mutual labels:  siamese-network
SiamFC-tf
A TensorFlow implementation of the SiamFC tracker, use with your own camera and video, or integrate to your own project 实时物体追踪,封装API,可整合到自己的项目中
Stars: ✭ 22 (-55.1%)
Mutual labels:  siamese-network

Offline Writer Independent signature verification

Setting up locally

Download the dependencies.

pip install -r requirements.txt

Then download the pretrained model and dataset

python DownloadData.py

To use the web demo

cd frontend
npm install
npm run build
cd ..
python main.py

Models used

Used a Convolutional Siamese network along with the Constrastive loss function. I chose Euclidian distance as the distance metric for comparing the output feature vectors.

Accuracy

The model acheived an accuracy of 78.34% on the CEDAR signature dataset(test set size was around 4100 samples). Deviations of 1-2% are possible as accuracy depends on the threshold. The threshold for the siamese network was computed by taking the average of True positive rate and True negative rate using ROC.

Preprocessing

Images were converted to grayscale, inverted and scaled down to 0 or up to 255 depending on whether the pixel value was below or above 50. Image tensor sizes of 225x155 were fed into the model. Images were grouped in pairs of genuine and forged images, where the label was 1 if both were genuine and of the same writer and 0 otherwise. 13500 image pairs of each label where chosen, 15% of which were used for testing.

Original image

Original image

Preprocessed image

Preprocessed image

Dataset

The CEDAR signature dataset is one of the benchmark datasets for signature verification. It consists of 24 genuine and forged signatures each from 55 different signers.

Dataset link

References

  1. SigNet: Convolutional Siamese Network for Writer Independent Offline SignatureVerification

Screenshots

screenshot1

screenshot2

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].