CN117523751A - A payment method that automatically identifies the payment amount - Google Patents
A payment method that automatically identifies the payment amount Download PDFInfo
- Publication number
- CN117523751A CN117523751A CN202311622423.2A CN202311622423A CN117523751A CN 117523751 A CN117523751 A CN 117523751A CN 202311622423 A CN202311622423 A CN 202311622423A CN 117523751 A CN117523751 A CN 117523751A
- Authority
- CN
- China
- Prior art keywords
- coin
- banknote
- payment
- image
- money
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 230000008859 change Effects 0.000 claims abstract description 56
- 238000001514 detection method Methods 0.000 claims abstract description 37
- 238000012545 processing Methods 0.000 claims abstract description 29
- 238000000605 extraction Methods 0.000 claims abstract description 11
- 230000007246 mechanism Effects 0.000 claims description 50
- 238000005516 engineering process Methods 0.000 claims description 22
- 239000000284 extract Substances 0.000 claims description 13
- 230000007547 defect Effects 0.000 claims description 11
- 238000003706 image smoothing Methods 0.000 claims description 11
- 238000001914 filtration Methods 0.000 claims description 8
- 238000012546 transfer Methods 0.000 claims description 8
- 238000013527 convolutional neural network Methods 0.000 claims description 5
- 238000004458 analytical method Methods 0.000 claims description 4
- 238000003708 edge detection Methods 0.000 claims description 4
- 238000009499 grossing Methods 0.000 claims description 4
- 238000003709 image segmentation Methods 0.000 claims description 4
- 238000004364 calculation method Methods 0.000 claims description 3
- 238000013145 classification model Methods 0.000 claims description 3
- 238000013135 deep learning Methods 0.000 claims description 3
- 238000010801 machine learning Methods 0.000 claims description 3
- 230000008569 process Effects 0.000 claims description 3
- 230000005540 biological transmission Effects 0.000 claims description 2
- 238000010200 validation analysis Methods 0.000 claims description 2
- 230000000694 effects Effects 0.000 abstract description 3
- 238000012795 verification Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 238000001179 sorption measurement Methods 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07G—REGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
- G07G1/00—Cash registers
- G07G1/0018—Constructional details, e.g. of drawer, printing means, input means
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07D—HANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
- G07D11/00—Devices accepting coins; Devices accepting, dispensing, sorting or counting valuable papers
- G07D11/50—Sorting or counting valuable papers
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07D—HANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
- G07D3/00—Sorting a mixed bulk of coins into denominations
- G07D3/16—Sorting a mixed bulk of coins into denominations in combination with coin-counting
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Inspection Of Paper Currency And Valuable Securities (AREA)
Abstract
Description
技术领域Technical field
本申请涉及自动识别支付金额技术领域,更具体地说,涉及一种自动识别支付金额的支付方法。This application relates to the technical field of automatic identification of payment amounts, and more specifically, to a payment method for automatic identification of payment amounts.
背景技术Background technique
自动识别支付金额的支付方法有很多,以下列举几种在商店、餐厅或其他消费场所,用户只需要用手机扫描商家提供的二维码,就可以快速完成支付,而无需手动输入金额。这种支付方式主要依赖于手机应用程序如支付宝等。There are many payment methods that automatically identify the payment amount. Here are a few. In stores, restaurants or other consumption places, users only need to use their mobile phones to scan the QR code provided by the merchant to quickly complete the payment without manually entering the amount. This payment method mainly relies on mobile applications such as Alipay.
电子钱包:电子钱包是一种虚拟钱包,允许用户存储信用卡、借记卡和现金等支付工具。在购物时,用户只需通过电子钱包进行支付,无需手动输入金额。E-Wallet: An e-wallet is a virtual wallet that allows users to store payment instruments such as credit cards, debit cards, and cash. When shopping, users simply pay via their e-wallet without manually entering the amount.
智能支付终端:智能支付终端是一台具备触控屏和扫描功能的设备,可以快速扫描并识别出商品金额。用户只需在设备上签名或输入密码,即可完成支付。Smart payment terminal: A smart payment terminal is a device with a touch screen and scanning function that can quickly scan and identify the amount of the product. Users only need to sign or enter a password on the device to complete the payment.
现有技术公开号为CN115170128A的文献提供一种支付结算方法、装置及设备,该装置通过对用户的支付结算进行了人脸识别、短信验证、虹膜识别等多重安全验证。验证通过后自动扣除用户账户上的相应金额,提高了用户支付结算的安全性,降低了用户采用二维码支付等支付结算的风险。The prior art document with publication number CN115170128A provides a payment and settlement method, device and equipment. The device performs multiple security verifications such as face recognition, SMS verification, and iris recognition for user payment and settlement. After passing the verification, the corresponding amount on the user's account is automatically deducted, which improves the security of user payment and settlement and reduces the risk of users using QR code payment and other payment and settlement risks.
上述中的现有技术方案虽然通过现有技术的结构可以实现支付结算,但是仍存在以下缺陷;该装置在进行使用时,实现了虚拟货币的支付,但是现实生活中还存在较多的不会使用智能支付的人,由于该装置不便于对纸币及硬币进行自动识别,导致不便于进行实际货币之间的支付,导致交易范围有限。Although the above-mentioned prior art solution can realize payment and settlement through the structure of the prior art, it still has the following defects; when the device is used, it realizes the payment of virtual currency, but there are still many problems that cannot be solved in real life. For people who use smart payments, the device is inconvenient to automatically identify banknotes and coins, making it inconvenient to make payments between actual currencies, resulting in a limited scope of transactions.
鉴于此,我们提出一种自动识别支付金额的支付方法。In view of this, we propose a payment method that automatically identifies the payment amount.
发明内容Contents of the invention
1.要解决的技术问题1. Technical problems to be solved
本申请的目的在于提供一种自动识别支付金额的支付方法,解决了上述背景技术中提出的技术问题,实现了进行实际货币之间的支付技术效果。The purpose of this application is to provide a payment method that automatically identifies the payment amount, solves the technical problems raised in the above-mentioned background technology, and achieves the technical effect of payment between actual currencies.
2.技术方案2.Technical solutions
本申请实施例提供了一种自动识别支付金额的支付方法,该方法基于如下系统,包括支付设备、硬币支付找钱机构、纸币支付检测机构、存钱座及纸币找钱机构,支付设备上连接固定设置有硬币支付找钱机构,支付设备上连接固定设置有纸币支付检测机构,支付设备内部放置有多个存钱座,支付设备内壁连接固定设置有纸币找钱机构,支付设备上安装有显示器及语音播报设备,硬币支付找钱机构包括硬币放置座,硬币放置座内壁连接固定设置有多个硬币分类管,硬币放置座底端内壁连接固定设置有多个电推杆A,电推杆A端部连接固定设置有推币板,推币板与硬币放置座内壁贯穿滑动配合设置,硬币放置座内安装有摄像设备,纸币支付检测机构包括纸币放置座,纸币放置座内壁连接固定设置有电机A,电机A输出端连接固定设置有蜗杆,蜗杆两侧啮合传动设置有蜗轮,蜗轮连接固定设置有拨钱橡胶棒,拨钱橡胶棒与纸币放置座内壁转动连接设置,纸币放置座上贯穿滑动配合设置有退钱座,退钱座与纸币放置座之间连接固定设置有电推杆B。纸币放置座内安装有摄像设备,存钱座底端连接固定设置有插杆,插杆与支付设备内壁活动插接设置,多个存钱座内分别放置有50、20、10、5元的纸币,纸币找钱机构包括电机B,电机B连接固定设置有转动架,转动架上连接固定设置有电推杆C,电推杆C另一端连接固定设置有多个电动吸盘;The embodiment of the present application provides a payment method that automatically identifies the payment amount. The method is based on the following system, including a payment device, a coin payment change mechanism, a paper money payment detection mechanism, a money depositor and a paper money change mechanism. The payment device is connected to a fixed setting There is a coin payment change mechanism, a banknote payment detection mechanism is fixedly connected to the payment equipment, a plurality of money deposit holders are placed inside the payment equipment, a paper money change mechanism is fixedly connected to the inner wall of the payment equipment, and a monitor and a voice broadcasting device are installed on the payment equipment. , the coin payment and change mechanism includes a coin placement seat. A plurality of coin sorting tubes are connected and fixed on the inner wall of the coin placement seat. A plurality of electric push rods A are connected and fixed on the inner wall of the bottom end of the coin placement seat. The end of the electric push rod A is connected and fixed. There is a coin pushing plate, and the coin pushing plate and the inner wall of the coin placing seat are arranged in sliding fit. A camera device is installed in the coin placing seat. The banknote payment detection mechanism includes a banknote placing seat. The inner wall of the banknote placing seat is connected and fixed with a motor A, and the output of the motor A is The end connection is fixed with a worm, and both sides of the worm are meshed and driven with worm gears. The worm gear is connected and fixed with a money transfer rubber rod. The money transfer rubber rod is connected to the inner wall of the banknote placement seat in a rotational manner. The banknote placement seat is provided with a money return slide through sliding fit. The money refund seat and the banknote placement seat are connected and fixedly provided with an electric push rod B. A camera device is installed in the banknote placement seat. The bottom of the money deposit seat is connected and fixed with a plug-in rod. The plug-in rod is movable and plugged into the inner wall of the payment device. There are 50, 20, 10, and 5 yuan bills placed in multiple money deposit seats. The banknote and banknote change mechanism includes a motor B. The motor B is connected and fixed with a turret. The turret is connected and fixed with an electric push rod C. The other end of the electric push rod C is connected and fixed with a plurality of electric suction cups;
其中硬币支付找钱机构及纸币支付检测机构,对支付的货币进行识别计价,根据商品的价格进行计算得出找钱的数值,控制纸币找钱机构吸附纸币,同时通过推币板推出硬币进行找钱,退钱座通过模型对纸币的缺损进行检测,当缺损过大时,会使得电推杆B带动退钱座移动,将残缺纸币推出,并进行语音提示进行更换;Among them, the coin payment change mechanism and the paper money payment detection mechanism identify and price the paid currency, calculate the value of the change based on the price of the product, control the paper money change mechanism to absorb the banknotes, and at the same time push the coins through the coin pushing plate to change the money and refund the money. The base detects the defects of the banknotes through the model. When the defects are too large, the electric push rod B will drive the refund seat to move, push out the incomplete banknotes, and give voice prompts for replacement;
S1、纸币及硬币图像采集模块:所述纸币及硬币图像采集模块使用相机或者扫描仪等设备采集硬币、纸币图像数据;S1. Banknote and coin image acquisition module: The banknote and coin image acquisition module uses equipment such as cameras or scanners to collect coin and banknote image data;
S2、纸币及硬币图像数据处理模块:所述纸币及硬币图像数据处理模块对采集到的硬币、纸币图像进行预处理,包括图像去噪、图像增强、图像平滑等处理;S2. Banknote and coin image data processing module: The banknote and coin image data processing module preprocesses the collected coins and banknote images, including image denoising, image enhancement, image smoothing and other processing;
S3、纸币及硬币图像特征提取模块:所述纸币及硬币图像特征提取模块提取硬币、纸币图像的特征,包括颜色特征、纹理特征、形状特征等数据;S3. Banknote and coin image feature extraction module: The banknote and coin image feature extraction module extracts features of coins and banknote images, including color features, texture features, shape features and other data;
S4、纸币及硬币分类识别模块:所述纸币及硬币分类识别模块使用机器学习或深度学习算法训练分类模型,对硬币、纸币进行分类识别;S4. Banknote and coin classification and identification module: The banknote and coin classification and identification module uses machine learning or deep learning algorithms to train a classification model to classify and identify coins and banknotes;
S5、纸币破损检测模块:所述纸币破损检测模块检测纸币的破损情况,包括撕毁、损坏、缺角等;S5. Banknote damage detection module: The banknote damage detection module detects the damage of banknotes, including torn, damaged, missing corners, etc.;
S6、计价找钱模块:所述计价找钱模块根据识别到的硬币和纸币信息,计算给定商品的总价,同时根据用户支付的金额,自动计算找钱金额。S6. Price change module: The price calculation module calculates the total price of a given commodity based on the recognized coin and banknote information, and automatically calculates the change amount based on the amount paid by the user.
作为本申请文件技术方案的一种可选方案,所述纸币及硬币图像采集模块使用相机或者扫描仪采集硬币、纸币图像,能够采集正面、反面和各种角度的图像,以获取全面的信息数据。As an optional solution to the technical solution of this application document, the banknote and coin image acquisition module uses a camera or scanner to collect images of coins and banknotes, and can collect images of the front, back and various angles to obtain comprehensive information data .
作为本申请文件技术方案的一种可选方案,所述纸币及硬币图像数据处理模块对采集到的硬币、纸币图像进行预处理,包括图像去噪、图像增强、图像平滑,所述图像去噪:通过中值滤波能够消除图像中的随机噪声,使图像更加清晰;As an optional solution to the technical solution of this application document, the banknote and coin image data processing module performs preprocessing on the collected coin and banknote images, including image denoising, image enhancement, and image smoothing. The image denoising : Random noise in the image can be eliminated through median filtering, making the image clearer;
所述图像增强:图像增强方法包括对比度增强、亮度调整、色彩平衡等,进行图像增强处理,从而更好地识别和检测硬币和纸币的图像;Described image enhancement: image enhancement methods include contrast enhancement, brightness adjustment, color balance, etc., to perform image enhancement processing to better identify and detect images of coins and banknotes;
所述图像平滑:通过均值滤波的平滑方法,消除图像中的细节和噪声,能够减少图像中的细节和噪声,提高识别的准确性。The image smoothing: through the smoothing method of mean filtering, details and noise in the image are eliminated, which can reduce the details and noise in the image and improve the accuracy of recognition.
作为本申请文件技术方案的一种可选方案,所述纸币及硬币图像特征提取模块提取硬币、纸币图像的特征,包括颜色特征、纹理特征、形状特征等数据;As an optional solution to the technical solution of this application document, the banknote and coin image feature extraction module extracts features of coins and banknote images, including color features, texture features, shape features and other data;
对于硬币:直径特征:能够使用图像处理技术,例如二值化技术,来检测硬币的直径大小,并以此作为特征之一;边缘特征:能够使用边缘检测算法,如Sobel,提取硬币的边缘信息作为特征;For coins: diameter feature: can use image processing technology, such as binarization technology, to detect the diameter of the coin, and use this as one of the features; edge feature: can use edge detection algorithms, such as Sobel, to extract the edge information of the coin as a characteristic;
对于纸币:面值特征:纸币的面值是一个重要的特征,能够通过图像处理技术来识别和提取面值信息,水印特征:纸币通常具有水印,能够通过图像处理技术检测水印的位置、大小、颜色等信息;For banknotes: Face value features: The face value of banknotes is an important feature that can be used to identify and extract face value information through image processing technology. Watermark features: Banknotes usually have watermarks, and the location, size, color and other information of the watermark can be detected through image processing technology. ;
作为本申请文件技术方案的一种可选方案,所述纸币及硬币分类识别模块选择使用卷积神经网络(CNN)来训练模型,根据实际情况,能够调整模型的结构和参数以提高准确性,通过使用验证集来评估模型的性能,通过计算模型的精确度、召回率、F1分数等指标来了解模型的准确性。As an optional solution to the technical solution of this application document, the banknote and coin classification and recognition module chooses to use a convolutional neural network (CNN) to train the model. According to the actual situation, the structure and parameters of the model can be adjusted to improve accuracy. Evaluate the performance of the model by using the validation set, and understand the accuracy of the model by calculating the precision, recall, F1 score and other indicators of the model.
作为本申请文件技术方案的一种可选方案,所述纸币破损检测模块检测纸币的破损情况,包括撕毁、损坏、缺角等,采用图像分割技术,对纸币图像进行破损区域的检测,通过计算纸币图像上的边缘和纹理等特征,能够检测出撕毁、损坏、缺角等破损情况,从破损区域中提取出相关的特征,例如破损的形状、大小、位置等信息,这些特征能够用于训练破损检测模型,对纸币进行破损检测及破损程度分析。As an optional solution to the technical solution of this application document, the banknote damage detection module detects the damage of banknotes, including torn, damaged, missing corners, etc., and uses image segmentation technology to detect the damaged area of the banknote image. Through calculation Features such as edges and textures on banknote images can detect tearing, damage, missing corners and other damage conditions, and extract relevant features from the damaged area, such as damaged shape, size, location and other information. These features can be used for training Damage detection model, performs damage detection and damage degree analysis on banknotes.
3.有益效果3. Beneficial effects
本申请实施例中提供的一个或多个技术方案,至少具有如下技术效果或优点:One or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages:
1.本申请由于采用了纸币及硬币图像采集模块等技术手段,所以有效解决了现有技术中的技术问题,进而实现了在进行实际货币支付时,实现自动对纸币及硬币进行识别,并进行计价,进行自动找钱,适用于自动售卖的商店使用,避免了不会使用智能支付手段的人员无法购买商品的问题,提高装置的实用性的效果。1. This application adopts technical means such as banknote and coin image acquisition modules, so it effectively solves the technical problems in the existing technology, and then realizes the automatic identification of banknotes and coins when making actual currency payments, and performs It can calculate prices and automatically change money, and is suitable for use in automatic vending stores. It avoids the problem of people who do not know how to use smart payment methods being unable to purchase goods, and improves the practicality of the device.
2.本申请通过设置硬币支付找钱机构及纸币支付检测机构,实现了对支付的货币进行识别计价,根据商品的价格进行计算,从而得出找钱的数值,控制纸币找钱机构实现吸附纸币,同时通过推币板推出硬币,实现找钱步骤,从而完成交易。2. This application realizes the identification and pricing of the payment currency by setting up a coin payment change mechanism and a banknote payment detection mechanism, and calculates based on the price of the product to obtain the value of the change, and controls the paper currency change mechanism to achieve adsorption of banknotes. At the same time, through The coin pusher pushes out the coins to complete the money change step, thus completing the transaction.
3.本申请通过设置退钱座,通过模型对纸币的缺损进行检测,当缺损过大时,会使得电推杆B带动退钱座移动,将残缺纸币推出,并进行语音提示进行更换。3. This application sets up a refund seat and uses a model to detect the defects of banknotes. When the defect is too large, the electric push rod B will drive the refund seat to move, push out the incomplete banknotes, and give voice prompts for replacement.
附图说明Description of drawings
图1为本申请一较佳实施例公开的自动识别支付金额的支付方法的整体结构货币识别流程示意图;Figure 1 is a schematic diagram of the currency identification process of the overall structure of a payment method for automatically identifying payment amounts disclosed in a preferred embodiment of the present application;
图2为本申请一较佳实施例公开的自动识别支付金额的支付方法的整体结构示意图;Figure 2 is a schematic diagram of the overall structure of a payment method for automatically identifying payment amounts disclosed in a preferred embodiment of the present application;
图3为本申请一较佳实施例公开的自动识别支付金额的支付方法的整体结构局部剖视示意图;Figure 3 is a partial cross-sectional schematic diagram of the overall structure of a payment method for automatically identifying payment amounts disclosed in a preferred embodiment of the present application;
图4为本申请一较佳实施例公开的自动识别支付金额的支付方法的硬币支付找钱机构结构剖视展开示意图;Figure 4 is a schematic cross-sectional view of the structure of the coin payment change mechanism of the payment method for automatically identifying the payment amount disclosed in a preferred embodiment of the present application;
图5为本申请一较佳实施例公开的自动识别支付金额的支付方法的纸币支付检测机构结构剖视示意图;Figure 5 is a schematic cross-sectional view of the structure of the banknote payment detection mechanism of the payment method for automatically identifying the payment amount disclosed in a preferred embodiment of the present application;
图6为本申请一较佳实施例公开的自动识别支付金额的支付方法的部分结构剖视示意图;Figure 6 is a schematic cross-sectional view of a partial structure of a payment method for automatically identifying payment amounts disclosed in a preferred embodiment of the present application;
图中标号说明:1、支付设备;2、硬币支付找钱机构;3、纸币支付检测机构;4、存钱座;5、纸币找钱机构;201、硬币放置座;202、硬币分类管;203、电推杆A;204、推币板;301、纸币放置座;302、电机A;303、蜗杆;304、蜗轮;305、拨钱橡胶棒;306、退钱座;307、电推杆B;401、插杆;501、电机B;502、转动架;503、电推杆C;504、电动吸盘。Description of the numbers in the figure: 1. Payment equipment; 2. Coin payment change mechanism; 3. Paper money payment detection mechanism; 4. Money deposit holder; 5. Paper money change mechanism; 201. Coin placement seat; 202. Coin sorting tube; 203. Electric push rod A; 204, coin pushing plate; 301, banknote placement seat; 302, motor A; 303, worm; 304, worm wheel; 305, money transfer rubber rod; 306, money return seat; 307, electric push rod B; 401. Plug rod; 501. Motor B; 502. Turret; 503. Electric push rod C; 504. Electric suction cup.
具体实施方式Detailed ways
以下结合说明书附图对本申请作进一步详细说明。The present application will be further described in detail below with reference to the accompanying drawings.
参照图1,一种自动识别支付金额的支付方法,包括以下步骤:Referring to Figure 1, a payment method for automatically identifying the payment amount includes the following steps:
S1、纸币及硬币图像采集模块:纸币及硬币图像采集模块使用相机或者扫描仪等设备采集硬币、纸币图像数据;S1. Banknote and coin image acquisition module: The banknote and coin image acquisition module uses cameras or scanners and other equipment to collect coin and banknote image data;
S2、纸币及硬币图像数据处理模块:纸币及硬币图像数据处理模块对采集到的硬币、纸币图像进行预处理,包括图像去噪、图像增强、图像平滑等处理;S2. Banknote and coin image data processing module: The banknote and coin image data processing module preprocesses the collected coins and banknote images, including image denoising, image enhancement, image smoothing, etc.;
S3、纸币及硬币图像特征提取模块:纸币及硬币图像特征提取模块提取硬币、纸币图像的特征,包括颜色特征、纹理特征、形状特征等数据;S3. Banknote and coin image feature extraction module: The banknote and coin image feature extraction module extracts the features of coins and banknote images, including color features, texture features, shape features and other data;
S4、纸币及硬币分类识别模块:纸币及硬币分类识别模块使用机器学习或深度学习算法训练分类模型,对硬币、纸币进行分类识别;S4. Paper money and coin classification and identification module: The paper money and coin classification and identification module uses machine learning or deep learning algorithms to train the classification model to classify and identify coins and paper money;
S5、纸币破损检测模块:纸币破损检测模块检测纸币的破损情况,包括撕毁、损坏、缺角等;S5. Banknote damage detection module: The banknote damage detection module detects the damage of banknotes, including torn, damaged, missing corners, etc.;
S6、计价找钱模块:计价找钱模块根据识别到的硬币和纸币信息,计算给定商品的总价,同时根据用户支付的金额,自动计算找钱金额。S6. Price change module: The price change module calculates the total price of a given commodity based on the recognized coin and banknote information, and automatically calculates the change amount based on the amount paid by the user.
其中硬币支付找钱机构及纸币支付检测机构,对支付的货币进行识别计价,根据商品的价格进行计算得出找钱的数值,控制纸币找钱机构吸附纸币,同时通过推币板推出硬币进行找钱,退钱座通过模型对纸币的缺损进行检测,当缺损过大时,会使得电推杆B带动退钱座移动,将残缺纸币推出,并进行语音提示进行更换。Among them, the coin payment change mechanism and the paper money payment detection mechanism identify and price the paid currency, calculate the value of the change based on the price of the product, control the paper money change mechanism to absorb the banknotes, and at the same time push the coins through the coin pushing plate to change the money and refund the money. The holder detects the defects of the banknotes through the model. When the defects are too large, the electric push rod B will drive the refund holder to move, push out the incomplete banknotes, and give voice prompts for replacement.
纸币及硬币图像采集模块使用相机或者扫描仪采集硬币、纸币图像,能够采集正面、反面和各种角度的图像,以获取全面的信息数据。The banknote and coin image acquisition module uses a camera or scanner to collect images of coins and banknotes. It can collect images of the front, back and various angles to obtain comprehensive information data.
纸币及硬币图像数据处理模块对采集到的硬币、纸币图像进行预处理,包括图像去噪、图像增强、图像平滑,图像去噪:通过中值滤波能够消除图像中的随机噪声,使图像更加清晰;The banknote and coin image data processing module preprocesses the collected coin and banknote images, including image denoising, image enhancement, image smoothing, and image denoising: median filtering can eliminate random noise in the image and make the image clearer. ;
图像增强:图像增强方法包括对比度增强、亮度调整、色彩平衡等,进行图像增强处理,从而更好地识别和检测硬币和纸币的图像;Image enhancement: Image enhancement methods include contrast enhancement, brightness adjustment, color balance, etc., to perform image enhancement processing to better identify and detect images of coins and banknotes;
图像平滑:通过均值滤波的平滑方法,消除图像中的细节和噪声,能够减少图像中的细节和噪声,提高识别的准确性。Image smoothing: The smoothing method of mean filtering is used to eliminate details and noise in the image, which can reduce the details and noise in the image and improve the accuracy of recognition.
纸币及硬币图像特征提取模块提取硬币、纸币图像的特征,包括颜色特征、纹理特征、形状特征等数据;The banknote and coin image feature extraction module extracts the features of coins and banknote images, including color features, texture features, shape features and other data;
对于硬币:直径特征:能够使用图像处理技术,例如二值化技术,来检测硬币的直径大小,并以此作为特征之一;边缘特征:能够使用边缘检测算法,如Sobel,提取硬币的边缘信息作为特征;For coins: diameter feature: can use image processing technology, such as binarization technology, to detect the diameter of the coin, and use it as one of the features; edge feature: can use edge detection algorithms, such as Sobel, to extract the edge information of the coin as a characteristic;
对于纸币:面值特征:纸币的面值是一个重要的特征,能够通过图像处理技术来识别和提取面值信息,水印特征:纸币通常具有水印,能够通过图像处理技术检测水印的位置、大小、颜色等信息。For banknotes: Face value features: The face value of banknotes is an important feature that can be used to identify and extract face value information through image processing technology. Watermark features: Banknotes usually have watermarks, and the location, size, color and other information of the watermark can be detected through image processing technology. .
纸币及硬币分类识别模块选择使用卷积神经网络CNN来训练模型,根据实际情况,能够调整模型的结构和参数以提高准确性,通过使用验证集来评估模型的性能,通过计算模型的精确度、召回率、F1分数等指标来了解模型的准确性。The banknote and coin classification and recognition module chooses to use the convolutional neural network CNN to train the model. According to the actual situation, the structure and parameters of the model can be adjusted to improve accuracy. The performance of the model is evaluated by using the verification set. By calculating the accuracy of the model, Recall rate, F1 score and other indicators to understand the accuracy of the model.
纸币破损检测模块检测纸币的破损情况,包括撕毁、损坏、缺角等,采用图像分割技术,对纸币图像进行破损区域的检测,通过计算纸币图像上的边缘和纹理等特征,能够检测出撕毁、损坏、缺角等破损情况,从破损区域中提取出相关的特征,例如破损的形状、大小、位置等信息,这些特征能够用于训练破损检测模型,对纸币进行破损检测及破损程度分析。The banknote damage detection module detects the damage of banknotes, including torn, damaged, missing corners, etc. It uses image segmentation technology to detect damaged areas of banknote images. By calculating the edges and textures on the banknote images, it can detect torn, damaged, and missing corners. Damage, missing corners and other damage conditions, extract relevant features from the damaged area, such as the shape, size, location and other information of the damage. These features can be used to train the damage detection model to perform damage detection and damage degree analysis on banknotes.
参照图2和图3,一种自动识别支付金额的支付方法,包括支付设备1、硬币支付找钱机构2、纸币支付检测机构3、存钱座4及纸币找钱机构5,Referring to Figures 2 and 3, a payment method that automatically identifies the payment amount includes a payment device 1, a coin payment change mechanism 2, a paper money payment detection mechanism 3, a money depositor 4 and a paper money change mechanism 5.
支付设备1上连接固定设置有硬币支付找钱机构2,支付设备1上连接固定设置有纸币支付检测机构3,支付设备1内部放置有多个存钱座4,支付设备1内壁连接固定设置有纸币找钱机构5。A coin payment change mechanism 2 is connected and fixed to the payment device 1, a banknote payment detection mechanism 3 is connected and fixed to the payment device 1, a plurality of deposit holders 4 are placed inside the payment device 1, and banknotes are connected and fixed to the inner wall of the payment device 1. Money change agency 5.
支付设备1上安装有显示器及语音播报设备。The payment device 1 is equipped with a display and a voice broadcast device.
参照图4,硬币支付找钱机构2包括硬币放置座201,硬币放置座201内壁连接固定设置有多个硬币分类管202,硬币放置座201底端内壁连接固定设置有多个电推杆A203,电推杆A203端部连接固定设置有推币板204,推币板204与硬币放置座201内壁贯穿滑动配合设置,硬币放置座201内安装有摄像设备。Referring to Figure 4, the coin payment change mechanism 2 includes a coin placement seat 201. A plurality of coin sorting tubes 202 are connected and fixed on the inner wall of the coin placement seat 201. A plurality of electric push rods A203 are connected and fixed on the inner wall of the bottom end of the coin placement seat 201. The end of the push rod A203 is connected and fixedly provided with a coin push plate 204. The coin push plate 204 and the inner wall of the coin placement seat 201 are provided in sliding fit, and a camera device is installed in the coin placement seat 201.
参照图5,纸币支付检测机构3包括纸币放置座301,纸币放置座301内壁连接固定设置有电机A302,电机A302输出端连接固定设置有蜗杆303,蜗杆303两侧啮合传动设置有蜗轮304,蜗轮304连接固定设置有拨钱橡胶棒305,拨钱橡胶棒305与纸币放置座301内壁转动连接设置。Referring to Figure 5, the banknote payment detection mechanism 3 includes a banknote placement seat 301. A motor A302 is connected and fixed to the inner wall of the banknote placement seat 301. A worm 303 is connected and fixed to the output end of the motor A302. A worm gear 304 is provided for meshing transmission on both sides of the worm 303. The worm gear is 304 is connected and fixedly provided with a money transfer rubber rod 305, and the money transfer rubber rod 305 is rotatably connected to the inner wall of the banknote placement seat 301.
纸币放置座301上贯穿滑动配合设置有退钱座306,退钱座306与纸币放置座301之间连接固定设置有电推杆B307。纸币放置座301内安装有摄像设备。The banknote placement seat 301 is provided with a money return seat 306 with a sliding fit therethrough, and an electric push rod B307 is connected and fixed between the money return seat 306 and the banknote placement seat 301 . Camera equipment is installed in the banknote placement seat 301.
参照图6,存钱座4底端连接固定设置有插杆401,插杆401与支付设备1内壁活动插接设置,多个存钱座4内分别放置有50、20、10、5元的纸币。Referring to Figure 6, the bottom end of the money deposit holder 4 is connected and fixed with a plug-in rod 401. The plug-in rod 401 is movable and plugged into the inner wall of the payment device 1. There are 50, 20, 10, and 5 yuan in the plurality of money holders 4 respectively. banknotes.
纸币找钱机构5包括电机B501,电机B501连接固定设置有转动架502,转动架502上连接固定设置有电推杆C503,电推杆C503另一端连接固定设置有多个电动吸盘504。The banknote change mechanism 5 includes a motor B501. The motor B501 is connected and fixed with a turret 502. The turret 502 is connected and fixed with an electric push rod C503. The other end of the electric push rod C503 is connected and fixed with a plurality of electric suction cups 504.
本申请实施例一种自动识别支付金额的支付方法实施原理为:当进行实际货币支付时,会通过语音及显示提示购买人商品价格,然后购买人会将纸币或者硬币分别放置到纸币支付检测机构3及硬币支付找钱机构2内,此时电机A302会带动蜗杆303转动,使得蜗杆303会带动蜗轮304连接的拨钱橡胶棒305进行转动,从而带动纸币匀速下移,此时会通过摄像设备对货币进行图像的采集;The implementation principle of a payment method that automatically identifies the payment amount in the embodiment of this application is: when making an actual currency payment, the purchaser will be prompted with the price of the product through voice and display, and then the purchaser will place the banknotes or coins into the banknote payment detection mechanism respectively. 3 and in the coin payment change mechanism 2. At this time, the motor A302 will drive the worm 303 to rotate, so that the worm 303 will drive the money transfer rubber rod 305 connected to the worm gear 304 to rotate, thereby driving the banknotes to move down at a constant speed. At this time, the camera equipment will monitor Currency image collection;
然后通过纸币及硬币图像数据处理模块对采集到的硬币、纸币图像进行预处理,包括图像去噪、图像增强、图像平滑,图像去噪:通过中值滤波能够消除图像中的随机噪声,使图像更加清晰;Then, the collected coin and banknote images are preprocessed through the banknote and coin image data processing module, including image denoising, image enhancement, image smoothing, and image denoising: random noise in the image can be eliminated through median filtering, making the image Clearer;
图像增强:图像增强方法包括对比度增强、亮度调整、色彩平衡等,进行图像增强处理,从而更好地识别和检测硬币和纸币的图像;Image enhancement: Image enhancement methods include contrast enhancement, brightness adjustment, color balance, etc., to perform image enhancement processing to better identify and detect images of coins and banknotes;
图像平滑:通过均值滤波的平滑方法,消除图像中的细节和噪声,能够减少图像中的细节和噪声,提高识别的准确性;Image smoothing: The smoothing method of mean filtering is used to eliminate details and noise in the image, which can reduce the details and noise in the image and improve the accuracy of recognition;
通过利用纸币及硬币图像特征提取模块提取硬币、纸币图像的特征,包括颜色特征、纹理特征、形状特征等数据;By using the banknote and coin image feature extraction module to extract the features of coins and banknote images, including color features, texture features, shape features and other data;
对于硬币:直径特征:能够使用图像处理技术,例如二值化技术,来检测硬币的直径大小,并以此作为特征之一;边缘特征:能够使用边缘检测算法,如Sobel,提取硬币的边缘信息作为特征;For coins: diameter feature: can use image processing technology, such as binarization technology, to detect the diameter of the coin, and use this as one of the features; edge feature: can use edge detection algorithms, such as Sobel, to extract the edge information of the coin as a characteristic;
对于纸币:面值特征:纸币的面值是一个重要的特征,能够通过图像处理技术来识别和提取面值信息,水印特征:纸币通常具有水印,能够通过图像处理技术检测水印的位置、大小、颜色等信息;For banknotes: Face value features: The face value of banknotes is an important feature that can be used to identify and extract face value information through image processing technology. Watermark features: Banknotes usually have watermarks, and the location, size, color and other information of the watermark can be detected through image processing technology. ;
然后通过纸币破损检测模块检测纸币的破损情况,包括撕毁、损坏、缺角等,采用图像分割技术,对纸币图像进行破损区域的检测,通过计算纸币图像上的边缘和纹理等特征,能够检测出撕毁、损坏、缺角等破损情况,从破损区域中提取出相关的特征,例如破损的形状、大小、位置等信息,这些特征能够用于训练破损检测模型,对纸币进行破损检测及破损程度分析;Then the banknote damage detection module is used to detect the damage of the banknotes, including tears, damage, missing corners, etc. Image segmentation technology is used to detect the damaged areas of the banknote images. By calculating the edges and textures on the banknote images, it can detect For damage conditions such as torn, damaged, missing corners, etc., relevant features are extracted from the damaged area, such as the shape, size, location and other information of the damage. These features can be used to train the damage detection model to perform damage detection and damage degree analysis on banknotes. ;
当破损无碍或者无破损时,退钱座306移出,纸币会落到纸币放置座301内,当破损较大时,纸币会落到退钱座306上,然后电推杆B307会带动退钱座306移出,对纸币进行更换;When the damage is normal or not damaged, the money refund seat 306 moves out, and the banknotes will fall into the banknote placement seat 301. When the damage is large, the banknotes will fall onto the money refund seat 306, and then the electric push rod B307 will drive the money back. The seat 306 is moved out and the banknotes are replaced;
然后在计价后,根据找钱数值,首先利用电机B501带动转动架502转动,然后利用电推杆C503会带动电动吸盘504下移,吸附对应数值的纸币,实现纸币部分的找钱;Then after the price is calculated, according to the change value, the motor B501 is first used to drive the turret 502 to rotate, and then the electric push rod C503 is used to drive the electric suction cup 504 to move downward, adsorbing the banknotes with the corresponding value, and realizing the change of the banknote part;
然后利用电推杆A203会带动推币板204移动,从而使得硬币分类管202内对应的硬币推出实现硬币部分的找钱,完成交易。Then, the electric push rod A203 is used to drive the coin pushing plate 204 to move, so that the corresponding coins in the coin sorting tube 202 are pushed out to realize the change of the coin part and complete the transaction.
上述过程中本申请采用了纸币及硬币图像采集模块等技术手段,设置有硬币支付找钱机构及纸币支付检测机构和退钱座,实现了在进行实际货币支付时,实现自动对纸币及硬币进行识别,并进行计价,进行自动找钱,适用于自动售卖的商店使用,避免了不会使用智能支付手段的人员无法购买商品的问题,提高装置的实用性的效果,通过设置硬币支付找钱机构及纸币支付检测机构,实现了对支付的货币进行识别计价,根据商品的价格进行计算,从而得出找钱的数值,控制纸币找钱机构实现吸附纸币,同时通过推币板推出硬币,实现找钱步骤,从而完成交易,退钱座,通过模型对纸币的缺损进行检测,当缺损过大时,会使得电推杆B带动退钱座移动,将残缺纸币推出,并进行语音提示进行更换。In the above process, this application uses technical means such as banknote and coin image acquisition modules, and is equipped with a coin payment change mechanism, a banknote payment detection mechanism, and a money return seat to realize automatic identification of banknotes and coins when making actual currency payments. , and perform pricing and automatic change. It is suitable for use in automatic vending stores. It avoids the problem of people who do not know how to use smart payment methods being unable to purchase goods. It improves the practicality of the device by setting up a coin payment change mechanism and banknote payment. The detection mechanism realizes the identification and pricing of the payment currency, calculates based on the price of the commodity, and obtains the value of the change. It controls the paper currency change mechanism to absorb the banknotes, and at the same time pushes the coins through the coin pushing plate to realize the change step, thereby completing the transaction. , the money refund seat uses a model to detect the defects of banknotes. When the defect is too large, the electric push rod B will drive the money refund seat to move, push out the incomplete banknotes, and give voice prompts for replacement.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311622423.2A CN117523751A (en) | 2023-11-27 | 2023-11-27 | A payment method that automatically identifies the payment amount |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311622423.2A CN117523751A (en) | 2023-11-27 | 2023-11-27 | A payment method that automatically identifies the payment amount |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117523751A true CN117523751A (en) | 2024-02-06 |
Family
ID=89745472
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311622423.2A Withdrawn CN117523751A (en) | 2023-11-27 | 2023-11-27 | A payment method that automatically identifies the payment amount |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117523751A (en) |
-
2023
- 2023-11-27 CN CN202311622423.2A patent/CN117523751A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8615123B2 (en) | Coin identification method and apparatus | |
CN211956539U (en) | System for evaluating the condition of an electronic device | |
US8750570B2 (en) | Methods, systems and apparatus for automated authentication | |
CN103093220B (en) | Certificates handling information self-service acquires device and method thereof | |
US7873576B2 (en) | Financial document processing system | |
US7980378B2 (en) | Systems, apparatus, and methods for currency processing control and redemption | |
DE69835685T2 (en) | MEHRTRANSAKTIONSMÜNZGERÄT | |
CN109559453A (en) | Human-computer interaction device and its application for Automatic-settlement | |
CN203799435U (en) | Paper currency identification and worn currency exchange integrated machine | |
CN102096962A (en) | Paper currency detecting method and device | |
CN101819692B (en) | Coin image identification method and device | |
CN205451240U (en) | Automatic exchange system is deposited to change | |
CN201274068Y (en) | Automatic vending machine with identity recognition function | |
WO2013184292A1 (en) | Optical coin discrimination systems and methods for use with consumer-operated kiosks and the like | |
CN104574672A (en) | Vending machine and product vending method | |
CN107862685B (en) | System and method for learning and identifying number of paper money in Bluetooth cashbox through artificial intelligence | |
CN117523751A (en) | A payment method that automatically identifies the payment amount | |
CN107305716A (en) | A kind of banknote discriminating method and device | |
CN108564706A (en) | A kind of intelligence deposits coin system and deposits coin method | |
CN206179069U (en) | Paper currency counterfeit identification apparatus based on offset printing is anti -fake to seal pattern | |
JP7385897B2 (en) | Settlement system, currency exchange system | |
CN116012085B (en) | Automatic identification and recovery system for electronic card | |
CN201927120U (en) | Electric self-service terminal | |
CN113516469B (en) | Unmanned supermarket vending system and vending method based on deep learning and eye tracking | |
CN209496418U (en) | A kind of Coin discharging apparatus changing coin terminal for intelligence |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20240206 |
|
WW01 | Invention patent application withdrawn after publication |