GithubHelp home page GithubHelp logo

z1311 / fake-aadhaar-detection Goto Github PK

View Code? Open in Web Editor NEW
15.0 0.0 4.0 1.87 MB

Classifies a given aadhaar image to real or fake by doing two levels of analysis.

Python 100.00%
image-processing fake-image-detection fake error-level-analysis ela lbph opencv opencv2 opencv-python python

fake-aadhaar-detection's Introduction

Fake Aadhaar Detection

This project classifies the scanned aadhaar image to either real or fake image by doing two levels of testing. Fake images are the images that are digitally altered.

Level 1 Testing

Whenever an image is altered using software tools they leave software signatures in the metadata of the image. Level 1 testing exploit this feature and tries to findout traces of any signature. It is the fastest and simplest way to classify but there are online tools/websites that helps to clean this type of information in metadata. MS Paint is a good example that doesn't attach its signature in the metadata of the image.

Level 2 Testing

It starts of by doing ELA (Error Level Analysis) on the image and the result is given to LBPH (Local Binary Patterns Histograms) recognizer which decides whether it is fake or real image. Even though LBPH algorithm is used for face recognition, it can be used in this project for generating histograms and comparing them.

Block Diagram

Untitled Diagram

Output Screenshots

For selecting image
Capture1
Fake image output screen
Capture2 Capture6
Real image output screen
Capture4 Capture5

Tools Used

  1. Python 2.7.14
  2. OpenCV2
  3. Tkinter
  4. Pillow
  5. Numpy

fake-aadhaar-detection's People

Contributors

z1311 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fake-aadhaar-detection's Issues

Problem with training file

hi z1311, i have problem with training file, which there are error to trained the img. can you help me?

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.