Coder Social home page Coder Social logo

vishnuagbly / offline_signature_verification Goto Github PK

View Code? Open in Web Editor NEW

This project forked from juhi-purswani/offline_signature_verification

0.0 0.0 0.0 272 KB

Classification of signatures in image format as genuine or fake. Created two models - one from scratch using deep learning layers and other using pre trained model VGG16. Before training used image pre processing techniques as well.

Jupyter Notebook 100.00%

offline_signature_verification's Introduction

Offline_Signature_Verification

Signature samples are classified as forged or genuine using Convolutional Neural Networks.

Models Used

  1. Basic CNN model: cnn_model.ipynb contains training for two cnn models. Model1 contains two Convolution Layers, two Pooling layers and two Dense layers. In the training it was observed that model begins to overfit in epoch 10-20. This can be interpreted with the increment in validation loss.
    To reduce overfitting model2 was implemented by adding 2 Dropout Layers, decrementing the number of neurons in Dense layers and applying L2 regularization in Dense Layers. The results obtained shows that overfitting reduced and validation loss does not increased.
  2. VGG16 model: vgg16.ipyn contains implemetation of VGG16 model pretrained on imagenet dataset. In 1st model all the layers were trained. In 2nd model some of the starting layers were freezed and then trained on the data. Both models are implemented using Tensorflow Keras api.

Dataset

The dataset used was taken from a hackerearth AI challenge. This is the link: https://www.hackerearth.com/challenges/hackathon/axis-hackathon/

Requirenments

  • Python 3
  • Matplotlib
  • Numpy
  • Tensorflow
  • Keras

Results

Model Training Accuracy Valiation Accuracy
CNN model 1 99.44% 67.77 %
CNN model 2 84.92%% 74.38%
VGG16 model 99.72% 88.02%

offline_signature_verification's People

Contributors

juhi-purswani avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.