Journal of Cognitive Human-Computer Interaction cover
Journal of Cognitive Human-Computer Interaction

Online ISSN 2771-1463

Full Length Article

Volume 7 • Issue 2 • PP: 16–20 • 2024

Detecting Counterfeit Currency with Image Processing

Trupthi P. 1* ,
Swarnalatha K. 2 ,
Prerana T. S. 1 ,
Sonu M. C. 1
1Student, Department of Information Science and Engineering, Maharaja Institute of Technology Thandavpura, Mysore, India
2Department of Information Science and Engineering Maharaja Institute of Technology Thandavpura, Mysore, India
* Corresponding Author.
verified

Open Access & Copyright

© 2024 The Author(s). Published by ASPG. This article is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).

Abstract

"Detecting Counterfeit currency with Image Processing" focuses on leveraging image processing techniques to identify counterfeit currency. Currency plays a crucial role in economic transactions, functioning as a means of trade, standard measure of value, and reservoir of wealth. Ensuring the integrity of currency is crucial for maintaining trust in financial systems, preventing economic disruptions, and protecting individuals and businesses from financial losses. The need for currency detection arises in the situation of counterfeit activities, which pose serious threats to the stability of economy. Counterfeit currency can lead to financial fraud, loss of confidence in monetary systems, and can negatively impact businesses and individuals. By employing efficient image processing algorithms, this paper aims to enhance the accuracy and efficiency of counterfeit currency detection, providing a robust tool for financial institutions, businesses, and law enforcement agencies to safeguard against economic threats.

Full Text

This HTML version is generated from the article PDF. The PDF remains the version of record.

1. INTRODUCTION

This paper, “Detecting Counterfeit Currency with Image Processing,” addresses a pressing concern in the financial landscape by emphasizing the accurate identification of counterfeit currency. Because currency plays a pivotal role as a medium of exchange in economic transactions, the integrity of banknotes is paramount for ensuring the smooth functioning of financial systems. The rise of sophisticated counterfeiting techniques necessitates robust detection mechanisms to safeguard against economic threats and financial fraud.

Digital image processing emerges as a key solution in this context, offering a technologically advanced approach to currency verification. By harnessing image processing techniques, the detection process is transformed into a digital realm where algorithms and computational methods can analyse intricate banknote details that are often difficult for the human eye to discern.

The digital detection process involves sophisticated algorithms designed to identify genuine currency features and distinguish them from counterfeit ones. This includes analysing intricate patterns, textures, watermarks, and other security elements embedded in legitimate banknotes. Pattern recognition and machine learning enhance the accuracy and efficiency of detection, enabling automated systems to rapidly and reliably identify fake currency.

Currency detection plays a vital role in economic stability. Large-scale circulation of fake money can lead to a loss of confidence in financial systems and disrupt the normal functioning of economies. Individuals, businesses, and financial institutions may suffer substantial financial losses if they unknowingly accept counterfeit currency. Detection mechanisms are therefore crucial for preventing losses and maintaining trust in monetary transactions.

In currency detection, image processing supports pattern recognition, texture analysis, watermark detection, and microprinting verification. Image processing algorithms can be trained to recognize intricate details unique to genuine banknotes, making it difficult for counterfeiters to replicate these features accurately. They also enable the analysis of subtle textures and security elements embedded in authentic banknotes.

1.1 Motivation and Objectives

Motivation: In an era marked by technological advancements and global economic interactions, trust in financial transactions is paramount. Counterfeit currency poses a pervasive threat, challenging the integrity of monetary systems and jeopardizing the economic well-being of individuals and institutions. Traditional manual inspection methods are increasingly inadequate against sophisticated counterfeiting. This motivates the development of an automated solution for fake currency detection using image processing.

Objectives: The main objectives are to acquire banknote images, extract discriminative visual features, train a reliable binary classifier, and evaluate the model using standard performance metrics. The system is intended to distinguish genuine and counterfeit notes efficiently while supporting practical verification by users and institutions.

2. LITERATURE REVIEW

Several studies have explored counterfeit currency recognition using image processing and machine learning. Kumar et al. [1] proposed an Indian note recognition system using advanced image processing techniques and Support Vector Machines. Deborah et al. [2] discussed segmentation and restoration techniques and evaluated image quality using PSNR, MSE, and SSIM. Sarkar and Pal [3] emphasized digital image processing advantages for noise reduction, distortion handling, and edge detection using Canny, Sobel, and Prewitt operators.

Kanojia et al. [4] focused on distinctive features of new INR notes, including colour, dimensions, and printed motifs. Viraktamath et al. [5] reviewed methods such as RGB mean intensity, HSV analysis, K-NN, super-resolution, DTCWT, SIFT enhancement, ORB matching, K-means, and SVM. Kamble et al. [6] presented a deep CNN approach for counterfeit currency detection, showing the importance of deep learning for real-time verification.

Other works compare feature extraction and matching methods. Gupta and Kour [7] used the ORB algorithm, while Roy et al. [8] studied fake currency detection through image processing. Kitagawa et al. [9] used CNNs for banknote portrait detection, and Mukundan et al. [10] proposed hyperspectral imaging for counterfeit detection. Recent machine learning studies also consider decision trees, gradient boosting, Knearest neighbours, logistic regression, Naive Bayes, random forests, and SVM classifiers [11, 12, 13].

3. PROBLEM STATEMENT

The escalation of counterfeit currency threatens the integrity of financial transactions, causing economic instability, financial fraud, and substantial losses. Existing detection methods are often manual, prone to human error, and inadequate against sophisticated counterfeiting techniques. This project addresses the need for an advanced solution by employing image processing algorithms to enhance the accuracy and efficiency of fake currency detection, mitigating risks faced by individuals, businesses, and financial institutions.

4. SYSTEM MODEL

Counterfeit currency detection aims to develop a robust system for accurately distinguishing between genuine and counterfeit banknotes. The proposed system leverages machine learning techniques, particularly logistic regression, to process extracted features from banknote images and make classification decisions. Logistic regression is used because it is a well-established algorithm for binary classification.

By training on a labelled dataset containing real and fake banknotes, the logistic regression model learns to predict authenticity based on extracted features. Figure 1 presents the overall counterfeit currency detection workflow.

Figure 1. System architecture for counterfeit currency detection.
Figure 1. System architecture for counterfeit currency detection.

4.1 Data Preprocessing

The project begins with the collection of a dataset containing features extracted from genuine and counterfeit banknote images. Important image features include variance, skewness, kurtosis, and entropy.

Variance measures the dispersion of data points around the mean. In banknotes, variance can indicate variability in pixel intensities or colour distribution across different regions. High variance suggests significant differences in brightness or colour.

Skewness measures the asymmetry of the probability distribution of a random variable. In image analysis, skewness reveals whether pixel intensities or colours are symmetric or skewed toward one side.

Kurtosis indicates how sharply or flatly the pixel intensity or colour distribution peaks around the mean.

Entropy measures uncertainty or randomness in a system. In image analysis, entropy quantifies the amount of information or complexity in the image, including textures and security patterns.

The dataset is preprocessed so that features are appropriately formatted and scaled, enabling effective model training.

4.2 Model Training and Testing

The dataset is split into training and testing subsets. The training set is used to train the logistic regression model, while the testing set evaluates performance on unseen data. During training, logistic regression optimizes model parameters, particularly the weights assigned to each feature, to minimize the discrepancy between predicted probabilities and actual outcomes. Gradient descent can be used to iteratively adjust weights in the direction that reduces the loss function.

During testing, the trained model is evaluated on data not used during training. This assessment measures generalization ability and confirms whether the classifier can make reliable predictions on new banknote samples.

4.3 Logistic Regression

Logistic regression models the probability that an input instance belongs to a particular class, genuine or counterfeit, given its features. The model computes a linear combination of input features and corresponding weights, representing the log-odds of membership in the positive class. The sigmoid function transforms this value into a probability between 0 and 1:

p(X;b,w) = 1 1+e−(b+wX) . (1)

For multiple input features, the model can be written as:

p(X;b,w) = 1 1+e−(b+w1x1+w2x2+···+wnxn) . (2)

The predicted class is determined by applying a decision threshold, commonly 0.5:

( 1, p(X;b,w) ≥0.5, 0, p(X;b,w) < 0.5. (3) ˆy =

5. METHODOLOGY

The proposed methodology combines image acquisition, preprocessing, feature extraction, model training, and result evaluation. Banknote images are first collected and standardized. Image processing operations are then applied to improve the quality of the input data and highlight relevant security features.

5.1 Image Acquisition and Feature Extraction

Image acquisition captures banknote images using a camera or scanner. The acquired images are normalized to a consistent format. Security features such as printed patterns, texture, denomination marks, watermarks, and visual structures are analysed. Figure 2 and Figure 3 show important note regions and visual attributes.

Figure 2. Front-side visual features of an Indian currency note.
Figure 2. Front-side visual features of an Indian currency note.
Figure 3. Back-side visual features of an Indian currency note.
Figure 3. Back-side visual features of an Indian currency note.

Feature extraction transforms image information into numerical descriptors. The most important numerical attributes include variance, skewness, kurtosis, and entropy, which capture the statistical behaviour of image intensity distributions. These features are then supplied to the machine learning classifier.

5.2 Gradient Descent Optimization

The logistic regression model can be trained by minimizing a cost function. Gradient descent updates coefficients iteratively to reduce error. For a simple linear relationship, predicted values are computed as:

ˆy = a1xi +a0. (4)

The residual error is:

error = ˆy−yi. (5)

The coefficients are updated as:

N ∑ i=1 a1 = a1 −α 1

(error×xi), (6)

N ∑ i=1 a0 = a0 −α 1

(error). (7)

The mean squared error is computed as:

N ∑ i=1

MSE = 1

(ˆyi −yi)2. (8) N

The final coefficients are returned after convergence or after a fixed number of iterations.

6. RESULTS AND DISCUSSION

The logistic regression model is evaluated using metrics such as accuracy, precision, recall, F1-score, ROC curve analysis, and confusion matrix. These metrics provide complementary views of classification performance and help determine whether the system reliably distinguishes genuine and counterfeit banknotes.

The sigmoid curve illustrates how logistic regression converts a linear score into a probability. The ROC curve further supports the evaluation by showing the relationship between true positive rate and false positive rate. A model with stronger discrimination produces a curve closer to the top-left corner and a higher area under the curve.

Table 2. Summary of Major Processing Stages
Table 2. Summary of Major Processing Stages
Table 1. Confusion Matrix Structure for Binary Currency Classification
Table 1. Confusion Matrix Structure for Binary Currency Classification

The standard evaluation measures are calculated as follows:

Accuracy = TP+TN TP+TN +FP+FN , (9)

Precision = TP TP+FP, (10)

Recall = TP TP+FN , (11)

F1-score = 2×Precision×Recall

Precision+Recall . (12)

Figure 4. Sigmoid function used in logistic regression.
Figure 4. Sigmoid function used in logistic regression.
Figure 5. Receiver operating characteristic curves for classifier comparison.
Figure 5. Receiver operating characteristic curves for classifier comparison.

Overall, the system demonstrates the effectiveness of combining image processing and logistic regression for counterfeit currency detection. The extracted features represent visual differences between genuine and counterfeit notes, while the classifier provides an interpretable and efficient binary decision mechanism.

7. CONCLUSION AND FUTURE WORK

The counterfeit currency detection system, leveraging the logistic regression algorithm, demonstrates promising capabilities in distinguishing between genuine and counterfeit banknotes. Through data collection, feature extraction, and model training, the system achieves reliable performance in identifying fraudulent currency. The logistic regression model, trained on features extracted from banknote images, learns to classify banknotes based on distinctive visual characteristics. By evaluating the model with accuracy, precision, recall, F1-score, ROC curve analysis, and confusion matrix, the reliability and effectiveness of the system are assessed.

Future development may explore advanced image processing techniques and additional features to enhance the model’s ability to distinguish between genuine and counterfeit banknotes. Optimization of the logistic regression model and exploration of alternative algorithms may improve classification accuracy. Robustness testing across diverse real-world scenarios and real-time deployment for on-the-spot verification are also important. Continuous monitoring and collaboration with authorities can ensure adaptability to evolving counterfeit techniques and regulatory standards.

References

[1]T. N. Kumar, T. Subhash, S. K. Saajid Rehman, N. Hari Babu, P. Sai, and D. Regan, "Fake Currency Recognition System for Indian Notes using advanced image processing techniques," in Proc. JETIR, vol. 6, no. 4, pp. 31-35, Apr. 2019, DOI: JETIRBC06005, ISSN-2349-5162.

[2] Mrs. B. Hari Chandana, Ms. Lavanya Kandikunta, & Prof. T. Bhaskar Reddy (2018). Texture Classification for Fake Indian Currency

[3]P. M. Deborah, P. C. Soniya, and M. E. Prathap, "Detection of Fake currency using Image Processing," in * - International Journal of Innovative Science, Engineering & Technology, vol. 1, no. 10, pp. 151-157, Dec. 2014.

[4]M.Sumithra,B.Buvaneswari,S.Ahilesharan,T.Fenix Raja Singh,J. Harish. "Online Vehicle Rental System." Journal of Cognitive Human-Computer Interaction, Vol. 2, No. 1, 2022 ,PP. 34-39.

[5] S. Sarkar and A. K. Pal, “Authentication of Indian paper currency using digital image processing”, J. Print Media Technol. Res., vol. 11, no. 3, pp. 195–204, Nov. 2022.

[6] M. Kanojia, N. Gandhi, and A. Rane, "Recognition and verification of Indian currency notes using digital image processing," Journal of Information Assurance and Security, vol. 13, pp. 030-037, 2018. ISSN: 1554-1010.

[7] S. V. Viraktamath, K. Tallur, R. Bhadavankar and Vidya, "Review on Detection of Fake Currency using Image processing Techniques," 2021 5th International Conference on Intelligent Computing and Control Systems (ICICCS), Madurai, India, 2021, pp. 865-870, doi: 10.1109/ICICCS51141.2021.9432111.

[8] Manoj. K. N ,R. Adhithya. S ,A. H. Calvin ,Heaven. R. A ,K.S. Suriya. "Smart Parking System with IoT." Journal of Cognitive Human-Computer Interaction, Vol. 3, No. 2, 2022 ,PP. 08-15.

[9] K. Kamble, A. Bhansali, P. Satalgaonkar and S. Alagundgi, "Counterfeit Currency Detection using Deep Convolutional Neural Network," 2019 IEEE Pune Section International Conference (PuneCon), Pune, India, 2019, pp. 1-4, doi: 10.1109/PuneCon46936.2019.9105683.

[10] Thakur, M., & Kaur, A. (2014). Various fake currency detection techniques. International Journal for Technological Research in Engineering, 1(11), 1309-1313.

[11] Bhurke, C., Sirdeshmukh, M., & Kanitkar, P.M. (2015). Currency Recognition Using Image Processing. International Journal of Innovative Research in Computer and Communication Engineering, 3, 4418-4422.

[12] Gupta, A., & Kour, R. (2022). Fake currency detection using ORB algorithm. International Journal for Research in Applied Science & Engineering Technology (IJRASET), 10(11), 1813. Available at www.ijraset.com.

[13] RajmohanP,Rishisarvesh. U. S ,Ponkumar. G ,Naveen. R,Pragathish. R. S,Santhosh. P ,Arun. k. D ,Syed moinudeen. "Transformer Analyzer BOT." Journal of Cognitive Human-Computer Interaction, Vol. 3, No. 2, 2022 ,PP. 16-20.

[14] Roy, V., Mishra, G., Mannadiar, R., & Patil, S. (2019). “Fake currency detection using image processing”. IJCSMC, 8(4), 88-93.

[15] Kumar, Devid & Chauhan, Surendra. (2020). “A STUDY ON INDIAN FAKE CURRENCY DETECTION” 8. 568-573.

[16] Beigh, T. M., Arivazagan, J., & Venkatesan, V. P. (2024). Counterfeit currency detection using machine learning.Journal of Emerging Technologies and Innovative Research, 11(4). Retrieved from https://www.jetir.org/trackauthorhome.php?a_rid=510143

[17] Kitagawa, R., Mochizuki, Y., Iizuka, S., Simo-Serra, E., Matsuki, H., Natori, N., & Ishikawa, H. (2017, May). Banknote portrait detection using convolutional neural network. In 2017 Fifteenth IAPR International Conference on Machine Vision Applications (MVA) (pp. 440-443). IEEE.

[18]  Yadav, B. P., Patil, C. S., Karhe, R. R., & Patil, P. H. (2014). An automatic recognition of fake Indian paper currency note using MATLAB. *International Journal of Engineering Science and Innovative Technology (IJESIT)*, 3(4).

[19] G.PonKumar,ArvindRavindran,HarshadSultanT,S.N. Karthikrishna,T.Lokeshwar,S. Arvindswamy,M. Maheshkumar,B. Dharani. "Power Backup for Failsafe Power System." Journal of Cognitive Human-Computer Interaction, Vol. 3, No. 2, 2022 ,PP. 26-35.

[20] Shah, R., Champaneri, M., & Sheth, P. (2018). Currency Counting Fake Note Detection. Pujan and Gaikwad (Mohite), Vaishali, Currency Counting Fake Note Detection (October 30, 2018).

[21] Sai, N. T. V. (2023). Enhancing currency security-counterfeit detection with SVM based machine learning technique. *International Journal of Research Publication and Reviews, 4*(12), 3580-3583. Retrieved from www.ijrpr.com

[22] S. Bansal, K. Kohli, K. K. Vishwakarma, and K. Gupta, "Graph Algo Visualizer," Journal of Cognitive Human-Computer Interaction, vol. 3, no. 2, pp. 36-41, 2022.

[23] A. Mukundan, Y. M. Tsao, W. M. Cheng, F. C. Lin, and H. C. Wang, "Automatic Counterfeit Currency Detection Using a Novel Snapshot Hyperspectral Imaging Algorithm," Sensors, vol. 23, no. 4, pp. 2026, 2023.

[24] B. N. Lakshmi and G. S. Kumar, "FAKE CURRENCY DETECTION USING MACHINE LEARNING," Journal of Engineering Sciences, vol. 13, no. 12, 2022.

Continue Reading

View the full issue arrow_forward

Cite This Article

Choose your preferred format

format_quote
P., Trupthi, et al. “Detecting Counterfeit Currency with Image Processing.” Journal of Cognitive Human-Computer Interaction, vol. 7, no. 2, 2024, pp. 16–20. https://doi.org/10.54216/JCHCI.070204.
P., T., K., S., S., P. T., & C., S. M. (2024). Detecting Counterfeit Currency with Image Processing. Journal of Cognitive Human-Computer Interaction, 7(2), 16–20. https://doi.org/10.54216/JCHCI.070204
P., Trupthi, Swarnalatha K., Prerana T. S., and Sonu M. C. “Detecting Counterfeit Currency with Image Processing.” Journal of Cognitive Human-Computer Interaction 7, no. 2 (2024): 16–20. https://doi.org/10.54216/JCHCI.070204.
P., T. et al. (2024) ‘Detecting Counterfeit Currency with Image Processing’, Journal of Cognitive Human-Computer Interaction, 7(2), pp. 16–20. Available at: https://doi.org/10.54216/JCHCI.070204.
P. T, K. S, S. PT, C. SM. Detecting Counterfeit Currency with Image Processing. Journal of Cognitive Human-Computer Interaction. 2024;7(2):16-20. doi:10.54216/JCHCI.070204
T. P., S. K., P. T. S., and S. M. C., “Detecting Counterfeit Currency with Image Processing,” Journal of Cognitive Human-Computer Interaction, vol. 7, no. 2, pp. 16–20, 2024, doi: 10.54216/JCHCI.070204.
policy

Publisher's Note

The statements, opinions, and data presented in this article are solely those of the author(s) and do not necessarily represent those of ASPG, the journal, or its editors. ASPG and the editors disclaim responsibility for any harm arising from the use of any ideas, methods, instructions, or products described in this article, to the fullest extent permitted by applicable law.

Digital Archive Ready