JP7617650B2 - Coin counting system, coin counting program, and coin storage device - Google Patents
Coin counting system, coin counting program, and coin storage device Download PDFInfo
- Publication number
- JP7617650B2 JP7617650B2 JP2022510055A JP2022510055A JP7617650B2 JP 7617650 B2 JP7617650 B2 JP 7617650B2 JP 2022510055 A JP2022510055 A JP 2022510055A JP 2022510055 A JP2022510055 A JP 2022510055A JP 7617650 B2 JP7617650 B2 JP 7617650B2
- Authority
- JP
- Japan
- Prior art keywords
- coin
- coin storage
- counting
- image
- coins
- 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.)
- Active
Links
Classifications
-
- 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/10—Mechanical details
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07D—HANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
- G07D9/00—Counting coins; Handling of coins not provided for in the other groups of this subclass
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Testing Of Coins (AREA)
- Auxiliary Devices For And Details Of Packaging Control (AREA)
Description
本発明は、硬貨払出装置の硬貨収納カセットなどに収納された硬貨の枚数を計数する硬貨計数システム及び硬貨計数プログラム、並びに、この硬貨計数システムの対象となる硬貨収納装置に関する。The present invention relates to a coin counting system and a coin counting program that count the number of coins stored in a coin storage cassette of a coin dispensing device, as well as a coin storage device that is the target of this coin counting system.
硬貨払出装置は、硬貨を払い出す装置であって、多くの場合、POSレジ、自動販売機、両替機、精算機、券売機、サービス機器等に接続又は搭載されて利用されている。 A coin dispensing device is a device that dispenses coins, and is often connected to or installed in POS registers, vending machines, currency exchange machines, settlement machines, ticket vending machines, service equipment, etc.
特許文献1は、このような硬貨払出装置の一例を開示する。特許文献1の硬貨払出装置では、硬貨払出装置の硬貨収納部分が、硬貨の補充及び回収の便宜のために、硬貨払出装置本体から取り外し可能な硬貨収納カセットとして構成されている。この硬貨収納カセットは、硬貨を金種毎に積層して収納する複数のコインチューブを有するものである。 Patent Document 1 discloses an example of such a coin dispensing device. In the coin dispensing device of Patent Document 1, the coin storage portion of the coin dispensing device is configured as a coin storage cassette that is removable from the coin dispensing device main body for the convenience of refilling and collecting coins. This coin storage cassette has multiple coin tubes that store coins in a stack by denomination.
このような硬貨払出装置の運用は、通常、次の手順により行われている。まず、運用の開始時において、硬貨収納カセットに手動で硬貨をセットし、そのセットした硬貨の枚数を硬貨払出装置が接続されているPOSレジ等の管理システムに記録する。その後の運用中において、管理システムは、硬貨収納カセットからの硬貨の払い出しを受けて、管理システムに記録された硬貨の枚数の情報を随時更新する。そして、締め処理時において、硬貨収納カセットに収納されている硬貨の枚数を手動で計数し、その手動で計数された硬貨の枚数が、管理システムに記録されている硬貨の枚数の情報と一致するか確認し、締め処理を終了する。Such a coin dispensing device is typically operated according to the following procedure. First, at the start of operation, coins are manually set in the coin storage cassette, and the number of set coins is recorded in a management system such as a POS register to which the coin dispensing device is connected. During subsequent operation, the management system receives coins dispensed from the coin storage cassette and updates the information on the number of coins recorded in the management system as needed. Then, during closing processing, the number of coins stored in the coin storage cassette is manually counted, and it is confirmed that the manually counted number of coins matches the information on the number of coins recorded in the management system, and the closing processing is terminated.
特許文献2は、カード及び硬貨等の板状部材の積層物の積層枚数を、一次元イメージセンサを用いて、計数することが開示されている。Patent document 2 discloses a method of counting the number of stacked plates of cards, coins, etc. using a one-dimensional image sensor.
従来の硬貨払出装置の運用においては、運用の開始時及び締め処理時における硬貨収納カセット内の硬貨枚数の計数を手動で行っている。しかし、手動による計数では、計数の誤りが相当程度の頻度で発生するという問題が存在する。In the operation of conventional coin dispensing devices, the number of coins in the coin storage cassette is counted manually at the start of operation and at the closing process. However, there is a problem with manual counting in that counting errors occur quite frequently.
本発明は、上記の点に鑑み、積層収納された硬貨の枚数を正確に計数する硬貨計数システム及び硬貨計数プログラムを提供することを課題とする。In view of the above, the present invention aims to provide a coin counting system and a coin counting program that accurately counts the number of coins stored in a stack.
上記課題を解決するため、本発明の硬貨計数システムは、硬貨を積載して収納する硬貨収納部に収納されている硬貨の枚数を計数する硬貨計数システムであって、前記硬貨収納部を正面から撮影した画像である硬貨収納部画像を取得するカメラと、前記硬貨収納部に収納されている硬貨の枚数を、前記硬貨収納部画像に基づいて、計数する計数処理部と、を有し、前記計数処理部は、前記硬貨収納部内の硬貨の積層体の縞模様の縞の数から硬貨枚数を計数するものである。前記硬貨計数システムは、前記硬貨収納部が、コインチューブを有する硬貨収納カセットであり、前記硬貨収納部画像が、前記硬貨収納カセットを正面から撮影した画像であるカセット画像であってもよい。 In order to solve the above problem, the coin counting system of the present invention is a coin counting system that counts the number of coins stored in a coin storage unit that loads and stores coins, and includes a camera that acquires a coin storage unit image that is an image of the coin storage unit taken from the front, and a counting processing unit that counts the number of coins stored in the coin storage unit based on the coin storage unit image, and the counting processing unit counts the number of coins from the number of stripes in a striped pattern of a stack of coins in the coin storage unit. In the coin counting system, the coin storage unit may be a coin storage cassette having a coin tube, and the coin storage unit image may be a cassette image that is an image of the coin storage cassette taken from the front.
前記計数処理部は、前記硬貨の積層体の積層方向に延びる基準線を設定し、前記基準線に沿って前記硬貨収納部画像の輝度の微分値を算出し、前記輝度の微分値に基づいて硬貨枚数を計数するものであってもよい。さらに、前記硬貨計数システムは、さらに、前記硬貨収納部画像を記憶する計数結果記憶部を有するものであってもよい。The counting processing unit may set a reference line extending in the stacking direction of the coin stack, calculate a differential value of the brightness of the coin storage section image along the reference line, and count the number of coins based on the differential value of the brightness. Furthermore, the coin counting system may further include a counting result storage unit that stores the coin storage section image.
本発明の硬貨計数プログラムは、硬貨を積載して収納する硬貨収納部に収納されている硬貨の枚数を計数する硬貨計数プログラムであって、前記硬貨収納部を正面から撮影した画像である硬貨収納部画像を取得する硬貨収納部画像取得ステップと、前記硬貨収納部に収納されている硬貨の枚数を、前記硬貨収納部画像に基づいて、計数する計数処理ステップと、を情報処理装置に実行させるものであり、前記計数処理ステップは、前記硬貨収納部内の硬貨の積層体の縞模様の縞の数から硬貨枚数を計数するものである。前記硬貨計数プログラムは、前記硬貨収納部が、コインチューブを有する硬貨収納カセットであり、前記硬貨収納部画像が、前記硬貨収納カセットを正面から撮影した画像であるカセット画像であってもよい。The coin counting program of the present invention is a coin counting program that counts the number of coins stored in a coin storage unit that loads and stores coins, and causes an information processing device to execute a coin storage unit image acquisition step of acquiring a coin storage unit image, which is an image of the coin storage unit photographed from the front, and a counting processing step of counting the number of coins stored in the coin storage unit based on the coin storage unit image, and the counting processing step counts the number of coins from the number of stripes in a striped pattern of a stack of coins in the coin storage unit. In the coin counting program, the coin storage unit may be a coin storage cassette having a coin tube, and the coin storage unit image may be a cassette image, which is an image of the coin storage cassette photographed from the front.
前記計数処理ステップは、前記硬貨の積層体の積層方向に延びる基準線を設定し、前記基準線に沿って前記硬貨収納部画像の輝度の微分値を算出し、前記輝度の微分値に基づいて硬貨枚数を計数するものであってもよい。前記硬貨計数プログラムは、さらに、前記硬貨収納部画像を計数結果記憶部に記憶する計数結果記憶ステップを情報処理装置に実行させるものであってもよい。The counting process step may include setting a reference line extending in the stacking direction of the coin stack, calculating a differential value of the brightness of the coin storage section image along the reference line, and counting the number of coins based on the differential value of the brightness. The coin counting program may further cause an information processing device to execute a counting result storage step of storing the coin storage section image in a counting result storage unit.
本発明の硬貨収納装置は、硬貨収納装置本体と、硬貨収納カセットと、開閉式カバーと、カメラと、を有し、前記硬貨収納カセットは、前記硬貨収納装置本体の正面側に着脱自在に装着され、前記開閉式カバーは、前記硬貨収納装置本体の正面側に設けられ、前記硬貨収納カセットを覆っている閉じた状態と、前記硬貨収納カセットから退避している開いた状態と、をとり、前記カメラは、前記開閉式カバーに、前記開閉式カバーが開いた状態のときに、前記硬貨収納カセットを撮影し、前記硬貨収納カセットの画像を取得することができるように配置される。前記カメラは、前記開閉式カバーが開いた状態のとき、前記硬貨収納カセットの床面を延長した面よりも下側に位置するように配置されてもよい。The coin storage device of the present invention has a coin storage device main body, a coin storage cassette, an opening/closing cover, and a camera, the coin storage cassette is removably attached to the front side of the coin storage device main body, the opening/closing cover is provided on the front side of the coin storage device main body, and can assume a closed state in which it covers the coin storage cassette and an open state in which it is retracted from the coin storage cassette, and the camera is arranged on the opening/closing cover so as to be able to photograph the coin storage cassette and obtain an image of the coin storage cassette when the opening/closing cover is in the open state. The camera may be arranged so as to be located below a surface extending from the floor surface of the coin storage cassette when the opening/closing cover is in the open state.
本発明によれば、積層収納された硬貨の枚数を正確に計数する硬貨計数システム及び硬貨計数プログラムを提供することができる。 According to the present invention, it is possible to provide a coin counting system and a coin counting program that accurately counts the number of coins stored in a stack.
以下、図面を参照して、本発明の一実施形態(以下、「本実施形態」という。)について説明する。 Below, we will explain one embodiment of the present invention (hereinafter referred to as "this embodiment") with reference to the drawings.
図1は、本実施形態の硬貨計数システム10の構成を示すブロック図である。 Figure 1 is a block diagram showing the configuration of the coin counting system 10 of this embodiment.
本実施形態の硬貨計数システム10は、並列配置された複数のコインチューブ33を有する硬貨収納カセット30内に積層されている硬貨Cの枚数を計数するものである。この硬貨計数システム10は、硬貨収納カセット30を、硬貨収納カセット30内の硬貨Cが観察できる状態で、カメラ14で撮影することによって、硬貨収納カセット30の画像を取得し、その画像に基づいて硬貨枚数を自動的に計数する。The coin counting system 10 of this embodiment counts the number of coins C stacked in a coin storage cassette 30 having multiple coin tubes 33 arranged in parallel. This coin counting system 10 obtains an image of the coin storage cassette 30 by photographing the coin storage cassette 30 with a camera 14 in a state in which the coins C in the coin storage cassette 30 can be observed, and automatically counts the number of coins based on the image.
硬貨計数システム10は、制御部11と、ディスプレイ12と、操作部13と、カメラ14と、計数処理部15と、カセット情報記憶部16と、計数結果記憶部17と、を有する。制御部11は、硬貨計数システム10を制御する。ディスプレイ12及び操作部13は、硬貨計数システム10のユーザーインターフェースとして機能する。カメラ14は、硬貨収納カセット30を撮影し、硬貨収納カセット30の画像を取得する。カメラ14は、撮影したイメージを画像データとして保存、出力する機能を備えた機器である。計数処理部15は、硬貨収納カセット30の画像に基づいて、硬貨枚数を自動的に計数する。カセット情報記憶部16は、計数処理部15での処理において用いられる硬貨収納カセット30の構成などの情報を記憶する。計数結果記憶部17は、硬貨計数システム10によって計数された計数結果及び硬貨収納カセット30の画像を記憶する。The coin counting system 10 has a control unit 11, a display 12, an operation unit 13, a camera 14, a counting processing unit 15, a cassette information storage unit 16, and a counting result storage unit 17. The control unit 11 controls the coin counting system 10. The display 12 and the operation unit 13 function as a user interface for the coin counting system 10. The camera 14 photographs the coin storage cassette 30 and acquires an image of the coin storage cassette 30. The camera 14 is a device that has a function of saving and outputting the photographed image as image data. The counting processing unit 15 automatically counts the number of coins based on the image of the coin storage cassette 30. The cassette information storage unit 16 stores information such as the configuration of the coin storage cassette 30 used in the processing by the counting processing unit 15. The counting result storage unit 17 stores the counting results counted by the coin counting system 10 and an image of the coin storage cassette 30.
まずは、硬貨計数システム10における硬貨計数の対象となる硬貨払出装置20の硬貨収納カセット30について説明する。First, we will explain the coin storage cassette 30 of the coin dispensing device 20, which is the target of coin counting in the coin counting system 10.
図2A及び図2Bは、硬貨払出装置20の斜視図である。図2Aは、硬貨払出装置本体21に硬貨収納カセット30が取り付けられている状態を示し、図2Bは、硬貨払出装置本体21から硬貨収納カセット30が取り外されている状態を示す。2A and 2B are perspective views of the coin dispensing device 20. Fig. 2A shows the state in which the coin storage cassette 30 is attached to the coin dispensing device main body 21, and Fig. 2B shows the state in which the coin storage cassette 30 is removed from the coin dispensing device main body 21.
図示された硬貨払出装置20は、本実施形態の硬貨計数システム10が対象とする硬貨払出装置20の一例である。図2Bに示すように、この硬貨払出装置20は、硬貨払出装置本体21から着脱可能な硬貨収納カセット30を有している。この硬貨払出装置20は、硬貨払出装置本体21の下面に硬貨払出口を有している。The illustrated coin dispensing device 20 is an example of the coin dispensing device 20 targeted by the coin counting system 10 of this embodiment. As shown in Fig. 2B, this coin dispensing device 20 has a coin storage cassette 30 that is detachable from the coin dispensing device main body 21. This coin dispensing device 20 has a coin dispensing outlet on the underside of the coin dispensing device main body 21.
なお、図示された硬貨払出装置20は、硬貨の払出しのみを行うものであるが、本発明の硬貨計数システム及び硬貨計数プログラムの対象となる硬貨払出装置は、これに限定されず、硬貨の受け入れ及び払出しを行うものであってもよい。Note that, although the illustrated coin dispensing device 20 only dispenses coins, the coin dispensing device that is the target of the coin counting system and coin counting program of the present invention is not limited to this and may be one that accepts and dispenses coins.
図3A、図3B及び図3Cは、硬貨収納カセット30の斜視図である。図3Aは、コインチューブカバー32が取り付けられている状態を示し、図3Bは、コインチューブカバー32が取り外されている状態を示し、図3Cは、ペイアウトスライド34を引き出した状態を示す。3A, 3B and 3C are perspective views of the coin storage cassette 30. Fig. 3A shows the coin tube cover 32 attached, Fig. 3B shows the coin tube cover 32 removed, and Fig. 3C shows the payout slide 34 pulled out.
図示された硬貨収納カセット30は、本実施形態の硬貨計数システム10が対象とする硬貨収納カセット30の一例である。この硬貨収納カセット30は、並列配置された複数のコインチューブ33を有している。コインチューブ33は、硬貨Cを金種毎に積層して収納する。図示された硬貨収納カセット30は、100円硬貨を収納するコインチューブ33、33Aと、5円硬貨を収納するコインチューブ33、33Bと、1円硬貨を収納するコインチューブ33、33Cと、500円硬貨を収納するコインチューブ33、33Cと、50円硬貨を収納するコインチューブ33、33Dと、10円硬貨を収納するコインチューブ33、33Eと、の6つのコインチューブ33、33Fが、左から順に並列配置されたものとなっている。The illustrated coin storage cassette 30 is an example of the coin storage cassette 30 targeted by the coin counting system 10 of this embodiment. This coin storage cassette 30 has a plurality of coin tubes 33 arranged in parallel. The coin tubes 33 store coins C in a stacked manner according to denomination. The illustrated coin storage cassette 30 has six coin tubes 33, 33F arranged in parallel in order from the left: coin tubes 33, 33A for storing 100 yen coins, coin tubes 33, 33B for storing 5 yen coins, coin tubes 33, 33C for storing 1 yen coins, coin tubes 33, 33C for storing 500 yen coins, coin tubes 33, 33D for storing 50 yen coins, and coin tubes 33, 33E for storing 10 yen coins.
図3Bに示すように、この硬貨収納カセット30は、硬貨収納カセット本体31から着脱可能なコインチューブカバー32を有している。硬貨収納カセット30への硬貨Cの補充及び硬貨収納カセット30からの硬貨Cの回収は、硬貨収納カセット本体31からコインチューブカバー32を取り外して行われる。このコインチューブカバー32は、コインチューブカバー32が硬貨収納カセット本体31に取り付けられた状態において、それぞれのコインチューブ33に収納されている硬貨Cが観察できるように、透明な部材により構成されている。本明細書では、それぞれのコインチューブ33に収納されている硬貨Cが観察できる面を硬貨収納カセット30の正面とする。As shown in Fig. 3B, the coin storage cassette 30 has a coin tube cover 32 that is detachable from the coin storage cassette main body 31. Refilling the coin storage cassette 30 with coins C and collecting coins C from the coin storage cassette 30 are performed by removing the coin tube cover 32 from the coin storage cassette main body 31. The coin tube cover 32 is made of a transparent material so that the coins C stored in each coin tube 33 can be observed when the coin tube cover 32 is attached to the coin storage cassette main body 31. In this specification, the surface on which the coins C stored in each coin tube 33 can be observed is defined as the front of the coin storage cassette 30.
図3Cに示すように、この硬貨収納カセット30は、その最下部に、硬貨収納カセット本体31から引き出し可能なペイアウトスライド34を有している。ペイアウトスライド34は、硬貨収納カセット30から硬貨Cを払い出すための部材である。ペイアウトスライド34は、それぞれのコインチューブ33に対応する複数の硬貨収容孔を有している。As shown in Figure 3C, this coin storage cassette 30 has, at its bottom, a payout slide 34 that can be pulled out from the coin storage cassette body 31. The payout slide 34 is a member for paying out coins C from the coin storage cassette 30. The payout slide 34 has a number of coin storage holes that correspond to each coin tube 33.
ペイアウトスライド34の複数の硬貨収容孔34aは、それぞれ対応するコインチューブ33に収納された硬貨Cのうちの最下層の1枚を収容する。そして、硬貨を払い出すときは、ペイアウトスライド34を硬貨収納カセット30から引き出して、硬貨収容孔34aに収容されている硬貨Cを硬貨収容孔34aから落下させる。このとき、払い出しの対象となっていない金種の硬貨Cについては、対応する硬貨収容孔34aの下方を板状部材などで閉鎖することによって、硬貨収容孔34aからの硬貨Cの落下を阻止することになる。これにより、任意のコインチューブ33のみからの硬貨Cの払い出しが可能となっている。Each of the multiple coin storage holes 34a of the payout slide 34 stores one of the lowest coins C stored in the corresponding coin tube 33. When paying out coins, the payout slide 34 is pulled out from the coin storage cassette 30, and the coins C stored in the coin storage holes 34a are dropped from the coin storage holes 34a. At this time, for coins C of a denomination that is not the subject of payment, the lower part of the corresponding coin storage hole 34a is closed with a plate-shaped member or the like to prevent the coins C from falling from the coin storage hole 34a. This makes it possible to pay out coins C only from any coin tube 33.
次に、本実施形態の硬貨計数システム10における硬貨枚数の計数の方法について説明する。Next, we will explain the method of counting the number of coins in the coin counting system 10 of this embodiment.
硬貨枚数を計数する方法として、コインチューブ33に積層されている硬貨Cの積層体の高さから硬貨枚数を算出することが考えられる。しかし、本発明の発明者の研究の結果、硬貨Cの厚みのバラツキの存在により、コインチューブ33に積層されている硬貨Cの枚数が多くなると計数の誤りが発生する虞があることが見出された。そのため、本実施形態の硬貨計数システム10は、硬貨Cの積層体の高さから硬貨枚数を計数するのではなく、コインチューブ33に積層されている硬貨Cの積層体の縞模様の縞の数から硬貨枚数を計数するものとなっている。One method for counting the number of coins is to calculate the number of coins from the height of the stack of coins C stacked in the coin tube 33. However, as a result of research by the inventor of the present invention, it was found that there is a risk of counting errors occurring when there are a large number of coins C stacked in the coin tube 33 due to the existence of variations in the thickness of the coins C. Therefore, the coin counting system 10 of this embodiment counts the number of coins from the number of stripes in the striped pattern of the stack of coins C stacked in the coin tube 33, rather than counting the number of coins from the height of the stack of coins C.
図4は、本実施形態の硬貨計数システム10によって取得された硬貨収納カセット30の画像の一例を示す図である。 Figure 4 shows an example of an image of the coin storage cassette 30 acquired by the coin counting system 10 of this embodiment.
硬貨収納カセット30の画像において、それぞれのコインチューブ33に積層されている硬貨Cの積層体は、硬貨C部分が相対的に明るく、硬貨Cと硬貨Cとの間の部分が相対的に暗くなっている。つまり、それぞれのコインチューブ33内の硬貨Cの積層体は、水平方向に延びる相対的に暗い帯状領域と相対的に明るい帯状領域とが垂直方向に交互に重なった縞模様を有するものとなっている。本実施形態の硬貨計数システム10では、この縞模様の縞の数を数えることにより硬貨枚数を計数する。In the image of the coin storage cassette 30, the stack of coins C stacked in each coin tube 33 has a relatively bright portion of the coin C and a relatively dark portion between the coins C. In other words, the stack of coins C in each coin tube 33 has a striped pattern in which relatively dark band areas and relatively bright band areas extending in the horizontal direction are alternately overlapped in the vertical direction. In the coin counting system 10 of this embodiment, the number of coins is counted by counting the number of stripes in this striped pattern.
図5は、本実施形態の硬貨計数システム10における硬貨収納カセット30の画像に基づく硬貨枚数の計数の方法を説明する図である。 Figure 5 is a diagram illustrating a method of counting the number of coins based on an image of the coin storage cassette 30 in the coin counting system 10 of this embodiment.
硬貨収納カセット30の画像に基づく硬貨枚数の計数においては、硬貨収納カセット30の画像をグレースケールに変換した上で、図5の上図に示すように、コインチューブ33内の硬貨Cの積層方向に延びる基準線Lを設定する。次に、図5の下図に示すように、その基準線Lに沿って、コインチューブ33の下端部から上端部に亘り、硬貨収納カセット30の画像の輝度の微分値を算出する。輝度の微分値は、硬貨収納カセット30の画像の各ドットにおける輝度の値の変化量の値(つまり、輝度の差分値)として算出する。In counting the number of coins based on the image of the coin storage cassette 30, the image of the coin storage cassette 30 is converted to grayscale, and then a reference line L is set that extends in the stacking direction of the coins C in the coin tube 33, as shown in the upper diagram of Fig. 5. Next, as shown in the lower diagram of Fig. 5, a differential value of the brightness of the image of the coin storage cassette 30 is calculated along the reference line L from the lower end to the upper end of the coin tube 33. The differential value of the brightness is calculated as the amount of change in the brightness value of each dot in the image of the coin storage cassette 30 (i.e., the brightness difference value).
この輝度の微分値は、相対的に暗い帯状領域と相対的に明るい帯状領域との境界領域、つまり、硬貨C同士の境界部分と硬貨Cの中心部分との中間領域において、ピークpを有するものとなる。この輝度の微分値のピークpの数は、硬貨Cの積層体における硬貨枚数に対応する。本実施形態の硬貨計数システム10は、基準線Lに沿った輝度の微分値において、あらかじめ設定された所定の閾値Pthを超えるピークpの数をカウントすることにより硬貨枚数を計数するものとなっている。 This differential brightness value has a peak p in the boundary region between the relatively dark band region and the relatively bright band region, that is, in the intermediate region between the boundary portion between the coins C and the center portion of the coin C. The number of peaks p in this differential brightness value corresponds to the number of coins in the stack of coins C. The coin counting system 10 of this embodiment counts the number of coins by counting the number of peaks p in the differential brightness value along the reference line L that exceed a predetermined threshold value Pth that has been set in advance.
また、本実施形態の硬貨計数システム10は、輝度の微分値の算出において、平均化処理を行っている。具体的には、本実施形態の硬貨計数システム10は、微分の対象となる輝度の値として、複数のドットの輝度の平均値(例えば、隣接する2つのドットの輝度の平均値)を用いている。また、本実施形態の硬貨計数システム10は、コインチューブ33内の硬貨Cの積層体の積層方向に延びる基準線Lを複数設定して(例えば、3つの基準線を設定して)、それぞれの基準線Lに沿って算出された輝度の微分値を加算した上で、輝度の微分値のピークpの数をカウントするものとなっている。In addition, the coin counting system 10 of this embodiment performs an averaging process in calculating the brightness differential value. Specifically, the coin counting system 10 of this embodiment uses the average brightness value of multiple dots (e.g., the average brightness value of two adjacent dots) as the brightness value to be differentiated. In addition, the coin counting system 10 of this embodiment sets multiple reference lines L (e.g., sets three reference lines) extending in the stacking direction of the stack of coins C in the coin tube 33, adds up the brightness differential values calculated along each reference line L, and then counts the number of peaks p of the brightness differential value.
また、本実施形態の硬貨計数システム10は、輝度の微分値のピークpを数える際に、補正処理を行っている。図6は、この輝度微分値のピークのカウントにおける補正処理を説明する図である。In addition, the coin counting system 10 of this embodiment performs a correction process when counting the peaks p of the brightness differential value. Figure 6 is a diagram explaining the correction process in counting the peaks of the brightness differential value.
具体的には、本実施形態の硬貨計数システム10は、予め、基準線に沿った輝度の値をフーリエ変換することによって、輝度の微分値のピークpの周期(ドット数)の予測値Dを取得しておく。Specifically, the coin counting system 10 of this embodiment first obtains a predicted value D of the period (number of dots) of peak p of the differential value of the brightness by performing a Fourier transform on the brightness value along the reference line.
そして、本実施形態の硬貨計数システム10は、基準線Lに沿って輝度の微分値のピークpを数える毎に、ピークpの周期の予測値Dから算出される次のピークpの位置から一定の範囲内W(例えば、周期の予測値の±20%)にあるピークpを1カウントとし、その範囲内Wに複数のピークpが存在していても複数カウントしないものとなっている。 In this embodiment, the coin counting system 10 counts, each time it counts a peak p of the brightness differential value along the reference line L, a peak p that is within a certain range W (e.g., ±20% of the predicted value of the period) from the position of the next peak p calculated from the predicted value D of the period of the peak p as one count, and does not count multiple peaks p even if there are multiple peaks p within that range W.
また、本実施形態の硬貨計数システム10は、基準線Lに沿って輝度の微分値のピークpを数える毎に、ピークpの周期の予測値から算出される次のピークpの位置に閾値Pthを超えるピークpが存在しなかった場合にも、その先で閾値Pthを超えるピークpが存在する場合には、ピークpが存在するものとしてピークpの数をカウントするものとなっている。In addition, the coin counting system 10 of this embodiment counts the peaks p of the brightness differential value along the reference line L, and even if there is no peak p exceeding the threshold value Pth at the position of the next peak p calculated from the predicted value of the period of the peak p, if there is a peak p exceeding the threshold value Pth further ahead, the number of peaks p is counted as if a peak p exists.
図7は、本実施形態の硬貨計数システム10における硬貨計数の処理の流れを示すフロー図である。 Figure 7 is a flow chart showing the process of coin counting in the coin counting system 10 of this embodiment.
最初に、硬貨計数システム10は、操作部13への入力を受けて、カメラ14で硬貨収納カセット30を正面から撮影することにより、硬貨収納カセット30を正面から撮影した画像であるカセット画像を取得する(S1)。First, the coin counting system 10 receives input to the operation unit 13 and acquires a cassette image, which is an image of the coin storage cassette 30 taken from the front, by photographing the coin storage cassette 30 from the front with the camera 14 (S1).
次に、硬貨計数システム10は、取得したカセット画像の前処理を行う(S2)。この画像の前処理において、硬貨計数システム10は、画像のグレースケール変換と、硬貨収納カセット30の外形の輪郭検出と、硬貨収納カセット30の外形の輪郭の台形補正と、所定のサイズへのリサイズと、を順次行うことにより、正面から観察した硬貨収納カセット30のみの画像を切り出す。ここで切り出された硬貨収納カセット30のみの画像は、台形補正により、硬貨収納カセット30を真正面から観察したものに補正される。また、切り出された硬貨収納カセット30のみの画像は、リサイズにより、硬貨収納カセット30の外形の縦横のドット数が一定となり、その後の処理が容易となる。また、画像のリサイズにおいては、画像を硬貨の積層方向に引き延ばす処理を行ってもよい。この処理によって、硬貨枚数のカウントの精度を向上させることができる。Next, the coin counting system 10 performs pre-processing of the acquired cassette image (S2). In this pre-processing of the image, the coin counting system 10 sequentially performs grayscale conversion of the image, detection of the contour of the outer shape of the coin storage cassette 30, keystone correction of the contour of the outer shape of the coin storage cassette 30, and resizing to a predetermined size, thereby cutting out an image of only the coin storage cassette 30 observed from the front. The cut-out image of only the coin storage cassette 30 is corrected by keystone correction to an image of the coin storage cassette 30 observed from directly in front. In addition, the cut-out image of only the coin storage cassette 30 is resized so that the number of dots in the length and width of the outer shape of the coin storage cassette 30 becomes constant, making subsequent processing easier. In addition, in resizing the image, a process of stretching the image in the coin stacking direction may be performed. This process can improve the accuracy of counting the number of coins.
また、この画像の前処理において、硬貨計数システム10は、上述の処理に加えて、カメラのレンズの歪みの補正処理を行ってもよい。カメラ14で硬貨収納カセット30を正面から撮影したとき、図8に示すように、硬貨収納カセット30の上方部の硬貨は上弓なりの形状となり、中央部の硬貨は長方形形状となり、下方部の硬貨は下弓なりとなる。カメラのレンズの歪みの補正処理では、すべての硬貨が長方形形状になるように補正を行う。この処理によって、硬貨枚数の計測の精度をより向上させることができる。In addition to the above-mentioned processes, in this image pre-processing, the coin counting system 10 may also perform a process to correct the camera lens distortion. When the coin storage cassette 30 is photographed from the front with the camera 14, as shown in FIG. 8, the coins in the upper part of the coin storage cassette 30 have an upward bow shape, the coins in the middle part have a rectangular shape, and the coins in the lower part have a downward bow shape. In the process of correcting the camera lens distortion, a correction is made so that all coins have a rectangular shape. This process can further improve the accuracy of measuring the number of coins.
また、この画像の前処理において、硬貨が収納されていない空の硬貨収納カセット30の画像を用いて、カセット画像から硬貨収納カセットの特徴を取り除く処理を行ってもよい。この場合、空の硬貨収納カセット30の画像を、予め、カセット情報記憶部16に記憶させておくことになる。In addition, in the pre-processing of the image, an image of an empty coin storage cassette 30 that does not store coins may be used to remove the characteristics of the coin storage cassette from the cassette image. In this case, the image of the empty coin storage cassette 30 is stored in advance in the cassette information storage unit 16.
次に、硬貨計数システム10は、前処理された画像において、コインチューブ33毎に前述の輝度の微分値の算出のための基準線Lを設定する(S3)。この基準線Lを設定は、コインチューブ33の座標範囲に基づいて行われる。コインチューブ33の座標範囲は、基準となる部分(例えば、ペイアウトスライド又は特別に設けられたマーカー)の座標である基準座標から算出される。この基準座標は、前処理された画像の解析によって取得される。この基準座標の取得及びコインチューブ33の座標範囲の算出は、カセット情報記憶部16に記憶された硬貨収納カセット30の構成の情報(例えば、それぞれのコインチューブの位置)を用いて行われる。Next, the coin counting system 10 sets a reference line L for calculating the aforementioned brightness differential value for each coin tube 33 in the preprocessed image (S3). This reference line L is set based on the coordinate range of the coin tube 33. The coordinate range of the coin tube 33 is calculated from reference coordinates, which are the coordinates of a reference part (e.g., a payout slide or a specially provided marker). These reference coordinates are obtained by analyzing the preprocessed image. The acquisition of these reference coordinates and the calculation of the coordinate range of the coin tube 33 are performed using information on the configuration of the coin storage cassette 30 stored in the cassette information storage unit 16 (e.g., the position of each coin tube).
次に、硬貨計数システム10は、それぞれのコインチューブ33について、設定された基準線Lに沿った輝度の微分値に基づいて、硬貨枚数をカウントする(S4)。より具体的には、硬貨計数システム10は、それぞれのコインチューブ33について、設定された基準線Lに沿って、コインチューブ33の下端部から上端部に亘り、輝度の微分値を算出し、そのピークpを数えることで、硬貨Cの枚数をカウントする。この硬貨枚数のカウントにおいては、前述の平均化処理及び補正処理も行われる。Next, the coin counting system 10 counts the number of coins for each coin tube 33 based on the differential value of the luminance along the set reference line L (S4). More specifically, the coin counting system 10 calculates the differential value of the luminance from the lower end to the upper end of the coin tube 33 along the set reference line L for each coin tube 33, and counts the peaks p to count the number of coins C. When counting the number of coins, the averaging process and correction process described above are also performed.
また、硬貨枚数の計測において、硬貨計数システム10は、輝度の微分値のピークpのカウントにおいて、硬貨が存在するか否かの疑義が生じたときに、テンプレートマッチングなどの画像認識によって、硬貨が存在するか否かを詳細に判別する処理を行ってもよい。この場合、画像認識で必要となる比較用の画像データは、予めカセット情報記憶部16に記憶しておくことになる。この処理によって、硬貨枚数の計数の精度をより向上させることができる。 In addition, when counting the number of coins, the coin counting system 10 may perform a process to determine in detail whether or not a coin is present by image recognition such as template matching when doubts arise as to whether or not a coin is present in counting the peak p of the differential value of brightness. In this case, the image data for comparison required for image recognition is stored in advance in the cassette information storage unit 16. This process can further improve the accuracy of counting the number of coins.
最後に、硬貨計数システム10は、ディスプレイ12に計数結果を出力して表示するとともに、その計数結果を、カセット画像とともに、計数結果記憶部17に記憶する(S5)。Finally, the coin counting system 10 outputs and displays the counting result on the display 12, and stores the counting result together with the cassette image in the counting result memory unit 17 (S5).
また、硬貨計数システム10を、図9に示すように、POSレジのPOSシステムなどの外部システム90と通信する通信部18を有するものとし、硬貨枚数の計数結果を、通信部18を介して、外部システム90に送信するようにしてもよい。これにより、硬貨払出装置における締め処理及び硬貨の補充をより正確且つ高速に行うことができるようになる。 As shown in Fig. 9, the coin counting system 10 may have a communication unit 18 that communicates with an external system 90, such as a POS system of a POS register, and the coin counting results may be transmitted to the external system 90 via the communication unit 18. This allows the closing process and coin replenishment in the coin dispensing device to be performed more accurately and quickly.
次に、本実施形態の硬貨計数システム10の操作について説明する。 Next, the operation of the coin counting system 10 of this embodiment will be described.
本実施形態の硬貨計数システム10は、スマートフォンと、スマートフォンにインストールされたアプリと、によって構成されている。カメラ14は、スマートフォンに組み込まれている。また、本実施形態の硬貨計数システム10のディスプレイ12と操作部13とは、タッチパネルディスプレイ12、13として、一体的に構成されている。The coin counting system 10 of this embodiment is composed of a smartphone and an application installed on the smartphone. The camera 14 is built into the smartphone. The display 12 and the operation unit 13 of the coin counting system 10 of this embodiment are integrally configured as touch panel displays 12, 13.
図10Aから図10Dは、本実施形態の硬貨計数システム10のタッチパネルディスプレイ12、13の表示を示す図である。 Figures 10A to 10D are figures showing the displays of the touch panel displays 12 and 13 of the coin counting system 10 of this embodiment.
図10Aは、メニュー画面41である。このメニュー画面41は、硬貨計数システム10を起動したとき、最初に表示される画面である。図示された例では、メニュー項目として、撮影&計数ボタン部411と計数結果確認ボタン部412とが表示されている。硬貨収納カセット30に収納されている硬貨Cの枚数を計数するとき、メニュー画面41において撮影&計数ボタン部411を選択する。計数結果確認ボタン部412については、過去の硬貨計数において取得され、計数結果記憶部17に記憶されている計数結果及び硬貨収納カセット30の画像を確認するときに選択される項目である。 Figure 10A shows the menu screen 41. This menu screen 41 is the first screen displayed when the coin counting system 10 is started up. In the illustrated example, a photographing and counting button section 411 and a counting result confirmation button section 412 are displayed as menu items. When counting the number of coins C stored in the coin storage cassette 30, the photographing and counting button section 411 is selected on the menu screen 41. The counting result confirmation button section 412 is an item selected when checking the counting results and an image of the coin storage cassette 30 that were obtained in a previous coin count and stored in the counting result memory section 17.
図10B及び図10Cは、撮影&計数画面42である。この撮影&計数画面42は、メニュー画面41において撮影&計数ボタン部411が選択されると表示される画面である。撮影&計数画面42は、カメラ14の映像を表示するカメラ映像表示部421と、硬貨計数システム10に硬貨収納カセット30の撮影を指示するための撮影ボタン部422と、メニュー画面41に戻るときに選択される戻るボタン部423と、を有する。10B and 10C show the photographing and counting screen 42. This photographing and counting screen 42 is a screen that is displayed when the photographing and counting button section 411 is selected on the menu screen 41. The photographing and counting screen 42 has a camera image display section 421 that displays the image from the camera 14, a photographing button section 422 for instructing the coin counting system 10 to photograph the coin storage cassette 30, and a back button section 423 that is selected to return to the menu screen 41.
カメラ映像表示部421は、硬貨収納カセット30の外形と同じ形状のガイド枠421aが表示されている。硬貨収納カセット30の画像を取得するとき、図10Cに示すように、カメラ14の映像における硬貨収納カセット30をガイド枠421aに合わせた上で撮影ボタン部422を選択することにより、硬貨収納カセット30を正面から撮影する。このようにガイド枠421aを用いた撮影によって硬貨収納カセット30の画像を取得することによって、前述の画像の前処理(S2)において、硬貨収納カセットの外形の位置の認識がしやすくなる。The camera image display unit 421 displays a guide frame 421a having the same shape as the outer shape of the coin storage cassette 30. When acquiring an image of the coin storage cassette 30, as shown in FIG. 10C, the coin storage cassette 30 in the image of the camera 14 is aligned with the guide frame 421a and then the photographing button unit 422 is selected, so that the coin storage cassette 30 is photographed from the front. By acquiring an image of the coin storage cassette 30 by photographing using the guide frame 421a in this way, it becomes easier to recognize the position of the outer shape of the coin storage cassette in the above-mentioned image pre-processing (S2).
硬貨計数システム10は、撮影&計数画面42において硬貨収納カセット30の撮影が指示されると、硬貨収納カセット30を正面から撮影した画像であるカセット画像を取得する。次に、硬貨計数システム10は、前述の処理により、カセット画像に基づいて、硬貨Cの枚数を自動的に計数する。また、硬貨計数システム10は、硬貨枚数の計数結果を、取得されたカセット画像とともに、計数結果記憶部17に記憶する。この計数結果記憶部17に記憶された計数結果及びカセット画像は、メニュー画面41において計数結果確認ボタン部412を選択することによって、確認することができるようになっている。When the coin counting system 10 is instructed to photograph the coin storage cassette 30 on the photography and counting screen 42, it acquires a cassette image, which is an image of the coin storage cassette 30 photographed from the front. Next, the coin counting system 10 automatically counts the number of coins C based on the cassette image through the above-mentioned process. The coin counting system 10 also stores the coin counting result together with the acquired cassette image in the counting result storage unit 17. The counting result and cassette image stored in the counting result storage unit 17 can be confirmed by selecting the counting result confirmation button unit 412 on the menu screen 41.
図10Dは、計数結果画面43である。この計数結果画面43は、撮影&計数画面42において硬貨収納カセット30の撮影が指示され、計数処理部15において硬貨枚数が計測された後に表示される画面である。計数結果画面43は、計数結果表示部431と、カセット画像表示部432と、メニュー画面41に戻るときに選択される戻るボタン部433と、を有する。計数結果表示部431は、金種ごとの枚数と、合計金額と、を表示する。カセット画像表示部432は、取得されたカセット画像を表示する。 Figure 10D shows the counting result screen 43. This counting result screen 43 is displayed after an instruction to photograph the coin storage cassette 30 is given on the photographing & counting screen 42 and the number of coins is measured in the counting processing unit 15. The counting result screen 43 has a counting result display section 431, a cassette image display section 432, and a back button section 433 that is selected to return to the menu screen 41. The counting result display section 431 displays the number of coins of each denomination and the total amount. The cassette image display section 432 displays the acquired cassette image.
上述のとおり、本実施形態の硬貨計数システム10は、コインチューブ33を有する硬貨収納カセット30に収納されている硬貨の枚数を計数する硬貨計数システムであって、硬貨収納カセット30を正面から撮影した画像であるカセット画像を取得するカメラ14と、硬貨収納カセット30に収納されている硬貨Cの枚数を、カセット画像に基づいて、計数する計数処理部15と、を有するものである。これにより、硬貨払出装置20の運用の開始時及び締め処理時において、硬貨収納カセット30内の硬貨の枚数の計数を正確且つ高速に行うことができる。As described above, the coin counting system 10 of this embodiment is a coin counting system that counts the number of coins stored in a coin storage cassette 30 having a coin tube 33, and includes a camera 14 that acquires a cassette image, which is an image of the coin storage cassette 30 taken from the front, and a counting processing unit 15 that counts the number of coins C stored in the coin storage cassette 30 based on the cassette image. This allows the number of coins in the coin storage cassette 30 to be counted accurately and quickly when the coin dispensing device 20 starts operating and when closing out the transaction.
また、本実施形態の硬貨計数システム10は、コインチューブ33に積層されている硬貨の積層体の縞模様の縞の数から硬貨枚数を計数するものである。これにより、硬貨収納カセット30内の硬貨枚数をより正確に計数することが可能である。In addition, the coin counting system 10 of this embodiment counts the number of coins from the number of stripes in the striped pattern of the stack of coins stacked in the coin tube 33. This makes it possible to count the number of coins in the coin storage cassette 30 more accurately.
また、本実施形態の硬貨計数システム10は、計数結果及びカセット画像を記憶する計数結果記憶部17を有する。これにより、硬貨払出装置20の締め処理において違算などの疑義が生じたときに、硬貨収納カセット30にセットした硬貨Cの枚数を再確認することができるものとなっている。なお、本発明の硬貨計数システム10は、カセット画像のみを計数結果記憶部17に記憶するものであってもよい。この場合、硬貨計数システム10は、計数結果記憶部17に記憶されているカセット画像に基づく硬貨枚数の計数ができるように構成されていることが好ましい。 The coin counting system 10 of this embodiment also has a counting result storage unit 17 that stores the counting results and cassette images. This makes it possible to reconfirm the number of coins C set in the coin storage cassette 30 when a discrepancy or other doubt arises in the closing process of the coin dispensing device 20. The coin counting system 10 of the present invention may store only the cassette image in the counting result storage unit 17. In this case, it is preferable that the coin counting system 10 is configured to be able to count the number of coins based on the cassette image stored in the counting result storage unit 17.
次に、本実施形態の硬貨計数プログラム(又は、硬貨計数プログラムを格納した記憶媒体)について説明する。 Next, we will explain the coin counting program of this embodiment (or the storage medium storing the coin counting program).
本実施形態の硬貨計数プログラムは、硬貨払出装置20の硬貨収納カセット30に収納されている硬貨の枚数を計測する処理を情報処理装置に実行させる硬貨計数プログラムである。The coin counting program of this embodiment is a coin counting program that causes an information processing device to execute a process to measure the number of coins stored in the coin storage cassette 30 of the coin dispensing device 20.
本実施形態の硬貨計数プログラムにおける硬貨枚数の計数の方法は、前述の硬貨計数システム10における硬貨枚数の計数の方法と、基本的に同じであって、次のとおりである。The method of counting the number of coins in the coin counting program of this embodiment is basically the same as the method of counting the number of coins in the coin counting system 10 described above, and is as follows.
最初に、この硬貨計数プログラムは、硬貨収納カセット30を正面から撮影した画像であるカセット画像を取得するステップを情報処理装置に実行させる(S1)。First, the coin counting program causes the information processing device to execute a step of acquiring a cassette image, which is an image of the coin storage cassette 30 taken from the front (S1).
次に、この硬貨計数プログラムは、取得したカセット画像の前処理を行うステップを情報処理装置に実行させる(S2)。この画像の前処理において、この硬貨計数プログラムは、画像のグレースケール変換と、硬貨収納カセット30の外形の輪郭検出と、硬貨収納カセット30の外形の輪郭の台形補正と、所定のサイズへのリサイズと、を順次行うことにより、正面から観察した硬貨収納カセット30のみの画像切り出すステップを情報処理装置に実行させる。Next, the coin counting program causes the information processing device to execute a step of pre-processing the acquired cassette image (S2). In this image pre-processing, the coin counting program causes the information processing device to execute a step of cutting out an image of only the coin storage cassette 30 observed from the front by sequentially performing grayscale conversion of the image, contour detection of the outer shape of the coin storage cassette 30, keystone correction of the outer shape of the coin storage cassette 30, and resizing to a predetermined size.
また、この画像の前処理において、この硬貨計数プログラムは、上述の処理に加えて、カメラのレンズの歪みの補正処理を情報処理装置に行わせてもよい。また、この画像の前処理において、硬貨が収納されていない空の硬貨収納カセット30の画像を用いて、カセット画像から硬貨収納カセットの特徴を取り除く処理を情報処理装置に行わせてもよい。In addition to the above-mentioned processes, in the pre-processing of the image, the coin counting program may cause the information processing device to perform a process of correcting the distortion of the camera lens. In addition, in the pre-processing of the image, the information processing device may perform a process of removing the features of the coin storage cassette from the cassette image by using an image of an empty coin storage cassette 30 in which no coins are stored.
次に、この硬貨計数プログラムは、前処理された画像において、コインチューブ33毎に前述の輝度の微分値の算出のための基準線Lを設定するステップを情報処理装置に実行させる(S3)。この基準線Lを設定は、コインチューブ33の座標範囲に基づいて行われる。コインチューブ33の座標範囲は、基準となる部分(例えば、ペイアウトスライド又は特別に設けられたマーカー)の座標である基準座標から算出する。この基準座標は、前処理された画像の解析によって取得される。この基準座標の取得及びコインチューブ33の座標範囲の算出は、あらかじめ与えられている硬貨収納カセット30の構成の情報を用いて行われる。Next, the coin counting program causes the information processing device to execute a step of setting a reference line L for calculating the aforementioned brightness differential value for each coin tube 33 in the preprocessed image (S3). This reference line L is set based on the coordinate range of the coin tube 33. The coordinate range of the coin tube 33 is calculated from reference coordinates, which are the coordinates of a reference part (for example, a payout slide or a specially provided marker). These reference coordinates are obtained by analyzing the preprocessed image. The acquisition of these reference coordinates and the calculation of the coordinate range of the coin tube 33 are performed using information on the configuration of the coin storage cassette 30 that is given in advance.
次に、この硬貨計数プログラムは、それぞれのコインチューブ33について、設定された基準線Lに沿った輝度の微分値に基づいて、硬貨枚数をカウントする(S4)。より具体的には、この硬貨計数プログラムは、それぞれのコインチューブ33について、設定された基準線Lに沿って、コインチューブ33の下端部から上端部に亘り、輝度の微分値を算出し、そのピークpを数えることで、硬貨Cの枚数を計測するステップを情報処理装置に実行させる。この硬貨枚数の計測においては、前述の平均化処理及び補正処理も行われる。Next, the coin counting program counts the number of coins for each coin tube 33 based on the differential value of the luminance along the set reference line L (S4). More specifically, the coin counting program causes the information processing device to execute a step of calculating the differential value of the luminance for each coin tube 33 along the set reference line L from the lower end to the upper end of the coin tube 33 and counting the peaks p, thereby measuring the number of coins C. In measuring the number of coins, the averaging process and correction process described above are also performed.
また、硬貨枚数の計測において、この硬貨計数プログラムは、輝度の微分値のピークpのカウントにおいて、硬貨が存在するか否かの疑義が生じたときに、テンプレートマッチングなどの画像認識によって、硬貨が存在するか否かを詳細に判別する処理を情報処理装置に行わせてもよい。 In addition, when measuring the number of coins, if doubt arises as to whether or not a coin is present when counting the peak p of the differential value of brightness, the coin counting program may cause the information processing device to perform a process of determining in detail whether or not a coin is present by image recognition such as template matching.
最後に、この硬貨計数プログラムは、計数結果を出力する(S5)。また、このとき、さらに、計数結果を、カセット画像とともに、計数結果記憶部17に記憶するステップを情報処理装置に実行させてもよい。Finally, the coin counting program outputs the counting result (S5). At this time, the information processing device may further execute a step of storing the counting result together with the cassette image in the counting result storage unit 17.
上述のとおり、本実施形態の硬貨計数プログラムは、コインチューブ33有する硬貨収納カセット30に収納されている硬貨の枚数を計数する硬貨計数プログラムであって、硬貨収納カセット30を正面から撮影した画像であるカセット画像を取得するカセット画像取得ステップと、硬貨収納カセット30に収納されている硬貨の枚数を、カセット画像に基づいて、計数する計数処理ステップと、を情報処理装置に実行させるものである。これにより、硬貨払出装置20の運用の開始時及び締め処理時において、硬貨収納カセット30内の硬貨枚数の計数を正確且つ高速に行うことができる。As described above, the coin counting program of this embodiment is a coin counting program that counts the number of coins stored in a coin storage cassette 30 having a coin tube 33, and causes an information processing device to execute a cassette image acquisition step of acquiring a cassette image, which is an image of the coin storage cassette 30 taken from the front, and a counting processing step of counting the number of coins stored in the coin storage cassette 30 based on the cassette image. This makes it possible to accurately and quickly count the number of coins in the coin storage cassette 30 at the start of operation of the coin dispensing device 20 and at the closing process.
また、本実施形態の硬貨計数プログラムは、コインチューブ33に積層されている硬貨の積層体の縞模様の縞の数から硬貨枚数を計数するものである。これにより、硬貨収納カセット30内の硬貨枚数をより正確に計数することが可能である。In addition, the coin counting program of this embodiment counts the number of coins from the number of stripes in the striped pattern of the stack of coins stacked in the coin tube 33. This makes it possible to count the number of coins in the coin storage cassette 30 more accurately.
また、本実施形態の硬貨計数プログラムは、計数結果及びカセット画像を計数結果記憶部17に記憶する計数結果記憶ステップを情報処理装置に実行させるものである。これにより、硬貨払出装置20の締め処理において違算などの疑義が生じたときに、硬貨収納カセット30にセットした硬貨Cの枚数を再確認することができるものとなっている。なお、本発明の硬貨計数プログラムは、カセット画像のみを計数結果記憶部17に記憶するものであってもよい。この場合、硬貨計数プログラムは、計数結果記憶部17に記憶されているカセット画像に基づく硬貨枚数の計数ができるように構成されていることが好ましい。 The coin counting program of this embodiment also causes the information processing device to execute a counting result storage step in which the counting result and the cassette image are stored in the counting result storage unit 17. This makes it possible to reconfirm the number of coins C set in the coin storage cassette 30 when a discrepancy or other doubt arises in the closing process of the coin dispensing device 20. The coin counting program of the present invention may also store only the cassette image in the counting result storage unit 17. In this case, it is preferable that the coin counting program is configured to be able to count the number of coins based on the cassette image stored in the counting result storage unit 17.
次に、硬貨収納カセット30及びその周辺領域にマーク36、37を配置する例について説明する。Next, we will explain an example of placing marks 36, 37 on the coin storage cassette 30 and its surrounding area.
図11は、このような硬貨収納カセット30及びその周辺領域に配置されるマーク36、37の一例を示す図である。 Figure 11 is a diagram showing an example of marks 36, 37 placed on such a coin storage cassette 30 and its surrounding area.
図11に示す例では、硬貨収納カセット30の正面側に、識別マーク36が配置されており、硬貨収納カセット30の周辺領域に、切り出しマーク37が配置されている。In the example shown in Figure 11, an identification mark 36 is arranged on the front side of the coin storage cassette 30, and a cut-out mark 37 is arranged in the peripheral area of the coin storage cassette 30.
識別マーク36は、硬貨収納カセット30の有無及び種類を識別するためのマークである。硬貨計数システム10は、カセット画像を取得する際のプレビュー画像から、テンプレートマッチングなどにより、硬貨収納カセット30の正面側に配置された識別マーク36を検出する。このとき、硬貨計数システム10は、識別マーク36の検出の有無から硬貨収納カセット30の有無を識別し、検出された識別マーク36の検出座標から硬貨収納カセット30の種類を識別する。The identification mark 36 is a mark for identifying the presence or absence and type of the coin storage cassette 30. The coin counting system 10 detects the identification mark 36 arranged on the front side of the coin storage cassette 30 by template matching or the like from the preview image when acquiring the cassette image. At this time, the coin counting system 10 identifies the presence or absence of the coin storage cassette 30 from the presence or absence of the detection of the identification mark 36, and identifies the type of the coin storage cassette 30 from the detection coordinates of the detected identification mark 36.
硬貨計数システム10は、このようにして識別された硬貨収納カセット30の種類に応じて、前述のカセット画像の前処理(S2)を行うことができる。また、硬貨計数システム10は、このようにして識別された硬貨収納カセット30の種類から、各コインチューブ33に収納されている硬貨の金種を判断することができる。The coin counting system 10 can perform the above-mentioned pre-processing of the cassette image (S2) according to the type of coin storage cassette 30 identified in this way. In addition, the coin counting system 10 can determine the denomination of the coins stored in each coin tube 33 from the type of coin storage cassette 30 identified in this way.
なお、硬貨計数システム10は、識別マーク36の検出を、カセット画像を取得する際のプレビュー画像からではなく、カセット画像から行うものであってもよい。また、硬貨計数システム10は、硬貨収納カセット30の種類を、識別マーク36の検出座標からではなく、識別マーク36の形状から識別するものであってもよい。また、識別マーク36は、硬貨収納カセット30の種類のみを識別するものであってもよい。The coin counting system 10 may detect the identification mark 36 from the cassette image, rather than from a preview image when acquiring the cassette image. The coin counting system 10 may also identify the type of coin storage cassette 30 from the shape of the identification mark 36, rather than from the detection coordinates of the identification mark 36. The identification mark 36 may also identify only the type of coin storage cassette 30.
切り出しマーク37は、カセット画像から硬貨収納カセット30の領域を切り出すためのマークである。図示された例では、4つの切り出しマーク37が、それぞれ、硬貨払出装置本体21における硬貨収納カセット30の四隅の外側の領域に設けられている。The cut-out marks 37 are marks for cutting out the area of the coin storage cassette 30 from the cassette image. In the illustrated example, four cut-out marks 37 are provided in the outer areas of the four corners of the coin storage cassette 30 in the coin dispensing device main body 21.
硬貨計数システム10は、前述のカセット画像の前処理(S2)において、カセット画像から切り出しマーク37を検出し、その検出された切り出しマーク37の検出座標を基準にして、硬貨収納カセット30の外形の輪郭の切り出しを行う。また、硬貨計数システム10は、切り出しマーク37の検出座標を基準として台形補正を行うことができる。In the pre-processing (S2) of the cassette image described above, the coin counting system 10 detects the cut-out mark 37 from the cassette image, and cuts out the outline of the outer shape of the coin storage cassette 30 based on the detection coordinates of the detected cut-out mark 37. The coin counting system 10 can also perform trapezoidal correction based on the detection coordinates of the cut-out mark 37.
なお、切り出しマーク37は、硬貨払出装置本体21ではなく、硬貨収納カセット30に設けられていてもよい。また、切り出しマーク37の数及びその配置は、図11に示すものに限定されない。例えば、3つの切り出しマーク37が硬貨収納カセット30の四隅のうち3つの隅の周辺領域に設けられていてもよい。また、5つ以上の切り出しマーク37が設けられていてもよい。また、切り出しマーク37は、硬貨収納カセット30の4隅ではなく四辺の周辺領域に設けられていてもよい。The cut-out marks 37 may be provided on the coin storage cassette 30, rather than on the coin dispensing device main body 21. Furthermore, the number and arrangement of the cut-out marks 37 are not limited to those shown in FIG. 11. For example, three cut-out marks 37 may be provided in the peripheral areas of three of the four corners of the coin storage cassette 30. Furthermore, five or more cut-out marks 37 may be provided. Furthermore, the cut-out marks 37 may be provided in the peripheral areas of the four sides of the coin storage cassette 30, rather than on the four corners.
次に、硬貨収納カセット30の画像に基づく硬貨枚数の計数の方法の別の例について説明する。Next, we will explain another example of a method for counting the number of coins based on an image of the coin storage cassette 30.
図12は、硬貨収納カセット30の画像に基づく硬貨枚数の計数の方法の別の例を説明する図である。 Figure 12 is a diagram illustrating another example of a method for counting the number of coins based on an image of the coin storage cassette 30.
この硬貨枚数の計数方法では、それぞれのコインチューブ33について、設定された基準線Lに沿って、輝度が極小値をとるポイントdをカウントすることによって、硬貨枚数をカウントする。この輝度が極小値をとるポイントdは、硬貨と硬貨との間の切れ目部分に対応する。In this coin counting method, the number of coins is counted by counting the points d where the brightness is at a minimum along the set reference line L for each coin tube 33. The points d where the brightness is at a minimum correspond to the gaps between coins.
硬貨計数システム10は、コインチューブ33に収納されている硬貨の下端位置e1と上端位置e2とを検出し、その下端位置e1からスタートして上端位置e2まで、輝度が極小値をとるポイントを1つずつカウントする。例えば、下端位置e1は、輝度の立ち上がりとして検出され、上端位置e2は、輝度の立ち下がりとして検出される。The coin counting system 10 detects the bottom end position e1 and the top end position e2 of the coins stored in the coin tube 33, and counts the points where the brightness is at a minimum value, starting from the bottom end position e1 to the top end position e2. For example, the bottom end position e1 is detected as a rising edge of the brightness, and the top end position e2 is detected as a falling edge of the brightness.
輝度が極小値をとるポイントdのカウントは、基準線Lに沿った輝度の微分値に基づいて行われる。具体的には、輝度の微分値が負から正に切り替わるポイントcを、輝度が極小値をとるポイントdとしてカウントする。 The counting of points d where the luminance has a minimum value is performed based on the differential value of the luminance along the reference line L. Specifically, points c where the differential value of the luminance switches from negative to positive are counted as points d where the luminance has a minimum value.
硬貨計数システム10は、このポイントdのカウントにおいて、前述の本実施形態の硬貨枚数の計数の方法と同様の補正処理を行う。When counting at point d, the coin counting system 10 performs a correction process similar to the coin counting method of the present embodiment described above.
具体的には、硬貨計数システム10は、予め、基準線に沿った輝度の値をフーリエ変換することによって、輝度が極小値をとるポイントdの周期(ドット数)の予測値を取得しておく。そして、硬貨計数システム10は、ポイントdをカウントする毎に、ポイントdの周期の予測値から算出される次のポイントdの位置から一定の範囲内(例えば、周期の予測値の±20%)にあるポイントdを1カウントとし、その範囲内に複数のポイントdが存在していても複数カウントしないものとなっている。Specifically, the coin counting system 10 obtains a predicted value of the period (number of dots) of point d where the luminance is at a minimum value in advance by performing a Fourier transform on the luminance values along the reference line. Then, each time the coin counting system 10 counts a point d that is within a certain range (e.g., ±20% of the predicted value of the period) from the position of the next point d calculated from the predicted value of the period of point d, it counts it as one count, and does not count multiple points d even if they exist within that range.
また、硬貨計数システム10は、ポイントdを数える毎に、ポイントdの周期の予測値から算出される次のポイントdの位置にポイントdが存在しなかった場合にも、その先でポイントdが存在する場合には、ポイントdが存在するものとしてポイントdの数をカウントするものとなっている。 In addition, each time the coin counting system 10 counts a point d, even if a point d is not present at the position of the next point d calculated from the predicted value of the period of point d, if a point d exists further ahead, it will count the number of points d as if a point d exists.
次に、本実施形態の硬貨計数システム10における硬貨計数の対象となる硬貨払出装置の別の例について説明する。Next, we will explain another example of a coin dispensing device that is subject to coin counting in the coin counting system 10 of this embodiment.
図13A及び図13Bは、別の例の硬貨払出装置50を示す斜視図である。この硬貨払出装置50は、開閉式カバー52を有し、図13Aは、開閉式カバー52が閉じた状態を示すものであり、図13Bは、開閉式カバー52が開いた状態を示すものである。13A and 13B are perspective views showing another example of a coin dispensing device 50. This coin dispensing device 50 has an opening/closing cover 52, and Fig. 13A shows the opening/closing cover 52 in a closed state, and Fig. 13B shows the opening/closing cover 52 in an open state.
この硬貨払出装置50は、硬貨払出装置本体51と、硬貨収納カセット30と、開閉式カバー52と、カメラ14と、を有している。また、硬貨払出装置50は、硬貨払出装置本体51の下面に硬貨払出口(図示を省略)を有している。The coin dispensing device 50 has a coin dispensing device main body 51, a coin storage cassette 30, an opening/closing cover 52, and a camera 14. The coin dispensing device 50 also has a coin dispensing outlet (not shown) on the underside of the coin dispensing device main body 51.
なお、硬貨払出装置50は、そのカメラ14を外部の硬貨計数システム10を構成する装置(図示を省略)に接続するものであってもよいし、硬貨払出装置50自体が、硬貨計数システム10の全部又は一部を有するものであってもよい。In addition, the coin dispensing device 50 may connect its camera 14 to an external device (not shown) that constitutes the coin counting system 10, or the coin dispensing device 50 itself may comprise all or part of the coin counting system 10.
硬貨収納カセット30は、硬貨払出装置本体51の正面側に着脱自在に装着される。この硬貨収納カセット30の構成は、前述の硬貨収納カセット30の構成と同じである。また、図13Bに示す例では、硬貨収納カセット30の正面側に、前述の識別マーク36が配置されており、硬貨収納カセット30の周辺領域に、前述の切り出しマーク37が配置されている。The coin storage cassette 30 is removably attached to the front side of the coin dispensing device main body 51. The configuration of this coin storage cassette 30 is the same as the configuration of the coin storage cassette 30 described above. In the example shown in FIG. 13B, the above-mentioned identification mark 36 is arranged on the front side of the coin storage cassette 30, and the above-mentioned cut-out mark 37 is arranged in the peripheral area of the coin storage cassette 30.
また、図13Bに示す例では、硬貨収納カセット30は、背面側に倒れるように傾いた状態で硬貨払出装置本体51に装着されている。この構成により、コインチューブ33内に積層されている硬貨を整列させることができる。13B, the coin storage cassette 30 is attached to the coin dispensing device body 51 in a tilted state so that it falls backward. This configuration allows the coins stacked in the coin tube 33 to be aligned.
開閉式カバー52は、硬貨払出装置本体51の正面側に設けられ、硬貨収納カセット30を覆っている閉じた状態と、硬貨収納カセット30から退避している開いた状態と、をとる。The open/close cover 52 is provided on the front side of the coin dispensing device main body 51 and can be in a closed state covering the coin storage cassette 30 or an open state in which it is retracted from the coin storage cassette 30.
図13A及び図13Bに示す例では、開閉式カバー52は、硬貨払出装置本体21に枢着されており、その枢着部52aは、硬貨払出装置本体51の正面側の下端部に位置するとともに、開閉式カバー52の下端部に位置している。In the example shown in Figures 13A and 13B, the open-close cover 52 is pivotally attached to the coin dispensing device main body 21, and the pivotal attachment portion 52a is located at the lower end of the front side of the coin dispensing device main body 51 and also at the lower end of the open-close cover 52.
カメラ14は、開閉式カバー52に、開閉式カバー52が開いた状態のときに、硬貨収納カセット30を撮影し、硬貨収納カセット30の画像を取得することができるように配置される。図13Bに示す例では、カメラ14は、開閉式カバー52の内側(つまり、硬貨払出装置本体51と対向する側)の上端部付近に配置されている。The camera 14 is disposed on the opening/closing cover 52 so as to photograph the coin storage cassette 30 and obtain an image of the coin storage cassette 30 when the opening/closing cover 52 is open. In the example shown in FIG. 13B, the camera 14 is disposed near the upper end of the inside of the opening/closing cover 52 (i.e., the side facing the coin dispensing device main body 51).
また、図13Bに示す例では、カメラ14は、開閉式カバー52の上端部付近に設けられた引き出し部53に配置されている。この引き出し部53は、開閉式カバー52の上端部から引き出し可能に配置された部材である。カメラ14を引き出し部53に配置することにより、カメラ14を開閉式カバー52の上端部よりも硬貨収納カセット30から離れた位置に配置することが可能となる。13B, the camera 14 is disposed in a drawer section 53 provided near the upper end of the opening/closing cover 52. The drawer section 53 is a member disposed so as to be able to be drawn out from the upper end of the opening/closing cover 52. By disposing the camera 14 in the drawer section 53, it is possible to dispose the camera 14 at a position farther away from the coin storage cassette 30 than the upper end of the opening/closing cover 52.
また、図13Bに示す例では、開閉式カバー52が開いた状態のとき、硬貨収納カセット30が背面側に倒れるように傾いた状態となっており、カメラ14が、硬貨収納カセット30の床面を延長した面よりも下側に位置するようになっている。これは、カメラ14が硬貨収納カセット30に積層されている硬貨の上面を撮影しないようにするためである。このような構成では、前述のコインチューブ33に収納されている硬貨の上端位置e2の検出の精度が良好なものとなる。 In the example shown in Fig. 13B, when the opening/closing cover 52 is open, the coin storage cassette 30 is tilted so as to fall backward, and the camera 14 is positioned below the extension of the floor surface of the coin storage cassette 30. This is to prevent the camera 14 from photographing the top surfaces of the coins stacked in the coin storage cassette 30. With this configuration, the accuracy of detection of the top end position e2 of the coins stored in the coin tube 33 described above is good.
以上の構成を有する硬貨払出装置50においては、硬貨収納カセット30とカメラ14との位置関係が固定されることになるので、硬貨枚数の計数に適したカセット画像を安定的に取得することが可能となる。換言すると、硬貨払出装置50を有する硬貨計数システム10は、硬貨収納カセット30とカメラ14との位置関係が固定されているので、硬貨枚数の計数に適したカセット画像を安定的に取得することが可能となる。In the coin dispensing device 50 having the above configuration, the positional relationship between the coin storage cassette 30 and the camera 14 is fixed, making it possible to stably acquire cassette images suitable for counting the number of coins. In other words, in the coin counting system 10 having the coin dispensing device 50, the positional relationship between the coin storage cassette 30 and the camera 14 is fixed, making it possible to stably acquire cassette images suitable for counting the number of coins.
上述の硬貨払出装置50は、硬貨を払い出すための機構を有しない硬貨収納装置として構成することも可能である。この硬貨収納装置の構成は、硬貨を払い出すための機構を有しない点を除き、硬貨払出装置50と同じである。つまり、硬貨収納装置の構成については、上述の硬貨払出装置50の構成についての説明がそのまま当てはまる。但し、この場合、「硬貨払出装置50」及び「硬貨払出装置本体51」を、それぞれ、「硬貨収納装置50」及び「硬貨収納装置本体51」と読み替えるものとする。なお、硬貨払出装置50は、硬貨払出装置であるとともに、硬貨収納装置でもある。The coin dispensing device 50 described above can also be configured as a coin storage device that does not have a mechanism for dispensing coins. The configuration of this coin storage device is the same as that of the coin dispensing device 50, except that it does not have a mechanism for dispensing coins. In other words, the configuration of the coin storage device is the same as that of the coin dispensing device 50 described above. However, in this case, the "coin dispensing device 50" and the "coin dispensing device main body 51" should be read as the "coin storage device 50" and the "coin storage device main body 51", respectively. The coin dispensing device 50 is both a coin dispensing device and a coin storage device.
以上、本発明の一実施形態について説明したが、本発明の硬貨計数システム及び硬貨計数プログラムは上述の実施形態に限定されるものではない。本発明の硬貨計数システム及び硬貨計数プログラムは、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更、追加を行うことができる。 Although one embodiment of the present invention has been described above, the coin counting system and coin counting program of the present invention are not limited to the above-described embodiment. The coin counting system and coin counting program of the present invention can be implemented in various other forms, and various omissions, substitutions, modifications, and additions can be made without departing from the spirit of the invention.
例えば、上述の実施形態の硬貨計数システム及び硬貨計数プログラムは、複数のコインチューブ33を有する硬貨収納カセットに収納されている硬貨の枚数を計数するものであるが、本発明の硬貨計数システム及び硬貨計数プログラムは、これに限定されず、1つのコインチューブを有する硬貨収納カセットに収納されている硬貨の枚数を計数するものであってもよい。For example, the coin counting system and coin counting program of the above-described embodiment count the number of coins stored in a coin storage cassette having multiple coin tubes 33, but the coin counting system and coin counting program of the present invention are not limited to this and may also count the number of coins stored in a coin storage cassette having one coin tube.
また、上述の実施形態の硬貨計数システム及び硬貨計数プログラムは、コインチューブ33を有する硬貨収納カセットに収納されている硬貨の枚数を計数するものであるが、本発明の硬貨計数システム及び硬貨計数プログラムは、これに限定されず、硬貨を積載して収納する硬貨収納部30に収納されている硬貨の枚数を計数するものであってもよい。このような硬貨収納部30として、例えば、図14及び図15に示すコインケースが挙げられる。この場合、硬貨収納部30を正面から撮影した画像である硬貨収納部画像に基づいて、硬貨収納部30に収納されている硬貨の枚数を計数することになる。 Although the coin counting system and coin counting program of the above-described embodiment count the number of coins stored in a coin storage cassette having a coin tube 33, the coin counting system and coin counting program of the present invention are not limited to this and may also count the number of coins stored in a coin storage unit 30 that loads and stores coins. An example of such a coin storage unit 30 is the coin case shown in Figures 14 and 15. In this case, the number of coins stored in the coin storage unit 30 is counted based on a coin storage unit image, which is an image of the coin storage unit 30 taken from the front.
10 硬貨計数システム
11 制御部
12 ディスプレイ
13 操作部
14 カメラ
15 計数処理部
16 カセット情報記憶部
17 計数結果記憶部
18 通信部
20 硬貨払出装置
21 硬貨払出装置本体
30 硬貨収納カセット、硬貨収納部
31 硬貨収納カセット本体
32 コインチューブカバー
33 コインチューブ
34 ペイアウトスライド
34a 硬貨収容孔
36 識別マーク
37 切り出しマーク
41 メニュー画面
411 撮影&計数ボタン部
412 計数結果確認ボタン部
42 撮影&計数画面
421 カメラ映像表示部
421a ガイド枠
422 撮影ボタン部
423 戻るボタン部
43 計数結果画面
431 計数結果表示部
432 カセット画像表示部
433 戻るボタン部
50 硬貨払出装置、硬貨収納装置
51 硬貨払出装置本体、硬貨収納装置本体
52 開閉式カバー
52a 枢着部
53 引き出し部
90 外部システム
L 基準線
REFERENCE SIGNS LIST 10 Coin counting system 11 Control unit 12 Display 13 Operation unit 14 Camera 15 Counting processing unit 16 Cassette information storage unit 17 Counting result storage unit 18 Communication unit 20 Coin dispensing device 21 Coin dispensing device main body 30 Coin storage cassette, coin storage unit 31 Coin storage cassette main body 32 Coin tube cover 33 Coin tube 34 Payout slide 34a Coin storage hole 36 Identification mark 37 Cut-out mark 41 Menu screen 411 Photographing and counting button unit 412 Counting result confirmation button unit 42 Photographing and counting screen 421 Camera image display unit 421a Guide frame 422 Photographing button unit 423 Back button unit 43 Counting result screen 431 Counting result display unit 432 Cassette image display unit 433 Back button unit 50 Coin dispensing device, coin storage device 51 Coin dispensing device main body, coin storage device main body 52 Openable cover 52a Pivot attachment portion 53 Drawer portion 90 External system L Reference line
Claims (10)
前記硬貨収納部を正面から撮影した画像である硬貨収納部画像を取得するカメラと、
前記硬貨収納部に収納されている硬貨の枚数を、前記硬貨収納部画像に基づいて、計数する計数処理部と、を有し、
前記計数処理部は、前記硬貨収納部内の硬貨の積層体の縞模様の縞の数から硬貨枚数を計数するものである
硬貨計数システム。 A coin counting system that counts the number of coins stored in a coin storage unit that stores and stacks coins, comprising:
a camera for acquiring a coin storage unit image, which is an image of the coin storage unit taken from the front;
a counting processing unit that counts the number of coins stored in the coin storage unit based on the image of the coin storage unit,
The counting processing unit counts the number of coins from the number of stripes in a striped pattern of a stack of coins in the coin storage unit.
前記硬貨収納部は、コインチューブを有する硬貨収納カセットであり、
前記硬貨収納部画像は、前記硬貨収納カセットを正面から撮影した画像であるカセット画像である
硬貨計数システム。 2. The coin counting system according to claim 1,
the coin storage unit is a coin storage cassette having a coin tube,
The coin counting system, wherein the coin storage section image is a cassette image that is an image of the coin storage cassette taken from the front.
前記計数処理部は、前記硬貨の積層体の積層方向に延びる基準線を設定し、前記基準線に沿って前記硬貨収納部画像の輝度の微分値を算出し、前記輝度の微分値に基づいて硬貨枚数を計数するものである硬貨計数システム。 3. The coin counting system according to claim 1,
The counting processing unit sets a reference line extending in the stacking direction of the coin stack, calculates a differential value of the brightness of the coin storage section image along the reference line, and counts the number of coins based on the differential value of the brightness.
さらに、前記硬貨収納部画像を記憶する計数結果記憶部を有する硬貨計数システム。 A coin counting system according to any one of claims 1 to 3,
The coin counting system further comprises a counting result storage unit that stores the image of the coin storage unit.
前記硬貨収納部を正面から撮影した画像である硬貨収納部画像を取得する硬貨収納部画像取得ステップと、
前記硬貨収納部に収納されている硬貨の枚数を、前記硬貨収納部画像に基づいて、計数する計数処理ステップと、を情報処理装置に実行させるものであり、
前記計数処理ステップは、前記硬貨収納部内の硬貨の積層体の縞模様の縞の数から硬貨枚数を計数するものである
硬貨計数プログラム。 A coin counting program for causing an information processing device to execute a process of counting the number of coins stored in a coin storage unit that stacks and stores coins,
a coin storage unit image acquiring step of acquiring a coin storage unit image which is an image obtained by photographing the coin storage unit from the front;
a counting process step of counting the number of coins stored in the coin storage unit based on the image of the coin storage unit,
The counting process step counts the number of coins from the number of stripes in a striped pattern of a stack of coins in the coin storage unit.
前記硬貨収納部は、コインチューブを有する硬貨収納カセットであり、
前記硬貨収納部画像は、前記硬貨収納カセットを正面から撮影した画像であるカセット画像である
硬貨計数プログラム。 6. The coin counting program according to claim 5,
the coin storage unit is a coin storage cassette having a coin tube,
The coin storage section image is a cassette image, which is an image of the coin storage cassette taken from the front.
前記計数処理ステップは、前記硬貨の積層体の積層方向に延びる基準線を設定し、前記基準線に沿って前記硬貨収納部画像の輝度の微分値を算出し、前記輝度の微分値に基づいて硬貨枚数を計数するものである硬貨計数プログラム。 7. The coin counting program according to claim 5,
The counting processing step is a coin counting program in which a reference line extending in the stacking direction of the coin stack is set, a differential value of the brightness of the coin storage section image is calculated along the reference line, and the number of coins is counted based on the differential value of the brightness.
さらに、前記硬貨収納部画像を計数結果記憶部に記憶する計数結果記憶ステップを情報処理装置に実行させるものである硬貨計数プログラム。 8. The coin counting program according to claim 5, further comprising:
Furthermore, the coin counting program causes an information processing device to execute a counting result storage step of storing the coin storage unit image in a counting result storage unit.
前記硬貨収納カセットは、前記硬貨収納装置本体の正面側に着脱自在に装着され、
前記開閉式カバーは、前記硬貨収納装置本体の正面側に設けられ、前記硬貨収納カセットを覆っている閉じた状態と、前記硬貨収納カセットから退避している開いた状態と、をとり、
前記カメラは、前記開閉式カバーに、前記開閉式カバーが開いた状態のときに、前記硬貨収納カセットを撮影し、前記硬貨収納カセットの画像を取得することができるように配置される
硬貨収納装置。 The coin storage device includes a main body, a coin storage cassette, an opening/closing cover, and a camera.
The coin storage cassette is detachably attached to the front side of the coin storage device body,
The openable cover is provided on the front side of the coin storage device body, and takes a closed state in which it covers the coin storage cassette, and an open state in which it is retracted from the coin storage cassette,
The camera is disposed on the opening/closing cover so as to photograph the coin storage cassette and obtain an image of the coin storage cassette when the opening/closing cover is open.
前記カメラは、前記開閉式カバーが開いた状態のとき、前記硬貨収納カセットの床面を延長した面よりも下側に位置するように配置される硬貨収納装置。 The coin storage device according to claim 9,
The camera is disposed so as to be located below a plane that is an extension of a floor surface of the coin storage cassette when the opening/closing cover is in an open state.
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020052905 | 2020-03-24 | ||
| JP2020052905 | 2020-03-24 | ||
| PCT/JP2021/011219 WO2021193380A1 (en) | 2020-03-24 | 2021-03-18 | Coin counting system, coin counting program, and coin accommodating device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPWO2021193380A1 JPWO2021193380A1 (en) | 2021-09-30 |
| JP7617650B2 true JP7617650B2 (en) | 2025-01-20 |
Family
ID=77891759
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2022510055A Active JP7617650B2 (en) | 2020-03-24 | 2021-03-18 | Coin counting system, coin counting program, and coin storage device |
Country Status (3)
| Country | Link |
|---|---|
| JP (1) | JP7617650B2 (en) |
| CN (1) | CN115398498B (en) |
| WO (1) | WO2021193380A1 (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20030022614A1 (en) | 2000-04-13 | 2003-01-30 | Blash Momemy | Token counting using scanner |
| JP2009193204A (en) | 2008-02-13 | 2009-08-27 | Omron Corp | Coin processing equipment |
| JP2010140177A (en) | 2008-12-10 | 2010-06-24 | Hitachi Omron Terminal Solutions Corp | Automatic teller machine |
| JP2013101467A (en) | 2011-11-08 | 2013-05-23 | Laurel Bank Mach Co Ltd | Currency handling machine |
| JP2016173769A (en) | 2015-03-17 | 2016-09-29 | グローリー株式会社 | Currency management device and currency management method |
| US20180102014A1 (en) | 2016-10-11 | 2018-04-12 | International Currency Technologies Corporation | Coin machine using proximity and ambient light sensing technology |
Family Cites Families (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS60100292A (en) * | 1983-11-05 | 1985-06-04 | 株式会社東芝 | Automatic transactor |
| JP2854198B2 (en) * | 1992-07-29 | 1999-02-03 | ローレルバンクマシン株式会社 | Stacking number counting device |
| JP3579443B2 (en) * | 1993-12-21 | 2004-10-20 | グローリー工業株式会社 | Coin counting device |
| JP3849517B2 (en) * | 2001-12-14 | 2006-11-22 | ソニー株式会社 | Photo booth, image processing method, recording medium, and program |
| DE10323101A1 (en) * | 2003-05-20 | 2004-12-23 | Scan Coin Industries Ab | Procedure for determining and / or checking the content of coin rolls |
| JP2012083964A (en) * | 2010-10-12 | 2012-04-26 | Glory Ltd | Coin processor and coin processing method |
| JP6437256B2 (en) * | 2014-09-18 | 2018-12-12 | 株式会社日本コンラックス | Coin storage cassette |
| KR101666839B1 (en) * | 2015-01-27 | 2016-10-17 | 인천대학교 산학협력단 | System and method of automatically calculating an amount of coin |
| ES2985532T3 (en) * | 2015-08-03 | 2024-11-06 | Angel Playing Cards Co Ltd | Fraud detection system in gaming room |
| JP6291524B2 (en) * | 2016-06-21 | 2018-03-14 | ローレルバンクマシン株式会社 | Trading price payment system |
-
2021
- 2021-03-18 JP JP2022510055A patent/JP7617650B2/en active Active
- 2021-03-18 WO PCT/JP2021/011219 patent/WO2021193380A1/en not_active Ceased
- 2021-03-18 CN CN202180024832.5A patent/CN115398498B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20030022614A1 (en) | 2000-04-13 | 2003-01-30 | Blash Momemy | Token counting using scanner |
| JP2009193204A (en) | 2008-02-13 | 2009-08-27 | Omron Corp | Coin processing equipment |
| JP2010140177A (en) | 2008-12-10 | 2010-06-24 | Hitachi Omron Terminal Solutions Corp | Automatic teller machine |
| JP2013101467A (en) | 2011-11-08 | 2013-05-23 | Laurel Bank Mach Co Ltd | Currency handling machine |
| JP2016173769A (en) | 2015-03-17 | 2016-09-29 | グローリー株式会社 | Currency management device and currency management method |
| US20180102014A1 (en) | 2016-10-11 | 2018-04-12 | International Currency Technologies Corporation | Coin machine using proximity and ambient light sensing technology |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2021193380A1 (en) | 2021-09-30 |
| JPWO2021193380A1 (en) | 2021-09-30 |
| CN115398498B (en) | 2024-06-21 |
| CN115398498A (en) | 2022-11-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11676124B2 (en) | Checkout apparatus | |
| JP6341124B2 (en) | Object recognition device and recognition result presentation method | |
| EP2523170B1 (en) | Mobile communication device and method for identifying a counterfeit bill | |
| JP4900302B2 (en) | Automatic delivery device | |
| EP3046050B1 (en) | Information processing apparatus, pos system and information processing method | |
| US20170140360A1 (en) | Checkout apparatus | |
| JP2021120910A (en) | Checkout equipment and programs | |
| JP6747532B2 (en) | Inspection support system, inspection support device, inspection support program | |
| CN104077584B (en) | Image review systems and image checking method | |
| CN106104641A (en) | Paper feeding device, paper processing machine, and paper feeding method | |
| JP6555751B2 (en) | Banknote processing apparatus and banknote processing method | |
| CN103685837B (en) | Image processing apparatus and image processing method | |
| CN103685911A (en) | Image processing device and image processing method | |
| JP2015180981A (en) | Device for detecting loading state and method for detecting loading state of bundled paper | |
| JP6567361B2 (en) | Money handling apparatus and money handling method | |
| JP7617650B2 (en) | Coin counting system, coin counting program, and coin storage device | |
| KR20120117049A (en) | Method and apparatus for indentifying fake banknote in a poratable terminal | |
| KR20100030191A (en) | Image forming apparatus, image forming system and control method thereof | |
| JP6041729B2 (en) | Money handling apparatus, money handling method, and computer program | |
| HK40075894A (en) | Coin counting system, coin counting program and coin accommodating device | |
| HK40075894B (en) | Coin counting system, coin counting program and coin accommodating device | |
| JP2017037475A (en) | Currency processing device, currency processing system, and currency processing method | |
| JP6303397B2 (en) | Checkout system and program | |
| JP7245142B2 (en) | Coin handling system and coin handling equipment | |
| JP7493071B2 (en) | Coin Processing Device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20231206 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20241018 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20241111 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20241129 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20241224 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7617650 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |