Detects Counterfeit Indian Currency using Image Processing Techniques
The aim of this project is to test the authenticity of Indian currency notes by preparing a system which takes the image of currency bill as input and gives the final result by applying various image processing and computer vision techniques and algorithms. This currency authentication system has been designed completely using Python language in Jupyter Notebooks. OpenCV library has been used for image processing and Tkinter library has been used for building the GUI.
- OpenCV
- Tkinter
- Numpy
- Matplotlib
- Jupyter Notebook
This currency detection currently works only for Indian Currency notes of denomination 500 and 2000. The dataset used for this purpose is included in this repository and has been custom- built by collecting necessary images from various sources. To know more about dataset refer to the report of this project present in this repository.
- Dataset: Contains all necessary images. This directory also contains images of real 500 and 2000 rupee notes which you can use to test the system. Read the report to know more about structure of dataset.
- Fake Notes: Contains images of fake 500 and 2000 rupee notes. You can use these images to test the system if you want.
- 500_testing.ipynb: This notebook processes input image of 500 denomination currency bills.
- 2000_testing.ipynb: This notebook processes input image of 2000 denomination currency bills.
- controller.ipynb: This notebook is the main notebook which takes the input, runs all necessary notebooks and displays the output.
- gui_1.ipynb: This notebook produces a GUI to take the input data from the user.
- gui_2.ipynb: This notebook produces a GUI to display the result.
- FAKE_CURRENCY_DETECTOR_REPORT: Report of this project. This file contains the complete information of the project. Refer to this report file for methodology, snapshots, results and other details regarding this project.
- Clone the repository to your local machine.
- Open the notebook controller.ipynb as a Jupyter Notebook
- Run the entire notebook:
Cell > Run All
- This will open a GUI window:
- Click 'Select An Image'.
- Browse the input image of the currency note that you want to authenticate. Sample images of currency notes (both real and fake) are already present in the dataset. You can select an image from there too.
- Choose the denomination of the currency note.
- Click 'Submit' button
- This will lead to another GUI window. Select 'Click To Continue' and wait for the processing to end. The progress can be seen in the progress bar.
- Finally, the results will be displayed in another GUI window. The following details will be displayed.
- Input image
- Result statement (Number of features that are authentic)
- Image of each feature of input currency note
- Average and Maximum Similarity score (SSIM score) of each feature
- Status of each feature (Pass/ Fail)
That's all about this project, folks!