<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.2 20190208//EN" "http://jats.nlm.nih.gov/publishing/1.2/JATS-journalpublishing1.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="1.2" xml:lang="en">
    <front>
        <journal-meta>
            <journal-id journal-id-type="pmc">F1000Research</journal-id>
            <journal-title-group>
                <journal-title>F1000Research</journal-title>
            </journal-title-group>
            <issn pub-type="epub">2046-1402</issn>
            <publisher>
                <publisher-name>F1000 Research Limited</publisher-name>
                <publisher-loc>London, UK</publisher-loc>
            </publisher>
        </journal-meta>
        <article-meta>
            <article-id pub-id-type="doi">10.12688/f1000research.58446.2</article-id>
            <article-categories>
                <subj-group subj-group-type="heading">
                    <subject>Research Article</subject>
                </subj-group>
                <subj-group>
                    <subject>Articles</subject>
                </subj-group>
            </article-categories>
            <title-group>
                <article-title>One- and Five-Ringgit Malaysia banknotes reader with counterfeit detection for visually impaired person using backlight mechanism and image processing techniques</article-title>
                <fn-group content-type="pub-status">
                    <fn>
                        <p>[version 2; peer review: 2 approved, 1 not approved]</p>
                    </fn>
                </fn-group>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Salem</surname>
                        <given-names>Turki Khaled</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Conceptualization</role>
                    <role content-type="http://credit.niso.org/">Data Curation</role>
                    <role content-type="http://credit.niso.org/">Formal Analysis</role>
                    <role content-type="http://credit.niso.org/">Investigation</role>
                    <role content-type="http://credit.niso.org/">Methodology</role>
                    <role content-type="http://credit.niso.org/">Software</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Original Draft Preparation</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="yes">
                    <name>
                        <surname>Wong</surname>
                        <given-names>Wai Kit</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Conceptualization</role>
                    <role content-type="http://credit.niso.org/">Funding Acquisition</role>
                    <role content-type="http://credit.niso.org/">Methodology</role>
                    <role content-type="http://credit.niso.org/">Supervision</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <uri content-type="orcid">https://orcid.org/0000-0003-1477-8449</uri>
                    <xref ref-type="corresp" rid="c1">a</xref>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Min</surname>
                        <given-names>Thu Soe</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Formal Analysis</role>
                    <role content-type="http://credit.niso.org/">Methodology</role>
                    <role content-type="http://credit.niso.org/">Project Administration</role>
                    <role content-type="http://credit.niso.org/">Supervision</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <uri content-type="orcid">https://orcid.org/0000-0003-1681-3420</uri>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Wong</surname>
                        <given-names>Eng Kiong</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Conceptualization</role>
                    <role content-type="http://credit.niso.org/">Project Administration</role>
                    <role content-type="http://credit.niso.org/">Validation</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <aff id="a1">
                    <label>1</label>Faculty of Engineering and Technology, Multimedia University, BKT Beruang, Melaka, 75450, Malaysia</aff>
            </contrib-group>
            <author-notes>
                <corresp id="c1">
                    <label>a</label>
                    <email xlink:href="mailto:wkwong@mmu.edu.my">wkwong@mmu.edu.my</email>
                </corresp>
                <fn fn-type="conflict">
                    <p>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>13</day>
                <month>4</month>
                <year>2022</year>
            </pub-date>
            <pub-date pub-type="collection">
                <year>2021</year>
            </pub-date>
            <volume>10</volume>
            <elocation-id>1098</elocation-id>
            <history>
                <date date-type="accepted">
                    <day>7</day>
                    <month>4</month>
                    <year>2022</year>
                </date>
            </history>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2022 Salem TK et al.</copyright-statement>
                <copyright-year>2022</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access article distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <self-uri content-type="pdf" xlink:href="https://f1000research.com/articles/10-1098/pdf"/>
            <abstract>
                <p>Visually impaired persons face challenges in running business activities, especially in handling banknotes. Malaysia researchers had proposed some Ringgit banknotes recognition systems to aid visually impaired persons recognize and classify Ringgit banknotes. However, these electronic banknote readers can only recognize Malaysian Banknotes&#x2019; Ringgit value, they have no counterfeit detection features. The purpose of this study is to develop a banknote reader that not only can help visually impaired persons recognize the banknote value, but also to detect the counterfeit of the banknote, safeguarding their losses. This paper proposed a Malaysian banknote reader using backlight mechanism and image processing techniques to read and detect counterfeit for one Ringgit and five Ringgit Malaysian banknotes. The developed handheld banknote reader used visual type sensor to capture banknote image, passed to raspberry pi controller to perform image processing on banknote value and the extracted watermarks features. The developed image processing algorithm will trace out the region of interests: 1)see-thru windows, 2)Crescent and Star, 3)Perfect see though register and detect the watermarks features accordingly. The processed result will be passed back to the handheld banknote reader and broadcast on an attached mini speaker to aid the visually impaired understand the holding banknote, whether it is a real one Ringgit, real five Ringgit or none of them. The experimental result shown by this approach able to accomplish numerous round of banknote reading attempts with successful outcomes. Confusion matrix is further employed to study the performance of the banknote reader, in terms of true positive, true negative, false positive and false negative. Details analysis had been focused on the critical false positive cases (predicted real banknote and actually is fake banknote) and false negative cases (predicted fake banknote and it is actually real banknote).</p>
            </abstract>
            <kwd-group kwd-group-type="author">
                <kwd>Circuit and System</kwd>
                <kwd>Banknote Reader</kwd>
                <kwd>Image Processing</kwd>
                <kwd>Banknote Counterfeit</kwd>
                <kwd>Ringgit Detector</kwd>
            </kwd-group>
            <funding-group>
                <award-group id="fund-1">
                    <funding-source>FRGS, MOHE</funding-source>
                    <award-id>MMUE/190246</award-id>
                </award-group>
                <funding-statement>The supporter of this research is the Fundamental Research Grant Scheme (FRGS) under Ministry of Higher Education of Malaysia. (Grant no. MMUE/190246).</funding-statement>
                <funding-statement>
                    <italic>The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.</italic>
                </funding-statement>
            </funding-group>
        </article-meta>
        <notes>
            <sec sec-type="version-changes">
                <label>Revised</label>
                <title>Amendments from Version 1</title>
                <p>The title of the article is revised to &#x201c;One- and Five-Ringgit Malaysia banknotes reader with counterfeit detection for visually impaired person using backlight mechanism and image processing techniques&#x201d;. An introduction to RM1 and RM5 banknotes regarding the watermarks is added in Section 1. The research contribution and novelty in terms of image processing are discussed in the manuscript. The methodology proposed to solve the problem statement are provided in a flow chart (Figure4). The algorithm steps on the operation sequence of the banknote watermarks counterfeit detection further details up in Section 3. More case studies as per Reviewer 2&#x2019;s suggestion were reviewed. Abbreviations (SPB, UTM)are defined properly.&#x00a0; Whole Section 1 Introduction revised accordingly. The issue of bulky size reader will not be discussed since the current proposed system is not having size advantage compare to some market available Malaysian banknote reader. Divisions in Section 2 are treated as subsections, and given number(Section 2.1, Section 2.2 &#x2026; Section 2.5). The micro-controller is first discussed in Section 2.1, before the other components to provide a clearer view why the use of Raspberry Pi cameras are considering. In Section 3, Image &#x201c;Bc&#x201d; and its related definition is removed from the text to avoid confusion. Citation is added for Figure 7. The values of &#x201c;width&#x201d;, &#x201c;height&#x201d;, &#x201c;no. RGBchannels&#x201d;, filter size and the standard deviation used for the Gaussian Blur function are well defined in the text. The thresholding process done by using track bars is well explained. Comparison of the proposed banknote reader detection accuracy and processing speed is done with three state-of-the-art methods: 1)VGG16 model using 2D Convolution Layer (32 neural) at TensorFlow's Keras API[14], 2)MobileNet model using RMSprop Loss Function(learning_rate=0.0001) at TensorFlow's Keras API[15] and 3)Fuzzy Logic Based Perceptual Image Hashing Algorithm[16]. All figures in the paper revised with improved qualities.</p>
            </sec>
        </notes>
    </front>
    <body>
        <sec id="sec1" sec-type="intro">
            <label>1.</label>
            <title>Introduction</title>
            <p>Banknote readers are machines that are used to check whether the received banknotes are genuine or fake. These devices can be found in a variety of automated equipment, including supermarket self-check-out machines, laundromat washing machines, parking ticket paying machines, automatic fare collecting machines, public transportation ticket selling machines, and vending machines. The operating procedures for these machines&#x2019; banknotes reading devices entail inspecting the banknotes that have been entered into the machine and running a series of tests to see if they are counterfeit or not. These currency acceptors must be accurately configured for each item to be accepted since the specifications for each banknote are different.</p>
            <p>Generally, the banknote reader suitable for Malaysian banknotes can be categorized into four processes: FEEL, LOOK, TILT and CHECK. 
                <xref ref-type="bibr" rid="ref1">
                    <sup>1</sup>
                </xref> Feel is defined by the banknote substrate&#x2019;s quality. Polymer banknotes featuring raised print effect on the picture of the first Seri Paduka Baginda Yang di-Pertuan Agong and words made of special plastic. Look involves examining the banknote under the light of a white bulb. A three-dimensional watermark portrait will appear, as well as a perfect see-through registration and a clear window. The security thread will appear in a continuous dark-colored line. Tilt involves tilting the banknote while holding it straight. Examine means examining the security thread and the coloured glossy patch for image and colour changes. Simple equipment may be used to check the banknote, except for certain security features, the Ultraviolet light device will not cause the paper substrate to glow. Micro-letterings will be easily apparent with a magnifying lens. By using the &#x201c;FEEL, LOOK, TILT, and CHECK&#x201d; principle, all current Malaysian banknotes counterfeits can be identified clearly without much trouble.</p>
            <p>The RM1 and RM5 Malaysian Banknotes are shown in 
                <xref ref-type="fig" rid="f1">Figure 1a</xref> and 
                <xref ref-type="fig" rid="f1">Figure 1b</xref> respectively. These banknotes are made from polymer substrate and with security features/watermarks with label 1-8. In sequence: 1) Intaglo, 2) Clear Window, 3) Shadow Image, 4) Crescent &amp; Star Non-transparent window, 5) Perfect see thru Register, 6) Micro-Lettering, 7) Two color fluorescent element for Perfect see-thru, 8) UV BNM Text and Logo. Among the eight types of watermarks, there are three types of watermarks that related to the use of front-backlight mechanism 1) see-thru windows, 2) Crescent and Star non transparent window, 3) Perfect see though register). These three types of watermarks will be selected for the proposed prototype to run test.</p>
            <fig fig-type="figure" id="f1" orientation="portrait" position="float">
                <label>Figure 1. </label>
                <caption>
                    <p>(a) RM1 and (b) RM5 banknotes and their corresponding watermarks.</p>
                </caption>
                <graphic id="gr1" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/125690/e1bde70a-0067-4b35-be06-ecad2bd43398_figure1.gif"/>
            </fig>
            <p>A person who is visually impaired has a vision problem that may not be corrected by wearing glasses. The difference between a blind person and visually impaired person is that the impaired is dim-sighted or visually challenged, not entirely blind, whereas the blind person is entirely blind.
                <xref ref-type="bibr" rid="ref2">
                    <sup>2</sup>
                </xref> The challenges experienced by the visually impaired people at conducting daily-life activities, particularly in operating a business, shopping and tasks involving banknotes handling, are similar to those experienced by blind people. A visually impaired person&#x2019;s banknote transaction is usually handled by their accompanying trusted business vendor or a partner. However, this scenario puts the visually impaired person in danger of being duped in restricting the commercial activities by the accompanying partner or trusted business vendor.</p>
            <p>The Bulgarian Cash Vision team developed the &#x2018;b-note system&#x2019;,
                <xref ref-type="bibr" rid="ref3">
                    <sup>3</sup>
                </xref> a banknote scanner that helps visually handicapped Bulgarians recognize Bulgarian money. They developed a tiny box scanner that employs the camera sensor of a Raspberry Pi controller to record the bill&#x2019;s middle section of an image using feature extraction algorithm to detect the minimal value (specific stamped marks at one of the banknote&#x2019;s corners) and the value of the banknote currency. This banknote reader is not suitable to detect Malaysian banknotes because there are no engraved indications on Malaysian banknotes.</p>
            <p>NantMobile Money Reader, developed by IPPLEX,
                <xref ref-type="bibr" rid="ref4">
                    <sup>4</sup>
                </xref> allows users to aim their iOS device&#x2019;s camera at a banknote and receive real-time denomination information. It accepts 21 different countries&#x2019; currencies, covering the US dollar, Singapore dollar, Australian dollar, etc. The Malaysian ringgit is also disclosed in the reader&#x2019;s directory. However, this product is just an application software that allowed users to download and install physically on devices such as an iPhone, iPad, or smart tablet to use. The use of a touchscreen is inconvenient for blind and visually impaired people.</p>
            <p>Convolutional Neural Networks using MobileNet model was selected by Ref. 
                <xref ref-type="bibr" rid="ref5">5</xref> in detecting Ethiopian banknotes. Convolutional Neural Networks using Canny Edge detection and multiscale template matching methods were selected by Ref. 
                <xref ref-type="bibr" rid="ref6">6</xref> in detecting Indian banknotes. Both these two models are detecting banknotes denomination and counterfeit. However, their counterfeit detection only focus on banknotes&#x2019; surface security features, like micro-lettering and only can detect single - sided of banknotes. Unlike other hidden type of watermarks, micro-lettering is easy to be printed by current high-resolution printers.</p>
            <p>To assess Malaysian banknotes denomination, Universiti Teknologi Malaysia&#x2019;s researchers presented a banknote recognizer with sensor-based modality.
                <xref ref-type="bibr" rid="ref7">
                    <sup>7</sup>
                </xref> The system employs an Arduino UNO as the processing component, which has a hefty physical architecture that makes it impractical for holding by consumers. Aside from that, the rule-based technique to identify the worth banknotes is intuitively established, with no classifier intervention or machine learning in the banknote interpretation. In 2018, the same researchers used Arduino Lilypad to improve the recognizer of banknote into a wearable device for identify the Malaysian Ringgit banknote.
                <xref ref-type="bibr" rid="ref8">
                    <sup>8</sup>
                </xref> The TCS 34725 colour sensor data was fed into a suggested embedded decision tree classifier, which was then tested using 10-folder cross validation and compared to the k-Nearest Neighbour (k-NN) and Nave Bayesian classifiers.</p>
            <p>The disadvantage of the Malaysian banknote readers proposed above are no counterfeit detection. The huge size in device will make it difficult to carry by visually impaired person. Therefore, the proposed Malaysian Banknote reader in this paper will relook into the embedded system design to solve the problem of the bulky size reader. Other than that, counterfeit detection will be embedded into the proposed Malaysian Banknote reader to detect the counterfeit of the banknote, safeguarding the users&#x2019; losses.</p>
            <p>In this paper, a vision based Malaysian banknote reader has been designed to handle Malaysian banknotes for visually impaired people in order to improve the present Malaysian banknote reader and to meet the needs of visually impaired people when doing their regular business operations.</p>
            <p>Different values of Malaysian banknotes are having different types of watermarks, for examples RM1 and RM5 required backlight mechanism, Tilting/rotating mechanisms were necessary for the RM10 and RM20, while ultraviolet light shooting mechanisms were necessary for the RM50 and RM100. The current developed banknote reader work is focused on recognized RM1 and RM5, with backlight mechanism and corresponding image recognition techniques.</p>
            <p>The proposed Malaysian banknotes reader&#x2019;s hardware components include a microprocessor for camera control, a speaker module and illumination. The primary operating idea is that the image of the banknote is captured by a camera, transmitted to the microcontroller for image processing. The developed image processing algorithm will trace out the region of interests: 1) see-thru windows, 2) Crescent and Star, 3) Perfect see though register, from the captured images and detect the watermarks features accordingly to decide the values and counterfeit for the inserted banknote. The detection results are then played as voice message on a mini speaker embedded on the banknote reader. This banknote detection system has a success rate of up to 89% in identifying the proper banknote value and counterfeit.</p>
            <p>The research contribution and novelty for this work is a new model of Malaysian banknotes counterfeit detection using watermarks image processing analysis and classifier with fuzzy logic. In particular, the three watermarks features: 1) see-thru windows, 2) Crescent and Star, 3) Perfect see though register will be extracted from the one Ringgit and five Ringgit banknotes to determine the real/fake in a dynamic environment with ambiguous, distorted or imprecise banknotes images.</p>
            <p>The paper is well ordered in following manner. The Malaysian banknote reader system model with backlight mechanism will be briefly detailed in 
                <xref ref-type="sec" rid="sec2">Section 2</xref>. 
                <xref ref-type="sec" rid="sec3">Section 3</xref> show the proposed image processing-based RM1 and RM5 Malaysian banknotes detection algorithm. 
                <xref ref-type="sec" rid="sec4">Section 4</xref> comments same experimental result and lastly in 
                <xref ref-type="sec" rid="sec5">Section 5</xref>, conclusion is future work are presented.</p>
        </sec>
        <sec id="sec2">
            <label>2.</label>
            <title>RM1 and RM5 banknotes reader system model</title>
            <p>The system model for the RM1 and RM5 banknotes reading system is show in 
                <xref ref-type="fig" rid="f2">Figure 2</xref>. The banknotes detector is consisting of various parts and a slot of banknote insertion. The working principle start with the backlight platform with white light is turned on/off to captured two images of the inserted banknote, one with backlight and one with no backlight images. The two captured images are sent to microcontroller for image processing and check if the inserted banknote is a real RM1, real RM 5 or fake banknote/none of them. The results will be displayed on a speaker to allow the visually impaired person knows the holding paper notes.</p>
            <fig fig-type="figure" id="f2" orientation="portrait" position="float">
                <label>Figure 2. </label>
                <caption>
                    <p>RM1 and RM5 banknotes detection system model.</p>
                </caption>
                <graphic id="gr2" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/125690/e1bde70a-0067-4b35-be06-ecad2bd43398_figure2.gif"/>
            </fig>
            <sec id="sec2.1">
                <label>2.1</label>
                <title>Micro-controller</title>
                <p>The micro-controller is used to regulate the functionalities of embedded systems in the banknotes detection system. Two types of micro-controllers surveyed. In Type1, an Arduino was surveyed. The CPU, RAM, and ROM are all found on the Arduino board&#x2019;s Micro-controller. All of the extra hardware on the Arduino Board is used for power, programming, and IO connectivity. In Type2, Raspberry Pi 4 Model B was surveyed. Raspberry Pi 4 Model B is a single-board computer, with CPU, memory, and graphics chip soldered together on a single circuit board. The Arduino clock speed is 16 MHz, while the Raspberry Pi clock speed is roughly 1.2 GHz. Raspberry Pi is ideal for writing Python-based software, but Arduino is ideal for connecting sensors and controlling LEDs and motors. The Raspberry Pi includes Bluetooth and Wi-Fi technology on board, whereas the Arduino does not have wireless connectivity. Raspberry Pi can simply connect to the internet via Wi-Fi, whereas the Arduino requires an extra module to do so. Therefore, taking into consideration of the above advantages, type 2 micro-controller, the Raspberry Pi 4 Model B is selected to be used in this project.</p>
            </sec>
            <sec id="sec2.2">
                <label>2.2</label>
                <title>Imaging tool</title>
                <p>An appropriate imaging tool capable of taking a perfect image of the banknote is selected, allowing the image to be processed accurately. Three types of imaging tool are surveyed. In Type 1, a Raspberry Pi 5MP camera sensor board was surveyed. The sensor itself features a fixed focus lens and a native resolution of 5 megapixels. It can capture static photos with a resolution of 2592 by 1944 pixels. In Type 2, a 5MP OV5647 Fisheye Camera Module for Raspberry Pi was surveyed. This imaging set improves optical performance and provides a clearer, sharper image as well as an integrated IR filter. However, the static photos only have a resolution of 2592 &#x00d7; 1944 pixels. In Type 3, a Raspberry Pi 8MP Camera Module V2 was surveyed. The Raspberry Pi Camera Module V2 is the Raspberry Pi Foundation&#x2019;s new upgraded official camera board, with an ultra-high-quality 8MP (megapixel) sensor and a fixed focus lens. This V2 camera module can capture static photos at a resolution of 3280 &#x00d7; 2464 pixels. Type 3 imaging tool is selected to be used in this project due to the better resolution and finer focus range.</p>
            </sec>
            <sec id="sec2.3">
                <label>2.3</label>
                <title>Backlight platform</title>
                <p>The purpose of having a backlight platform is to illuminate the banknotes from the back to aid the imaging tool captured the watermarks (see-thru windows, Crescent and Star, Perfect see though register) hidden in the real RM1 and RM5 banknotes. A custom-made therapy LED white Light with 3 dimming levels and USB powered cable had been fabricated. The maximum light intensity generated is 12000LUX and with the box size of dimension 235 mm (L) &#x00d7; 142 mm (W) &#x00d7; 16 mm (H), fit with the Malaysian RM1 and RM5 banknotes sizes.</p>
            </sec>
            <sec id="sec2.4">
                <label>2.4</label>
                <title>Speaker</title>
                <p>The speaker module is applied to output the voice message of the banknote values to the visually impaired person. This is because the visually impaired individual can only &#x201c;hear&#x201d; but not &#x201c;see&#x201d; the output. As such, the Mini speaker module as shown in 
                    <xref ref-type="fig" rid="f3">Figure 3</xref> is chosen. The module can be controlling using Raspberry Pi. Using a software interface, the Raspberry Pi can convert text to speech and played it on the mini speaker module. The mini speaker module has a very compact size of 5 cm &#x00d7; 3.5 cm (Diameter &#x00d7; Height), which is quite appealing because the system&#x2019;s hardware should be as tiny as feasible. The notification messages given to the users include: &#x201c;Real one Ringgit&#x201d;, &#x201c;Real five Ringgit&#x201d; and &#x201c;Not a Malaysian banknote.&#x201d;</p>
                <fig fig-type="figure" id="f3" orientation="portrait" position="float">
                    <label>Figure 3. </label>
                    <caption>
                        <p>Mini speaker.</p>
                    </caption>
                    <graphic id="gr3" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/125690/e1bde70a-0067-4b35-be06-ecad2bd43398_figure3.gif"/>
                </fig>
                <p>The description on how to set up this sound/notification is given below: Import pyttsx3 library in Python. It is a text-to-speech conversion library in Python. The results in step 6 Decision making part will be sent to activate the text (e.g. Real one Ringgit, Real five Ringgit or Not a Malaysian banknote.&#x201d; The pyttsx3 command will transfer the text to speech and display at the speaker. Below is the sample of codings:</p>
                <p>engine = pyttsx3.init()</p>
                <p>engine.say("Real five ringgit")</p>
                <p>engine.runAndWait()</p>
                <p>engine.stop()</p>
            </sec>
            <sec id="sec2.5">
                <label>2.5</label>
                <title>Battery</title>
                <p>The entire system consumed up to current rating of 1.2 A and voltage rating of 5.0 V. A power bank with a 5 V output can be selected as a power source for this project. The power bank is the power source to Raspberry Pi using Type-C connectors. Raspberry Pi will supply direct power to the speaker module and imaging tools. The purpose of employing a power bank as a power source rather than a power line or socket is to produce a portable gadget that can be carried about. Furthermore, the size of the handheld banknote reader should be as compact as feasible, and cumbersome power sources should be avoided.</p>
                <p>
                    <xref ref-type="fig" rid="f4">Figure 4</xref> shown the methodology proposed by the authors to solve the problem statement of banknote counterfeit detection. The detail of the algorithm is explained in 
                    <xref ref-type="sec" rid="sec3">Section 3</xref>.</p>
                <fig fig-type="figure" id="f4" orientation="portrait" position="float">
                    <label>Figure 4. </label>
                    <caption>
                        <p>Methodology of the proposed image processing model.</p>
                    </caption>
                    <graphic id="gr4" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/125690/e1bde70a-0067-4b35-be06-ecad2bd43398_figure4.gif"/>
                </fig>
            </sec>
        </sec>
        <sec id="sec3">
            <label>3.</label>
            <title>RM1 and RM5 banknotes detection image processing algorithm</title>
            <p>The image processing algorithm for RM1 and RM5 detection can be divided into 6 steps:</p>
            <p>Step 1: Banknote image acquisition</p>
            <p>Turn off the back lamp, imaging tool takes image of the slotted in banknote and save it as image &#x201c;Ba&#x201d;. Turn on the back lamp, imaging tool take image of the slotted in banknote and save it as image &#x201c;Bb&#x201d;. A sample set of the RM1 banknote (image &#x201c;Ba&#x201d; and &#x201c;Bb&#x201d;) is shown in 
                <xref ref-type="fig" rid="f5">Figure 5</xref> below.</p>
            <fig fig-type="figure" id="f5" orientation="portrait" position="float">
                <label>Figure 5. </label>
                <caption>
                    <p>Sample set of acquired RM1 banknote (a) image &#x201c;Ba&#x201d;, (b) image &#x201c;Bb&#x201d;.</p>
                </caption>
                <graphic id="gr5" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/125690/e1bde70a-0067-4b35-be06-ecad2bd43398_figure5.gif"/>
            </fig>
            <p>Step 2: Image pre-processing</p>
            <p>Improve the image quality and reduce image noise by converting image &#x201c;Bb&#x201d; from RGB colour to grey scale colour.
                <xref ref-type="bibr" rid="ref9">
                    <sup>9</sup>
                </xref>
            </p>
            <p>The two sub-steps below applied for image preprocessing:</p>
            <p>
                <bold>1.</bold> Resize image</p>
            <p>Certain images capture by the imaging tool and pass to the image processing tasks are in different sizes, these images should be standardized in size. Resize all input images (Ba and Bb) to standard size images using the below equation:
                <disp-formula id="e1">
                    <mml:math display="block">
                        <mml:mfenced close="]" open="[" separators=",,">
                            <mml:mi mathvariant="normal">Ba</mml:mi>
                            <mml:mi mathvariant="normal">Bb</mml:mi>
                        </mml:mfenced>
                        <mml:mo>=</mml:mo>
                        <mml:mtext>Resized</mml:mtext>
                        <mml:mspace width="0.25em"/>
                        <mml:mfenced close=")" open="(" separators="">
                            <mml:mtext>width, height, no. RGBchannels</mml:mtext>
                        </mml:mfenced>
                    </mml:math>
                    <label>(1)</label>
                </disp-formula>
            </p>
            <p>
                <bold>2.</bold> Remove image noise</p>
            <p>Using Gaussian Blur function image Processing method
                <xref ref-type="bibr" rid="ref10">
                    <sup>10</sup>
                </xref> to remove the unwanted noise on images &#x201c;Ba&#x201d; and &#x201c;Bb&#x201d;. A sample image &#x201c;Ba&#x201d; of RM1 is shown in 
                <xref ref-type="fig" rid="f6">Figure 6</xref>, on the original image and the Gaussian Blur converted image.</p>
            <fig fig-type="figure" id="f6" orientation="portrait" position="float">
                <label>Figure 6. </label>
                <caption>
                    <p>Original and Gaussian Blur converted image.</p>
                </caption>
                <graphic id="gr6" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/125690/e1bde70a-0067-4b35-be06-ecad2bd43398_figure6.gif"/>
            </fig>
            <p>Step 3: Songket/Hornbill clear window detection</p>
            <p>Detect the clear window of RM1 or RM5 Using Mask detection algorithm.
                <xref ref-type="bibr" rid="ref11">
                    <sup>11</sup>
                </xref> HSV colour space is more often used in computer vision owing to its superior performance compared to RGB colour space in varying illumination levels. Thresholding and masking is done in HSV colour space. 
                <xref ref-type="fig" rid="f7">Figure 7</xref> illustrates Hue, Saturation, Value (HSV) colour model and 
                <xref ref-type="fig" rid="f8">Figure 8</xref>, shows both the original image of RM1 and the converted image in HSV.</p>
            <fig fig-type="figure" id="f7" orientation="portrait" position="float">
                <label>Figure 7. </label>
                <caption>
                    <p>HSV colour model.
                        <sup>
                            <xref ref-type="bibr" rid="ref12">12</xref>
                        </sup>
                    </p>
                </caption>
                <graphic id="gr7" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/125690/e1bde70a-0067-4b35-be06-ecad2bd43398_figure7.gif"/>
            </fig>
            <fig fig-type="figure" id="f8" orientation="portrait" position="float">
                <label>Figure 8. </label>
                <caption>
                    <p>Original image (left) and HSV image (right).</p>
                </caption>
                <graphic id="gr8" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/125690/e1bde70a-0067-4b35-be06-ecad2bd43398_figure8.gif"/>
            </fig>
            <p>The threshold values are fixed according to the banknote reader box internal environment and the front-backlight intensity. There are two set of threshold values set, one set for RM1 and another set for RM5. For RM1 the HSV value for the raspberry pi processor is fixed at Hue Min=0, Hue Max=179, Sat Min= 0, Sat Max=255, Val Min=170,Val Max=255 . For RM5 the HSV value for the raspberry pi processor is fixed at Hue Min=0, Hue Max=179, Sat Min=0, Sat Max=255, Val Min=205,Val Max=255. 
                <xref ref-type="fig" rid="f9">Figure 9(a)</xref> will show Track bars detect features in RM1 images. 
                <xref ref-type="fig" rid="f9">Figure 9(b)</xref> will show Track bars detect features in RM5 images.</p>
            <fig fig-type="figure" id="f9" orientation="portrait" position="float">
                <label>Figure 9. </label>
                <caption>
                    <p>Track bars detect features in images.</p>
                </caption>
                <graphic id="gr9" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/125690/e1bde70a-0067-4b35-be06-ecad2bd43398_figure9.gif"/>
            </fig>
            <p>Specify the upper and lower bounds of the pixel&#x2019;s values in the captured images. 
                <xref ref-type="fig" rid="f9">Figure 9</xref> shown the track bars in python programming used to detect the features in images &#x201c;Ba&#x201d; and &#x201c;Bb&#x201d;. The set track bars HSV values will be used for the overall banknote detection later on. 
                <xref ref-type="fig" rid="f10">Figure 10</xref> shown the original image for RM1 and its corresponding mask image. 
                <xref ref-type="fig" rid="f11">Figure 11</xref> shown original image for RM5 and its corresponding mask image respectively.</p>
            <fig fig-type="figure" id="f10" orientation="portrait" position="float">
                <label>Figure 10. </label>
                <caption>
                    <p>Original image for RM1 (left side) and mask image (right side).</p>
                </caption>
                <graphic id="gr10" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/125690/e1bde70a-0067-4b35-be06-ecad2bd43398_figure10.gif"/>
            </fig>
            <fig fig-type="figure" id="f11" orientation="portrait" position="float">
                <label>Figure 11. </label>
                <caption>
                    <p>Original image for RM5 (left side) and it&#x2019;s mask image (right side).</p>
                </caption>
                <graphic id="gr11" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/125690/e1bde70a-0067-4b35-be06-ecad2bd43398_figure11.gif"/>
            </fig>
            <p>If neither &#x201c;Songket&#x201d; nor &#x201c;Hornbill&#x201d; clear window is detected, then &#x201c;the banknote is neither 1 Ringgit nor 5 Ringgit&#x201d;.</p>
            <p>Step 4: Three Regions of interest detection</p>
            <p>Detect the three regions of interest, namely: Region1 (for transparent see thru window), Region 2 (for crescent and star) and Region 3 (for see-thru register). If clear window (white area in the red box Mask image as shown in 
                <xref ref-type="fig" rid="f10">Figure 10</xref> for RM1 and 
                <xref ref-type="fig" rid="f11">Figure 11</xref> for RM5) is detected, in the same area of original image (image &#x201c;Bb&#x201d;):</p>
            <p>
                <bold>(i)</bold> Detect Regions of interest in RM1/RM5 banknote:</p>
            <p>Search for the biggest and brightest/whitest bounded object, mark it as Region 1 (preparation for &#x201c;Songket&#x201d;/ &#x201c;Hornbill&#x201d; searching in Step 5). Then in the same clear window area of image &#x201c;Bb&#x201d;, search for the second biggest and brightest/whitest bounded object, mark it as Region 2 (preparation for &#x201c;Crescent and Star&#x201d; object pair searching in Step 5).</p>
            <p>If Region 2 fall on the left side of the Y-axis symmetrical centreline of Region 1, then locate Region 3 at the right side with respect to the Y-axis symmetrical centreline of Region 1, by an area of &#x00bd; Region 1&#x2019;s horizontal length in square&#x2019;s dimension. Else if Region 2 fall on the right side of the Y-axis symmetrical centreline of Region 1, then locate Region 3 at the left side with respect to the Y-axis symmetrical centreline of Region 1, by an area of &#x00bd; Region 1&#x2019;s horizontal length in square&#x2019;s dimension.</p>
            <p>Due to the reason that user might slot in banknotes into the banknote reader in different direction, the four possibilities of correct detected 3 Regions of interests for the slot in banknotes are shown in 
                <xref ref-type="fig" rid="f12">Figure 12</xref> and 
                <xref ref-type="fig" rid="f13">Figure 13</xref> below (For RM1 and RM5 respectively).</p>
            <fig fig-type="figure" id="f12" orientation="portrait" position="float">
                <label>Figure 12. </label>
                <caption>
                    <p>Four possibilities of RM1 correct detected 3 Region of interest.</p>
                </caption>
                <graphic id="gr12" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/125690/e1bde70a-0067-4b35-be06-ecad2bd43398_figure12.gif"/>
            </fig>
            <fig fig-type="figure" id="f13" orientation="portrait" position="float">
                <label>Figure 13. </label>
                <caption>
                    <p>Four possibilities of RM5 correct detected 3 Region of interest.</p>
                </caption>
                <graphic id="gr13" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/125690/e1bde70a-0067-4b35-be06-ecad2bd43398_figure13.gif"/>
            </fig>
            <p>The reason that Region 2 is not similar size with Region 3 is because in RM1/RM5&#x2019;s banknote design, portion numeric text (&#x201c;1&#x201d;/&#x201c;5&#x201d;) of the see-thru register fall in Region 3 might be clipped, rendering the watermark undetected if similar Region 2&#x2019;s dimension is used for locating Region 3. Hence Region 3&#x2019;s area should be assigned slightly bigger than Region 2.</p>
            <p>
                <bold>(ii)</bold> Synchronize Regions of interest for better watermark detection in Step 5:</p>
            <p>&#x2003;
                <bold>&#x2013;</bold> Convert Possibility 2 case into Possibility 1 case</p>
            <p>&#x2003;IF Region 1&#x2019;s Y-coordinates &gt; Region 2&#x2019;s Y-coordinates</p>
            <p>&#x2003;&#x2003;AND Region 2&#x2019;s X-coordinates &gt; Region 3&#x2019;s X-coordinates,</p>
            <p>&#x2003;&#x2003;THEN &#x201c;flipped image &#x201c;Bb&#x201d; horizontally, identify Region 1, 2 and 3 again using step (i) or step (ii) above&#x201d;.</p>
            <p>&#x2003;
                <bold>&#x2013;</bold> Convert Possibility 3 case into Possibility 1 case</p>
            <p>&#x2003;IF Region 1&#x2019;s Y-coordinates &lt; Region 2&#x2019;s Y-coordinates</p>
            <p>&#x2003;&#x2003;AND Region 2&#x2019;s X-coordinates &lt; Region 3&#x2019;s X-coordinates,</p>
            <p>&#x2003;&#x2003;THEN &#x201c;flipped the image &#x201c;Bb&#x201d; vertically, identify Region 1, 2 and 3 again using step (i) or step (ii) above&#x201d;.</p>
            <p>&#x2003;
                <bold>&#x2013;</bold> Convert Possibility 4 case into Possibility 1 case</p>
            <p>&#x2003;IF Region 1&#x2019;s Y-coordinates &lt; Region 2&#x2019;s Y-coordinates</p>
            <p>&#x2003;&#x2003;AND Region 2&#x2019;s X-coordinates &gt; Region 3&#x2019;s X-coordinates,</p>
            <p>&#x2003;&#x2003;THEN &#x201c;Performs image 180&#x00b0; rotation on the image &#x201c;Bb&#x201d;, identify Region 1, 2 and 3 again using step (i) or step (ii) above&#x201d;.</p>
            <p>Step 5: Watermarks detection</p>
            <p>Detect the watermarks characteristics within each of the detected regions of interest.
                <list list-type="roman-lower">
                    <list-item>
                        <label>(i)</label>
                        <p>Region 1 detection:</p>
                    </list-item>
                </list>
            </p>
            <p>Noise object exclusion: Check if the total pixels within the bounded area of the region,
                <disp-formula id="e2">
                    <mml:math display="block">
                        <mml:msub>
                            <mml:mi mathvariant="italic">TP</mml:mi>
                            <mml:mrow>
                                <mml:mi>R</mml:mi>
                                <mml:mn>1</mml:mn>
                            </mml:mrow>
                        </mml:msub>
                        <mml:mo>&#x2265;</mml:mo>
                        <mml:msub>
                            <mml:mi>P</mml:mi>
                            <mml:mrow>
                                <mml:mi>R</mml:mi>
                                <mml:mn>1</mml:mn>
                            </mml:mrow>
                        </mml:msub>
                        <mml:mo>&#x00d7;</mml:mo>
                        <mml:mi mathvariant="italic">TR</mml:mi>
                    </mml:math>
                    <label>(2)</label>
                </disp-formula>
            </p>
            <p>where 
                <italic toggle="yes">P</italic>
                <sub>
                    <italic toggle="yes">R</italic>1</sub> = Percentage of songket/hornbill area in a Malaysian Banknote.</p>
            <p>
                <italic toggle="yes">TR</italic> = Total Pixels in the Resized Image converted in Step 2.</p>
            <p>IF condition in 
                <xref ref-type="disp-formula" rid="e2">equation (2)</xref> is NOT FULFILLED, Region 1 object is a noise object,</p>
            <p>&#x2003;&#x2003;THEN Output: &#x201c;Region 1 watermark is not detected.&#x201d;</p>
            <p>ELSE IF condition in 
                <xref ref-type="disp-formula" rid="e2">equation (2)</xref> is FULFILLED,</p>
            <p>&#x2003;&#x2003;THEN Region 1 object is a possible watermark, proceed to the below Bounding Box measurement.</p>
            <p>
                <underline>Bounding box measurement:</underline>
            </p>
            <p>Assign 
                <italic toggle="yes">H</italic>
                <sub>
                    <italic toggle="yes">R</italic>1</sub> as the height of the Region 1 bounding box 
                <italic toggle="yes">W</italic>
                <sub>
                    <italic toggle="yes">R</italic>1</sub> as the width of the Region 1 bounding box (as shown in 
                <xref ref-type="fig" rid="f14">Figure 14</xref> below).</p>
            <fig fig-type="figure" id="f14" orientation="portrait" position="float">
                <label>Figure 14. </label>
                <caption>
                    <p>Bounding box of Region 1 (a) sample of RM1 (b) sample of RM5.</p>
                </caption>
                <graphic id="gr14" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/125690/e1bde70a-0067-4b35-be06-ecad2bd43398_figure14.gif"/>
            </fig>
            <p>Measure Region 1 bounding box&#x2019;s height to width
                <disp-formula id="e3">
                    <mml:math display="block">
                        <mml:mtext>ratio</mml:mtext>
                        <mml:mo>=</mml:mo>
                        <mml:msub>
                            <mml:mi>H</mml:mi>
                            <mml:mrow>
                                <mml:mi>R</mml:mi>
                                <mml:mn>1</mml:mn>
                            </mml:mrow>
                        </mml:msub>
                        <mml:mo>/</mml:mo>
                        <mml:msub>
                            <mml:mi>W</mml:mi>
                            <mml:mrow>
                                <mml:mi>R</mml:mi>
                                <mml:mn>1</mml:mn>
                            </mml:mrow>
                        </mml:msub>
                    </mml:math>
                    <label>(3)</label>
                </disp-formula>
            </p>
            <p>IF 
                <italic toggle="yes">Th</italic>
                <sub>
                    <italic toggle="yes">R</italic>1,
                    <italic toggle="yes">RM</italic>1(
                    <italic toggle="yes">min</italic>)</sub> &lt; 
                <italic toggle="yes">H</italic>
                <sub>
                    <italic toggle="yes">R</italic>1</sub>/
                <italic toggle="yes">W</italic>
                <sub>
                    <italic toggle="yes">R</italic>1</sub> &lt; 
                <italic toggle="yes">Th</italic>
                <sub>
                    <italic toggle="yes">R</italic>1,
                    <italic toggle="yes">RM</italic>1(
                    <italic toggle="yes">max</italic>)</sub>, THEN Output: &#x201c;Region 1&#x2019;s watermark for RM1 is detected.&#x201d;</p>
            <p>ELSE IF 
                <italic toggle="yes">Th</italic>
                <sub>
                    <italic toggle="yes">R</italic>1,
                    <italic toggle="yes">RM</italic>5(
                    <italic toggle="yes">min</italic>)</sub> &lt; 
                <italic toggle="yes">H</italic>
                <sub>
                    <italic toggle="yes">R</italic>1</sub>/
                <italic toggle="yes">W</italic>
                <sub>
                    <italic toggle="yes">R</italic>1</sub> &lt; 
                <italic toggle="yes">Th</italic>
                <sub>
                    <italic toggle="yes">R</italic>1,
                    <italic toggle="yes">RM</italic>5(
                    <italic toggle="yes">max</italic>)</sub>,</p>
            <p>&#x2003;&#x2003;THEN Output: &#x201c;Region 1&#x2019;s watermark for RM5 is detected.&#x201d;</p>
            <p>ELSE Output: &#x201c;Region 1&#x2019;s watermark is not detected.&#x201d;</p>
            <p>where</p>
            <p>
                <bold>&#x2013;</bold> 
                <italic toggle="yes">Th</italic>
                <sub>
                    <italic toggle="yes">R</italic>1,
                    <italic toggle="yes">RM</italic>1(
                    <italic toggle="yes">min</italic>)</sub> is the minimum threshold of RM1&#x2019;s &#x201c;Songket&#x201d; height to width ratio</p>
            <p>
                <bold>&#x2013;</bold> 
                <italic toggle="yes">Th</italic>
                <sub>
                    <italic toggle="yes">R</italic>1,
                    <italic toggle="yes">RM</italic>1(
                    <italic toggle="yes">max</italic>)</sub> is the maximum threshold of RM1&#x2019;s &#x201c;Songket&#x201d; height to width ratio.</p>
            <p>
                <bold>&#x2013;</bold> 
                <italic toggle="yes">Th</italic>
                <sub>
                    <italic toggle="yes">R</italic>1,
                    <italic toggle="yes">RM</italic>5(
                    <italic toggle="yes">min</italic>)</sub> is the minimum threshold of RM5&#x2019;s &#x201c;Hornbill&#x201d; height to width ratio.</p>
            <p>
                <bold>&#x2013;</bold> 
                <italic toggle="yes">Th</italic>
                <sub>
                    <italic toggle="yes">R</italic>1,
                    <italic toggle="yes">RM</italic>5(
                    <italic toggle="yes">max</italic>)</sub> is the maximum threshold of RM5&#x2019;s &#x201c;Hornbill&#x201d; height to width ratio.</p>
            <p>
                <bold>(ii)</bold> Region 2 detection:</p>
            <p>Compare the colour intensity of the Crescent and Star&#x2019;s pixels in image &#x201c;Ba&#x201d; and image &#x201c;Bb&#x201d; (sample of RM1 and RM5 Crescent and Star are shown in 
                <xref ref-type="fig" rid="f15">Figure 15</xref>).</p>
            <fig fig-type="figure" id="f15" orientation="portrait" position="float">
                <label>Figure 15. </label>
                <caption>
                    <p>Sample of RM1 and RM5&#x2019;s Crescent and Star images captured with backlight Off (left side) and with backlight On (right side).</p>
                </caption>
                <graphic id="gr15" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/125690/e1bde70a-0067-4b35-be06-ecad2bd43398_figure15.gif"/>
            </fig>
            <p>IF &#x201c;Region 1&#x2019;s watermark for RM1 is detected&#x201d; AND 
                <italic toggle="yes">Th</italic>
                <sub>
                    <italic toggle="yes">R</italic>2,
                    <italic toggle="yes">RM</italic>1(
                    <italic toggle="yes">min</italic>)</sub> &lt;|Blue component for sampled pixel of Crescent and Star in image &#x201c;Ba&#x201d; - The same coordinate sampled pixel of Crescent and Star in image &#x201c;Bb&#x201d;|&lt; 
                <italic toggle="yes">Th</italic>
                <sub>
                    <italic toggle="yes">R</italic>2,
                    <italic toggle="yes">RM</italic>1(
                    <italic toggle="yes">max</italic>)</sub>,</p>
            <p>&#x2003;&#x2003;THEN Output: &#x201c;Region 2 watermark for RM1 is detected.&#x201d;</p>
            <p>ELSE IF &#x201c;Region 1&#x2019;s watermark for RM5 is detected&#x201d; AND 
                <italic toggle="yes">Th</italic>
                <sub>
                    <italic toggle="yes">R</italic>2,
                    <italic toggle="yes">RM</italic>5(
                    <italic toggle="yes">min</italic>)</sub> &lt;|Green component for sampled pixel of Crescent and Star in image &#x201c;Ba&#x201d; - The same coordinate sampled pixel of Crescent and Star in image &#x201c;Bb&#x201d;|&lt; 
                <italic toggle="yes">Th</italic>
                <sub>
                    <italic toggle="yes">R</italic>2,
                    <italic toggle="yes">RM</italic>5(
                    <italic toggle="yes">max</italic>)</sub>,</p>
            <p>&#x2003;&#x2003;THEN Output: &#x201c;Region 2 watermark for RM5 is detected.&#x201d;</p>
            <p>ELSE Output: &#x201c;Region 2&#x2019;s watermark is not detected.&#x201d; where</p>
            <p>
                <bold>&#x2013;</bold> 
                <italic toggle="yes">Th</italic>
                <sub>
                    <italic toggle="yes">R</italic>2,
                    <italic toggle="yes">RM</italic>1(
                    <italic toggle="yes">min</italic>)</sub> is the minimum threshold of the acceptable colour intensity change of RM1&#x2019;s &#x201c;Crescent and Star&#x201d; between the banknote image captured with backlight On (&#x201c;Bb&#x201d;) and backlight Off (&#x201c;Ba&#x201d;).</p>
            <p>
                <bold>&#x2013;</bold> 
                <italic toggle="yes">Th</italic>
                <sub>
                    <italic toggle="yes">R</italic>2,
                    <italic toggle="yes">RM</italic>1(
                    <italic toggle="yes">max</italic>)</sub> is the maximum threshold of the acceptable colour intensity change of RM1&#x2019;s &#x201c;Crescent and Star&#x201d; between the banknote image captured with backlight On (&#x201c;Bb&#x201d;) and backlight Off (&#x201c;Ba&#x201d;).</p>
            <p>
                <bold>&#x2013;</bold> 
                <italic toggle="yes">Th</italic>
                <sub>
                    <italic toggle="yes">R</italic>2,
                    <italic toggle="yes">RM</italic>5(
                    <italic toggle="yes">min</italic>)</sub> is the minimum threshold of the acceptable colour intensity change of RM5&#x2019;s &#x201c;Crescent and Star&#x201d; between the banknote image captured with backlight On (&#x201c;Bb&#x201d;) and backlight Off (&#x201c;Ba&#x201d;).</p>
            <p>
                <bold>&#x2013;</bold> 
                <italic toggle="yes">Th</italic>
                <sub>
                    <italic toggle="yes">R</italic>2,
                    <italic toggle="yes">RM</italic>5(
                    <italic toggle="yes">max</italic>)</sub> is the maximum threshold of the acceptable colour intensity change of RM5&#x2019;s &#x201c;Crescent and Star&#x201d; between the banknote image captured with backlight On (&#x201c;Bb&#x201d;) and backlight Off (&#x201c;Ba&#x201d;).</p>
            <p>
                <bold>(iii)</bold> Region 3 detection:</p>
            <p>Convert Region 3 in image &#x201c;Ba&#x201d; to Black and White image, name the new image as image &#x201c;WBa&#x201d;.</p>
            <p>Convert Region 3 in image &#x201c;Bb&#x201d; to Black and White image, name the new image as image &#x201c;WBb&#x201d;.</p>
            <p>Detect the numerical &#x201c;1&#x201d; or &#x201c;5&#x201d; in &#x201c;WBa&#x201d; and &#x201c;WBb&#x201d; using PyTesseract,
                <xref ref-type="bibr" rid="ref13">
                    <sup>13</sup>
                </xref>
                <sup>,</sup>
                <xref ref-type="bibr" rid="ref14">
                    <sup>14</sup>
                </xref> an OCR (optical character recognition) tool for python, which is the wrapper for Tesseract,
                <xref ref-type="bibr" rid="ref15">
                    <sup>15</sup>
                </xref> a free OCR engine sponsored by Google since 2006.</p>
            <p>IF numerical &#x201c;1&#x201d; detected in image &#x201c;WBb&#x201d; AND not detected in image &#x201c;WBa&#x201d; (sample as shown in 
                <xref ref-type="fig" rid="f16">Figure 16a</xref>),</p>
            <fig fig-type="figure" id="f16" orientation="portrait" position="float">
                <label>Figure 16. </label>
                <caption>
                    <p>Sample of successful Region 3 detection (a) WBa and WBb for RM1 (b) WBa and WBb for RM5.</p>
                </caption>
                <graphic id="gr16" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/125690/e1bde70a-0067-4b35-be06-ecad2bd43398_figure16.gif"/>
            </fig>
            <p>&#x2003;&#x2003;THEN Output: &#x201c;Region 3 watermark for RM1 is detected.&#x201d;</p>
            <p>ELSE IF numerical &#x201c;5&#x201d; detected in image &#x201c;WBb&#x201d; AND not detected in image &#x201c;WBa&#x201d; (sample as shown in 
                <xref ref-type="fig" rid="f16">Figure 16b</xref>),</p>
            <p>&#x2003;&#x2003;THEN Output: &#x201c;Region 3 watermark for RM5 is detected.&#x201d;</p>
            <p>ELSE Output: &#x201c;Region 3&#x2019;s watermark is not detected.&#x201d;</p>
            <p>Step 6: Decision making</p>
            <p>Apply fuzzy logic, T norms are used with AND connectors to make decision. The rules are set with at least 2 watermarks detected, only the banknote value is conforming and considered real. The fuzzy rules are set as below.</p>
            <p>
                <bold>(i).</bold> FOR 1 RINGGIT.</p>
            <p>&#x2003;
                <bold>&#x2013;</bold> IF &#x201c;Songket&#x201d; clear window AND its corresponding Region 1, Region 2 AND Region 3 watermarks are detected, THEN the banknote is a REAL 1 RINGGIT.</p>
            <p>&#x2003;
                <bold>&#x2013;</bold> IF &#x201c;Songket&#x201d; clear window AND its corresponding Region 1 AND Region 2 watermarks are detected, THEN the banknote is a REAL 1 RINGGIT.</p>
            <p>&#x2003;
                <bold>&#x2013;</bold> IF &#x201c;Songket&#x201d; clear window AND its corresponding Region 1 AND Region 3 watermarks are detected, THEN the banknote is a REAL 1 RINGGIT.</p>
            <p>&#x2003;
                <bold>&#x2013;</bold> IF &#x201c;Songket&#x201d; clear window AND its corresponding Region 2 AND Region 3 watermarks are detected, THEN the banknote is a REAL 1 RINGGIT.</p>
            <p>
                <bold>(ii).</bold> FOR 5 RINGGITS.</p>
            <p>&#x2003;
                <bold>&#x2013;</bold> IF &#x201c;Hornbill&#x201d; clear window AND its corresponding Region 1, Region 2 AND Region 3 watermarks are detected, THEN the banknote is a REAL 5 RINGGITS.</p>
            <p>&#x2003;
                <bold>&#x2013;</bold> IF &#x201c;Hornbill&#x201d; clear window AND its corresponding Region 1 AND Region 2 watermarks are detected, THEN the banknote is a REAL 5 RINGGIT.</p>
            <p>&#x2003;
                <bold>&#x2013;</bold> IF &#x201c;Hornbill&#x201d; clear window AND its corresponding Region 1 AND Region 3 watermarks are detected, THEN the banknote is a REAL 5 RINGGIT.</p>
            <p>&#x2003;
                <bold>&#x2013;</bold> IF &#x201c;Hornbill&#x201d; clear window AND its corresponding Region 2 AND Region 3 watermarks are detected, THEN the banknote is a REAL 5 RINGGIT.</p>
            <p>
                <bold>(iii).</bold> FOR NOT A REAL BANKNOTE</p>
            <p>&#x2003;
                <bold>&#x2013;</bold> IF clear window is NOT detected, THEN the banknote is NOT a REAL BANKNOTE.</p>
            <p>&#x2003;
                <bold>&#x2013;</bold> IF Clear window is detected AND Region 1, 2 AND 3 watermarks are NOT detected, THEN the banknote is NOT a REAL BANKNOTE.</p>
            <p>&#x2003;
                <bold>&#x2013;</bold> IF Clear window is detected AND ONLY Region 1 watermark is detected, THEN the banknote is NOT a REAL BANKNOTE.</p>
            <p>&#x2003;
                <bold>&#x2013;</bold> IF Clear window is detected AND ONLY Region 2 watermark is detected, THEN the banknote is NOT a REAL BANKNOTE.</p>
            <p>&#x2003;
                <bold>&#x2013;</bold> IF Clear window is detected AND ONLY Region 3 watermark is detected, THEN the banknote is NOT a REAL BANKNOTE.</p>
        </sec>
        <sec id="sec4">
            <label>4.</label>
            <title>Experiment result</title>
            <p>The prototype of RM1 and RM5 banknote reader is constructed, as shown in 
                <xref ref-type="fig" rid="f17">Figure 17</xref>. The dimension for the banknote reader prototype is 235 mm (Length) &#x00d7; 142 mm (Width) &#x00d7; 135 mm (Height). The filter size, or the standard deviation used for the Gaussian Blur function is 5&#x00d7;5 pixels. Such filter removed outlier 5&#x00d7;5 pixels that may be noise elements in the image.</p>
            <fig fig-type="figure" id="f17" orientation="portrait" position="float">
                <label>Figure 17. </label>
                <caption>
                    <p>Banknote reader.</p>
                </caption>
                <graphic id="gr17" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/125690/e1bde70a-0067-4b35-be06-ecad2bd43398_figure17.gif"/>
            </fig>
            <p>Songket area in the real RM1 banknote is measured with dimension of 25 mm &#x00d7; 35 mm = 875 mm
                <sup>2</sup>. The whole piece of RM1 banknote is with dimension 120 mm &#x00d7; 65 mm = 7,800 mm
                <sup>2</sup>. Therefore, 
                <italic toggle="yes">P</italic>
                <sub>
                    <italic toggle="yes">R</italic>1</sub> for RM1 is 11.22% or 0.1122. Hornbill area in the real RM5 banknote is measured with dimension of 25 mm &#x00d7; 40 mm = 1,000 mm
                <sup>2</sup>. The whole piece of RM5 banknote is with dimension 135 mm &#x00d7; 65 mm = 8,775 mm
                <sup>2</sup>. Therefore, 
                <italic toggle="yes">P</italic>
                <sub>
                    <italic toggle="yes">R</italic>1</sub> for RM5 is 11.40% or 0.1140. Since the banknote reader is shared among RM1 and RM5 detection, hence the minimum 
                <italic toggle="yes">P</italic>
                <sub>
                    <italic toggle="yes">R</italic>1</sub> among the two is selected, and rounded to 0.11.</p>
            <p>TR is Total Pixels in the Resized Image converted in Step 2, 
                <italic toggle="yes">TR</italic> = 250 (width) &#x00d7; 450 (height) = 112,500 pixels. Hence, in step 5 Noise Object Exclusion part, any object with bounding box region smaller than 0.11 &#x00d7; 112,500 = 12,375 pixels will not be considered as Region 1. The no. RGBchannels is 3.</p>
            <p>The measured height of Songket&#x2019;s pattern in RM1 banknote is 35 mm and the width of Songket&#x2019;s pattern in RM1 banknote is 20 mm. Therefore, the height to width ratio of Songket&#x2019;s pattern in RM1 banknote is 1.75. The measured height of Hornbill&#x2019;s pattern in RM5 banknote is 43 mm and the width of Hornbill&#x2019;s pattern in RM1 banknote is 23 mm. Therefore, the height to width ratio of Hornbill&#x2019;s pattern in RM5 banknote is 1.87. To better classify RM1 and RM5 from one another, for RM1, 
                <italic toggle="yes">Th</italic>
                <sub>
                    <italic toggle="yes">R</italic>1,
                    <italic toggle="yes">RM</italic>1(
                    <italic toggle="yes">min</italic>)</sub> is set to 1.69 and 
                <italic toggle="yes">Th</italic>
                <sub>
                    <italic toggle="yes">R</italic>1,
                    <italic toggle="yes">RM</italic>1(
                    <italic toggle="yes">max</italic>)</sub> is set to 1.81; whereas for RM5, 
                <italic toggle="yes">Th</italic>
                <sub>
                    <italic toggle="yes">R</italic>1,
                    <italic toggle="yes">RM</italic>5 (
                    <italic toggle="yes">min</italic>)</sub> is set to 1.82 and 
                <italic toggle="yes">Th</italic>
                <sub>
                    <italic toggle="yes">R</italic>1,
                    <italic toggle="yes">RM</italic>5 (
                    <italic toggle="yes">max</italic>)</sub> is set to 1.93. Such setting is with the best tolerance gap to classify the two types of banknotes effectively. To get 
                <italic toggle="yes">Th</italic>
                <sub>
                    <italic toggle="yes">R</italic>2,
                    <italic toggle="yes">RM</italic>1</sub>, 100 different real banknotes of RM1s&#x2019; images were captured for 100 pairs of image &#x201c;Bb&#x201d; (backlight On) and image &#x201c;Ba&#x201d; (backlight Off). The Blue colour intensity value on the Crescent and Star&#x2019;s sampled pixels were recorded and the difference between image &#x201c;Bb&#x201d; and image &#x201c;Ba&#x201d; were calculated and tabulated in the plots of no. of attempts vs.|Blue colour intensity difference between image &#x201c;Bb&#x201d; and image &#x201c;Ba&#x201d;|as shown in 
                <xref ref-type="fig" rid="f18">Figure 18</xref>. From 
                <xref ref-type="fig" rid="f18">Figure 18</xref>, it is shown that most occurrence happened in between Blue colour intensity value of 112 to 131. Hence 
                <italic toggle="yes">Th</italic>
                <sub>
                    <italic toggle="yes">R</italic>2,
                    <italic toggle="yes">RM</italic>1(
                    <italic toggle="yes">min</italic>)</sub> is set to 112 and 
                <italic toggle="yes">Th</italic>
                <sub>
                    <italic toggle="yes">R</italic>2,
                    <italic toggle="yes">RM</italic>1(
                    <italic toggle="yes">max</italic>)</sub> is set to 131.</p>
            <fig fig-type="figure" id="f18" orientation="portrait" position="float">
                <label>Figure 18. </label>
                <caption>
                    <p>Plots on no. of attempts vs.|blue colour intensity.</p>
                </caption>
                <graphic id="gr18" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/125690/e1bde70a-0067-4b35-be06-ecad2bd43398_figure18.gif"/>
            </fig>
            <p>Difference between Image &#x201c;Bb&#x201d; and Image &#x201c;Ba&#x201d;|) for RM1</p>
            <p>To get 
                <italic toggle="yes">Th</italic>
                <sub>
                    <italic toggle="yes">R</italic>2,
                    <italic toggle="yes">RM</italic>5</sub>, 100 different real banknotes of RM5s&#x2019; images were captured for 100 pairs of image &#x201c;Bb&#x201d; (backlight On) and image &#x201c;Ba&#x201d; (backlight Off). The Green colour intensity value on the Crescent and Star&#x2019;s sampled pixels were recorded and the difference between image &#x201c;Bb&#x201d; and image &#x201c;Ba&#x201d; were calculated and tabulated in the plots of no. of attempts vs. |Green colour intensity difference between image &#x201c;Bb&#x201d; and image &#x201c;Ba&#x201d;|as shown in 
                <xref ref-type="fig" rid="f19">Figure 19</xref>. From 
                <xref ref-type="fig" rid="f19">Figure 19</xref>, it is shown that most occurrence happened in between Green colour intensity value of 114 to 135. Hence 
                <italic toggle="yes">Th</italic>
                <sub>
                    <italic toggle="yes">R</italic>2,
                    <italic toggle="yes">RM</italic>5(
                    <italic toggle="yes">min</italic>)</sub> is set to 114 and 
                <italic toggle="yes">Th</italic>
                <sub>
                    <italic toggle="yes">R</italic>2,
                    <italic toggle="yes">RM</italic>5(
                    <italic toggle="yes">max</italic>)</sub> is set to 135.</p>
            <fig fig-type="figure" id="f19" orientation="portrait" position="float">
                <label>Figure 19. </label>
                <caption>
                    <p>Plots on no. of attempts vs.|green colour intensity difference between image &#x201c;Bb&#x201d; and image &#x201c;Ba&#x201d;|) for RM5.</p>
                </caption>
                <graphic id="gr19" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/125690/e1bde70a-0067-4b35-be06-ecad2bd43398_figure19.gif"/>
            </fig>
            <p>In step 3 of the image processing algorithm, if the clear window of a songket (for 1 Ringgit) or a hornbill (for 5 Ringgit) can be detected, the banknote is genuine; otherwise, it is counterfeit. In mask, the HSV values of the colour that are filtered out. 
                <xref ref-type="fig" rid="f20">Figures 20</xref>&#x2013;
                <xref ref-type="fig" rid="f23">23</xref> illustrate the test run for some real and fake Malaysian banknotes. Experimental test was carried out with 100 pieces of real RM1, 100 pieces of real RM5 banknotes, 100 pieces of fake RM1 and 100 pieces of fake RM5 banknotes respectively revealed that the proposed banknote reader achieved around 99% accuracy for RM1 detection and around 78% accuracy for RM5 detection. The success rate of this system is up to 89% in recognizing the correct banknote value. From experimental test the threshold value of the acceptable colour intensity changes between the banknote image captured with and without backlight for RM1 (
                <italic toggle="yes">TH
                    <sub>B</sub>
                </italic>) from 41 to 57 and for RM5 (
                <italic toggle="yes">TH
                    <sub>G</sub>
                </italic>) from 60 to 78.</p>
            <fig fig-type="figure" id="f20" orientation="portrait" position="float">
                <label>Figure 20. </label>
                <caption>
                    <p>Real banknote RM1.</p>
                </caption>
                <graphic id="gr20" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/125690/e1bde70a-0067-4b35-be06-ecad2bd43398_figure20.gif"/>
            </fig>
            <fig fig-type="figure" id="f21" orientation="portrait" position="float">
                <label>Figure 21. </label>
                <caption>
                    <p>Real banknote RM5.</p>
                </caption>
                <graphic id="gr21" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/125690/e1bde70a-0067-4b35-be06-ecad2bd43398_figure21.gif"/>
            </fig>
            <fig fig-type="figure" id="f22" orientation="portrait" position="float">
                <label>Figure 22. </label>
                <caption>
                    <p>Fake banknote RM1.</p>
                </caption>
                <graphic id="gr22" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/125690/e1bde70a-0067-4b35-be06-ecad2bd43398_figure22.gif"/>
            </fig>
            <fig fig-type="figure" id="f23" orientation="portrait" position="float">
                <label>Figure 23. </label>
                <caption>
                    <p>Fake banknote RM5.</p>
                </caption>
                <graphic id="gr23" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/125690/e1bde70a-0067-4b35-be06-ecad2bd43398_figure23.gif"/>
            </fig>
            <p>The total time for the banknote reader to complete 100 pieces of real RM1 banknotes detection is 1,148 seconds. Therefore, on average, the time required for one cycle of the banknote reader to capture in related banknote images, send to microcontroller to perform image processing and output the results on a speaker is 11.48 seconds.</p>
            <p>Among the tested banknotes, for RM1, all the 100 pieces of the real banknotes and the 98 pieces of fake banknotes detected correctly. For RM5, 56 pieces of the real banknotes and all the 100 pieces of the fake banknotes detected correctly. To probe deep in to the failed banknote detection cases, confusion matrix is adopted.
                <xref ref-type="bibr" rid="ref16">
                    <sup>16</sup>
                </xref> The four possible outcomes for the banknote&#x2019;s detection scenario are diagnosed as list in 
                <xref ref-type="table" rid="T1">Table 1</xref> and 
                <xref ref-type="table" rid="T2">Table 2</xref> for RM1 and RM5 respectively.</p>
            <table-wrap id="T1" orientation="portrait" position="float">
                <label>Table 1. </label>
                <caption>
                    <p>Confusion matrix for RM1.</p>
                </caption>
                <table content-type="article-table" frame="hsides">
                    <thead>
                        <tr>
                            <th align="left" colspan="1" rowspan="1" valign="top">Position</th>
                            <th align="left" colspan="1" rowspan="1" valign="top">Meaning</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="middle">True positive (100)</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">The predicted RM1 banknote is real and it actually is real RM1 banknote.</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="middle">True negative (98)</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">The predicted RM1 banknote is fake and it actually is fake RM1 banknote.</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="middle">False positive (2)</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">The predicted RM1 banknotes is real and it actually is fake RM1 banknote.</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="middle">False negative (0)</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">The predicted RM1 banknote is fake and it actually is real RM1 banknote.</td>
                        </tr>
                    </tbody>
                </table>
            </table-wrap>
            <table-wrap id="T2" orientation="portrait" position="float">
                <label>Table 2. </label>
                <caption>
                    <p>Confusion matrix for RM5.</p>
                </caption>
                <table content-type="article-table" frame="hsides">
                    <thead>
                        <tr>
                            <th align="left" colspan="1" rowspan="1" valign="top">Position</th>
                            <th align="left" colspan="1" rowspan="1" valign="top">Meaning</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="middle">True positive (56)</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">The predicted RM5 banknote is real and it actually is real RM5 banknote.</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="middle">True negative (100)</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">The predicted RM5 banknote is fake and it actually is fake RM5 banknote.</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="middle">False positive (0)</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">The predicted RM5 banknotes is real and it actually is fake RM5 banknote.</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="middle">False negative (44)</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">The predicted RM5 banknote is fake and it actually is real RM5 banknote.</td>
                        </tr>
                    </tbody>
                </table>
            </table-wrap>
            <p>Noteworthy attentions are placed on False Positive and False Negative cases, because these two cases may cause the visually impaired person losing credits in their business. For RM 1 detection, 2 banknotes detection cases, related to False Positive class and none cases related to False Negative class. Further analysed on these 2 False Positive cases, it is found that the fake RM1 banknotes were not placed properly into the Malaysian banknote reader (center of the banknote slot) and the Malaysian banknotes reader had mistreated some other areas on the corresponding fake banknote as the three Region of interest area (as shown in 
                <xref ref-type="fig" rid="f24">Figure 24</xref>), and this further identified the fake RM1 as the real RM1. To overcome this problem, normalized sizes were assigned on RM1 and RM5 at the Step 2 Algorithm (resizing image portion) to better locking the three Region of interest area.</p>
            <fig fig-type="figure" id="f24" orientation="portrait" position="float">
                <label>Figure 24. </label>
                <caption>
                    <p>Sample of RM1 False Positive Case.</p>
                </caption>
                <graphic id="gr24" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/125690/e1bde70a-0067-4b35-be06-ecad2bd43398_figure24.gif"/>
            </fig>
            <p>For RM5 detection, 44 cases related to False Negative class and none of the case relate to False Positive class. Further probed on these 44 False Negative Class cases, it is found out that majority of the captured &#x201c;Bb&#x201d; images were not fully covered, as shown in 
                <xref ref-type="fig" rid="f25">Figure 25</xref>. The slotted RM5 banknotes cannot fully picture by the imaging tool, causing some of the regions of interest on the inserted banknotes (especially Region 2 and Region 3) cannot be detected. This is due to the size of the RM5 is much bigger compare to RM1. To overcome this problem, imaging area for the inserted banknote should be increased to cover the full banknote&#x2019;s image. However, with existing imaging tool, this might need to be tolerance with a longer focal length with bigger size of banknote reader. Another alternative is to search for a wide view imaging tool to replace the current imaging tool for optimizing the current Malaysian Banknotes Reader&#x2019;s size.</p>
            <fig fig-type="figure" id="f25" orientation="portrait" position="float">
                <label>Figure 25. </label>
                <caption>
                    <p>Sample of RM5 False Negative Case.</p>
                </caption>
                <graphic id="gr25" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/125690/e1bde70a-0067-4b35-be06-ecad2bd43398_figure25.gif"/>
            </fig>
            <p>Comparison of the proposed banknote reader detection accuracy and processing speed is done with three state-of-the-art methods: 1) VGG16 model using 2D Convolution Layer (32 neural) at TensorFlow's Keras API,
                <sup>
                    <xref ref-type="bibr" rid="ref17">17</xref>
                </sup> 2) MobileNet model using RMSprop Loss Function (learning_rate=0.0001) at TensorFlow's Keras API
                <sup>
                    <xref ref-type="bibr" rid="ref5">5</xref>
                </sup> and 3) Fuzzy Logic Based Perceptual Image Hashing Algorithm.
                <sup>
                    <xref ref-type="bibr" rid="ref18">18</xref>
                </sup>
            </p>
            <p>Experimental setup for method 1: Total of one hundred RM1 banknotes and one hundred RM5 banknotes are captured as the dataset for training the model. VGG16 model using 2D Convolution Layer (32 neural) at TensorFlow's Keras API being trained and tested with 100 real RM1, 100 real RM5, 100 fake RM1 and 100 fake RM5. The average time to load the model and build up the interpreter objects (Training time) was 60 seconds with batch size=32 and epochs=20 and the average inference time while modeling detecting banknote (Testing time) was 1 second. The test Accuracy was 60%.</p>
            <p>Experimental setup for method 2: It is understood that the model MobileNet with Loss Function RMSProp was Selected as best accuracy of about 96.80% in paper.
                <sup>
                    <xref ref-type="bibr" rid="ref18">18</xref>
                </sup> Convolutional Neural Networks using MobileNet model with Loss Function RMSProp (0.0001) optimization technique being trained with one hundred RM1 banknotes and one hundred RM5 banknotes and tested with 100 real RM1, 100 real RM5, 100 fake RM1 and 100 fake RM5. The average time to load the model and build up the interpreter objects (Training time) was 81 seconds with batch size=32 and epochs=20 and the average inference time while modeling detecting banknote (Testing time) was 1 second. The test Accuracy was 50%.</p>
            <p>Experimental setup for method 3: following paper.
                <sup>
                    <xref ref-type="bibr" rid="ref18">18</xref>
                </sup> algorithm. Fuzzy Logic Based Perceptual Image Hashing Algorithm first sorting Database using Perceptual Hashing with one hundred RM1 banknotes and one hundred RM5 banknotes and tested with 100 real RM1, 100 real RM5, 100 fake RM1 and 100 fake RM5. The average time to load the model and build up the interpreter objects (test 100 banknotes) was 130 seconds and the average inference time while detecting banknote (Per banknote) was 1.30 seconds. The test Accuracy was 42%.</p>
            <p>The accuracy and required processing time for the experimented methods were summarized in 
                <xref ref-type="table" rid="T3">Table 3</xref>. By comparing the above works on different Ringgit recognizers, it is observed that Fuzzy logic based light intensity variation watermark detection algorithm required longest processing time (both training and detection times for details watermark features extraction), however it has the best accuracy in detecting fake banknotes (minimum false positive and false negative cases) among the compared state-of-the-art methods. The VGG16 model, MobileNet model and Fuzzy Logic Based Perceptual Image Hashing Algorithm managed to be trained and detected the banknotes currency faster but with limitation of unable to accurately detecting fake banknotes (high false positive and false negative cases recorded) due to no watermarks detection consideration.</p>
            <table-wrap id="T3" orientation="portrait" position="float">
                <label>Table 3. </label>
                <caption>
                    <p>Experimental results for accuracy and processing time with three state-of-the-art methods</p>
                </caption>
                <table content-type="article-table" frame="hsides">
                    <thead>
                        <tr>
                            <th align="left" colspan="6" rowspan="1" valign="top">Accuracy</th>
                            <th align="left" colspan="2" rowspan="1" valign="top">Processing time</th>
                        </tr>
                        <tr>
                            <th colspan="2" rowspan="1"/>
                            <th align="left" colspan="1" rowspan="1" valign="top">True positive</th>
                            <th align="left" colspan="1" rowspan="1" valign="top">True negative</th>
                            <th align="left" colspan="1" rowspan="1" valign="top">False positive</th>
                            <th align="left" colspan="1" rowspan="1" valign="top">False negative</th>
                            <th align="left" colspan="1" rowspan="1" valign="top">System training time (per 100 banknotes)</th>
                            <th align="left" colspan="1" rowspan="1" valign="top">Banknote detection time (per banknote)</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td align="left" colspan="1" rowspan="2" valign="top">
                                <bold>Fuzzy logic based light intensity variation watermark detection algorithm</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="top">RM1</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">100</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">98</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">2</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">0</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">1,148 Second</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">11.48 Second</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="top">RM5</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">56</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">100</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">0</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">44</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">1,148 Second</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">11.48 Second</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="2" valign="top">
                                <bold>VGG16 model using 2D Convolution Layer (32 neural) at TensorFlow's Keras API</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="top">RM1</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">100</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">0</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">100</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">0</td>
                            <td align="left" colspan="1" rowspan="2" valign="top">60 Second</td>
                            <td align="left" colspan="1" rowspan="2" valign="top">1 Second</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="top">RM5</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">100</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">40</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">60</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">0</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="2" valign="top">
                                <bold>MobileNet model using RMSprop Loss Function (learning_rate=0.0001) at TensorFlow's Keras API</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="top">RM1</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">100</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">0</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">100</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">0</td>
                            <td align="left" colspan="1" rowspan="2" valign="top">81 Second</td>
                            <td align="left" colspan="1" rowspan="2" valign="top">1 Second</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="top">RM5</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">100</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">0</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">100</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">0</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="2" valign="top">
                                <bold>Fuzzy Logic Based Perceptual Image Hashing Algorithm</bold>
                            </td>
                            <td align="left" colspan="1" rowspan="1" valign="top">RM1</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">90</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">21</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">79</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">10</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">130 Second</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">1.30 Second</td>
                        </tr>
                        <tr>
                            <td align="left" colspan="1" rowspan="1" valign="top">RM5</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">56</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">0</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">100</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">44</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">130 Second</td>
                            <td align="left" colspan="1" rowspan="1" valign="top">1.30 Second</td>
                        </tr>
                    </tbody>
                </table>
            </table-wrap>
        </sec>
        <sec id="sec5" sec-type="conclusions">
            <label>5.</label>
            <title>Conclusions</title>
            <p>A Malaysian banknote reader employing image processing techniques was developed for visually impaired person to read and identify counterfeit on one Ringgit and five Ringgit Malaysian banknotes. The proposed portable banknote reader employed a visual type sensor to capture the inserted banknote image, sent to a Raspberry Pi controller for extracting the banknote&#x2019;s watermarks and identify the banknote&#x2019;s value. The detection result will be broadcasted on a mini speaker mounted on the banknote reader to help the visually impaired comprehend if it is a real one Ringgit, real five Ringgit, or none of them. The experimental results had proven that the proposed banknote reader is capable of completing several rounds of successful tries. In future, tilting/rotating mechanism and Ultraviolet light shooting mechanism can be embedded on the banknote reader to allow the visually impaired persons to cover the full series of Malaysian banknotes reading capabilities. The Malaysian banknote reader can also be expanded to support additional foreign currencies reading in the future. Aside from that, the size of the banknote reader can be improved, as well as the classifier intervention in the banknote interpretation. These issues will be resolved in the future.</p>
        </sec>
        <sec id="sec6">
            <title>Data availability</title>
            <p>All data underlying the results are available as part of the article and no additional source data are required.</p>
        </sec>
    </body>
    <back>
        <ref-list>
            <title>References</title>
            <ref id="ref1">
                <label>1</label>
                <mixed-citation publication-type="other">
                    <collab>Bank Negara Malaysia</collab>:
                    <article-title>Current Banknote Series.</article-title>
                    <year>2021</year>.
                    <ext-link ext-link-type="uri" xlink:href="https://www.bnm.gov.my/current-banknote-series">Reference Source</ext-link>
                </mixed-citation>
            </ref>
            <ref id="ref2">
                <label>2</label>
                <mixed-citation publication-type="other">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Tan</surname>
                            <given-names>CJ</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Wong</surname>
                            <given-names>WK</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Min</surname>
                            <given-names>TS</given-names>
                        </name>
</person-group>:
                    <article-title>Malaysian Banknote Reader For Visually Impaired Person.</article-title>
                    <source>

                        <italic toggle="yes">2020 18th IEEE Student Conference on Research and Development (SCOReD), 27-29 September, 2020, Universiti Tun Hussein Onn Malaysia (UTHM), Malaysia, paper ID 1570650473.</italic>
</source>
                    <year>2020</year>; pp.<fpage>74</fpage>&#x2013;<lpage>79</lpage>.</mixed-citation>
            </ref>
            <ref id="ref3">
                <label>3</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Stavri</surname>
                            <given-names>N</given-names>
                        </name>
</person-group>:
                    <article-title>Avaliable Now: Banknote Reader (b-Reader) for Visually Impaired People.</article-title>
                    <source>

                        <italic toggle="yes">Imagga Technologies Blog.</italic>
</source>
                    <year>2017</year>.
                    <ext-link ext-link-type="uri" xlink:href="https://imagga.com/blog/banknote-readerbreader-for-visuallyimpaired-people/">Reference Source</ext-link>
                </mixed-citation>
            </ref>
            <ref id="ref4">
                <label>4</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <collab>IPPLEX</collab>
</person-group>:
                    <article-title>NantMobile Money Reader.</article-title>
                    <source>

                        <italic toggle="yes">AppAdvice LLC.</italic>
</source>
                    <year>2020</year>.
                    <ext-link ext-link-type="uri" xlink:href="https://appadvice.com/app/nantmobilemoneyreader/417476558">Reference Source</ext-link>
                </mixed-citation>
            </ref>
            <ref id="ref5">
                <label>5</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Aseffa</surname>
                            <given-names>D</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Kalla</surname>
                            <given-names>H</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Mishra</surname>
                            <given-names>S</given-names>
                        </name>
</person-group>:
                    <article-title>Ethiopian Banknote Recognition Using Convolutional Neural Network and Its Prototype Development Using Embedded Platform.</article-title>
                    <source>J. Sens.</source>
                    <year>2022</year>;<volume>2022</volume>:<fpage>1</fpage>&#x2013;<lpage>18</lpage>.
                    <ext-link ext-link-type="uri" xlink:href="https://www.hindawi.com/journals/js/2022/4505089/">https://www.hindawi.com/journals/js/2022/4505089/</ext-link>
                    <pub-id pub-id-type="doi">10.1155/2022/4505089</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref6">
                <label>6</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Padmaja</surname>
                            <given-names>B</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Naga Shyam Bhargav</surname>
                            <given-names>P</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Ganga Sagar</surname>
                            <given-names>H</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Indian Currency Denomination Recognition and Fake Currency Identification.</article-title>
                    <source>

                        <italic toggle="yes">J. Phys. Conf. Ser.</italic>
</source>
                    <year>2021</year>;<volume>2089</volume>(<issue>1</issue>):<fpage>012008</fpage>.
                    <pub-id pub-id-type="doi">10.1088/1742-6596/2089/1/012008</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref7">
                <label>7</label>
                <mixed-citation publication-type="other">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Mohamed</surname>
                            <given-names>A</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Ishak</surname>
                            <given-names>MI</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Buniyamin</surname>
                            <given-names>N</given-names>
                        </name>
</person-group>:
                    <article-title>Development of a Malaysian Currency Note Recognizer for the Vision Impaired.</article-title>
                    <source>

                        <italic toggle="yes">2012 Spring Congress on Engineering and Technology, Xian.</italic>
</source>
                    <year>2012</year>; pp.<fpage>1</fpage>&#x2013;<lpage>4</lpage>.</mixed-citation>
            </ref>
            <ref id="ref8">
                <label>8</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Nurul Fathiah</surname>
                            <given-names>G</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Muhammad</surname>
                            <given-names>A</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Mohd Najeb</surname>
                            <given-names>J</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Wearable Device for Malaysian Ringgit Banknotes Recognition Based on Embedded Decision Tree Classifier.</article-title>
                    <source>

                        <italic toggle="yes">J. Telecommunication, Electronic and Computer Eng.</italic>
</source>
                    <year>2018</year>;<volume>10</volume>(<issue>1</issue>):<fpage>129</fpage>&#x2013;<lpage>137</lpage>.</mixed-citation>
            </ref>
            <ref id="ref9">
                <label>9</label>
                <mixed-citation publication-type="other">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Alnowaini</surname>
                            <given-names>G</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Alabsi</surname>
                            <given-names>A</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Ali</surname>
                            <given-names>H</given-names>
                        </name>
</person-group>:
                    <article-title>Yemeni Paper Currency Detection System.</article-title>
                    <source>

                        <italic toggle="yes">2019 First International Conference of Intelligent Computing and Engineering (ICOICE), 2019.</italic>
</source>
                    <year>2019</year>.</mixed-citation>
            </ref>
            <ref id="ref10">
                <label>10</label>
                <mixed-citation publication-type="other">
                    <collab>Towards Data Science</collab>:
                    <article-title>Image Preprocessing.</article-title>
                    <year>2020</year>.
                    <ext-link ext-link-type="uri" xlink:href="https://towardsdatascience.com/image-preprocessing-c1aec0be3edf">Reference Source</ext-link>
                </mixed-citation>
            </ref>
            <ref id="ref11">
                <label>11</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Cicolani</surname>
                            <given-names>J</given-names>
                        </name>
</person-group>:
                    <article-title>Beginning Robotics with Raspberry Pi and Arduino.</article-title>
                    <source>

                        <italic toggle="yes">Springer Science and Business MediaLLC.</italic>
</source>
                    <year>2018</year>;<volume>2018</volume>.
                    <pub-id pub-id-type="doi">10.1007/978-1-4842-3462-4</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref12">
                <label>12</label>
                <mixed-citation publication-type="book">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Vazquez</surname>
                            <given-names>S</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Federico</surname>
                            <given-names>A</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Larosa</surname>
                            <given-names>F</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <source>

                        <italic toggle="yes">&#x201c;Dise&#x00f1;o, implementaci&#x00f3;n y ensayo de un lector de colores de bajo costo para personas ciegas y disminuidas visuals&#x201d;, X Congreso de Microelectr&#x00f3;nica Aplicada (&#x03bc;EA2019) At: San Mart&#x00ed;n</italic>
</source>.
                    <publisher-loc>Argentina</publisher-loc>:
                    <publisher-name>Buenos Aires</publisher-name>;<year>2019</year>.</mixed-citation>
            </ref>
            <ref id="ref13">
                <label>13</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Dario</surname>
                            <given-names>R</given-names>
                        </name>
</person-group>:
                    <article-title>Read Text from Image with One Line of Python Code.</article-title>
                    <source>

                        <italic toggle="yes">Towards Data Sci.</italic>
</source>
                    <year>2019</year>.
                    <ext-link ext-link-type="uri" xlink:href="https://towardsdatascience.com/readtext-from-image-with-one-line-of-python-codec22ede074cac">Reference Source</ext-link>
                </mixed-citation>
            </ref>
            <ref id="ref14">
                <label>14</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Imtiaz</surname>
                            <given-names>H</given-names>
                        </name>
</person-group>:
                    <article-title>A Beginners Guide to Tesseract OCR Using Pytesseract.</article-title>
                    <source>

                        <italic toggle="yes">Gitconnected.</italic>
</source>
                    <year>2020</year>.
                    <ext-link ext-link-type="uri" xlink:href="https://levelup.gitconnected.com/abeginners-guide-to-tesseract-ocr-using-pytesseract-23036f5b2211">Reference Source</ext-link>
                </mixed-citation>
            </ref>
            <ref id="ref15">
                <label>15</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Vincent</surname>
                            <given-names>L</given-names>
                        </name>
</person-group>:
                    <article-title>Announcing Tesseract OCR.</article-title>
                    <source>

                        <italic toggle="yes">The Official Google Code Blog.</italic>
</source>
                    <year>2006</year>.
                    <ext-link ext-link-type="uri" xlink:href="https://googlecode.blogspot.com/2006/08/announcingtesseract-ocr.html">Reference Source</ext-link>
                </mixed-citation>
            </ref>
            <ref id="ref16">
                <label>16</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Pehrsson</surname>
                            <given-names>A</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Gunnar</surname>
                            <given-names>T</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Engblom</surname>
                            <given-names>C</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Roadside oral fluid testing: Comparison of the results of Drugwipe 5 and Drugwipe Benzodiazepines on-site tests with laboratory confirmation results of oral fluid and whole blood.</article-title>
                    <source>

                        <italic toggle="yes">Forensic Sci. Int.</italic>
</source>
                    <year>2008</year>;<volume>175</volume>:<fpage>140</fpage>&#x2013;<lpage>148</lpage>.
                    <pub-id pub-id-type="pmid">17640837</pub-id>
                    <pub-id pub-id-type="doi">10.1016/j.forsciint.2007.05.022</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref17">
                <label>17</label>
                <mixed-citation publication-type="book">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Lee</surname>
                            <given-names>KL</given-names>
                        </name>
</person-group>:
                    <source>

                        <italic toggle="yes">Malaysia currency recognizer mobile application for visual impairment</italic>
</source>.
                    <publisher-loc>Malaysia</publisher-loc>:
                    <publisher-name>Universiti Tunku Abdul Rahman</publisher-name>;<year>2022</year>.
                    <comment>

                        <ext-link ext-link-type="uri" xlink:href="http://eprints.utar.edu.my/4289/1/17ACB01383_FYP.pdf">http://eprints.utar.edu.my/4289/1/17ACB01383_FYP.pdf</ext-link>
</comment>
                </mixed-citation>
            </ref>
            <ref id="ref18">
                <label>18</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Wong</surname>
                            <given-names>WK</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Tan</surname>
                            <given-names>CJ</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Min</surname>
                            <given-names>TS</given-names>
                        </name>
</person-group>:
                    <article-title>Fuzzy Logic Based Perceptual Image Hashing Algorithm in Malaysian Banknotes Detection System for the Visually Impaired.</article-title>
                    <source>Artif. Intell. Adv.</source>
                    <volume>3</volume>
                    <issue>(1)</issue>,<fpage>52</fpage>&#x2013;<lpage>64</lpage>.
                    <pub-id pub-id-type="doi">10.30564/aia.v3i1.3249</pub-id>
                </mixed-citation>
            </ref>
        </ref-list>
    </back>
    <sub-article article-type="reviewer-report" id="report256677">
        <front-stub>
            <article-id pub-id-type="doi">10.5256/f1000research.125690.r256677</article-id>
            <title-group>
                <article-title>Reviewer response for version 2</article-title>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author">
                    <name>
                        <surname>Mohtasham Aftab</surname>
                        <given-names>Rana</given-names>
                    </name>
                    <xref ref-type="aff" rid="r256677a1">1</xref>
                    <xref ref-type="aff" rid="r256677a2">2</xref>
                    <role>Referee</role>
                </contrib>
                <aff id="r256677a1">
                    <label>1</label>Lahore Leads University, Lahore, Punjab, Pakistan</aff>
                <aff id="r256677a2">
                    <label>2</label>Computer science, University of engineering and technology lahore, Lahore, Pakistan, Pakistan</aff>
            </contrib-group>
            <author-notes>
                <fn fn-type="conflict">
                    <p>
                        <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>11</day>
                <month>4</month>
                <year>2024</year>
            </pub-date>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2024 Mohtasham Aftab R</copyright-statement>
                <copyright-year>2024</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access peer review report distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <related-article ext-link-type="doi" id="relatedArticleReport256677" related-article-type="peer-reviewed-article" xlink:href="10.12688/f1000research.58446.2"/>
            <custom-meta-group>
                <custom-meta>
                    <meta-name>recommendation</meta-name>
                    <meta-value>approve</meta-value>
                </custom-meta>
            </custom-meta-group>
        </front-stub>
        <body>
            <p>The research article presents an innovative solution addressing the challenges faced by visually impaired individuals in handling banknotes, particularly in recognizing their value and detecting counterfeit. The proposed Malaysian banknote reader integrates image processing techniques with a portable design to offer real-time assistance to users.</p>
            <p> </p>
            <p> One notable aspect of this study is the emphasis on addressing both recognition and counterfeit detection functionalities. While existing solutions focus solely on recognizing banknote values, this research fills a crucial gap by incorporating counterfeit detection features. By leveraging image processing algorithms and watermarks extraction, the proposed banknote reader offers a comprehensive solution to assist visually impaired individuals in differentiating between genuine and counterfeit Malaysian banknotes.</p>
            <p> </p>
            <p> The experimental results showcased the efficacy of the developed banknote reader, demonstrating successful outcomes across multiple trials. The utilization of a Raspberry Pi controller for image processing and value identification, coupled with a mini speaker for broadcasting results, enhances accessibility for visually impaired users. Moreover, the incorporation of a visual type sensor ensures ease of use and portability, catering to the needs of users in various settings.</p>
            <p> </p>
            <p> The paper also highlights avenues for future research and improvement. Suggestions such as integrating tilting/rotating mechanisms and ultraviolet light shooting for broader currency coverage showcase a forward-thinking approach towards enhancing the capabilities of the banknote reader. Additionally, the potential expansion to support foreign currencies reading underscores the scalability of the proposed solution.</p>
            <p> </p>
            <p> However, the review could benefit from further elaboration on certain aspects. For instance, additional insights into the methodology employed for image processing and counterfeit detection would enhance the understanding of the proposed approach. Furthermore, a discussion on the potential limitations or challenges encountered during the experimental phase could provide valuable context for the reader.</p>
            <p> </p>
            <p> Overall, the research article presents a significant contribution to assistive technology for visually impaired individuals. By combining recognition and counterfeit detection features in a portable banknote reader, the study offers a practical solution to address the unique needs of users in handling Malaysian banknotes. The proposed enhancements and future directions outlined in the paper lay a solid foundation for further advancements in this field, with the potential to benefit a wider audience beyond the scope of the current study.</p>
            <p>Is the work clearly and accurately presented and does it cite the current literature?</p>
            <p>Yes</p>
            <p>If applicable, is the statistical analysis and its interpretation appropriate?</p>
            <p>Yes</p>
            <p>Are all the source data underlying the results available to ensure full reproducibility?</p>
            <p>Yes</p>
            <p>Is the study design appropriate and is the work technically sound?</p>
            <p>Yes</p>
            <p>Are the conclusions drawn adequately supported by the results?</p>
            <p>Yes</p>
            <p>Are sufficient details of methods and analysis provided to allow replication by others?</p>
            <p>Yes</p>
            <p>Reviewer Expertise:</p>
            <p>Machine learning</p>
            <p>I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard.</p>
        </body>
        <sub-article article-type="response" id="comment11417-256677">
            <front-stub>
                <contrib-group>
                    <contrib contrib-type="author">
                        <name>
                            <surname>Wong</surname>
                            <given-names>Wai Kit</given-names>
                        </name>
                        <aff>Multimedia University, Malaysia</aff>
                    </contrib>
                </contrib-group>
                <author-notes>
                    <fn fn-type="conflict">
                        <p>
                            <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                    </fn>
                </author-notes>
                <pub-date pub-type="epub">
                    <day>13</day>
                    <month>4</month>
                    <year>2024</year>
                </pub-date>
            </front-stub>
            <body>
                <p>We agreed with the reviewer's constructive comments. Below are some of our feedback on reviewer's comments:</p>
                <p> </p>
                <p> 
                    <bold>Reviewer comment: </bold>Additional insights into the methodology employed for image processing and counterfeit detection would enhance the understanding of the proposed approach.</p>
                <p> </p>
                <p> 
                    <bold>Author Feedback: </bold>The banknote image will be first captured by the imaging tool and pass to raspberry pi for image preprocessing process, including resize image and remove image noise. After that, the preprocesses image will be send for clear window detection, further with the Three Regions Of Interest Detection (Region 1: &#x201c;Songket&#x201d;/ &#x201c;Hornbill&#x201d; searching, Region 2: &#x201c;&#x201c;Crescent and Star&#x201d; object pair searching and Region 3:&#x201c; numeric text (&#x201c;1&#x201d; / &#x201c;5&#x201d;) of the see-thru register searching). After the three regions of interest being detected, the watermarks within the three regions of interest will be identified. In the decision making stage, &#x00a0;fuzzy logic is applied. T norms are used with AND connectors to make decision.</p>
                <p> </p>
                <p> 
                    <bold>Reviewer comment: </bold>A discussion on the potential limitations or challenges encountered during the experimental phase could provide valuable context for the reader.</p>
                <p> </p>
                <p> 
                    <bold>Author Feedback: </bold>During the experimental phase, those tested real RM1 and RM5 banknotes were not placed properly into the Malaysian banknote reader (centre of the banknote slot) and the Malaysian banknote reader had mistreated some other areas on the corresponding real banknote as the three Region of interest area, and this further identified the real RM1 or RM5 as the fake RM1 or RM5. To overcome this problem, normalised sizes were assigned on RM1 and RM5 at the Step 2 Algorithm (Banknote Position Detection and Re-adjustment) to better locate the three Regions of interest area.</p>
            </body>
        </sub-article>
    </sub-article>
    <sub-article article-type="reviewer-report" id="report134738">
        <front-stub>
            <article-id pub-id-type="doi">10.5256/f1000research.125690.r134738</article-id>
            <title-group>
                <article-title>Reviewer response for version 2</article-title>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author">
                    <name>
                        <surname>Ibrahim</surname>
                        <given-names>Haidi</given-names>
                    </name>
                    <xref ref-type="aff" rid="r134738a1">1</xref>
                    <role>Referee</role>
                </contrib>
                <aff id="r134738a1">
                    <label>1</label>School of Electrical and Electronic Engineering, Universiti Sains Malaysia, Nibong Tebal, Malaysia</aff>
            </contrib-group>
            <author-notes>
                <fn fn-type="conflict">
                    <p>
                        <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>21</day>
                <month>4</month>
                <year>2022</year>
            </pub-date>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2022 Ibrahim H</copyright-statement>
                <copyright-year>2022</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access peer review report distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <related-article ext-link-type="doi" id="relatedArticleReport134738" related-article-type="peer-reviewed-article" xlink:href="10.12688/f1000research.58446.2"/>
            <custom-meta-group>
                <custom-meta>
                    <meta-name>recommendation</meta-name>
                    <meta-value>approve</meta-value>
                </custom-meta>
            </custom-meta-group>
        </front-stub>
        <body>
            <p>I am satisfied with the improvements and justifications given by the authors.</p>
            <p>Is the work clearly and accurately presented and does it cite the current literature?</p>
            <p>Partly</p>
            <p>If applicable, is the statistical analysis and its interpretation appropriate?</p>
            <p>Yes</p>
            <p>Are all the source data underlying the results available to ensure full reproducibility?</p>
            <p>No</p>
            <p>Is the study design appropriate and is the work technically sound?</p>
            <p>Partly</p>
            <p>Are the conclusions drawn adequately supported by the results?</p>
            <p>Yes</p>
            <p>Are sufficient details of methods and analysis provided to allow replication by others?</p>
            <p>Partly</p>
            <p>Reviewer Expertise:</p>
            <p>NA</p>
            <p>I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard.</p>
        </body>
    </sub-article>
    <sub-article article-type="reviewer-report" id="report122605">
        <front-stub>
            <article-id pub-id-type="doi">10.5256/f1000research.62043.r122605</article-id>
            <title-group>
                <article-title>Reviewer response for version 1</article-title>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author">
                    <name>
                        <surname>Ibrahim</surname>
                        <given-names>Haidi</given-names>
                    </name>
                    <xref ref-type="aff" rid="r122605a1">1</xref>
                    <role>Referee</role>
                </contrib>
                <aff id="r122605a1">
                    <label>1</label>School of Electrical and Electronic Engineering, Universiti Sains Malaysia, Nibong Tebal, Malaysia</aff>
            </contrib-group>
            <author-notes>
                <fn fn-type="conflict">
                    <p>
                        <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>21</day>
                <month>2</month>
                <year>2022</year>
            </pub-date>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2022 Ibrahim H</copyright-statement>
                <copyright-year>2022</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access peer review report distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <related-article ext-link-type="doi" id="relatedArticleReport122605" related-article-type="peer-reviewed-article" xlink:href="10.12688/f1000research.58446.1"/>
            <custom-meta-group>
                <custom-meta>
                    <meta-name>recommendation</meta-name>
                    <meta-value>reject</meta-value>
                </custom-meta>
            </custom-meta-group>
        </front-stub>
        <body>
            <p>There are some suggestions for the improvements of the manuscript (page numbers refer to the pdf version of the article): 
                <list list-type="order">
                    <list-item>
                        <p>To highlight the contribution of the work, it would be better to add terms &#x201c;counterfeit detection&#x201d; and &#x201c;visually impaired person&#x201d; to the title. For example, &#x201c;One- and five-Ringgit Malaysia banknotes reader with counterfeit detection for visually impaired person using backlight mechanism and image processing techniques&#x201d;.</p>
                    </list-item>
                    <list-item>
                        <p>Abbreviations should be defined properly.&#x00a0; For examples, what are SPB, IPPLEX and UTM on page 3?</p>
                    </list-item>
                    <list-item>
                        <p>On page 3, 2
                            <sup>nd</sup> last paragraph, the authors did mention that the available Malaysian banknote readers are huge in size. However, the system developed, as shown in Figure 15, also seems bulky. (It is also better if the labels and dimensions of Figure 15 are provided). Besides, if the authors want to show that the proposed system has advantage in terms of size, it would be nicer if there is a table to compare the size of the proposed system with the available systems.</p>
                    </list-item>
                    <list-item>
                        <p>In Section 1, it would be better if the authors could provide an introduction to RM1 and RM5 banknotes. &#x00a0;Better to provide figure(s) with labels (e.g., songket, hornbill) for this purpose.</p>
                    </list-item>
                    <list-item>
                        <p>Better to treat divisions in Section 2 as subsections, and given number, such as Section 2.1, Section 2.2, etc.</p>
                    </list-item>
                    <list-item>
                        <p>In Section 2, it would be better to discuss about the micro-controller first before the other components. Thus, it would be clearer, for example, why the authors are considering the use of Raspberry Pi cameras.</p>
                    </list-item>
                    <list-item>
                        <p>Section 3 is mostly in point form. A better presentation is needed. The authors could describe the methods in paragraphs, and explain with the help of figures, flowchart, or pseudocodes.</p>
                    </list-item>
                    <list-item>
                        <p>The method in Section 3 is not clear. For example, on page 6, in Figure 3, it is shown image &#x201c;Bc&#x201d;, but when image &#x201c;Bc&#x201d; is used for banknotes detection it is not mentioned clearly.</p>
                    </list-item>
                    <list-item>
                        <p>Page 7, 2
                            <sup>nd</sup> line. How&#x00a0;can&#x00a0;converting the RGB to grayscale image help in improving image quality and reduce image noise?</p>
                    </list-item>
                    <list-item>
                        <p>In equation (1), why are the input images (Ba and Bb) located on the left side of the equation, and not on the right side? Usually, the left side is for the output.</p>
                    </list-item>
                    <list-item>
                        <p>In equation (1), better to mention the values of &#x201c;width&#x201d;, &#x201c;height&#x201d;, and &#x201c;no. RGBchannels&#x201d; used in this work.</p>
                    </list-item>
                    <list-item>
                        <p>For the Gaussian Blur function, what is the filter size, or the standard deviation used?</p>
                    </list-item>
                    <list-item>
                        <p>Figure 4 does not show the Gaussian Blur converted image, but the image after grayscale conversion.</p>
                    </list-item>
                    <list-item>
                        <p>If the image is already converted to grayscale image, why should we convert it to HSV space? Or is the conversion from the RGB image? If this is from the RGB image, then why do we need to convert the image into grayscale? Besides, why we do not use &#x201c;Bc&#x201d; for this purpose?</p>
                    </list-item>
                    <list-item>
                        <p>If Figure 5 is taken somewhere, a proper permission should be asked to re-publish this figure. Citation should be given in the figure&#x2019;s caption.</p>
                    </list-item>
                    <list-item>
                        <p>Figure 7 shows how the thresholding process is done by using track bars. The question is, are these threshold values fixed for all input images, or need to be changed, depending to the input image? If it is not fixed, then the method is not automated, and the user needs to set it every time a banknote is input to the system. Besides, is this process suitable for a visually impaired person?</p>
                    </list-item>
                    <list-item>
                        <p>Page 9, descriptions for part (i) and part (ii) are similar to each other.</p>
                    </list-item>
                    <list-item>
                        <p>Figure 15 should also label where the slot to input the banknote to the system, and where the banknote will exit from the system.&#x00a0;</p>
                    </list-item>
                    <list-item>
                        <p>The system has a speaker. What is the sound/notification given to the user? Some description on how to set up this sound/notification should be given.</p>
                    </list-item>
                    <list-item>
                        <p>In Section 1, more review on the related works should be done. For example:</p>
                    </list-item>
                </list> 
                <list list-type="bullet">
                    <list-item>
                        <p>
                            <ext-link ext-link-type="uri" xlink:href="http://eprints.utar.edu.my/4289/1/17ACB01383_FYP.pdf">http://eprints.utar.edu.my/4289/1/17ACB01383_FYP.pdf</ext-link>
                        </p>
                    </list-item>
                    <list-item>
                        <p>
                            <ext-link ext-link-type="uri" xlink:href="https://www.hindawi.com/journals/js/2022/4505089/">https://www.hindawi.com/journals/js/2022/4505089/</ext-link>
                        </p>
                    </list-item>
                    <list-item>
                        <p>
                            <ext-link ext-link-type="uri" xlink:href="https://iopscience.iop.org/article/10.1088/1742-6596/2089/1/012008/meta">https://iopscience.iop.org/article/10.1088/1742-6596/2089/1/012008/meta</ext-link>
                        </p>
                    </list-item>
                </list>
            </p>
            <p>Is the work clearly and accurately presented and does it cite the current literature?</p>
            <p>Partly</p>
            <p>If applicable, is the statistical analysis and its interpretation appropriate?</p>
            <p>Yes</p>
            <p>Are all the source data underlying the results available to ensure full reproducibility?</p>
            <p>No</p>
            <p>Is the study design appropriate and is the work technically sound?</p>
            <p>Partly</p>
            <p>Are the conclusions drawn adequately supported by the results?</p>
            <p>Yes</p>
            <p>Are sufficient details of methods and analysis provided to allow replication by others?</p>
            <p>Partly</p>
            <p>Reviewer Expertise:</p>
            <p>Digital image processing and analysis.&#x00a0; Digital signal processing and analysis.</p>
            <p>I confirm that I have read this submission and believe that I have an appropriate level of expertise to state that I do not consider it to be of an acceptable scientific standard, for reasons outlined above.</p>
        </body>
        <back>
            <ref-list>
                <title>References</title>
                <ref id="rep-ref-122605-1">
                    <label>1</label>
                    <mixed-citation>
                        <person-group person-group-type="author"/>:
                        <article-title>Malaysia currency recognizer mobile application for visual impairment</article-title>.
                        <source>
                            <italic>Universiti Tunku Abdul Rahman, Malaysia</italic>
                        </source>.<year>2022</year>;
                        <ext-link ext-link-type="uri" xlink:href="http://eprints.utar.edu.my/4289/1/17ACB01383_FYP.pdf">Reference source</ext-link>
                    </mixed-citation>
                </ref>
                <ref id="rep-ref-122605-2">
                    <label>2</label>
                    <mixed-citation publication-type="journal">
                        <person-group person-group-type="author"/>:
                        <article-title>Ethiopian Banknote Recognition Using Convolutional Neural Network and Its Prototype Development Using Embedded Platform</article-title>.
                        <source>
                            <italic>Journal of Sensors</italic>
                        </source>.<year>2022</year>;<volume>2022</volume>:
                        <elocation-id>10.1155/2022/4505089</elocation-id>
                        <fpage>1</fpage>-<lpage>18</lpage>
                        <pub-id pub-id-type="doi">10.1155/2022/4505089</pub-id>
                    </mixed-citation>
                </ref>
                <ref id="rep-ref-122605-3">
                    <label>3</label>
                    <mixed-citation publication-type="journal">
                        <person-group person-group-type="author"/>:
                        <article-title>Indian Currency Denomination Recognition and Fake Currency Identification</article-title>.
                        <source>
                            <italic>Journal of Physics: Conference Series</italic>
                        </source>.<year>2021</year>;<volume>2089</volume>(<issue>1</issue>) :
                        <elocation-id>10.1088/1742-6596/2089/1/012008</elocation-id>
                        <pub-id pub-id-type="doi">10.1088/1742-6596/2089/1/012008</pub-id>
                    </mixed-citation>
                </ref>
            </ref-list>
        </back>
        <sub-article article-type="response" id="comment8066-122605">
            <front-stub>
                <contrib-group>
                    <contrib contrib-type="author">
                        <name>
                            <surname>Wong</surname>
                            <given-names>Wai Kit</given-names>
                        </name>
                        <aff>Multimedia University, Malaysia</aff>
                    </contrib>
                </contrib-group>
                <author-notes>
                    <fn fn-type="conflict">
                        <p>
                            <bold>Competing interests: </bold>No competing interests</p>
                    </fn>
                </author-notes>
                <pub-date pub-type="epub">
                    <day>7</day>
                    <month>4</month>
                    <year>2022</year>
                </pub-date>
            </front-stub>
            <body>
                <p>
                    <bold>1. Reviewer :</bold> To highlight the contribution of the work, it would be better to add terms &#x201c;counterfeit detection&#x201d; and &#x201c;visually impaired person&#x201d; to the title. For example, &#x201c;One- and five-Ringgit Malaysia banknotes reader with counterfeit detection for visually impaired person using backlight mechanism and image processing techniques&#x201d;.</p>
                <p> </p>
                <p> 
                    <bold>Author:</bold> The title of the article is revised to &#x201c;One- and Five-Ringgit Malaysia banknotes reader with counterfeit detection for visually impaired person using backlight mechanism and image processing techniques&#x201d;.</p>
                <p> </p>
                <p> 
                    <bold>2. Reviewer :</bold> Abbreviations should be defined properly.&#x00a0; For examples, what are SPB, IPPLEX and UTM on page 3?</p>
                <p> </p>
                <p> 
                    <bold>Author :</bold> The abbreviations are well defined: SPB in Section 1 INTRODUCTION Paragraph 2 is replaced with full form &#x201c;Seri Paduka Baginda&#x201d;. IPPLEX is a company develops application services enabled by fixed and wireless IP networks and the convergence of media communications. UTM in Section 1 INTRODUCTION Paragraph 6 is added with full form &#x201c;Universiti Teknologi Malaysia&#x201d;.</p>
                <p> </p>
                <p> </p>
                <p> 
                    <bold>3. Reviewer 2:</bold> On page 3, 2
                    <sup>nd</sup>&#x00a0;last paragraph, the authors did mention that the available Malaysian banknote readers are huge in size. However, the system developed, as shown in Figure 15, also seems bulky. (It is also better if the labels and dimensions of Figure 15 are provided). Besides, if the authors want to show that the proposed system has advantage in terms of size, it would be nicer if there is a table to compare the size of the proposed system with the available systems.</p>
                <p> </p>
                <p> 
                    <bold>Author:</bold> The proposed system is not having advantage in terms of size compared to some available Malaysian banknote reader in the market. Therefore, the issue of bulky size reader will not be discussed in the paper. Labels and dimensions of Figure 17 are provided 235 mm (Length) x142 mm (Width) x135 mm (Height), for readers to justify the banknote reader size themselves.</p>
                <p> </p>
                <p> </p>
                <p> 
                    <bold>4. Reviewer :</bold> In Section 1, it would be better if the authors could provide an introduction to RM1 and RM5 banknotes. &#x00a0;Better to provide figure(s) with labels (e.g., songket, hornbill) for this purpose.</p>
                <p> </p>
                <p> 
                    <bold>Author:</bold> An introductory paragraph of RM1 and RM5 banknotes is added in Section 1 INTRODUCTION Paragraph 3 (after "FEEL, LOOK, TILT, and CHECK" principle), together with Figure 1 with labels (songket, hornbill):</p>
                <p> </p>
                <p> The RM1 and RM5 Malaysian Banknotes are shown in Figure 1a and Figure 1b respectively. These banknotes are made from polymer substrate and with security features/watermarks with label 1-8. In sequence: 1) Intaglo, 2) Clear Window, 3) Shadow Image, 4) Crescent &amp; Star Non-transparent window, 5) Perfect see thru Register, 6) Micro-Lettering, 7) Two color fluorescent element for Perfect see-thru, 8) UV BNM Text and Logo. Among the eight types of watermarks, there are three types of watermarks that related to the use of front-backlight mechanism ( 1)see-thru windows, 2)Crescent and Star non transparent window, 3)Perfect see though register). These three types of watermarks will be selected for the proposed prototype to run test.</p>
                <p> </p>
                <p> Added Figure 1 (a) RM1 &#x00a0;(b) RM5 and their Corresponding watermarks.</p>
                <p> </p>
                <p> </p>
                <p> 
                    <bold>5. Reviewer :</bold> Better to treat divisions in Section 2 as subsections, and given number, such as Section 2.1, Section 2.2, etc.</p>
                <p> </p>
                <p> 
                    <bold>Author:</bold> Divisions in Section 2 are treated as subsections e.g: Section 2.1 Micro-controller, Section 2.2 Imaging Tools, Section 2.3 Backlight Platform, Section 2.4 Speaker and Section 2.5 Battery.</p>
                <p> </p>
                <p> 
                    <bold>6.&#x00a0;Reviewer :</bold> In Section 2, it would be better to discuss about the micro-controller first before the other components. Thus, it would be clearer, for example, why the authors are considering the use of Raspberry Pi cameras.</p>
                <p> </p>
                <p> 
                    <bold>Author:</bold> Revised Section 2, micro-controller is discussed first (moved to Section 2.1) before the other components.</p>
                <p> </p>
                <p> 7.&#x00a0;
                    <bold>Reviewer :</bold> Section 3 is mostly in point form. A better presentation is needed. The authors could describe the methods in paragraphs, and explain with the help of figures, flowchart, or pseudocodes.</p>
                <p> </p>
                <p> 
                    <bold>Author:</bold> Revised as per in Reviewer 1&#x2019;s Comment 3.</p>
                <p> </p>
                <p> </p>
                <p> 
                    <bold>8. Reviewer :</bold> The method in Section 3 is not clear. For example, on page 6, in Figure 3, it is shown image &#x201c;Bc&#x201d;, but when image &#x201c;Bc&#x201d; is used for banknotes detection it is not mentioned clearly.</p>
                <p> </p>
                <p> 
                    <bold>Author:</bold> Image &#x201c;Bc&#x201d; and its related definition is removed from the text&#x00a0;to avoid confusion.</p>
                <p> </p>
                <p> </p>
                <p> 
                    <bold>9. Reviewer :</bold> Page 7, 2
                    <sup>nd</sup>&#x00a0;line. How&#x00a0;can&#x00a0;converting the RGB to grayscale image help in improving image quality and reduce image noise?</p>
                <p> </p>
                <p> 
                    <bold>Author:</bold> The numeral printed on the banknote can be easily traced out by optical character recognition software in grayscale format.&#x00a0;</p>
                <p> </p>
                <p> </p>
                <p> 
                    <bold>10. Reviewer :</bold> In equation (1), why are the input images (Ba and Bb) located on the left side of the equation, and not on the right side? Usually, the left side is for the output.</p>
                <p> </p>
                <p> 
                    <bold>Author:</bold> The equation actually carried the meaning of the new Ba and Bb images will be resized to the desired width; height and number of RGBchannel after execution.</p>
                <p> </p>
                <p> </p>
                <p> 
                    <bold>11. Reviewer :</bold> In equation (1), better to mention the values of &#x201c;width&#x201d;, &#x201c;height&#x201d;, and &#x201c;no. RGBchannels&#x201d; used in this work.</p>
                <p> </p>
                <p> 
                    <bold>Author:</bold> The values of &#x201c;width&#x201d;, &#x201c;height&#x201d;, and &#x201c;no. RGBchannels&#x201d; used in this work are selected in Section 4 Paragraph 4 (TR = 250(width) x 450(height) = 112,500 pixels). The no. RGBchannels is 3. Added in Section 4 Paragraph 4.</p>
                <p> </p>
                <p> 12.&#x00a0;
                    <bold>Reviewer :</bold> For the Gaussian Blur function, what is the filter size, or the standard deviation used?</p>
                <p> 
                    <bold>&#x00a0;</bold>
                </p>
                <p>
                    <bold> Author:</bold> The filter size, or the standard deviation used for the Gaussian Blur function is 5x5 pixels. Such filter removed outlier 5x5 pixels that may be noise elements in the image. Added in Section 4 Paragraph 1.&#x00a0;</p>
                <p> </p>
                <p> </p>
                <p> 13.&#x00a0;
                    <bold>Reviewer :</bold> Figure 4 does not show the Gaussian Blur converted image, but the image after grayscale conversion.</p>
                <p> </p>
                <p> 
                    <bold>Author:</bold> Figure 6 added a Gaussian Blur converted image.</p>
                <p> </p>
                <p> </p>
                <p> 
                    <bold>14.&#x00a0;Reviewer :</bold> If the image is already converted to grayscale image, why should we convert it to HSV space? Or is the conversion from the RGB image? If this is from the RGB image, then why do we need to convert the image into grayscale? Besides, why we do not use &#x201c;Bc&#x201d; for this purpose?</p>
                <p> </p>
                <p> 
                    <bold>Author:</bold> To extract region 1 the RGB image &#x201c;Bb&#x201d; needs to convert to a Gaussian Blur image and further convert to an HSV space image. However, to extract region 3 the RGB image &#x201c;Ba&#x201d; and &#x201c;Bb&#x201d; need to convert to grayscale images.</p>
                <p> </p>
                <p> 
                    <bold>15.&#x00a0;Reviewer </bold>: If Figure 5 is taken somewhere, a proper permission should be asked to re-publish this figure. Citation should be given in the figure&#x2019;s caption.</p>
                <p> </p>
                <p> 
                    <bold>Author:</bold> Figure 7 is taken from this paper: Vazquez Saraullo, Federico Alejandro &amp; Larosa, Facundo &amp; Ghignone, Ramiro &amp; Lanzillotta, Lucas. (2019) &#x201c;Dise&#x00f1;o, implementaci&#x00f3;n y ensayo de un lector de colores de bajo costo para personas ciegas y disminuidas visuals&#x201d;, X Congreso de Microelectr&#x00f3;nica Aplicada (&#x03bc;EA2019)At: San Mart&#x00ed;n, Buenos Aires, Argentina. Citation for Figure 7 is done and listed in the paper with citation [18].</p>
                <p> </p>
                <p> </p>
                <p> 
                    <bold>16. Reviewer :</bold> Figure 7 shows how the thresholding process is done by using track bars. The question is, are these threshold values fixed for all input images, or need to be changed, depending to the input image? If it is not fixed, then the method is not automated, and the user needs to set it every time a banknote is input to the system. Besides, is this process suitable for a visually impaired person?</p>
                <p> </p>
                <p> 
                    <bold>Author:</bold>&#x00a0; Yes, the threshold values are fixed according to the banknote reader box internal environment and the front-backlight intensity. There are two set of threshold values set, one set&#x00a0; for RM1 and another set for RM5. For RM1 the HSV value for the raspberry pi processor is fixed at Hue Min = 0 , Hue Max = 179, Sat Min= 0, Sat Max=255, Val Min=170,Val Max=255 . For RM5 the HSV value for the raspberry pi processor is fixed at Hue Min = 0 , Hue Max = 179, Sat Min=0, Sat Max=255, Val Min=205,Val Max=255 . Figure 9 (a) will show Track bars detect features in RM1 images. Figure 9 (b) will show Track bars detect features in RM5 images. This detail explanation is added in Section 3 Step 3 Second paragraph.</p>
                <p> </p>
                <p> 
                    <bold>17.&#x00a0;Reviewer :</bold> Page 9, descriptions for part (i) and part (ii) are similar to each other.</p>
                <p> </p>
                <p> 
                    <bold>Author: </bold>In Section 3, Step 4 description for part (i) and part (ii) are similar to each other. Part (i) is detecting Region of Interest for RM1 whereas Part (ii) is detecting Region of Interest for RM5. Hence the two parts are combined to become one part.</p>
                <p> </p>
                <p> 
                    <bold>18.&#x00a0;Reviewer :</bold> Figure 15 should also label where the slot to input the banknote to the system, and where the banknote will exit from the system.&#x00a0;</p>
                <p> </p>
                <p> 
                    <bold>Author:</bold> Figure 17 revised to label where the slot to input the banknote to the system, and where the banknote will exit from the system.</p>
                <p> </p>
                <p> 
                    <bold>19. Reviewer :</bold> The system has a speaker. What is the sound/notification given to the user? Some description on how to set up this sound/notification should be given.</p>
                <p> </p>
                <p> 
                    <bold>Author:</bold> The notification messages given to the users include: &#x201c;Real one Ringgit&#x201d;, &#x201c;Real five Ringgit&#x201d; and &#x201c;Not a Malaysian banknote.&#x201d;</p>
                <p> </p>
                <p> Description : Import pyttsx3 library in Python. It is a a text-to-speech conversion library in Python. The results in step 6 Decision making part will be sent to activate the text (eg. Real one Ringgit, Real five Ringgit or Not a Malaysian banknote.&#x201d; The pyttsx3 command will transfer the text to speech and display at the speaker. Below is the sample of codings:</p>
                <p> engine = pyttsx3.init()</p>
                <p> engine.say("Real five ringgit")</p>
                <p> engine.runAndWait()</p>
                <p> engine.stop()</p>
                <p> Added in the Section 2.4 Speaker</p>
                <p> </p>
                <p> 
                    <bold>20.&#x00a0;Reviewer :</bold> In Section 1, more review on the related works should be done. For example: 
                    <list list-type="bullet">
                        <list-item>
                            <p>
                                <ext-link ext-link-type="uri" xlink:href="http://eprints.utar.edu.my/4289/1/17ACB01383_FYP.pdf">http://eprints.utar.edu.my/4289/1/17ACB01383_FYP.pdf</ext-link>
                            </p>
                        </list-item>
                    </list> 1. Lee KL: Malaysia currency recognizer mobile application for visual impairment. Universiti Tunku Abdul Rahman, Malaysia. 2022. Reference Source 
                    <list list-type="bullet">
                        <list-item>
                            <p>
                                <ext-link ext-link-type="uri" xlink:href="https://www.hindawi.com/journals/js/2022/4505089/">https://www.hindawi.com/journals/js/2022/4505089/</ext-link>
                            </p>
                        </list-item>
                    </list> 2. Aseffa D, Kalla H, Mishra S: Ethiopian Banknote Recognition Using Convolutional Neural Network and Its Prototype Development Using Embedded Platform. Journal of Sensors. 2022; 2022: 1-18 Publisher Full Text 
                    <list list-type="bullet">
                        <list-item>
                            <p>
                                <ext-link ext-link-type="uri" xlink:href="https://iopscience.iop.org/article/10.1088/1742-6596/2089/1/012008/meta">https://iopscience.iop.org/article/10.1088/1742-6596/2089/1/012008/meta</ext-link>
                            </p>
                        </list-item>
                    </list> 3. Padmaja B, Naga Shyam Bhargav P, Ganga Sagar H, Diwakar Nayak B, et al.: Indian Currency Denomination Recognition and Fake Currency Identification. Journal of Physics: Conference Series. 2021; 2089 (1). Publisher Full Text</p>
                <p> &#x00a0;&#x00a0;&#x00a0;&#x00a0;&#x00a0;&#x00a0;&#x00a0;&#x00a0;</p>
                <p> </p>
                <p> 
                    <bold>Author:</bold> The review of the THREE (3) works above are considered and added in Section 1 Paragraph 8 (After NantMobile): Convolutional Neural Networks using MobileNet model was selected by [15] in detecting Ethiopian banknotes. Convolutional Neural Networks using Canny Edge detection and multiscale template matching methods were selected by [17] in detecting Indian banknotes. Both these two models are detecting banknotes denomination and counterfeit. However, their counterfeit detection only focus on banknotes&#x2019; surface security features, like micro-lettering and only can detect single - sided of banknotes. Unlike other hidden type of watermarks, micro-lettering is easy to be printed by current high-resolution printers.</p>
            </body>
        </sub-article>
    </sub-article>
    <sub-article article-type="reviewer-report" id="report120762">
        <front-stub>
            <article-id pub-id-type="doi">10.5256/f1000research.62043.r120762</article-id>
            <title-group>
                <article-title>Reviewer response for version 1</article-title>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author">
                    <name>
                        <surname>Bokde</surname>
                        <given-names>Neeraj Dhanraj</given-names>
                    </name>
                    <xref ref-type="aff" rid="r120762a1">1</xref>
                    <role>Referee</role>
                    <uri content-type="orcid">https://orcid.org/0000-0002-3493-9302</uri>
                </contrib>
                <aff id="r120762a1">
                    <label>1</label>Aarhus University, Aarhus, Denmark</aff>
            </contrib-group>
            <author-notes>
                <fn fn-type="conflict">
                    <p>
                        <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>25</day>
                <month>1</month>
                <year>2022</year>
            </pub-date>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2022 Bokde ND</copyright-statement>
                <copyright-year>2022</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access peer review report distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <related-article ext-link-type="doi" id="relatedArticleReport120762" related-article-type="peer-reviewed-article" xlink:href="10.12688/f1000research.58446.1"/>
            <custom-meta-group>
                <custom-meta>
                    <meta-name>recommendation</meta-name>
                    <meta-value>reject</meta-value>
                </custom-meta>
            </custom-meta-group>
        </front-stub>
        <body>
            <p>The manuscript presented an image processing technique for two Malaysian banknotes detection using a microcontroller-based mechanism. The research can have a good impact on society and is worth investigating, however, the research component of the manuscript is minimal. The authors may consider the following&#x00a0;comments to revise the manuscript: 
                <list list-type="order">
                    <list-item>
                        <p>The research contribution and novelty in terms of image processing are not well discussed in the manuscript. It is advised to discuss the methodology proposed by the authors to solve the problem statement.</p>
                    </list-item>
                    <list-item>
                        <p>Besides, it is very crucial to compare the performance of the proposed methodology with the state-of-the-art methods and evaluate its performance in terms of different error metrics.</p>
                    </list-item>
                    <list-item>
                        <p>The author tried different IF-ELSE situations&#x00a0;to detect the currency, however, the presentation of the same is very poor in the manuscript. It is advised to discuss these things in the form of block diagrams and Psuedo&#x00a0;codes with proper formatting.</p>
                    </list-item>
                    <list-item>
                        <p>The quality of figures in terms of resolution and aesthetics are very poor. It is advised to revise all figures with improved qualities.</p>
                    </list-item>
                    <list-item>
                        <p>The manuscript in the present form is like a project report, and not suitable for a research article. It is recommended to revise the manuscript with an improved case study that will discuss the research contributions in more detail than the hardware-software interface systems.</p>
                    </list-item>
                </list>
            </p>
            <p>Is the work clearly and accurately presented and does it cite the current literature?</p>
            <p>Yes</p>
            <p>If applicable, is the statistical analysis and its interpretation appropriate?</p>
            <p>No</p>
            <p>Are all the source data underlying the results available to ensure full reproducibility?</p>
            <p>Partly</p>
            <p>Is the study design appropriate and is the work technically sound?</p>
            <p>No</p>
            <p>Are the conclusions drawn adequately supported by the results?</p>
            <p>Partly</p>
            <p>Are sufficient details of methods and analysis provided to allow replication by others?</p>
            <p>No</p>
            <p>Reviewer Expertise:</p>
            <p>Data science, deep learning, time series analysis, computer vision</p>
            <p>I confirm that I have read this submission and believe that I have an appropriate level of expertise to state that I do not consider it to be of an acceptable scientific standard, for reasons outlined above.</p>
        </body>
        <sub-article article-type="response" id="comment8065-120762">
            <front-stub>
                <contrib-group>
                    <contrib contrib-type="author">
                        <name>
                            <surname>Wong</surname>
                            <given-names>Wai Kit</given-names>
                        </name>
                        <aff>Multimedia University, Malaysia</aff>
                    </contrib>
                </contrib-group>
                <author-notes>
                    <fn fn-type="conflict">
                        <p>
                            <bold>Competing interests: </bold>No competing interests</p>
                    </fn>
                </author-notes>
                <pub-date pub-type="epub">
                    <day>7</day>
                    <month>4</month>
                    <year>2022</year>
                </pub-date>
            </front-stub>
            <body>
                <p>
                    <bold>1. Reviewer:&#x00a0;</bold>The research contribution and novelty in terms of image processing are not well discussed in the manuscript. It is advised to discuss the methodology proposed by the authors to solve the problem statement.</p>
                <p> </p>
                <p> 
                    <bold>Author:</bold> &#x00a0;The research contribution and novelty for this work is a new model of Malaysian banknotes counterfeit detection using watermarks image processing analysis and classifier with fuzzy logic. In particular, the three watermarks features: 1) see-thru windows, 2) Crescent and Star 3) Perfect see though register will be extracted from the one Ringgit and five Ringgit banknotes to determine the real/fake in a dynamic environment with ambiguous, distorted or imprecise banknotes images. Added in Second last paragraph of Section 1.</p>
                <p> </p>
                <p> A new Figure 4 is added with methodology proposed by the authors to solve the problem statement of banknote counterfeit detection. The detail of the algorithm is explained in Section 3.</p>
                <p> </p>
                <p> 
                    <bold>2. Reviewer :</bold> Besides, it is very crucial to compare the performance of the proposed methodology with the state-of-the-art methods and evaluate its performance in terms of different error metrics.</p>
                <p> </p>
                <p> 
                    <bold>Author:</bold> Comparison of the proposed banknote reader detection accuracy and processing speed is done with three state-of-the-art methods: 1) VGG16 model using 2D Convolution Layer (32 neural) at TensorFlow's Keras API [14], 2) MobileNet model using RMSprop Loss Function&#x00a0; (learning_rate=0.0001) at TensorFlow's Keras API [15] and 3) Fuzzy Logic Based Perceptual Image Hashing Algorithm [16].</p>
                <p> </p>
                <p> Experimental setup for method 1: Total of one hundred RM1 banknotes and one hundred RM5 banknotes are captured as the dataset for training the model. VGG16 model using 2D Convolution Layer (32 neural) at TensorFlow's Keras API being trained and tested with 100 real RM1, 100 real RM5, 100 fake RM1 and 100 fake RM5. The average time to load the model and build up the interpreter objects (Training time) was 60 seconds with batch size=32 and epochs=20 and the average inference time while modeling detecting banknote (Testing time) was 1 second. The test Accuracy was 60%.</p>
                <p> </p>
                <p> Experimental setup for method 2: It is understood that the model MobileNet with Loss Function RMSProp was Selected as best accuracy of about 96.80% in paper [15]. Convolutional Neural Networks using MobileNet model with Loss Function RMSProp (0.0001) optimization technique being trained with one hundred RM1 banknotes and one hundred RM5 banknotes and tested with 100 real RM1, 100 real RM5, 100 fake RM1 and 100 fake RM5. The average time to load the model and build up the interpreter objects (Training time) was 81 seconds with batch size=32 and epochs=20 and the average inference time while modeling detecting banknote (Testing time) was 1 second. The test Accuracy was 50%.</p>
                <p> </p>
                <p> Experimental setup for method 3: following paper [16] algorithm. Fuzzy Logic Based Perceptual Image Hashing Algorithm first sorting Database using Perceptual Hashing with one hundred RM1 banknotes and one hundred RM5 banknotes and tested with 100 real RM1, 100 real RM5, 100 fake RM1 and 100 fake RM5. The average time to load the model and build up the interpreter objects (test 100 banknotes) was 130 seconds and the average inference time while detecting banknote (Per banknote) was 1.30 seconds. The test Accuracy was 42%.</p>
                <p> </p>
                <p> The accuracy and required processing time for the experimented methods were summarized in Table 3. By comparing the above works on different Ringgit recognizers, it is observed that Fuzzy logic based light intensity variation watermark detection algorithm required longest processing time (both training and detection times for details watermark features extraction), however it has the best accuracy in detecting fake banknotes (minimum false positive and false negative cases) among the compared state-of-the-art methods. The VGG16 model, MobileNet model and Fuzzy Logic Based Perceptual Image Hashing Algorithm managed to be trained and detected the banknotes currency faster but with limitation of unable to accurately detecting fake banknotes (high false positive and false negative cases recorded) due to no watermarks detection consideration.&#x00a0;&#x00a0;</p>
                <p> </p>
                <p> This write-up is added in Section 4 Experimental Session.</p>
                <p> </p>
                <p> 
                    <bold>3.&#x00a0;Reviewer :</bold> The author tried different IF-ELSE situations to detect the currency, however, the presentation of the same is very poor in the manuscript. It is advised to discuss these things in the form of block diagrams and Psuedo codes with proper formatting.</p>
                <p> </p>
                <p> 
                    <bold>Author:</bold> The algorithm had been revised according to reviewers&#x2019; comments. IF-ELSE statement pseudocodes are well occupied in Section 3&#x2019;s algorithm Step 4 onwards. General block diagram for the image processing algorithm well defined in Figure 4. Here in Section 3, the algorithm steps further details up the operation sequence of the banknote watermarks counterfeit detection.</p>
                <p> </p>
                <p> 
                    <bold>4.&#x00a0;Reviewer:</bold> The quality of figures in terms of resolution and aesthetics are very poor. It is advised to revise all figures with improved qualities.</p>
                <p> </p>
                <p> 
                    <bold>Author: </bold>All figures revised with improved qualities.</p>
                <p> </p>
                <p> 
                    <bold>5.&#x00a0;Reviewer :</bold> The manuscript in the present form is like a project report, and not suitable for a research article. It is recommended to revise the manuscript with an improved case study that will discuss the research contributions in more detail than the hardware-software interface systems.</p>
                <p> </p>
                <p> 
                    <bold>Author:</bold> More case studies were reviewed as per Reviewer 2 comment 20 as well. Whole Section 1 Introduction revised accordingly.</p>
            </body>
        </sub-article>
    </sub-article>
</article>
