JP7371380B2 - Coin recognition device and coin handling device using the coin recognition device - Google Patents

Coin recognition device and coin handling device using the coin recognition device Download PDF

Info

Publication number
JP7371380B2
JP7371380B2 JP2019137516A JP2019137516A JP7371380B2 JP 7371380 B2 JP7371380 B2 JP 7371380B2 JP 2019137516 A JP2019137516 A JP 2019137516A JP 2019137516 A JP2019137516 A JP 2019137516A JP 7371380 B2 JP7371380 B2 JP 7371380B2
Authority
JP
Japan
Prior art keywords
image
recognition device
coin
read
images
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
Application number
JP2019137516A
Other languages
Japanese (ja)
Other versions
JP2021022093A (en
Inventor
友則 三村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2019137516A priority Critical patent/JP7371380B2/en
Publication of JP2021022093A publication Critical patent/JP2021022093A/en
Application granted granted Critical
Publication of JP7371380B2 publication Critical patent/JP7371380B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Testing Of Coins (AREA)

Description

本発明は、硬貨認識装置、及び、その硬貨認識装置を用いる硬貨取扱装置に関する。 The present invention relates to a coin recognition device and a coin handling device using the coin recognition device.

硬貨を取り扱う硬貨取扱装置では、硬貨を認識(鑑別)する硬貨認識装置が用いられている。その硬貨認識装置には、搬送路を通過する硬貨を撮像する画像読取装置が用いられている。 A coin handling device that handles coins uses a coin recognition device that recognizes (discriminates) coins. The coin recognition device uses an image reading device that captures an image of a coin passing through a conveyance path.

一般に、硬貨認識装置に用いられる画像読取装置は、物理的な検知センサ(位置センサ)で硬貨の位置を検知して、検知した硬貨を撮像する構成になっている(例えば、特許文献1参照)。 Generally, an image reading device used in a coin recognition device is configured to detect the position of a coin using a physical detection sensor (position sensor) and take an image of the detected coin (see, for example, Patent Document 1). .

なお、硬貨認識装置に用いる画像読取装置として、CMOSイメージセンサの読取範囲を制御して硬貨の画像データを読み取り、読み取った硬貨の画像データに基づいて硬貨が読取部位に達したと判定する装置が提案されている(例えば、特許文献2参照)。 The image reading device used in the coin recognition device is a device that controls the reading range of a CMOS image sensor to read the image data of the coin, and determines that the coin has reached the reading position based on the read image data of the coin. It has been proposed (for example, see Patent Document 2).

特開2005-284338号公報JP2005-284338A 特開2009-15499号公報Japanese Patent Application Publication No. 2009-15499

しかしながら、従来の硬貨認識装置は、以下に説明するように、装置構成の簡略化を図るとともに、ゴミ等の異物を誤検知しないことが要望されていた。 However, as will be explained below, conventional coin recognition devices are required to have a simplified device configuration and not to falsely detect foreign objects such as dust.

特許文献1に記載された従来の硬貨認識装置は、硬貨を検知するための物理的な検知センサ(走行路センサ等)を有しており、物理的な検知センサで硬貨がカメラ部の上に到来したことを検知して、硬貨の判別を開始する構成になっていた。しかしながら、物理的な検知センサや、物理的な検知センサと制御部との間を結ぶ配線は、装置の製造コストの低減を妨げる要因になっていた。 The conventional coin recognition device described in Patent Document 1 has a physical detection sensor (such as a travel path sensor) for detecting a coin, and the physical detection sensor detects when the coin is on the camera unit. It was configured to detect the arrival of coins and start identifying the coins. However, the physical detection sensor and the wiring connecting the physical detection sensor and the control unit have been a factor that hinders reduction in the manufacturing cost of the device.

また、特許文献1に記載された従来の硬貨認識装置は、物理的な検知センサ(位置センサ)で読取対象物を検知する際に、小さなゴミ等の異物と硬貨との区別ができないため、ゴミ等の異物を硬貨として誤検知してしまうことがあった。 Furthermore, when the conventional coin recognition device described in Patent Document 1 detects an object to be read using a physical detection sensor (position sensor), it cannot distinguish between foreign objects such as small dust and coins. In some cases, foreign objects such as coins were mistakenly detected as coins.

特許文献2に記載された従来の硬貨認識装置は、イメージセンサの読取範囲を制限して読取対象物を検知するため、検知された物体が読取対象物としての硬貨であるのかゴミ等の異物であるのかが判別できず、ゴミ等の異物を硬貨として誤検知してしまうことがあった。つまり、特許文献2に記載された従来の硬貨認識装置は、読取対象物の検知時に、硬貨の先端部分に相当する大きさと外形を有する部位を検知するものではなかった。 The conventional coin recognition device described in Patent Document 2 detects the object to be read by limiting the reading range of the image sensor, so it is difficult to determine whether the detected object is a coin or a foreign object such as dust. There were cases where foreign objects such as dust were mistakenly detected as coins. In other words, the conventional coin recognition device described in Patent Document 2 does not detect a portion having a size and outer shape corresponding to the tip portion of a coin when detecting an object to be read.

本発明は、前記した課題を解決するためになされたものであり、撮像画像を利用することで、装置構成の簡略化を実現するとともに、ゴミ等の異物の誤検知を抑制した硬貨認識装置、及び、その硬貨認識装置を用いる硬貨取扱装置を提供することを主な目的とする。 The present invention has been made to solve the above-mentioned problems, and provides a coin recognition device that uses captured images to simplify the device configuration and suppress false detection of foreign objects such as dust. The main object of the present invention is to provide a coin handling device using the coin recognition device.

前記目的を達成するため、第1発明は、硬貨認識装置であって、読取対象物が通る通路と、前記読取対象物を搬送するための搬送ベルトと、前記通路及び前記通路を通る前記読取対象物を撮像する2次元センサと、画像に対して任意の処理を行う画像処理部と、前記読取対象物の種類を判別する判別部と、前記2次元センサによって事前に撮像された前記搬送ベルトが映っている事前ベルト撮像画像を予め記憶する記憶部と、を備え、前記2次元センサは、任意のタイミングで前記搬送ベルトを連続して撮像して、現状の前記搬送ベルトが映っている現状ベルト撮像画像を連続して取得し、前記画像処理部は、連続した前記現状ベルト撮像画像と前記事前ベルト撮像画像との差分をとることで、背景から前記搬送ベルトを排除した差分画像を連続して取得し、前記判別部は、前記読取対象物として用いられる硬貨の中心よりも搬送方向の前側部分を先端部分とし、連続した前記差分画像の中から、記硬貨の先端部分に相当する大きさと外形を有する部位を検知する構成とする。
In order to achieve the above object, a first invention provides a coin recognition device, which includes a passage through which an object to be read passes, a conveyor belt for conveying the object to be read, and a passage through which an object to be read passes through the passage. A two-dimensional sensor that images an object, an image processing section that performs arbitrary processing on the image, a discrimination section that discriminates the type of the object to be read, and a conveyor belt that has been imaged in advance by the two-dimensional sensor. a storage unit that stores in advance a pre-imaged image of the conveyor belt; Captured images are continuously acquired, and the image processing section calculates a difference between the continuous current belt captured images and the preliminary belt captured image, thereby generating successive difference images in which the conveyor belt is excluded from the background. The discriminating unit determines that a front portion of the coin used as the object to be read is a tip portion in the conveyance direction from the center thereof, and selects a tip portion corresponding to the tip portion of the coin from among the continuous difference images. The configuration is such that a part having a size and an external shape is detected.

また、第2発明は、硬貨認識装置であって、読取対象物が通る通路と、前記読取対象物を搬送するための搬送ベルトと、前記通路及び前記通路を通る前記読取対象物を撮像する2次元センサと、画像に対して任意の処理を行う画像処理部と、前記読取対象物の種類を判別する判別部と、前記2次元センサによって事前に撮像された前記搬送ベルトが映っている事前ベルト撮像画像を予め記憶する記憶部と、を備え、前記2次元センサは、任意のタイミングで前記搬送ベルトを連続して撮像して、現状の前記搬送ベルトが映っている現状ベルト撮像画像を連続して取得し、前記画像処理部は、連続した前記現状ベルト撮像画像から前記事前ベルト撮像画像の平均輝度値分の輝度を差し引くことで、背景の中の前記搬送ベルトが映っている部分の平均輝度値を低下させた差分画像を連続して取得し、前記判別部は、前記読取対象物として用いられる硬貨の中心よりも搬送方向の前側部分を先端部分とし、連続した前記差分画像の中から、前記硬貨の先端部分に相当する大きさと外形を有する部位を検知する構成とする。
A second aspect of the invention is a coin recognition device, which includes: a passage through which an object to be read passes; a conveyor belt for conveying the object to be read; a dimensional sensor, an image processing unit that performs arbitrary processing on the image, a determining unit that determines the type of the object to be read, and a pre-belt on which the conveyor belt is imaged in advance by the two-dimensional sensor. a storage unit that stores captured images in advance , and the two-dimensional sensor continuously captures images of the conveyor belt at arbitrary timing, and continuously captures current belt captured images in which the current conveyor belt is reflected. The image processing unit subtracts the luminance of the average luminance value of the preliminary belt captured images from the continuous current belt captured images to obtain the image of the portion of the background in which the conveyor belt is shown. Difference images with lowered average brightness values are successively acquired , and the discriminating unit sets a front part of the coin used as the object to be read in the conveyance direction from the center thereof as a tip part, and detects a difference image in the successive difference images. The configuration is such that a portion having a size and outer shape corresponding to the tip portion of the coin is detected.

また、第発明は、硬貨取扱装置であって、第1発明及び第2発明のいずれか1つの硬貨認識装置と、前記読取対象物として用いられる硬貨が投入される入金部と、を備える構成とする。 Further, a third invention is a coin handling device, comprising the coin recognition device according to any one of the first invention and the second invention , and a depositing section into which a coin used as the object to be read is inserted. shall be.

本発明によれば、撮像画像を利用することで、装置構成の簡略化を実現するとともに、ゴミ等の異物の誤検知を抑制することができる。 According to the present invention, by using a captured image, it is possible to simplify the device configuration and suppress false detection of foreign objects such as dust.

実施形態1に係る硬貨認識装置を内蔵する硬貨取扱装置の一例としてのATM(現金自動預け払い機)の全体構成を示す斜視図である。1 is a perspective view showing the overall configuration of an ATM (automated teller machine) as an example of a coin handling device incorporating a coin recognition device according to a first embodiment; FIG. 実施形態1に係る硬貨認識装置の構成を示す説明図である。1 is an explanatory diagram showing the configuration of a coin recognition device according to Embodiment 1. FIG. 実施形態1に係る硬貨認識装置の構成を示す概略図である。1 is a schematic diagram showing the configuration of a coin recognition device according to Embodiment 1. FIG. 読取対象物の通過位置を示す説明図である。FIG. 3 is an explanatory diagram showing the passing position of the object to be read. 撮像画像の例を示す概略図である。FIG. 2 is a schematic diagram showing an example of a captured image. 実施形態1における硬貨認識装置の動作を示すフローチャートである。5 is a flowchart showing the operation of the coin recognition device in Embodiment 1. FIG. 読取対象物の通過位置を示す説明図である。FIG. 3 is an explanatory diagram showing the passing position of the object to be read. 画像の処理例を示す概略図(1)である。FIG. 2 is a schematic diagram (1) showing an example of image processing. 画像の処理例を示す概略図(2)である。FIG. 2 is a schematic diagram (2) showing an example of image processing. 画像の処理例を示す概略図(3)である。FIG. 3 is a schematic diagram (3) showing an example of image processing. 実施形態2における硬貨認識装置の動作を示すフローチャート(1)である。It is a flowchart (1) which shows the operation|movement of the coin recognition apparatus in Embodiment 2. 実施形態2における硬貨認識装置の動作を示すフローチャート(2)である。7 is a flowchart (2) showing the operation of the coin recognition device in Embodiment 2. FIG. 実施形態2における硬貨認識装置の動作を示すフローチャート(3)である。3 is a flowchart (3) showing the operation of the coin recognition device in Embodiment 2. 撮像画像の例を示す概略図(1)である。FIG. 2 is a schematic diagram (1) showing an example of a captured image. 撮像画像の例を示す概略図(2)である。It is a schematic diagram (2) showing an example of a captured image. 撮像画像の例を示す概略図(3)である。FIG. 3 is a schematic diagram (3) showing an example of a captured image. 実施形態3における硬貨認識装置の動作を示すフローチャートである。7 is a flowchart showing the operation of the coin recognition device in Embodiment 3. 照明制御の一例を示す説明図(1)である。FIG. 2 is an explanatory diagram (1) showing an example of lighting control. 照明制御の一例を示す説明図(2)である。It is explanatory drawing (2) which shows an example of lighting control. グラデーション状の撮像画像の例を示す概略図である。FIG. 2 is a schematic diagram showing an example of a gradation-like captured image. 実施形態4における硬貨認識装置の動作を示すフローチャートである。It is a flowchart which shows the operation of the coin recognition device in Embodiment 4. 実施形態5における硬貨認識装置の動作を示すフローチャートである。It is a flowchart which shows the operation of the coin recognition device in Embodiment 5.

前記した特許文献1又は特許文献2に記載された従来の硬貨認識装置には、以下のような課題があった。本発明は、以下の課題を解決することができる硬貨認識装置を提供することを意図している。以下の課題(1)から課題(3)については、後記する実施形態1乃至実施形態5で解決するものとする。また、以下の課題(4)については、後記する実施形態2及び実施形態4で解決するものとする。また、以下の課題(5)については、後記する実施形態3及び実施形態5で解決するものとする。 The conventional coin recognition device described in Patent Document 1 or Patent Document 2 described above had the following problems. The present invention intends to provide a coin recognition device that can solve the following problems. The following problems (1) to (3) will be solved in Embodiments 1 to 5, which will be described later. Further, the following problem (4) will be solved in Embodiment 2 and Embodiment 4, which will be described later. Further, the following problem (5) will be solved in Embodiment 3 and Embodiment 5, which will be described later.

課題(1)特許文献1に記載された従来の硬貨読取装置は、物理的な検知センサ(位置センサ)で読取対象物を検知するが、その物理的な検知センサや、物理的な検知センサと制御部との間を結ぶ配線が、装置の製造コストの低減を妨げる要因になっている、という課題があった。 Problem (1) The conventional coin reading device described in Patent Document 1 detects the object to be read using a physical detection sensor (position sensor), but the physical detection sensor and the physical detection sensor There has been a problem in that the wiring that connects the control unit is a factor that hinders reductions in the manufacturing cost of the device.

課題(2)特許文献1に記載された従来の硬貨読取装置は、物理的な検知センサ(位置センサ)で読取対象物を検知する際に、小さなゴミ等の異物と本来の読取対象物との区別ができないため、ゴミ等の異物を硬貨として誤検知してしまうことがある、という課題があった。つまり、特許文献1に記載された従来の硬貨読取装置は、小さなゴミ等の異物を判別し難いため、硬貨を検知してはいけないときにゴミ等の異物を硬貨として誤検知してしまい、動作が不安定になってしまうことがあった。 Problem (2) When the conventional coin reading device described in Patent Document 1 detects the object to be read using a physical detection sensor (position sensor), it is difficult to detect the difference between foreign objects such as small dust and the original object to be read. Since this cannot be distinguished, there is a problem in that foreign objects such as dust may be mistakenly detected as coins. In other words, the conventional coin reading device described in Patent Document 1 has difficulty in distinguishing foreign objects such as small dust, so it mistakenly detects foreign objects such as dust as coins when it should not be detecting coins. sometimes became unstable.

課題(3)特許文献2に記載された従来の硬貨認識装置は、イメージセンサの読取範囲を制限しているため、検知された物体が読取対象物としての硬貨であるのかゴミ等の異物であるのかが判別できず、ゴミ等の異物を硬貨として誤検知してしまうことがある、という課題があった。また、特許文献2に記載された従来の硬貨認識装置は、イメージセンサの読取範囲を制限して読取対象物を検知するものであるが、短い間隔で撮像しないと読取対象物の先端部分を検知できない、という課題があった。このような特許文献2に記載された従来の硬貨認識装置は、読取対象物が硬貨であるのかゴミ等の異物であるのかの判別や、硬貨の種類判別が困難なときがあった。また、硬貨の先端部分の検知が困難なため、硬貨がいつ通過したのかが検知できないことがあった。 Issue (3) The conventional coin recognition device described in Patent Document 2 limits the reading range of the image sensor, so it is difficult to determine whether the detected object is a coin or a foreign object such as dust. There was a problem in that foreign objects such as dust could be mistakenly detected as coins. In addition, the conventional coin recognition device described in Patent Document 2 detects the object to be read by limiting the reading range of the image sensor, but if images are not taken at short intervals, the tip of the object to be read is detected. The problem was that it couldn't be done. In the conventional coin recognition device described in Patent Document 2, it is sometimes difficult to determine whether an object to be read is a coin or a foreign object such as dust, and to determine the type of coin. Furthermore, since it is difficult to detect the tip of a coin, it may not be possible to detect when the coin has passed.

課題(4)特許文献2に記載された従来の硬貨認識装置は、搬送ベルトの汚れや劣化により、撮像画像に映る搬送ベルトの部分の明るさ(平均輝度値)が明るく(高く)なり、搬送ベルトを読取対象物と誤って検知する、という課題があった。つまり、特許文献2に記載された従来の硬貨認識装置は、硬貨の外形の判別が困難であり、検知されざるべきときに検知してしまい、ゴミ等の異物を硬貨として誤検知してしまうことがあった。 Problem (4) In the conventional coin recognition device described in Patent Document 2, the brightness (average brightness value) of the portion of the conveyor belt that appears in the captured image becomes brighter (higher) due to dirt or deterioration of the conveyor belt. There was a problem in that the belt was mistakenly detected as the object to be read. In other words, the conventional coin recognition device described in Patent Document 2 has difficulty in distinguishing the outer shape of a coin, detects it when it should not, and incorrectly detects foreign objects such as dust as coins. was there.

課題(5)特許文献2に記載された従来の硬貨認識装置は、読取対象物の材質や劣化等の影響で読取対象物の反射率が低下して、撮像画像が暗くなり、読取対象物の判別に支障が発生する、という課題があった。 Problem (5) In the conventional coin recognition device described in Patent Document 2, the reflectance of the object to be read decreases due to the material of the object to be read, deterioration, etc., and the captured image becomes dark. There was a problem in that it caused problems in discrimination.

以下、図面を参照して、本発明の実施の形態(以下、「本実施形態」と称する)について詳細に説明する。なお、各図は、本発明を十分に理解できる程度に、概略的に示してあるに過ぎない。よって、本発明は、図示例のみに限定されるものではない。また、各図において、共通する構成要素や同様な構成要素については、同一の符号を付し、それらの重複する説明を省略する。 DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention (hereinafter referred to as "this embodiment") will be described in detail below with reference to the drawings. Note that each figure is merely shown schematically to the extent that the present invention can be fully understood. Therefore, the present invention is not limited to the illustrated example. Further, in each figure, common or similar components are denoted by the same reference numerals, and redundant explanation thereof will be omitted.

[実施形態1]
<硬貨取扱装置の構成>
以下、図1を参照して、本実施形態に係る硬貨認識装置を内蔵する硬貨取扱装置の構成について説明する。硬貨取扱装置は、硬貨を取り扱う装置である。図1は、硬貨取扱装置の一例としてのATM(Automatic Teller Machine:現金自動預け払い機)の全体構成を示す斜視図である。
[Embodiment 1]
<Configuration of coin handling device>
Hereinafter, with reference to FIG. 1, the configuration of a coin handling device incorporating a coin recognition device according to this embodiment will be described. The coin handling device is a device that handles coins. FIG. 1 is a perspective view showing the overall configuration of an ATM (Automatic Teller Machine) as an example of a coin handling device.

本実施形態では、硬貨取扱装置が金融機関や流通機関で用いられているATMとして構成されている場合を想定して説明する。ただし、硬貨取扱装置は、ATMだけでなく、金融機関や流通機関で用いられている硬貨自動入出金機、現金処理機、交通機関や流通機関で用いられている券売機、流通機関で用いられているキャッシュレジスター、自動販売機、その他の装置の形態であってもよい。 This embodiment will be described assuming that the coin handling device is configured as an ATM used in a financial institution or a distribution institution. However, coin handling devices are used not only in ATMs, but also in automatic coin deposit and withdrawal machines and cash processing machines used in financial institutions and distribution institutions, ticket vending machines used in transportation and distribution institutions, and distribution institutions. This may be in the form of a cash register, vending machine, or other device.

図1に示すように、本実施形態1に係る硬貨取扱装置の一例としてのATM1は、媒体取扱部2と、表示操作部3と、通帳挿入排出口4と、紙幣入出金部5と、硬貨入出金部6と、を有している。 As shown in FIG. 1, the ATM 1 as an example of the coin handling device according to the first embodiment includes a medium handling section 2, a display operation section 3, a passbook insertion/ejection port 4, a banknote deposit/withdrawal section 5, and a coin handling section 2. It has a deposit/withdrawal section 6.

媒体取扱部2は、カードやレシート等の各種媒体を取り扱う部位である。媒体取扱部2には、カードが挿入及び排出されるカード挿入排出口2aと、取引結果等が印字されたレシートが排出されるレシート排出口2bとが設けられている。
表示操作部3は、各種情報を表示するとともに、利用者による操作を受け付ける部位である。
The media handling section 2 is a section that handles various media such as cards and receipts. The medium handling section 2 is provided with a card insertion/ejection port 2a into which a card is inserted and ejected, and a receipt ejection port 2b into which a receipt on which transaction results and the like are printed is ejected.
The display operation section 3 is a section that displays various information and accepts operations by the user.

通帳挿入排出口4は、通帳が挿入及び排出される開口部である。
紙幣入出金部5は、紙幣が投入される入金部と紙幣が排出される出金部を兼ねた部位である。
硬貨入出金部6は、硬貨が投入される入金部と硬貨が排出される出金部を兼ねた部位である。ATM1は、硬貨入出金部6の下側の奥に、硬貨を読取対象物99として認識する硬貨認識装置10を有している。
The passbook insertion/ejection port 4 is an opening into which a passbook is inserted and ejected.
The bill depositing and dispensing section 5 serves as a depositing section into which bills are inserted and a dispensing section from which bills are discharged.
The coin depositing and dispensing section 6 is a section that serves as a depositing section into which coins are inserted and a dispensing section from which coins are discharged. The ATM 1 has a coin recognition device 10 that recognizes coins as an object 99 to be read, located deep below the coin deposit/withdrawal section 6 .

図2に示すように、硬貨認識装置10は、カメラ部15と、制御部clと、記憶部29と、を有している。
カメラ部15は、読取対象物99として硬貨の画像を読み取る画像読取装置である。
制御部clは、硬貨認識装置10の動作を制御する。制御部clは、マイクロコンピュータ等で構成されている。
記憶部29は、カメラ部15で撮像された撮像画像等を記憶するRAM等(random-access memory)等の記憶手段である。
As shown in FIG. 2, the coin recognition device 10 includes a camera section 15, a control section cl, and a storage section 29.
The camera unit 15 is an image reading device that reads an image of a coin as the object 99 to be read.
The control unit cl controls the operation of the coin recognition device 10. The control unit cl is composed of a microcomputer or the like.
The storage unit 29 is a storage unit such as a RAM (random-access memory) that stores images captured by the camera unit 15 and the like.

制御部clは、判別部cl1と、画像処理部cl2と、輝度値調整部cl3と、照明制御部cl4、を有している。
判別部cl1は、読取対象物99として用いられる硬貨の種類を判別(鑑別)する手段である。判別部cl1は、読取対象物99がカメラ部15の上に到来したことを検知する検知部を兼用する。
画像処理部cl2は、画像に対して任意の処理を行う手段である。画像処理部cl2は、カメラ部15のイメージセンサ21で撮像された通常サイズの撮像画像を記憶部29に記憶する。また、画像処理部cl2は、カメラ部15のイメージセンサ21で撮像された通常サイズの撮像画像を、通常サイズよりもデータ量の少ない縮小画像に変換して記憶部29に記憶する機能を有している。
輝度値調整部cl3は、カメラ部15のイメージセンサ21で撮像された撮像画像の明るさ(平均輝度値)を調整する手段である。
照明制御部cl4は、LED23(照明)の明るさを調整する手段である。
制御部clは、CPU(central processing unit)がROM(read-only member)やRAM(random-access memory)等の記憶手段に予め格納された制御プログラムを実行することで、これらの各機能を実現する。
The control section cl includes a discrimination section cl1, an image processing section cl2, a brightness value adjustment section cl3, and an illumination control section cl4.
The determining unit cl1 is a means for determining (discriminating) the type of coin used as the object 99 to be read. The determination unit cl1 also serves as a detection unit that detects that the object to be read 99 has arrived above the camera unit 15.
The image processing unit cl2 is a means for performing arbitrary processing on images. The image processing unit cl2 stores a normal size image captured by the image sensor 21 of the camera unit 15 in the storage unit 29. The image processing unit cl2 also has a function of converting a normal size image captured by the image sensor 21 of the camera unit 15 into a reduced image with a smaller amount of data than the normal size and storing it in the storage unit 29. ing.
The brightness value adjustment unit cl3 is a means for adjusting the brightness (average brightness value) of the captured image captured by the image sensor 21 of the camera unit 15.
The lighting control unit cl4 is a means for adjusting the brightness of the LED 23 (illumination).
The control unit cl realizes these functions by the CPU (central processing unit) executing a control program stored in advance in storage means such as ROM (read-only member) and RAM (random-access memory). do.

<硬貨認識装置の構成>
以下、図2乃至図3を参照して、硬貨認識装置10の構成について説明する。図2は、硬貨認識装置10の構成を示す説明図である。図3は、硬貨認識装置10の構成を示す概略図である。
<Configuration of coin recognition device>
The configuration of the coin recognition device 10 will be described below with reference to FIGS. 2 and 3. FIG. 2 is an explanatory diagram showing the configuration of the coin recognition device 10. FIG. 3 is a schematic diagram showing the configuration of the coin recognition device 10.

図2に示すように、硬貨認識装置10は、搬送路11(通路)と、搬送ベルト12と、プーリー13と、ゲート14と、前記したカメラ部15(画像読取装置)と、前記した制御部clと、前記した記憶部29と、を備えている。 As shown in FIG. 2, the coin recognition device 10 includes a conveyance path 11 (passage), a conveyance belt 12, a pulley 13, a gate 14, the above-mentioned camera section 15 (image reading device), and the above-mentioned control section. cl, and the storage section 29 described above.

搬送路11は、硬貨を含む各種の読取対象物99が通過する通路である。
搬送ベルト12は、読取対象物99を搬送する搬送手段である。搬送ベルト12は、搬送路11上に搬送路11に沿って配置されている。本実施形態では、搬送ベルト12の色が白色であるものとして説明する。
プーリー13は、搬送ベルト12を張架する部材であり、回転することで搬送ベルト12を走行させる。
ゲート14は、通過可能な読取対象物99の厚さ(高さ)を規制することで、読取対象物99を1枚ずつに分離させる分離手段である。ゲート14は、通過可能な読取対象物99の厚さ(高さ)として、取り扱うことが想定される最大の厚みを有する硬貨(例えば、日本では、500円硬貨)の1枚分の厚さ(高さ)に規制している。
The conveyance path 11 is a path through which various objects 99 to be read including coins pass.
The conveyor belt 12 is a conveyor that conveys the object to be read 99 . The conveyance belt 12 is arranged on the conveyance path 11 along the conveyance path 11 . In this embodiment, the description will be made assuming that the color of the conveyor belt 12 is white.
The pulley 13 is a member that stretches the conveyor belt 12, and rotates to cause the conveyor belt 12 to travel.
The gate 14 is a separating means that separates the object to be read 99 one by one by regulating the thickness (height) of the object to be read 99 that can pass through. The gate 14 has a thickness (height) of one coin (for example, a 500 yen coin in Japan) having the maximum thickness expected to be handled as the thickness (height) of the reading object 99 that can pass through. height).

なお、本実施形態では、硬貨認識装置10は読取対象物99の搬送手段として搬送ベルト12とプーリー13とを有する構成になっている。しかしながら、硬貨認識装置10は、読取対象物99を落下させる構成にすることができる。この場合に、硬貨認識装置10は、読取対象物99の搬送手段としての搬送ベルト12とプーリー13を排除することができる。 In this embodiment, the coin recognition device 10 is configured to include a conveyor belt 12 and a pulley 13 as means for conveying the object 99 to be read. However, the coin recognition device 10 can be configured to drop the object 99 to be read. In this case, the coin recognition device 10 can eliminate the conveyor belt 12 and pulley 13 as means for conveying the object 99 to be read.

搬送路11の途中には、ガラス32が配置されており、ガラス32の下側にカメラ部15が配置されている。ガラス32は、カメラ部15のLED23(図3参照)から出射した光が透過することが可能な透明性を有している。ガラス32の配置エリアは、カメラ部15の撮像エリアに相当する。 A glass 32 is placed in the middle of the conveyance path 11, and a camera section 15 is placed below the glass 32. The glass 32 has transparency that allows light emitted from the LED 23 (see FIG. 3) of the camera section 15 to pass therethrough. The arrangement area of the glass 32 corresponds to the imaging area of the camera unit 15.

カメラ部15は、筒型の筐体31を備えている。本実施形態では、筐体31が円筒形状を呈しているものとして説明する。 The camera section 15 includes a cylindrical housing 31. In this embodiment, the case 31 will be described as having a cylindrical shape.

硬貨認識装置10は、プーリー13に張架された搬送ベルト12を走行させることで、ゲート14で読取対象物99を1枚ずつに分離しながら、搬送路11に沿って読取対象物99を下流側(矢印A99参照)に向けて搬送する。その際に、読取対象物99は、ガラス32及びカメラ部15の上を通過する。 The coin recognition device 10 separates the object 99 to be read one by one at the gate 14 by running the conveyor belt 12 stretched around a pulley 13, and moves the object 99 downstream along the conveyance path 11. transport toward the side (see arrow A99). At this time, the object to be read 99 passes over the glass 32 and the camera section 15.

硬貨認識装置10は、前記した特許文献1に記載された従来の硬貨認識装置で用いられていた物理的な検知センサ(位置センサ)を排除するために、後記するように、連続して撮像画像を取得し、撮像画像を用いて読取対象物99がカメラ部15上に到来したことを検知する。カメラ部15は、ガラス32の下側から撮像して、読取対象物99が映り込んだ撮像画像を取得し、撮像画像を判別部cl1に出力する。判別部cl1は、撮像画像に基づいて、読取対象物99の種類の判別(鑑別)を行う。 In order to eliminate the physical detection sensor (position sensor) used in the conventional coin recognition device described in Patent Document 1, the coin recognition device 10 continuously captures captured images as described later. is acquired, and the arrival of the object to be read 99 onto the camera unit 15 is detected using the captured image. The camera section 15 captures an image from below the glass 32, obtains a captured image in which the object to be read 99 is reflected, and outputs the captured image to the determination section cl1. The determining unit cl1 determines (identifies) the type of the object to be read 99 based on the captured image.

図3に示すように、カメラ部15(画像読取装置)は、イメージセンサ21と、レンズ22と、LED23(光源)と、を有している。 As shown in FIG. 3, the camera section 15 (image reading device) includes an image sensor 21, a lens 22, and an LED 23 (light source).

イメージセンサ21は、搬送路11(通路)及び搬送路11を通る読取対象物99を撮像する撮像センサである。ここでは、イメージセンサ21がCMOSイメージセンサ等の2次元受光センサ(2次元センサ)であるものとして説明する。イメージセンサ21は、筐体31の内部の底面部に配置されている。
レンズ22は、光をイメージセンサ21に結像する部材である。レンズ22は、イメージセンサ21の上方に配置されている。
LED23は、搬送路11を通る読取対象物99に光を当てる照明である。LED23は、イメージセンサ21の上方で、イメージセンサ21の周囲を囲むようにリング状に複数個配置されている。LED23によって形成されるリングの直径は、読取対象物99として取り扱うことが想定される最大径の硬貨の直径(例えば、日本では、500円硬貨の直径である26.5mm)よりも大きい。
The image sensor 21 is an image sensor that images the conveyance path 11 (passage) and the object to be read 99 passing through the conveyance path 11 . Here, the description will be made assuming that the image sensor 21 is a two-dimensional light receiving sensor (two-dimensional sensor) such as a CMOS image sensor. The image sensor 21 is arranged at the bottom inside the housing 31.
The lens 22 is a member that focuses light onto the image sensor 21 . Lens 22 is placed above image sensor 21 .
The LED 23 is an illumination device that illuminates the object to be read 99 passing through the conveyance path 11 . A plurality of LEDs 23 are arranged in a ring shape above the image sensor 21 so as to surround the periphery of the image sensor 21. The diameter of the ring formed by the LED 23 is larger than the diameter of the largest coin expected to be handled as the object to be read 99 (for example, in Japan, the diameter of a 500 yen coin is 26.5 mm).

<硬貨認識装置の動作>
以下、図4乃至図6を参照して、硬貨認識装置10の動作について説明する。図4は、読取対象物99の通過位置を示す説明図である。図5は、撮像画像の例を示す概略図である。図6は、硬貨認識装置10の動作を示すフローチャートである。
<Operation of coin recognition device>
The operation of the coin recognition device 10 will be described below with reference to FIGS. 4 to 6. FIG. 4 is an explanatory diagram showing the passing position of the object to be read 99. As shown in FIG. FIG. 5 is a schematic diagram showing an example of a captured image. FIG. 6 is a flowchart showing the operation of the coin recognition device 10.

図4は、1枚の読取対象物99が搬送路11に沿って矢印A99の方向に搬送される際に、通過位置P11,P12,P13を通過することを示している。通過位置P11は、ガラス32の配置エリア(カメラ部15の撮像エリア)よりも手前側の位置である。通過位置P12は、読取対象物99の先端部分がガラス32の配置エリア(カメラ部15の撮像エリア)に入っている位置である。通過位置P13は、読取対象物99全体がガラス32の配置エリア(カメラ部15の撮像エリア)の中央に入ってる位置である。通過位置P13は、読取対象物99の種類判別を行う際に最も良好な撮像画像を取得することができる位置(以下、「最適位置」と称する)である。 FIG. 4 shows that when one reading object 99 is conveyed along the conveyance path 11 in the direction of arrow A99, it passes through passing positions P11, P12, and P13. The passing position P11 is a position on the near side of the arrangement area of the glass 32 (the imaging area of the camera unit 15). The passing position P12 is a position where the leading end of the object to be read 99 is within the arrangement area of the glass 32 (the imaging area of the camera section 15). The passing position P13 is a position where the entire object to be read 99 is located in the center of the arrangement area of the glass 32 (the imaging area of the camera unit 15). The passing position P13 is a position (hereinafter referred to as an "optimal position") where the best captured image can be obtained when determining the type of the object to be read 99.

図5は、左から順番に、撮像画像I11(読取対象物到来前撮像画像)と、撮像画像I12(読取対象物到来時撮像画像)と、判別用撮像画像I13と、を示している。読取対象物99は、予め定められた閾値以上の輝度値を有する物体として撮像画像の中に映り込む。 FIG. 5 shows, in order from the left, a captured image I11 (image captured before the arrival of the object to be read), an image I12 (image captured when the object to be read arrives), and a captured image for discrimination I13. The object to be read 99 appears in the captured image as an object having a brightness value equal to or higher than a predetermined threshold value.

撮像画像I11は、読取対象物99が通過位置P11(図4参照)を通過したときにカメラ部15によって取得された画像である。つまり、撮像画像I11は、読取対象物99がカメラ部15の撮像エリア(ガラス32の配置エリア)に到来する前の撮像画像である。撮像画像I11は、取得時に、画像処理部cl2によって通常サイズよりもデータ量の少ない縮小画像に変換されている。画像処理部cl2は、イメージセンサ21で撮像された通常サイズの撮像画像を所望のアルゴリズムに基づいて圧縮したりデータを間引いたりすることで、縮小画像としての撮像画像I11を作成する(以下、同様)。なお、本実施形態では、撮像画像I11等の縮小画像は、予め定めた閾値によって各画素の輝度値がハイとローとに区分された2値画像になっているものとして説明する。 The captured image I11 is an image acquired by the camera section 15 when the reading target object 99 passes through the passing position P11 (see FIG. 4). That is, the captured image I11 is a captured image before the object to be read 99 arrives at the imaging area of the camera unit 15 (the area where the glass 32 is arranged). At the time of acquisition, the captured image I11 is converted into a reduced image with a smaller amount of data than the normal size by the image processing unit cl2. The image processing unit cl2 creates a captured image I11 as a reduced image by compressing the normal size captured image captured by the image sensor 21 based on a desired algorithm or thinning out data (hereinafter, the same applies). ). In this embodiment, the reduced image such as the captured image I11 will be described as a binary image in which the luminance value of each pixel is divided into high and low by a predetermined threshold value.

撮像画像I12は、読取対象物99が通過位置P12(図4参照)を通過したときにカメラ部15によって取得された画像である。つまり、撮像画像I12は、読取対象物99がカメラ部15の撮像エリア(ガラス32の配置エリア)に到来した時の撮像画像である。撮像画像I12は、取得時に、画像処理部cl2によって通常サイズよりもデータ量の少ない縮小画像に変換されている。 The captured image I12 is an image acquired by the camera unit 15 when the reading target object 99 passes through the passing position P12 (see FIG. 4). That is, the captured image I12 is a captured image when the object to be read 99 arrives at the imaging area of the camera unit 15 (the area where the glass 32 is arranged). At the time of acquisition, the captured image I12 is converted into a reduced image with a smaller amount of data than the normal size by the image processing unit cl2.

判別用撮像画像I13は、読取対象物99が通過位置P13(図4参照)を通過したときにカメラ部15によって撮像された画像である。判別用撮像画像I13は、通常サイズ画像となっている。判別用撮像画像I13は、読取対象物99の種類を判別するための撮像画像として用いられる。 The discrimination captured image I13 is an image captured by the camera unit 15 when the reading target object 99 passes through the passing position P13 (see FIG. 4). The discrimination captured image I13 is a normal size image. The determination captured image I13 is used as a captured image for determining the type of the object to be read 99.

これらの画像は、以下のようにして取得される。
例えば、硬貨認識装置10は、搬送ベルト12を走行させて読取対象物99の搬送を開始する。これと同時に、硬貨認識装置10は、カメラ部15を作動させて、ガラス32を介して搬送路11(通路)及び搬送路11を通る読取対象物99を連続して撮像する。これにより、硬貨認識装置10は、撮像画像を連続して取得する。
These images are obtained as follows.
For example, the coin recognition device 10 starts transporting the object to be read 99 by running the transport belt 12 . At the same time, the coin recognition device 10 operates the camera unit 15 to continuously capture images of the conveyance path 11 (passage) and the object to be read 99 passing through the conveyance path 11 through the glass 32 . Thereby, the coin recognition device 10 continuously acquires captured images.

その際に、撮像を開始してからカメラ部15の撮像エリア(ガラス32の配置エリア)への読取対象物99の到来(到達)が検知されるまでの期間(以下、「到来前の期間」と称する)において、硬貨認識装置10は、撮像画像として、縮小画像を連続して取得する。縮小画像は、通常サイズよりもデータ量の少ない画像である。縮小画像は、サイズを圧縮した画像であってもよいし、データが間引きされた画像であってもよい。図5に示す左から1番目と2番目の撮像画像I11,I12は、到来前の期間において、取得された縮小画像である。 At that time, the period from the start of imaging until the arrival (arrival) of the object to be read 99 to the imaging area of the camera unit 15 (arrangement area of the glass 32) is detected (hereinafter referred to as "period before arrival") ), the coin recognition device 10 continuously acquires reduced images as captured images. A reduced image is an image with a smaller amount of data than a normal size image. The reduced image may be an image whose size has been compressed, or an image whose data has been thinned out. The first and second captured images I11 and I12 from the left shown in FIG. 5 are reduced images acquired in a period before arrival.

硬貨認識装置10は、到来前の期間において取得された連続した撮像画像(ここでは、撮像画像I11,I12等)の中から、読取対象物99として用いられる硬貨の先端部分に相当する大きさと外形を有する部位を判別部cl1で検知する。これによって、硬貨認識装置10は、カメラ部15の撮像エリアへの読取対象物99の到来検知を行う。このような硬貨認識装置10は、読取対象物99がカメラ部15の上に到来したことを検知する検知部として、判別部cl1を機能させることができる。このような硬貨認識装置10は、ゴミ等の異物を硬貨として誤検知することを抑制することができる。 The coin recognition device 10 selects the size and external shape corresponding to the tip portion of the coin used as the reading object 99 from among the continuous captured images (here, captured images I11, I12, etc.) acquired in the period before arrival. The determination unit cl1 detects the region having the following. Thereby, the coin recognition device 10 detects the arrival of the object to be read 99 into the imaging area of the camera unit 15. Such a coin recognition device 10 can cause the discrimination unit cl1 to function as a detection unit that detects that the object to be read 99 has arrived on the camera unit 15. Such a coin recognition device 10 can suppress false detection of foreign objects such as dust as coins.

また、硬貨認識装置10は、通常サイズよりもデータ量の少ない縮小画像に基づいて読取対象物99の到来検知を行うことができる。そのため、硬貨認識装置10は、到来検知を高速に(つまり短い時間で)行うことができる。また、硬貨認識装置10は、イメージセンサ21の分解能よりも小さな塵埃等の異物を除外して演算することができる。これによっても、硬貨認識装置10は、さらに、ゴミ等の異物の誤検知を抑制することができる。 Further, the coin recognition device 10 can detect the arrival of the object to be read 99 based on a reduced image having a smaller amount of data than the normal size image. Therefore, the coin recognition device 10 can perform arrival detection at high speed (that is, in a short time). Further, the coin recognition device 10 can perform calculations while excluding foreign objects such as dust that are smaller than the resolution of the image sensor 21. This also allows the coin recognition device 10 to further suppress false detection of foreign objects such as dust.

一方、カメラ部15の撮像エリアに読取対象物99が到来した後の期間(以下、「到来後の期間」と称する)において、硬貨認識装置10は、硬貨認識装置10は、撮像画像として、通常サイズ画像(標準サイズ画像)を連続して取得する。通常サイズ画像は、読取対象物99の種類判別が可能な標準サイズ画像であってもよいし、標準サイズ画像よりも拡大された画像であってもよい。図5に示す右から1番目の判別用撮像画像I13は、到来後の期間において、取得された通常サイズ画像である。 On the other hand, in the period after the reading object 99 arrives at the imaging area of the camera unit 15 (hereinafter referred to as the "post-arrival period"), the coin recognition device 10 normally displays the image as a captured image. Continuously acquire size images (standard size images). The normal size image may be a standard size image that allows the type of the object to be read 99 to be determined, or may be an image that is larger than the standard size image. The first discrimination image I13 from the right shown in FIG. 5 is a normal size image acquired during the period after arrival.

硬貨認識装置10は、到来後の期間において、連続した通常サイズ画像に基づいて、読取対象物99の種類を判別する。このような硬貨認識装置10は、通常サイズ画像に基づいて種類判別を行うため、読取対象物99の種類を正確に判別することができる。 The coin recognition device 10 determines the type of the object to be read 99 based on successive normal size images during the period after the coin has arrived. Since such a coin recognition device 10 performs type discrimination based on a normal size image, it is possible to accurately discriminate the type of the object 99 to be read.

以下、図6を参照して、硬貨認識装置10の動作の一例について説明する。硬貨認識装置10は、硬貨取扱装置であるATM1(図1参照)から読取対象物99の種類判別指示を受けることで動作を開始する。 An example of the operation of the coin recognition device 10 will be described below with reference to FIG. 6. The coin recognition device 10 starts its operation upon receiving an instruction to determine the type of the object to be read 99 from the ATM 1 (see FIG. 1), which is a coin handling device.

図6に示すように、まず、硬貨認識装置10の制御部clは、照明(LED23)を点灯し(S105)、搬送ベルト12を走行させて読取対象物99の搬送を開始する(S110)。読取対象物99は、ゲート14を通過する際に、1枚ずつに分離された搬送される。 As shown in FIG. 6, first, the control unit cl of the coin recognition device 10 turns on the light (LED 23) (S105), runs the conveyor belt 12, and starts conveying the object to be read 99 (S110). When the object to be read 99 passes through the gate 14, it is separated and conveyed one by one.

次に、硬貨認識装置10のカメラ部15は、イメージセンサ21で搬送路11を連続して撮像する。そして、硬貨認識装置10の画像処理部cl2は、撮像された画像を記憶部29に記憶する。その際に、硬貨認識装置10の画像処理部cl2は、撮像された画像を縮小画像に変換することで、搬送路11の縮小画像を連続して取得し(S115)、取得された縮小画像を記憶部29に記憶する。図5に示す左から1番目と2番目の撮像画像I11,I12は、このとき取得された縮小画像の一例である。 Next, the camera unit 15 of the coin recognition device 10 continuously images the transport path 11 using the image sensor 21 . Then, the image processing unit cl2 of the coin recognition device 10 stores the captured image in the storage unit 29. At this time, the image processing unit cl2 of the coin recognition device 10 continuously obtains reduced images of the transport path 11 by converting the captured images into reduced images (S115), and converts the obtained reduced images into It is stored in the storage unit 29. The first and second captured images I11 and I12 from the left shown in FIG. 5 are examples of reduced images acquired at this time.

次に、硬貨認識装置10の判別部cl1は、連続した縮小画像の中に、予め定められた閾値以上の平均輝度値を有する予め定められたサイズ以上の物体があるか否かを判定する(S120)。S120の判定で、該当物体があると判定された場合(“Yes”の場合)に、処理はS125に進む。一方、該当物体がないと判定された場合(“No”の場合)に、処理はS115に戻る。 Next, the determination unit cl1 of the coin recognition device 10 determines whether or not there is an object of a predetermined size or more that has an average luminance value of a predetermined threshold or more in the continuous reduced images ( S120). If it is determined in S120 that the object exists (“Yes”), the process proceeds to S125. On the other hand, if it is determined that there is no corresponding object (“No”), the process returns to S115.

次に、硬貨認識装置10の判別部cl1は、連続した縮小画像の中に映る該当物体の先端位置(最先端個所の位置)・大きさ・外形を検出する(S125)。ここで、読取対象物99が硬貨である場合に、読取対象物99の先端部分は、以下の条件を満たす。
(1)読取対象物99の先端部分は、予め定められた閾値以上の輝度値を有している。
(2)読取対象物99の先端部分は、先端(最先端個所)がカメラ部15の撮像エリアに入ってから搬送方向(図2に示す矢印A99参照)に向けて搬送されるにつれて、硬貨の先端部分に相当する大きさと外形とを有する部位となっている。
Next, the discrimination unit cl1 of the coin recognition device 10 detects the tip position (position of the tip), size, and outer shape of the corresponding object appearing in the successive reduced images (S125). Here, when the object to be read 99 is a coin, the tip portion of the object to be read 99 satisfies the following conditions.
(1) The leading end of the object to be read 99 has a brightness value that is greater than or equal to a predetermined threshold.
(2) The leading edge of the object to be read 99 is shaped like a coin as it is transported in the transporting direction (see arrow A99 shown in FIG. 2) after the leading edge (the leading edge) enters the imaging area of the camera unit 15. It is a portion having a size and outer shape corresponding to the tip portion.

そこで、硬貨認識装置10は、S125からS135の処理を行うことで、該当物体がこのような条件を満たすか否かを判定する。これにより、硬貨認識装置10は、該当物体が硬貨の先端部分であるか否かを判定して、該当物体が硬貨の先端部分であると判定される場合に、硬貨がカメラ部15の撮像エリアに到来(到達)したと判定する。 Therefore, the coin recognition device 10 determines whether the object satisfies such conditions by performing the processes from S125 to S135. Thereby, the coin recognition device 10 determines whether or not the object is the tip of a coin, and if it is determined that the object is the tip of the coin, the coin recognizes the coin in the imaging area of the camera unit 15. It is determined that it has arrived at (reached).

S125の後、硬貨認識装置10の判別部cl1は、該当物体の大きさが閾値以上であるか否か判定する(S130)。この閾値は、読取対象物99として取り扱うことが想定される最小径の硬貨(例えば、日本では、1円硬貨)の大きさ(最先端個所からの広がり具合)に応じて予め定められたものである。ここで、「最先端個所からの広がり具合」とは、物体の最先端個所がカメラ部15の撮像エリアに入ってから搬送方向(図2に示す矢印A99参照)に向けて任意の距離(例えば、1mm)だけ搬送されたときの、撮像画像に映る物体の左右方向の長さを意味している。 After S125, the determination unit cl1 of the coin recognition device 10 determines whether the size of the object is equal to or larger than the threshold (S130). This threshold value is predetermined according to the size (spreading from the leading edge) of the smallest diameter coin (for example, a 1 yen coin in Japan) that is expected to be handled as the reading object 99. be. Here, "spreading degree from the most extreme point" refers to an arbitrary distance (for example, , 1 mm) in the left-right direction of the object that appears in the captured image.

S130の判定で、該当物体の大きさが閾値以上であると判定された場合(“Yes”の場合)に、硬貨認識装置10の判別部cl1は、該当物体の形状が円弧形状であるか否かを判定する(S135)。 If it is determined in S130 that the size of the object is equal to or larger than the threshold (“Yes”), the determining unit cl1 of the coin recognition device 10 determines whether the shape of the object is an arc shape or not. (S135).

S130の判定で、該当物体の大きさが閾値以上でないと判定された場合(“No”の場合)に、硬貨認識装置10の判別部cl1は、該当物体を異物として判定する(S140)。また、S135の判定で、該当物体の形状が円弧形状でないと判定された場合(“No”の場合)に、硬貨認識装置10の判別部cl1は、該当物体を異物として判定する(S140)。 If it is determined in S130 that the size of the object is not equal to or larger than the threshold (“No”), the determination unit cl1 of the coin recognition device 10 determines the object as a foreign object (S140). Further, when it is determined in S135 that the shape of the object is not an arc shape (in the case of "No"), the determination unit cl1 of the coin recognition device 10 determines the object as a foreign object (S140).

S135の判定で、該当物体の形状が円弧形状であると判定された場合(“Yes”の場合)に、硬貨認識装置10の判別部cl1は、該当物体が硬貨であり、硬貨がカメラ部15の撮像エリアに到来(到達)したと判定する(S150)。 If it is determined in S135 that the shape of the object is an arc shape (in the case of "Yes"), the determination unit cl1 of the coin recognition device 10 determines that the object is a coin and that the coin is an arc shape. It is determined that the camera has arrived at the imaging area (S150).

S150の後、硬貨認識装置10のカメラ部15は、イメージセンサ21で搬送路11を連続して撮像する。そして、硬貨認識装置10の画像処理部cl2は、搬送路11の通常サイズ画像を連続して取得して(S155)、取得された縮小画像を記憶部29に記憶する。図5に示す右から1番目の判別用撮像画像I13は、このとき連続して取得された通常サイズ画像の中の1つであり、かつ、読取対象物99が最適位置である通過位置P13に到来した時に取得された画像(以下、「最適位置到来時の判別用撮像画像」と称する場合がある)である。 After S150, the camera unit 15 of the coin recognition device 10 continuously images the transport path 11 using the image sensor 21. Then, the image processing unit cl2 of the coin recognition device 10 continuously acquires normal size images of the conveyance path 11 (S155), and stores the acquired reduced images in the storage unit 29. The first discrimination image I13 from the right shown in FIG. This is an image acquired at the time of arrival (hereinafter sometimes referred to as a "captured image for discrimination when arriving at the optimal position").

硬貨認識装置10は、搬送路11の連続した通常サイズ画像の中のどの画像が最適位置到来時の判別用撮像画像であるのかを特定するために、以下のS160の処理を行う。すなわち、S155の後、硬貨認識装置10の判別部cl1は、最適位置への読取対象物99としての硬貨の到来時間Tを算出する(S160)。なお、硬貨の到来時間Tは、以下の式(1)に基づいて算出することができる。
T=((L+r)/S) …(1)
The coin recognition device 10 performs the process of S160 below in order to specify which image among the continuous normal size images of the conveyance path 11 is a captured image for determination at the time of arrival at the optimum position. That is, after S155, the determination unit cl1 of the coin recognition device 10 calculates the arrival time T of the coin as the reading object 99 to the optimum position (S160). Note that the coin arrival time T can be calculated based on the following equation (1).
T=((L+r)/S)...(1)

ここで、「T」は硬貨の到来時間である。
「L」は、ガラス32の配置エリアの端部から中央までの距離である(図4参照)。
「r」は、読取対象物99の半径である(図4参照。
「S」は、読取対象物99の搬送速度(搬送ベルト12の搬送速度)である。
なお、読取対象物99の半径rは、読取対象物99の外形の広がり具合から判別される。
Here, "T" is the arrival time of the coin.
"L" is the distance from the edge to the center of the arrangement area of the glass 32 (see FIG. 4).
"r" is the radius of the object to be read 99 (see FIG. 4).
“S” is the conveyance speed of the object to be read 99 (the conveyance speed of the conveyor belt 12).
Note that the radius r of the object to be read 99 is determined from the extent to which the outer shape of the object to be read 99 extends.

硬貨認識装置10は、読取対象物99の先端(最先端個所)がカメラ部15の撮像エリア(ガラス32の配置エリア)に入った直後(又は直前)に撮像された通常サイズ画像を基準の画像として、基準の画像の取得時から硬貨の到来時間経過した時に取得された通常サイズ画像を、最適位置到来時の判別用撮像画像として処理することができる。 The coin recognition device 10 uses a normal size image captured immediately after (or just before) the tip (the most advanced point) of the object to be read 99 enters the imaging area of the camera unit 15 (the area where the glass 32 is arranged) as a reference image. As such, a normal size image acquired when the arrival time of the coin has elapsed since the acquisition of the reference image can be processed as a captured image for discrimination when the coin arrives at the optimum position.

S160の後、硬貨認識装置10の判別部cl1は、最適位置到来時の判別用撮像画像(図5に示す例では、判別用撮像画像I13)に基づいて、読取対象物99の外形を検出する。そして、硬貨認識装置10の判別部cl1は、最適位置到来時の判別用撮像画像(図5に示す例では、判別用撮像画像I13)の読取対象物99の内側部分に基づいて、読取対象物99としての硬貨の種類を判別(鑑別)する(S165)。 After S160, the discrimination unit cl1 of the coin recognition device 10 detects the outer shape of the object to be read 99 based on the captured image for discrimination at the time of arrival at the optimum position (in the example shown in FIG. 5, the captured image for discrimination I13). . Then, the discrimination unit cl1 of the coin recognition device 10 detects the object to be read based on the inner part of the object to be read 99 in the captured image for discrimination at the time of arrival at the optimum position (the captured image for discrimination I13 in the example shown in FIG. 5). The type of coin as 99 is determined (differentiated) (S165).

S165の後、硬貨認識装置10の制御部clは、全ての読取対象物99の搬送が終了したか否かを判定する(S170)。S170の判定で、全ての読取対象物99の搬送が終了していないと判定された場合(“No”の場合)に、処理はS115に戻る。一方、全ての読取対象物99の搬送が終了したと判定された場合(“Yes”の場合)に、硬貨認識装置10の制御部clは、照明(LED23)を消灯し(S175)、搬送ベルト12を停止させて読取対象物99の搬送を終了する(S180)。これにより、一連のルーチンの処理が終了する。 After S165, the control unit cl of the coin recognition device 10 determines whether or not the conveyance of all the objects to be read 99 has been completed (S170). If it is determined in S170 that the conveyance of all the objects to be read 99 has not been completed (“No”), the process returns to S115. On the other hand, when it is determined that the conveyance of all the objects to be read 99 has been completed (in the case of "Yes"), the control unit cl of the coin recognition device 10 turns off the illumination (LED 23) (S175), and 12 is stopped to finish conveying the object to be read 99 (S180). This completes the series of routine processing.

<硬貨認識装置の主な特徴>
(1)本実施形態1に係る硬貨認識装置10は、読取対象物99の種類判別時に、イメージセンサ21で搬送路11及び搬送路11の上を通過する読取対象物99を連続して撮像する。硬貨認識装置10の判別部cl1は、イメージセンサ21によって連続して撮像された搬送路11の撮像画像の中から、予め定められた閾値以上の輝度値を有する画素で構成された部位で、かつ、読取対象物99として用いられる硬貨の先端部分に相当する大きさと外形を有する部位を検知する。これによって、硬貨認識装置10は、読取対象物99(硬貨)がカメラ部15の撮像エリア(ガラス32の配置エリア)に到来したことを検知する。このような硬貨認識装置10は、読取対象物99がカメラ部15の上に到来したことを検知する検知部として、判別部cl1を用いる構成になっている。
<Main features of the coin recognition device>
(1) The coin recognition device 10 according to the first embodiment continuously images the conveyance path 11 and the read object 99 passing above the conveyance path 11 using the image sensor 21 when determining the type of the read object 99. . The discrimination unit cl1 of the coin recognition device 10 is a part composed of pixels having a luminance value equal to or higher than a predetermined threshold value from among the captured images of the transport path 11 continuously captured by the image sensor 21, and , a portion having a size and outer shape corresponding to the tip of a coin used as the object to be read 99 is detected. Thereby, the coin recognition device 10 detects that the object to be read 99 (coin) has arrived at the imaging area of the camera unit 15 (the area where the glass 32 is arranged). Such a coin recognition device 10 is configured to use the discrimination section cl1 as a detection section that detects that the object to be read 99 has arrived above the camera section 15.

前記した特許文献1に記載された従来の硬貨認識装置は、読取対象物を検知するための物理的な検知センサ(位置センサ)を用いていた。これに対して、本実施形態1に係る硬貨認識装置10は、そのような物理的な検知センサを排除することができるため、装置の製造コストを低減することができる。したがって、本実施形態1に係る硬貨認識装置10は、撮像画像を利用することで、装置構成の簡略化を実現することができる。 The conventional coin recognition device described in Patent Document 1 described above uses a physical detection sensor (position sensor) for detecting an object to be read. On the other hand, since the coin recognition device 10 according to the first embodiment can eliminate such a physical detection sensor, the manufacturing cost of the device can be reduced. Therefore, the coin recognition device 10 according to the first embodiment can simplify the device configuration by using the captured image.

また、前記した特許文献1に記載された従来の硬貨認識装置は、読取対象物を検知するための物理的な検知センサ(位置センサ)を用いていたため、検知センサが異物等の影響を受けて、本来、読取対象物を検知しないときに、読取対象物を誤検知することがあった。また、特許文献2に記載された従来の硬貨認識装置は、イメージセンサの読取範囲を制限している。そのため、特許文献2に記載された従来の硬貨認識装置は、検知された物体が読取対象物としての硬貨であるのかゴミ等の異物であるのかが判別できず、ゴミ等の異物を硬貨として誤検知してしまうことがあった。これに対して、本実施形態1に係る硬貨認識装置10は、読取対象物99として用いられる硬貨の先端部分に相当する大きさと外形を有する部位を検知するため、ゴミ等の異物を硬貨として誤検知することを抑制することができる。 In addition, the conventional coin recognition device described in Patent Document 1 described above uses a physical detection sensor (position sensor) to detect the object to be read, so the detection sensor may be affected by foreign objects etc. Originally, when the object to be read was not detected, the object to be read could be erroneously detected. Further, the conventional coin recognition device described in Patent Document 2 limits the reading range of the image sensor. Therefore, the conventional coin recognition device described in Patent Document 2 cannot determine whether the detected object is a coin to be read or a foreign object such as dust, and erroneously treats foreign objects such as dust as coins. Sometimes it was detected. In contrast, the coin recognition device 10 according to Embodiment 1 detects a portion having a size and outer shape corresponding to the tip of a coin used as the reading object 99, so that foreign objects such as dust are mistakenly recognized as coins. Detection can be suppressed.

しかも、本実施形態1に係る硬貨認識装置10は、通常サイズよりもデータ量の少ない縮小画像に基づいて読取対象物99の到来検知を行うため、イメージセンサ21の分解能よりも小さな塵埃等の異物を除外して演算することができる。これによっても、硬貨認識装置10は、さらに、ゴミ等の異物を硬貨として誤検知することを抑制することができる。 Moreover, since the coin recognition device 10 according to the first embodiment detects the arrival of the reading object 99 based on a reduced image with a smaller amount of data than the normal size, foreign particles such as dust smaller than the resolution of the image sensor 21 are detected. can be calculated by excluding. This also allows the coin recognition device 10 to further suppress false detection of foreign objects such as dust as coins.

以上の通り、本実施形態1に係る硬貨認識装置10によれば、撮像画像を利用することで、装置構成の簡略化を実現するとともに、ゴミ等の異物の誤検知を抑制することができる。 As described above, according to the coin recognition device 10 according to the first embodiment, by using the captured image, it is possible to simplify the device configuration and suppress false detection of foreign objects such as dust.

[実施形態2]
本実施形態2は、撮像画像の中から搬送ベルト12の部分を排除することで、読取対象物99の判別精度を向上させた硬貨認識装置10A(図示せず)を提供する。本実施形態2に係る硬貨認識装置10A(図示せず)は、実施形態1に係る硬貨認識装置10(図2及び図3参照)と同じ構成のものであり、動作のみが異なっている。
[Embodiment 2]
Embodiment 2 provides a coin recognition device 10A (not shown) that improves the accuracy of identifying the object to be read 99 by excluding the portion of the conveyor belt 12 from the captured image. A coin recognition device 10A (not shown) according to the second embodiment has the same configuration as the coin recognition device 10 (see FIGS. 2 and 3) according to the first embodiment, and differs only in operation.

以下、図7乃至図12Bを参照して、本実施形態2に係る硬貨認識装置10A(図示せず)の動作について説明する。図7は、読取対象物99の通過位置を示す説明図である。図8、図9、及び図10は、画像の処理例を示す概略図である。図11、図12A、及び図12Bは、本実施形態2に係る硬貨認識装置10A(図示せず)の動作を示すフローチャートである。 The operation of the coin recognition device 10A (not shown) according to the second embodiment will be described below with reference to FIGS. 7 to 12B. FIG. 7 is an explanatory diagram showing the passing position of the object to be read 99. As shown in FIG. 8, 9, and 10 are schematic diagrams showing examples of image processing. 11, 12A, and 12B are flowcharts showing the operation of the coin recognition device 10A (not shown) according to the second embodiment.

図7は、1枚の読取対象物99が搬送ベルト12によって搬送されて搬送路11に沿って矢印A99の方向に搬送される際に、通過位置P11,P12,P13を通過することを示している。通過位置P11は、ガラス32の配置エリア(カメラ部15の撮像エリア)よりも手前側の位置である。通過位置P12は、読取対象物99の先端部分がガラス32の配置エリア(カメラ部15の撮像エリア)に入ってる位置である。通過位置P13は、読取対象物99全体がガラス32の配置エリア(カメラ部15の撮像エリア)の中央に入ってる位置である。通過位置P13は、最適位置(すなわち、読取対象物99の種類判別を行う際に最も良好な撮像画像を取得することができる位置)である。 FIG. 7 shows that when one object to be read 99 is conveyed by the conveyor belt 12 and conveyed along the conveyance path 11 in the direction of arrow A99, it passes through passing positions P11, P12, and P13. There is. The passing position P11 is a position on the near side of the arrangement area of the glass 32 (the imaging area of the camera unit 15). The passing position P12 is a position where the leading end of the object to be read 99 enters the arrangement area of the glass 32 (the imaging area of the camera unit 15). The passing position P13 is a position where the entire object to be read 99 is located in the center of the arrangement area of the glass 32 (the imaging area of the camera unit 15). The passing position P13 is an optimal position (that is, a position where the best captured image can be obtained when determining the type of the object to be read 99).

図8は、左から順番に、事前ベルト撮像画像I20(補正用画像)と、現状ベルト撮像画像I21と、差分画像I21a(判別用撮像画像)と、を示している。搬送ベルト12は、各画像の中に映り込む。 FIG. 8 shows, in order from the left, a preliminary belt image I20 (correction image), a current belt image I21, and a difference image I21a (discrimination image). The conveyor belt 12 is reflected in each image.

事前ベルト撮像画像I20は、取引の間に、事前にイメージセンサ21によって撮像された撮像画像である。事前ベルト撮像画像I20は、読取対象物99を搬送しない状態で撮像されている。事前ベルト撮像画像I20は、少なくとも搬送ベルト12の全周分が連続して撮影されている。事前ベルト撮像画像I20は、縮小画像となっている。事前ベルト撮像画像I20は、連続して取得された撮影画像を積算して各画素毎に平均した画像、又は、最大値の画像が用いられるようにしてもよい。事前ベルト撮像画像I20は、読取対象物99が存在しない状態で、搬送ベルト12が映っている。事前ベルト撮像画像I20は、現状ベルト撮像画像I21に対して搬送ベルト12が映る部分の補正を行うための補正用画像として用いられる。事前ベルト撮像画像I20は、記憶部29に予め記憶される。 The pre-belt captured image I20 is a captured image captured in advance by the image sensor 21 during a transaction. The pre-belt captured image I20 is captured with the object to be read 99 not being conveyed. The pre-belt image I20 is captured continuously over at least the entire circumference of the conveyor belt 12. The pre-belt captured image I20 is a reduced image. The pre-belt image I20 may be an image obtained by integrating continuously captured images and averaged for each pixel, or an image with the maximum value. The pre-belt captured image I20 shows the conveyor belt 12 without the object 99 to be read. The preliminary belt image I20 is used as a correction image for correcting the portion of the current belt image I21 where the conveyor belt 12 is visible. The pre-belt captured image I20 is stored in the storage unit 29 in advance.

現状ベルト撮像画像I21は、読取対象物99を搬送しない状態で撮像されている。現状ベルト撮像画像I21は、少なくとも搬送ベルト12の全周分が連続して撮影されている。現状ベルト撮像画像I21は、縮小画像となっている。 The current belt image I21 is imaged without conveying the object 99 to be read. The current belt image I21 is captured continuously over at least the entire circumference of the conveyor belt 12. The current belt captured image I21 is a reduced image.

差分画像I21aは、現状ベルト撮像画像I21と事前ベルト撮像画像I20との差分をとった画像である。現状ベルト撮像画像I21と事前ベルト撮像画像I20との差分は、例えば、搬送ベルト12の所定位置に任意のマークを付しておき、そのマークが撮像画像の中に映り込むタイミングで、各撮像画像を同期させることで行うことができる(以下、同様)。なお、現状ベルト撮像画像I21と事前ベルト撮像画像I20との差分は、マークの代わりに、プーリー13の回転位相を基準にして、各撮像画像を同期させることで行うこともできる。差分画像I21aは、縮小画像となっている。差分画像I21aは、読取対象物99の背景部分から搬送ベルト12を排除した構成になっている。 The difference image I21a is an image obtained by taking the difference between the current belt image I21 and the pre-belt image I20. The difference between the current belt captured image I21 and the preliminary belt captured image I20 can be determined by, for example, attaching an arbitrary mark to a predetermined position on the conveyor belt 12, and adjusting the difference between each captured image at the timing when the mark appears in the captured image. This can be done by synchronizing (hereinafter the same). Note that the difference between the current belt captured image I21 and the preliminary belt captured image I20 can also be determined by synchronizing the captured images with reference to the rotational phase of the pulley 13 instead of the mark. The difference image I21a is a reduced image. The difference image I21a has a configuration in which the conveyor belt 12 is excluded from the background portion of the object to be read 99.

図9は、左から順番に、前記した事前ベルト撮像画像I20と、現状ベルト撮像画像I22と、差分画像I22aと、を示している。 FIG. 9 shows, in order from the left, the previously described belt image I20, the current belt image I22, and the difference image I22a.

現状ベルト撮像画像I22は、読取対象物99が通過位置P12を通過しているときにイメージセンサ21によって撮像された撮像画像である。現状ベルト撮像画像I22は、縮小画像となっている。現状ベルト撮像画像I22は、読取対象物99が通過位置P12(図7参照)を通過したときの現状の搬送ベルト12が映っている。 The current belt captured image I22 is a captured image captured by the image sensor 21 while the object to be read 99 is passing through the passing position P12. The current belt captured image I22 is a reduced image. The current belt captured image I22 shows the current conveyance belt 12 when the object to be read 99 passes through the passing position P12 (see FIG. 7).

差分画像I22aは、現状ベルト撮像画像I22と事前ベルト撮像画像I20との差分をとった画像である。差分画像I22aは、縮小画像となっている。差分画像I22aは、読取対象物99の背景部分から搬送ベルト12を排除するとともに、読取対象物99の先端部分に隠れていた搬送ベルト12を顕在化させた構成になっている。差分画像I22aは、読取対象物99の到来位置を検出するための位置検出用撮像画像として用いられる。 The difference image I22a is an image obtained by taking the difference between the current belt image I22 and the preliminary belt image I20. The difference image I22a is a reduced image. The difference image I22a has a configuration in which the conveyor belt 12 is excluded from the background part of the object to be read 99, and the conveyor belt 12 that was hidden at the tip of the object to be read 99 is exposed. The difference image I22a is used as a position detection captured image for detecting the arrival position of the object to be read 99.

なお、現状ベルト撮像画像I22等の撮像画像は、読取対象物99が映っている部分の平均輝度値が高くなることで、搬送ベルト12が隠れた状態になっている。本実施形態2に係る硬貨認識装置10A(図示せず)では、現状ベルト撮像画像I22と事前ベルト撮像画像I20との差分をとって、差分画像I22aを作成することで、読取対象物99の先端部分に隠れていた搬送ベルト12を顕在化させている。 Note that in the currently captured image such as the belt captured image I22, the average luminance value of the portion where the object to be read 99 is shown is high, so that the conveyor belt 12 is hidden. In the coin recognition device 10A (not shown) according to the second embodiment, the tip of the object to be read 99 is The conveyor belt 12, which was hidden in some parts, is now exposed.

図10は、左から順番に、事前ベルト撮像画像I20aと、判別用撮像画像I23と、差分画像I23aと、を示している。 FIG. 10 shows, in order from the left, a pre-belt captured image I20a, a discrimination captured image I23, and a difference image I23a.

事前ベルト撮像画像I20aは、事前ベルト撮像画像I20と同様に、取引の間に、事前にイメージセンサ21によって撮像された撮像画像である。事前ベルト撮像画像I20aは、読取対象物99を搬送しない状態で撮像されている。事前ベルト撮像画像I20は、少なくとも搬送ベルト12の全周分が連続して撮影されている。事前ベルト撮像画像I20aは、通常サイズ画像となっている。事前ベルト撮像画像I20aは、読取対象物99が存在しない状態で、搬送ベルト12が映っている。事前ベルト撮像画像I20aは、現状ベルト撮像画像I21に対して搬送ベルト12が映る部分の補正を行うための補正用画像として用いられる。事前ベルト撮像画像I20aは、記憶部29に予め記憶される。 The pre-belt captured image I20a, like the pre-belt captured image I20, is a captured image captured in advance by the image sensor 21 during the transaction. The pre-belt captured image I20a is captured with the object to be read 99 not being conveyed. The pre-belt image I20 is captured continuously over at least the entire circumference of the conveyor belt 12. The pre-belt image I20a is a normal size image. The pre-belt captured image I20a shows the conveyor belt 12 in a state where the object to be read 99 does not exist. The preliminary belt image I20a is used as a correction image for correcting the portion of the current belt image I21 in which the conveyor belt 12 is visible. The pre-belt captured image I20a is stored in the storage unit 29 in advance.

判別用撮像画像I23は、読取対象物99が通過位置P13を通過しているときにイメージセンサ21によって撮像された撮像画像である。判別用撮像画像I23は、読取対象物99を搬送しない状態で撮像されている。判別用撮像画像I23は、通常サイズ画像となっている。判別用撮像画像I23は、読取対象物99が通過位置P13(図7参照)を通過したときの現状の搬送ベルト12が映っている。 The discrimination captured image I23 is a captured image captured by the image sensor 21 while the object to be read 99 is passing through the passing position P13. The discrimination image I23 is captured with the object to be read 99 not being conveyed. The captured image I23 for discrimination is a normal size image. The discrimination captured image I23 shows the current state of the conveyor belt 12 when the object to be read 99 passes through the passing position P13 (see FIG. 7).

差分画像I23aは、判別用撮像画像I23と事前ベルト撮像画像I20aとの差分をとった画像である。差分画像I23aは、通常サイズ画像となっている。差分画像I23aは、読取対象物99の背景部分から搬送ベルト12を排除するとともに、読取対象物99の先端部分に隠れていた搬送ベルト12を顕在化させた構成になっている。差分画像I23aは、読取対象物99の種類を判別するための判別用撮像画像として用いられる。 The difference image I23a is an image obtained by taking the difference between the discrimination image I23 and the preliminary belt image I20a. The difference image I23a is a normal size image. The difference image I23a has a configuration in which the conveyor belt 12 is excluded from the background portion of the object to be read 99, and the conveyor belt 12 that was hidden in the tip portion of the object to be read 99 is exposed. The difference image I23a is used as a discrimination captured image for discriminating the type of the object to be read 99.

図9及び図10に示すように、撮像画像中において、搬送ベルト12が映る部分と読取対象物99が映る部分とは、異なる輝度値を有している。したがって、搬送ベルト12と読取対象物99とが一緒に映っている撮像画像は、輝度分布を有している。 As shown in FIGS. 9 and 10, in the captured image, the part where the conveyor belt 12 is shown and the part where the object to be read 99 is shown have different brightness values. Therefore, the captured image showing the conveyor belt 12 and the object to be read 99 together has a brightness distribution.

図11に示すように、本実施形態2に係る硬貨認識装置10A(図示せず)の処理は、実施形態1に係る硬貨認識装置10の処理(図6参照)と比較すると、S125の処理とS165の処理がサブルーチン化されている点で相違している。 As shown in FIG. 11, the processing of the coin recognition device 10A (not shown) according to the second embodiment is different from the processing of S125 when compared with the processing of the coin recognition device 10 according to the first embodiment (see FIG. 6). The difference is that the process of S165 is made into a subroutine.

図12Aに示すように、本実施形態2に係る硬貨認識装置10A(図示せず)では、S125で、以下の処理が行われる。 As shown in FIG. 12A, in the coin recognition device 10A (not shown) according to the second embodiment, the following process is performed in S125.

まず、硬貨認識装置10A(図示せず)の判別部cl1(又は、画像処理部cl2)は、読取対象物99の搬送中に連続して撮像された撮像画像(例えば、図8に示す現状ベルト撮像画像I21や図9に示す現状ベルト撮像画像I22等)と事前ベルト撮像画像I20aとの差分をとる。これによって硬貨認識装置10A(図示せず)の判別部cl1(又は、画像処理部cl2)は、連続した差分画像(例えば、図8に示す差分画像I21aや図9に示す差分画像I22a等)を作成する(S125a)。次に、硬貨認識装置10A(図示せず)の判別部cl1は、差分画像に基づいて、該当物体の先端位置(最先端個所の位置)・大きさ・外形を検出する(S125b)。 First, the discrimination unit cl1 (or image processing unit cl2) of the coin recognition device 10A (not shown) uses captured images (for example, the current state of the belt shown in FIG. The difference between the captured image I21, the current belt captured image I22 shown in FIG. 9, etc.) and the preliminary belt captured image I20a is calculated. As a result, the discrimination unit cl1 (or image processing unit cl2) of the coin recognition device 10A (not shown) recognizes consecutive difference images (for example, the difference image I21a shown in FIG. 8 and the difference image I22a shown in FIG. 9). Create (S125a). Next, the discrimination unit cl1 of the coin recognition device 10A (not shown) detects the tip position (position of the tip), size, and outer shape of the object based on the difference image (S125b).

図12Bに示すように、本実施形態2に係る硬貨認識装置10A(図示せず)では、S165で、以下の処理が行われる。 As shown in FIG. 12B, in the coin recognition device 10A (not shown) according to the second embodiment, the following processing is performed in S165.

まず、硬貨認識装置10A(図示せず)の判別部cl1(又は、画像処理部cl2)は、読取対象物99の搬送中に連続して撮像された撮像画像(例えば、図10に示す判別用撮像画像I23等)と事前ベルト撮像画像I20aとの差分をとる。これによって硬貨認識装置10A(図示せず)の判別部cl1(又は、画像処理部cl2)は、連続した差分画像(例えば、図10に示す差分画像I23a等)を作成する(S165a)。次に、硬貨認識装置10A(図示せず)の判別部cl1は、図11のS160で算出された最適位置への読取対象物99としての硬貨の到来時間に基づいて、最適位置到来時の差分画像(例えば、図10に示す差分画像I23a)を特定する(S165b)。次に、硬貨認識装置10A(図示せず)の判別部cl1は、最適位置到来時の差分画像に基づいて、読取対象物99の外形を検出する。そして、硬貨認識装置10A(図示せず)は、最適位置到来時の差分画像の読取対象物99の内側部分に基づいて、読取対象物99としての硬貨の種類を判別(鑑別)する(S165c)。 First, the discrimination unit cl1 (or image processing unit cl2) of the coin recognition device 10A (not shown) uses captured images (for example, for discrimination shown in FIG. The difference between the captured image I23, etc.) and the pre-belt captured image I20a is calculated. As a result, the discrimination unit cl1 (or image processing unit cl2) of the coin recognition device 10A (not shown) creates continuous difference images (for example, difference image I23a shown in FIG. 10) (S165a). Next, the determination unit cl1 of the coin recognition device 10A (not shown) determines the difference in arrival time at the optimal position based on the arrival time of the coin as the reading object 99 to the optimal position calculated in S160 of FIG. An image (for example, difference image I23a shown in FIG. 10) is specified (S165b). Next, the discrimination unit cl1 of the coin recognition device 10A (not shown) detects the outer shape of the object to be read 99 based on the difference image when the coin recognition device 10A (not shown) arrives at the optimum position. Then, the coin recognition device 10A (not shown) determines (discriminates) the type of coin as the reading object 99 based on the inner part of the reading object 99 in the difference image when the optimum position is reached (S165c). .

このような本実施形態2に係る硬貨認識装置10A(図示せず)は、読取対象物99が存在しない状態で撮像された搬送ベルト12の事前ベルト撮像画像I20,I20a(図8、図9、図10参照)を補正用画像として予め用意しておく。そして、硬貨認識装置10A(図示せず)は、読取対象物99の検知(監視)用に連続して取得された現状ベルト撮像画像I21,I22と事前ベルト撮像画像I20との差分をとって差分画像I21a,I22aを作成する(図8、図9参照)。また、硬貨認識装置10A(図示せず)は、読取対象物99の種類判別用の取得された判別用撮像画像I23と事前ベルト撮像画像I20との差分をとって差分画像I23aを作成する(図10参照)。 The coin recognition device 10A (not shown) according to the second embodiment as described above uses pre-belt captured images I20 and I20a of the conveyor belt 12 (FIGS. 8, 9, (see FIG. 10) is prepared in advance as a correction image. Then, the coin recognition device 10A (not shown) calculates the difference between the current belt captured images I21 and I22, which are continuously acquired for detecting (monitoring) the reading object 99, and the preliminary belt captured image I20. Images I21a and I22a are created (see FIGS. 8 and 9). In addition, the coin recognition device 10A (not shown) creates a difference image I23a by taking the difference between the acquired identification image I23 for determining the type of the reading object 99 and the pre-belt image I20 (see FIG. 10).

硬貨認識装置10A(図示せず)は、差分画像I21a,I22a,I23a(図8、図9、図10参照)を取得することで、読取対象物99の背景部分に映り込む搬送ベルト12を排除したり、読取対象物99の先端部分に隠れている搬送ベルト12を顕在化させることができる。 The coin recognition device 10A (not shown) eliminates the conveyor belt 12 reflected in the background part of the object to be read 99 by acquiring the difference images I21a, I22a, and I23a (see FIGS. 8, 9, and 10). Or, the conveyor belt 12 hidden behind the tip of the object to be read 99 can be exposed.

そして、硬貨認識装置10A(図示せず)は、連続して取得された差分画像I21a,I22a(図8、図9参照)に基づいて、判別部cl1でカメラ部15の撮像エリア(ガラス32の配置エリア)への読取対象物99の到来の有無を検知(監視)する。差分画像I21a,I22a(図8、図9参照)は、搬送ベルト12の影響を受けない縮小画像(つまり、搬送ベルト12が映っている部分がノイズとして誤って検知される可能性の低い縮小画像)である。硬貨認識装置10A(図示せず)は、このような差分画像I21a,I22aを用いることで、搬送ベルト12の影響を受けずに判別部cl1で読取対象物99の外形を検出することができる。そのため、本実施形態2に係る硬貨認識装置10A(図示せず)は、実施形態1に係る硬貨認識装置10よりも、カメラ部15の撮像エリア(ガラス32の配置エリア)への読取対象物99の到来の有無を良好に検知(監視)することができる。 Then, the coin recognition device 10A (not shown) uses the determination unit cl1 to determine the imaging area of the camera unit 15 (of the glass 32) based on the successively acquired difference images I21a and I22a (see FIGS. 8 and 9). Detects (monitors) whether or not the object to be read 99 has arrived at the placement area (arrangement area). The difference images I21a and I22a (see FIGS. 8 and 9) are reduced images that are not affected by the conveyor belt 12 (that is, reduced images that have a low possibility that the portion where the conveyor belt 12 is reflected will be mistakenly detected as noise). ). By using such difference images I21a and I22a, the coin recognition device 10A (not shown) can detect the outer shape of the object to be read 99 by the determination unit cl1 without being affected by the conveyor belt 12. Therefore, the coin recognition device 10A (not shown) according to the second embodiment is able to detect the object 99 to be read in the imaging area of the camera unit 15 (the area where the glass 32 is arranged) more than the coin recognition device 10 according to the first embodiment. It is possible to effectively detect (monitor) the presence or absence of the arrival of.

また、本実施形態2に係る硬貨認識装置10A(図示せず)は、差分画像I23a(図10参照)に基づいて、判別部cl1で読取対象物99の外形を検出する。差分画像I23a(図10参照)は、搬送ベルト12の影響を受けない通常サイズ画像(つまり、搬送ベルト12が映っている部分がノイズとして誤って検知される可能性の低い通常サイズ画像)である。したがって、硬貨認識装置10A(図示せず)は、搬送ベルト12の影響を受けずに読取対象物99の外形を検出することができる。そして、硬貨認識装置10A(図示せず)は、読取対象物99の外形を検出できれば、差分画像I23a(図10参照)の読取対象物99の内側部分に基づいて、読取対象物99としての硬貨の種類を判別(鑑別)することができる。そのため、本実施形態2に係る硬貨認識装置10A(図示せず)は、実施形態1に係る硬貨認識装置よりも、読取対象物99としての硬貨の種類の判別精度を向上させることができる。 Further, the coin recognition device 10A (not shown) according to the second embodiment detects the outer shape of the object to be read 99 using the determination unit cl1 based on the difference image I23a (see FIG. 10). The difference image I23a (see FIG. 10) is a normal size image that is not affected by the conveyor belt 12 (that is, a normal size image in which the portion where the conveyor belt 12 is reflected is less likely to be mistakenly detected as noise). . Therefore, the coin recognition device 10A (not shown) can detect the outer shape of the object to be read 99 without being affected by the conveyor belt 12. If the coin recognition device 10A (not shown) can detect the outer shape of the reading object 99, the coin recognition device 10A (not shown) recognizes the coin as the reading object 99 based on the inner part of the reading object 99 in the difference image I23a (see FIG. 10). It is possible to determine (differentiate) the type of. Therefore, the coin recognition device 10A (not shown) according to the second embodiment can improve the accuracy of determining the type of coin as the reading object 99 more than the coin recognition device according to the first embodiment.

このような本実施形態2に係る硬貨認識装置10A(図示せず)は、実施形態1に係る硬貨認識装置と同様に、従来の硬貨認識装置で用いられていた物理的な検知センサを排除することができるため、装置の製造コストを低減することができる。したがって、本実施形態2に係る硬貨認識装置10A(図示せず)は、実施形態1に係る硬貨認識装置10と同様に、撮像画像を利用することで、装置構成の簡略化を実現するとともに、ゴミ等の異物の誤検知を抑制することができる。 Like the coin recognition device according to Embodiment 1, the coin recognition device 10A (not shown) according to the second embodiment eliminates the physical detection sensor used in the conventional coin recognition device. Therefore, the manufacturing cost of the device can be reduced. Therefore, like the coin recognition device 10 according to Embodiment 1, the coin recognition device 10A (not shown) according to the second embodiment uses a captured image to realize a simplified device configuration, and Erroneous detection of foreign objects such as dust can be suppressed.

また、本実施形態2に係る硬貨認識装置10A(図示せず)は、読取対象物99が存在しない状態で搬送ベルト12の撮像画像を連続して取得して補正データ(例えば、補正用画像としての事前ベルト撮像画像I20,I20a(図8乃至図10参照))を作成することにより搬送ベルト12の劣化の影響を受けずに硬貨の検出が可能となる。また、読取対象物99が存在しない状態で搬送ベルト12の撮像画像を連続して取得してチェックすることで、物理的な検知センサを用いることなく、搬送ベルト12の極端な劣化や異常を検出することができる。例えば、搬送ベルト12の劣化個所や異常個所は光の反射率が高くなる。そこで、本実施形態2に係る硬貨認識装置10A(図示せず)は、搬送ベルト12が映っている撮像画像(現状ベルト撮像画像I21,I22等)を連続して取得し、取得された撮像画像の中から、画素の輝度値が予め定めた閾値を超える個所を検知する。このような個所は、搬送ベルト12の反射率が高くなっている個所であり、搬送ベルト12の劣化個所や異常個所に相当する。硬貨認識装置10A(図示せず)は、このような個所を検知することで、搬送ベルト12の劣化個所や異常個所として検知することができる。 In addition, the coin recognition device 10A (not shown) according to the second embodiment continuously acquires captured images of the conveyor belt 12 in a state where there is no object to be read 99 and uses them as correction data (for example, as a correction image). By creating preliminary belt-captured images I20, I20a (see FIGS. 8 to 10)), coins can be detected without being affected by deterioration of the conveyor belt 12. In addition, by continuously acquiring and checking captured images of the conveyor belt 12 in the absence of the object 99 to be read, extreme deterioration or abnormality of the conveyor belt 12 can be detected without using a physical detection sensor. can do. For example, deteriorated or abnormal parts of the conveyor belt 12 have a high light reflectance. Therefore, the coin recognition device 10A (not shown) according to the second embodiment continuously acquires captured images in which the conveyor belt 12 is shown (current belt captured images I21, I22, etc.), and the acquired captured images Detects locations where the pixel brightness value exceeds a predetermined threshold. Such locations are locations where the reflectance of the conveyor belt 12 is high, and correspond to degraded or abnormal locations of the conveyor belt 12. By detecting such locations, the coin recognition device 10A (not shown) can detect these locations as degraded or abnormal locations on the conveyor belt 12.

なお、搬送ベルト12の劣化個所や異常個所の検知は、ATM1(図1参照)の運用時ではなく、ATM1(図1参照)の点検・保守時にテストモードとして行うようにしてもよい。また、搬送ベルト12の劣化個所や異常個所の検知は、画像同士の比較ではなく、閾値を超えるか否かの判別で行うことで、検知を高速に(つまり短い時間で)行うことができる。 Note that detection of deteriorated or abnormal parts of the conveyor belt 12 may be performed in a test mode during inspection and maintenance of the ATM 1 (see FIG. 1) rather than during operation of the ATM 1 (see FIG. 1). Furthermore, detection of degraded or abnormal parts of the conveyor belt 12 is performed not by comparing images, but by determining whether or not a threshold value is exceeded, so that detection can be performed at high speed (that is, in a short period of time).

以上の通り、本実施形態2に係る硬貨認識装置10A(図示せず)によれば、実施形態1に係る硬貨認識装置10と同様に、撮像画像を利用することで、装置構成の簡略化を実現するとともに、ゴミ等の異物の誤検知を抑制することができる。
しかも、本実施形態2に係る硬貨認識装置10A(図示せず)によれば、実施形態1に係る硬貨認識装置10よりも、読取対象物99としての硬貨の判別精度を向上させることができる。
As described above, according to the coin recognition device 10A (not shown) according to the second embodiment, similar to the coin recognition device 10 according to the first embodiment, the device configuration can be simplified by using captured images. At the same time, false detection of foreign objects such as dust can be suppressed.
Moreover, according to the coin recognition device 10A (not shown) according to the second embodiment, the accuracy of identifying a coin as the reading object 99 can be improved more than the coin recognition device 10 according to the first embodiment.

[実施形態3]
読取対象物99は、劣化すると、色が黒ずんだり傷が付いたりして、反射率が低下する傾向にあるため、カメラ部15の撮像エリア(ガラス32の配置エリア)への到来検知や種類判別の精度を低下させてしまう可能性がある。そこで、本実施形態3は、読取対象物99が劣化している場合であっても、カメラ部15の撮像エリア(ガラス32の配置エリア)への読取対象物99の到来検知や読取対象物99の種類判別を良好に行うことができる硬貨認識装置10B(図示せず)を提供する。本実施形態3に係る硬貨認識装置10B(図示せず)は、実施形態1に係る硬貨認識装置10(図2及び図3参照)と同じ構成のものであり、動作のみが異なっている。
[Embodiment 3]
When the object to be read 99 deteriorates, it tends to darken in color or become scratched, resulting in a decrease in reflectance. This may reduce the accuracy of Therefore, in the third embodiment, even if the object to be read 99 has deteriorated, the arrival of the object to be read 99 to the imaging area of the camera section 15 (the area where the glass 32 is arranged) can be detected and the object to be read can be detected. To provide a coin recognition device 10B (not shown) that can satisfactorily discriminate the type of coin. A coin recognition device 10B (not shown) according to the third embodiment has the same configuration as the coin recognition device 10 (see FIGS. 2 and 3) according to the first embodiment, and differs only in operation.

以下、図13乃至図16を参照して、本実施形態3における硬貨認識装置10B(図示せず)の動作について説明する。図13、図14、及び図15は、撮像画像の例を示す概略図である。図16は、本実施形態3に係る硬貨認識装置10B(図示せず)の動作を示すフローチャートである。 The operation of the coin recognition device 10B (not shown) in the third embodiment will be described below with reference to FIGS. 13 to 16. 13, 14, and 15 are schematic diagrams showing examples of captured images. FIG. 16 is a flowchart showing the operation of the coin recognition device 10B (not shown) according to the third embodiment.

本実施形態3に係る硬貨認識装置10B(図示せず)は、照明制御部cl4によって照明(LED23)の一部分のみを点灯させたり消灯させたりすることができる構成になっている。 The coin recognition device 10B (not shown) according to the third embodiment is configured such that only a portion of the illumination (LED 23) can be turned on or off using the illumination control unit cl4.

図13は、画像の明るさを判断するための、例えば輝度ヒストグラムの明るい方の数割の平均輝度値(以降の説明の「平均輝度値」はすべて同じ意味であるものとする。)が予め定められた上限閾値を超えた状態(すなわち、明る過ぎる状態)になっている撮像画像の一例を示している。図13は、左から順番に、撮像画像I211,I212と、判別用撮像画像I213と、を示している。撮像画像I211,I212は、それぞれ、読取対象物99が通過位置P11,P12(図4参照)を通過したときにカメラ部15によって撮像された画像である。撮像画像I211,I212は、縮小画像となっている。判別用撮像画像I213は、読取対象物99が通過位置P13(図4参照)を通過したときにカメラ部15によって撮像された画像である。判別用撮像画像I213は、通常サイズ画像となっている。 FIG. 13 shows that, for example, the average brightness value of the brightest fraction of the brightness histogram (all "average brightness values" in the following description have the same meaning) is used to judge the brightness of an image. An example of a captured image that is in a state that exceeds a predetermined upper limit threshold (that is, a state that is too bright) is shown. FIG. 13 shows, in order from the left, captured images I211 and I212, and a discrimination captured image I213. The captured images I211 and I212 are images captured by the camera section 15 when the reading target object 99 passes through the passing positions P11 and P12 (see FIG. 4), respectively. The captured images I211 and I212 are reduced images. The captured image for discrimination I213 is an image captured by the camera section 15 when the object to be read 99 passes through the passing position P13 (see FIG. 4). The captured image for discrimination I213 is a normal size image.

図14は、明るさ(平均輝度値)が予め定められた下限閾値を下まわる状態(すなわち、暗過ぎる状態)になっている撮像画像の一例を示している。図14は、左から順番に、撮像画像I221,I222と、判別用撮像画像I223と、を示している。撮像画像I221,I222は、それぞれ、読取対象物99が通過位置P11,P12(図4参照)を通過したときにカメラ部15によって撮像された画像である。撮像画像I221,I222は、縮小画像となっている。判別用撮像画像I223は、読取対象物99が通過位置P13(図4参照)を通過したときにカメラ部15によって撮像された画像である。判別用撮像画像I223は、通常サイズ画像となっている。 FIG. 14 shows an example of a captured image in which the brightness (average brightness value) is below a predetermined lower threshold (that is, too dark). FIG. 14 shows, in order from the left, captured images I221 and I222 and a discrimination captured image I223. The captured images I221 and I222 are images captured by the camera section 15 when the reading target object 99 passes through the passing positions P11 and P12 (see FIG. 4), respectively. The captured images I221 and I222 are reduced images. The captured image for discrimination I223 is an image captured by the camera section 15 when the object to be read 99 passes through the passing position P13 (see FIG. 4). The captured image for discrimination I223 is a normal size image.

図15は、明るさ(平均輝度値)が予め定められた下限閾値から上限閾値までの範囲内に入っている状態(すなわち、最適な状態)になっている撮像画像の一例を示している。図15は、左から順番に、撮像画像I231,I232と、判別用撮像画像I233と、を示している。撮像画像I231,I232は、それぞれ、読取対象物99が通過位置P11,P12(図4参照)を通過したときにカメラ部15によって撮像された画像である。撮像画像I231,I232は、縮小画像となっている。判別用撮像画像I233は、読取対象物99が通過位置P13(図4参照)を通過したときにカメラ部15によって撮像された画像である。判別用撮像画像I233は、通常サイズ画像となっている。 FIG. 15 shows an example of a captured image in which the brightness (average brightness value) is within a predetermined range from a predetermined lower threshold to an upper threshold (that is, an optimal state). FIG. 15 shows, in order from the left, captured images I231 and I232, and a discrimination captured image I233. The captured images I231 and I232 are images captured by the camera section 15 when the reading target object 99 passes through the passing positions P11 and P12 (see FIG. 4), respectively. The captured images I231 and I232 are reduced images. The captured image for discrimination I233 is an image captured by the camera section 15 when the object to be read 99 passes through the passing position P13 (see FIG. 4). The captured image for discrimination I233 is a normal size image.

図13、図14、図15に示す撮像画像I211,I221,I231は、それぞれ、撮像画像I212,I222,I232の補正用画像である。本実施形態3に係る硬貨認識装置10B(図示せず)は、例えば、図16に示すように動作する。 Captured images I211, I221, and I231 shown in FIGS. 13, 14, and 15 are images for correction of captured images I212, I222, and I232, respectively. The coin recognition device 10B (not shown) according to the third embodiment operates, for example, as shown in FIG. 16.

図16に示すように、硬貨認識装置10B(図示せず)の照明制御部cl4は、読取対象物99の種類判別を行う場合に、反射率の低下した読取対象物99であっても一定以上の明るさで撮像画像の中に映り込む程度に、最初にLED23(照明)を明るく点灯(発光)させる(S305)。S305の処理は、例えば図6に示す例では、S105の処理時に行われる。 As shown in FIG. 16, when determining the type of the object to be read 99, the illumination control unit cl4 of the coin recognition device 10B (not shown) allows the illumination control unit cl4 to detect a certain level of reflection even if the object to be read 99 has a reduced reflectance. First, the LED 23 (illumination) is turned on (emits light) so brightly that it is reflected in the captured image (S305). For example, in the example shown in FIG. 6, the process in S305 is performed during the process in S105.

なお、最初にLED23(照明)を明るく点灯(発光)させる理由は、仮にLED23(照明)を暗く点灯(発光)させると、カメラ部15の撮像エリア(ガラス32の配置エリア)への読取対象物99の到来を検知できなくなる可能性があるからである。つまり、最初にLED23(照明)を明るく点灯(発光)させる理由は、反射率の低い読取対象物99であっても、カメラ部15の撮像エリア(ガラス32の配置エリア)への読取対象物99の到来を確実に検知するためである。 The reason why the LED 23 (illumination) is first turned on brightly (lights up) is that if the LED 23 (lighting) is turned on darkly (lights up), the object to be read will fall into the imaging area of the camera unit 15 (the area where the glass 32 is arranged). This is because there is a possibility that the arrival of 99 cannot be detected. In other words, the reason why the LED 23 (illumination) is brightly lit (emits light) at first is that even if the reading target 99 has a low reflectance, the reading target 99 does not reach the imaging area of the camera unit 15 (the area where the glass 32 is arranged). This is to reliably detect the arrival of.

S305の後、硬貨認識装置10B(図示せず)のカメラ部15は、イメージセンサ21でガラス32及びカメラ部15の上を通過する読取対象物99を連続して撮像する。そして、硬貨認識装置10B(図示せず)の画像処理部cl2は、撮像された画像を記憶部29に記憶する。これにより、硬貨認識装置10B(図示せず)は、読取対象物99が通過位置P12に到来したときに取得された、読取対象物99が映り込んでいる撮像画像I212(図13参照)を取得する(S310)。 After S305, the camera unit 15 of the coin recognition device 10B (not shown) continuously images the object to be read 99 passing over the glass 32 and the camera unit 15 using the image sensor 21. Then, the image processing unit cl2 of the coin recognition device 10B (not shown) stores the captured image in the storage unit 29. Thereby, the coin recognition device 10B (not shown) acquires a captured image I212 (see FIG. 13) in which the object to be read 99 is reflected, which was acquired when the object to be read 99 arrived at the passing position P12. (S310).

次に、硬貨認識装置10B(図示せず)の判別部cl1は、撮像画像I212(図13参照)に映り込んでいる読取対象物99の部分の明るさ(平均輝度値)を演算する(S315)。読取対象物99の部分の明るさ(平均輝度値)には、下限値と上限値とが予め定められている。下限値と上限値とは記憶部29(図2参照)に記憶されている。硬貨認識装置10B(図示せず)の判別部cl1は、読取対象物99の部分の明るさ(平均輝度値)が予め定められた下限値から上限値までの範囲(以下、「適正な範囲」と称する)内であるか否かを判定する(S320)。 Next, the discrimination unit cl1 of the coin recognition device 10B (not shown) calculates the brightness (average brightness value) of the portion of the reading object 99 reflected in the captured image I212 (see FIG. 13) (S315 ). A lower limit value and an upper limit value are predetermined for the brightness (average brightness value) of the portion of the reading object 99. The lower limit value and the upper limit value are stored in the storage unit 29 (see FIG. 2). The discrimination unit cl1 of the coin recognition device 10B (not shown) determines whether the brightness (average brightness value) of the reading target 99 is within a predetermined range from a lower limit value to an upper limit value (hereinafter referred to as an "appropriate range"). ) is determined (S320).

S320の判定で、読取対象物99の部分の明るさ(平均輝度値)が不適正であると判定された場合(“No”の場合)に、硬貨認識装置10B(図示せず)の照明制御部cl4は、読取対象物99が通過位置P13に到達する前に、LED23(照明)の明るさを変更する(S325)。この後、処理は、S310に戻る。 If it is determined in S320 that the brightness (average brightness value) of the part of the reading object 99 is inappropriate (in the case of "No"), the illumination control of the coin recognition device 10B (not shown) is performed. The unit cl4 changes the brightness of the LED 23 (illumination) before the object to be read 99 reaches the passing position P13 (S325). After this, the process returns to S310.

例えば、S320の判定で、撮像画像I212(図13参照)のように読取対象物99の部分の明るさ(平均輝度値)が明る過ぎる(高過ぎる)場合に、硬貨認識装置10B(図示せず)の照明制御部cl4は、LED23(照明)の明るさを暗くする(下げる)。 For example, in the determination in S320, if the brightness (average brightness value) of the reading target 99 is too bright (too high) as in the captured image I212 (see FIG. 13), the coin recognition device 10B (not shown) )'s lighting control unit cl4 dims (lowers) the brightness of the LED 23 (lighting).

なお、S325の処理で、仮に、LED23(照明)の明るさを暗くし過ぎた(下げ過ぎた)とする。この場合に、S310で、硬貨認識装置10B(図示せず)のカメラ部15は、撮像画像I222(図14参照)のように読取対象物99の部分の明るさ(平均輝度値)が暗過ぎる撮像画像を取得する。なお、撮像画像I222(図14参照)は、明るさ(平均輝度値)が暗過ぎるため、判別部cl1が読取対象物99の位置を検知できない可能性がある。しかしながら、前回の撮像画像(LED23(照明)の明るさを変更する前の撮像画像)から読取対象物99の通過位置を推測できるため、判別部cl1は、推測された通過位置に読取対象物99が到達しているものとみなして、読取対象物99の部分の明るさ(平均輝度値)を確認することができる。そして、硬貨認識装置10B(図示せず)は、読取対象物99が通過位置P13に到達する前に、再度S325で、照明制御部cl4によって、LED23(照明)の明るさを変更する。これにより、S310で、硬貨認識装置10B(図示せず)は、撮像画像I232(図15参照)のように読取対象物99の部分の明るさ(平均輝度値)が適正な撮像画像を取得することができる。 It is assumed that in the process of S325, the brightness of the LED 23 (illumination) is made too dark (too much lowered). In this case, in S310, the camera unit 15 of the coin recognition device 10B (not shown) detects that the brightness (average brightness value) of the reading target 99 is too dark, as in the captured image I222 (see FIG. 14). Obtain a captured image. Note that since the brightness (average luminance value) of the captured image I222 (see FIG. 14) is too dark, there is a possibility that the determination unit cl1 cannot detect the position of the object to be read 99. However, since the passing position of the reading target 99 can be estimated from the previous captured image (the captured image before changing the brightness of the LED 23 (illumination)), the determination unit cl1 places the reading target 99 at the estimated passing position. It is possible to check the brightness (average brightness value) of the part of the object to be read 99 by assuming that the brightness has been reached. Then, before the reading object 99 reaches the passing position P13, the coin recognition device 10B (not shown) changes the brightness of the LED 23 (illumination) again in S325 using the illumination control unit cl4. As a result, in S310, the coin recognition device 10B (not shown) acquires a captured image in which the brightness (average brightness value) of the part of the reading target 99 is appropriate, like the captured image I232 (see FIG. 15). be able to.

一方、S320の判定で、読取対象物99の部分の明るさ(平均輝度値)が適正であると判定された場合(“Yes”の場合)に、硬貨認識装置10B(図示せず)の判別部cl1は、判別用撮像画像I233(図15参照)に基づいて、読取対象物99の外形を検出する。そして、硬貨認識装置10の判別部cl1は、判別用撮像画像I233(図15参照)の読取対象物99の内側部分に基づいて、読取対象物99としての硬貨の種類を判別する(S330)。判別用撮像画像I233は、読取対象物99が最適位置である通過位置P13を通過するタイミングで取得された通常サイズ画像である。S330では、硬貨認識装置10B(図示せず)は、照明(LED23)の明るさを変化させることなく連続して通常サイズ画像を撮像し、その中から、通過位置P13を通過するタイミングで取得された画像を、判別用撮像画像I233として用いる。S330の処理は、例えば図6に示す例では、S155からS165までの処理に相当する。 On the other hand, if it is determined in S320 that the brightness (average brightness value) of the reading target 99 is appropriate (in the case of "Yes"), the coin recognition device 10B (not shown) The section cl1 detects the outer shape of the object to be read 99 based on the discrimination captured image I233 (see FIG. 15). Then, the determination unit cl1 of the coin recognition device 10 determines the type of coin as the object to be read 99 based on the inner part of the object to be read 99 in the captured image for determination I233 (see FIG. 15) (S330). The discrimination captured image I233 is a normal size image acquired at the timing when the object to be read 99 passes through the passage position P13, which is the optimum position. In S330, the coin recognition device 10B (not shown) continuously captures normal size images without changing the brightness of the illumination (LED 23), and from among them, the coin recognition device 10B (not shown) captures normal size images at the timing of passing the passing position P13. The captured image is used as the discrimination captured image I233. The process in S330 corresponds to the processes in S155 to S165 in the example shown in FIG. 6, for example.

本実施形態3における硬貨認識装置10B(図示せず)は、読取対象物99が通過位置P13に到達する前までに、LED23(照明)の明るさを読取対象物99としての硬貨の種類判別に最適な明るさに調整することができる。そのため、硬貨認識装置10B(図示せず)は、判別用撮像画像I233(図15参照)のような通常サイズ画像を取得することができる。判別用撮像画像I233(図15参照)のような通常サイズ画像は、読取対象物99の反射率の影響を受けない画像であり、読取対象物99としての硬貨の種類判別に最適な画像である。 The coin recognition device 10B (not shown) in the third embodiment uses the brightness of the LED 23 (illumination) to determine the type of coin as the reading object 99 before the reading object 99 reaches the passing position P13. Can be adjusted to the optimal brightness. Therefore, the coin recognition device 10B (not shown) can acquire a normal size image such as the discrimination image I233 (see FIG. 15). A normal size image such as the discrimination captured image I233 (see FIG. 15) is an image that is not affected by the reflectance of the object to be read 99, and is an optimal image for determining the type of coin as the object to be read 99. .

このような本実施形態3における硬貨認識装置10B(図示せず)は、LED23(照明)を比較的明るくした状態で取得された撮像画像に基づいて最適な明るさに調節することで、読取対象物99の経年変化等による劣化による反射率の変化や読取対象物99の素材の違いによる反射率の変化による影響を低減することができる。そのため、硬貨認識装置10B(図示せず)は、読取対象物99の位置の検知(監視)や読取対象物99の種類の判別を良好に行うことができる。 The coin recognition device 10B (not shown) according to the third embodiment adjusts the brightness to the optimum brightness based on the captured image obtained with the LED 23 (illumination) relatively bright. It is possible to reduce the influence of changes in reflectance due to deterioration of the object 99 due to aging or the like or changes in reflectance due to differences in the material of the object 99 to be read. Therefore, the coin recognition device 10B (not shown) can detect (monitor) the position of the object to be read 99 and discriminate the type of the object to be read 99 with good performance.

本実施形態3では、硬貨認識装置10B(図示せず)は、最初にLED23(照明)を明るく点灯(発光)させた状態で読取対象物99の明るさ(反射率)を演算している。しかしながら、LED23(照明)を明るく点灯(発光)させた状態で撮像画像を取得した場合に、明る過ぎる撮像画像が取得されることで、撮像画像の明るさ(平均輝度値)が飽和するため、LED23(照明)を暗くして撮像画像を再度取得する。このような撮像画像を再度取得する処理を排除するために、硬貨認識装置10B(図示せず)は、図17A及び図17Bに示すようにリング状に配置されたLED23(照明)の一部分を点灯させたり消灯させたりする。図17Aは、読取対象物99の搬送方向に対して左側のLED23(照明)を全て発光させ、右側のLED23(照明)を全て消灯させた状態を示している。図17Bは、読取対象物99の搬送方向に対して左側のLED23(照明)を全て発光させるとともに、右側のLED23(照明)を中央付近から右端部に進むにつれて明るさ(発光量)を落とした状態を示している。このような硬貨認識装置10B(図示せず)は、図18に示すようなグラデーション状の撮像画像I242を取得することができる。硬貨認識装置10B(図示せず)は、グラデーション画像の事前に演算しておいたLED23(照明)と読取対象物99の通過位置における光の減衰率との関係により、読取対象物99が最適位置である通過位置P13で取得された撮像画像I242が最適な明るさになるように、LED23(照明)の各部位の明るさ(発光量)を算出することも可能である。 In the third embodiment, the coin recognition device 10B (not shown) first calculates the brightness (reflectance) of the object to be read 99 with the LED 23 (illumination) brightly lit (emitting light). However, when a captured image is acquired with the LED 23 (illumination) brightly lit (emitting light), the brightness (average brightness value) of the captured image becomes saturated due to the acquired image being too bright. The LED 23 (illumination) is dimmed and the captured image is acquired again. In order to eliminate the process of re-acquiring such a captured image, the coin recognition device 10B (not shown) turns on a part of the LED 23 (illumination) arranged in a ring shape as shown in FIGS. 17A and 17B. turn it on or turn it off. FIG. 17A shows a state in which all the LEDs 23 (illuminations) on the left side with respect to the conveying direction of the object to be read 99 are emitted, and all the LEDs 23 (illuminations) on the right side are turned off. In FIG. 17B, all the LEDs 23 (illumination) on the left side are emitted with respect to the conveyance direction of the object to be read 99, and the brightness (amount of light emitted) of the LED 23 (illumination) on the right side is decreased as it progresses from near the center to the right end. Indicates the condition. Such a coin recognition device 10B (not shown) can acquire a gradation-like captured image I242 as shown in FIG. 18. The coin recognition device 10B (not shown) determines whether the object to be read 99 is at the optimum position based on the relationship between the LED 23 (illumination) calculated in advance of the gradation image and the attenuation rate of light at the position where the object to be read 99 passes. It is also possible to calculate the brightness (amount of light emitted) of each part of the LED 23 (illumination) so that the captured image I242 acquired at the passing position P13 has the optimum brightness.

以上の通り、本実施形態3に係る硬貨認識装置10B(図示せず)によれば、他の実施形態に係る硬貨認識装置10,10Aと同様に、撮像画像を利用することで、装置構成の簡略化を実現するとともに、ゴミ等の異物の誤検知を抑制することができる。
しかも、本実施形態3に係る硬貨認識装置10B(図示せず)によれば、LED23(照明)の各部位の明るさ(発光量)を変化させることができる。そのため、他の実施形態に係る硬貨認識装置10,10Aに比べて、読取対象物99が劣化している場合であっても、カメラ部15の撮像エリア(ガラス32の配置エリア)への読取対象物99の到来検知や読取対象物99の種類判別を良好に行うことができる。
As described above, according to the coin recognition device 10B (not shown) according to the third embodiment, like the coin recognition devices 10 and 10A according to other embodiments, the device configuration can be changed by using the captured image. It is possible to achieve simplification and to suppress false detection of foreign objects such as dust.
Moreover, according to the coin recognition device 10B (not shown) according to the third embodiment, the brightness (amount of light emitted) of each part of the LED 23 (illumination) can be changed. Therefore, compared to the coin recognition devices 10 and 10A according to other embodiments, even if the reading object 99 is deteriorated, the reading object in the imaging area of the camera unit 15 (the area where the glass 32 is arranged) is The arrival of the object 99 can be detected and the type of the object 99 to be read can be determined effectively.

[実施形態4]
本実施形態4は、判別部cl1で搬送ベルト12の劣化を判別することができる硬貨認識装置10C(図示せず)を提供する。本実施形態4に係る硬貨認識装置10C(図示せず)は、実施形態1に係る硬貨認識装置10(図2及び図3参照)と同じ構成のものであり、動作のみが異なっている。
[Embodiment 4]
Embodiment 4 provides a coin recognition device 10C (not shown) that can determine deterioration of the conveyor belt 12 using a determination unit cl1. A coin recognition device 10C (not shown) according to the fourth embodiment has the same configuration as the coin recognition device 10 according to the first embodiment (see FIGS. 2 and 3), and differs only in operation.

以下、図19を参照して、本実施形態4に係る硬貨認識装置10C(図示せず)の動作について説明する。図19は、本実施形態4に係る硬貨認識装置10C(図示せず)の動作を示すフローチャートである。 Hereinafter, with reference to FIG. 19, the operation of the coin recognition device 10C (not shown) according to the fourth embodiment will be described. FIG. 19 is a flowchart showing the operation of the coin recognition device 10C (not shown) according to the fourth embodiment.

図19に示すように、本実施形態4に係る硬貨認識装置10C(図示せず)の処理は、実施形態1に係る硬貨認識装置10の処理(図6参照)と比較すると、S105の処理とS110の処理の間でS405からS420の処理を行う点、S115の後にS435の処理を行う点、S160の後にS445の処理を行う点で相違している。 As shown in FIG. 19, the processing of the coin recognition device 10C (not shown) according to the fourth embodiment is different from the processing of S105 when compared with the processing of the coin recognition device 10 according to the first embodiment (see FIG. 6). The difference is that the process from S405 to S420 is performed during the process of S110, the process of S435 is performed after S115, and the process of S445 is performed after S160.

具体的には、本実施形態4に係る硬貨認識装置10C(図示せず)の制御部clは、S105の後に、搬送ベルト12を走行させる(S405)。同時に、硬貨認識装置10C(図示せず)のカメラ部15は、イメージセンサ21で搬送路11及び搬送ベルト12を連続して撮像する。その際に、硬貨認識装置10の画像処理部cl2は、撮像された画像を縮小画像に変換することで、ベルト画像(現状ベルト撮像画像I21,I22等)を連続して取得し(S410)、取得された縮小画像を記憶部29に記憶する。この後、硬貨認識装置10C(図示せず)の判別部cl1は、取得された各ベルト画像の平均輝度値(明るさ)を演算し(S415)、搬送ベルト12の劣化の有無を判別する(S420)。搬送ベルト12の劣化個所は、予め定められた上限閾値を超える明るさを有している。硬貨認識装置10C(図示せず)の判別部cl1は、搬送ベルト12の全周分の連続したベルト画像に対して、このような予め定めた上限閾値を超える明るさを有する個所の有無を判別することで、搬送ベルト12の劣化の有無を判別することができる。 Specifically, the control unit cl of the coin recognition device 10C (not shown) according to the fourth embodiment causes the conveyor belt 12 to travel after S105 (S405). At the same time, the camera unit 15 of the coin recognition device 10C (not shown) continuously images the conveyance path 11 and the conveyance belt 12 using the image sensor 21. At that time, the image processing unit cl2 of the coin recognition device 10 continuously acquires belt images (current belt captured images I21, I22, etc.) by converting the captured images into reduced images (S410), The acquired reduced image is stored in the storage unit 29. Thereafter, the determination unit cl1 of the coin recognition device 10C (not shown) calculates the average luminance value (brightness) of each acquired belt image (S415), and determines whether the conveyor belt 12 has deteriorated ( S420). A deteriorated portion of the conveyor belt 12 has a brightness exceeding a predetermined upper limit threshold. The determination unit cl1 of the coin recognition device 10C (not shown) determines whether or not there is a part having a brightness exceeding a predetermined upper threshold in continuous belt images for the entire circumference of the conveyor belt 12. By doing so, it is possible to determine whether or not the conveyor belt 12 has deteriorated.

また、本実施形態4に係る硬貨認識装置10C(図示せず)の画像処理部cl2は、S115の後に、連続したベルト画像(現状ベルト撮像画像I21,I22等(図8及び図9参照))から補正用画像(事前ベルト撮像画像I20(図8及び図9参照)))の平均輝度値分の輝度を差し引くことで、輝度値の差し引き処理を行う(S435)。これにより、硬貨認識装置10C(図示せず)は、背景の中の搬送ベルト12が映っている部分の平均輝度値(明るさ)を低下させた差分画像(差分画像I21a,I22a等(図8及び図9参照))を連続して取得する。 Further, after S115, the image processing unit cl2 of the coin recognition device 10C (not shown) according to the fourth embodiment generates continuous belt images (current belt captured images I21, I22, etc. (see FIGS. 8 and 9)). A brightness value subtraction process is performed by subtracting the brightness equivalent to the average brightness value of the correction image (pre-belt captured image I20 (see FIGS. 8 and 9)) from the image (S435). As a result, the coin recognition device 10C (not shown) generates difference images (difference images I21a, I22a, etc. (Fig. 8 and (see FIG. 9)) are obtained continuously.

また、本実施形態4に係る硬貨認識装置10C(図示せず)の画像処理部cl2は、S160の後に、連続したベルト画像(判別用撮像画像I23等(図10参照))から補正用画像(事前ベルト撮像画像I20a(図10参照)))の平均輝度値分の輝度を差し引くことで、輝度値の差し引き処理を行う(S445)。これにより、硬貨認識装置10C(図示せず)は、背景の中の搬送ベルト12が映っている部分の平均輝度値(明るさ)を低下させた差分画像(差分画像I23a等(図10参照))を連続して取得する。 Further, after S160, the image processing unit cl2 of the coin recognition device 10C (not shown) according to the fourth embodiment converts the correction image ( A brightness value subtraction process is performed by subtracting the brightness corresponding to the average brightness value of the pre-belt captured image I20a (see FIG. 10)) (S445). As a result, the coin recognition device 10C (not shown) generates a difference image (such as a difference image I23a (see FIG. 10)) in which the average luminance value (brightness) of a portion of the background in which the conveyor belt 12 is shown is lowered. ) are obtained consecutively.

S445の後、硬貨認識装置10C(図示せず)は、S165で、連続した差分画像(差分画像I23a等(図10参照))の中から、読取対象物99としての硬貨の先端部分に相当する大きさと外形を有する部位を検知する。 After S445, in S165, the coin recognition device 10C (not shown) selects the leading edge of the coin as the object to be read 99 from among the continuous difference images (such as the difference image I23a (see FIG. 10)). Detects parts with size and outline.

このような本実施形態4に係る硬貨認識装置10C(図示せず)によれば、他の実施形態に係る硬貨認識装置10,10A,10Bと同様に、撮像画像を利用することで、装置構成の簡略化を実現するとともに、ゴミ等の異物の誤検知を抑制することができる。
しかも、本実施形態4に係る硬貨認識装置10C(図示せず)によれば、LED23(照明)の各部位の明るさ(発光量)を変化させることができる。そのため、他の実施形態に係る硬貨認識装置10,10A,10Bに比べて、判別部cl1で搬送ベルト12の劣化を判別することができる。
According to the coin recognition device 10C (not shown) according to the fourth embodiment, like the coin recognition devices 10, 10A, and 10B according to other embodiments, the device configuration can be adjusted by using the captured image. In addition to simplifying the process, it is possible to suppress false detection of foreign objects such as dust.
Moreover, according to the coin recognition device 10C (not shown) according to the fourth embodiment, the brightness (amount of light emitted) of each part of the LED 23 (illumination) can be changed. Therefore, compared to the coin recognition devices 10, 10A, and 10B according to other embodiments, the determination unit cl1 can determine the deterioration of the conveyor belt 12.

[実施形態5]
本実施形態5は、前記した実施形態3に係る硬貨認識装置10B(図示せず)と同様に、読取対象物99が劣化している場合であっても、カメラ部15の撮像エリア(ガラス32の配置エリア)への読取対象物99の到来検知や読取対象物99の種類判別を良好に行うことができる硬貨認識装置10D(図示せず)を提供する。本実施形態5に係る硬貨認識装置10D(図示せず)は、実施形態1に係る硬貨認識装置10(図2及び図3参照)と同じ構成のものであり、動作のみが異なっている。
[Embodiment 5]
In the fifth embodiment, similarly to the coin recognition device 10B (not shown) according to the third embodiment, even when the reading object 99 is deteriorated, the imaging area of the camera unit 15 (the glass 32 Provided is a coin recognition device 10D (not shown) that can effectively detect the arrival of an object 99 to be read and determine the type of the object 99 (arrangement area). A coin recognition device 10D (not shown) according to the fifth embodiment has the same configuration as the coin recognition device 10 (see FIGS. 2 and 3) according to the first embodiment, and differs only in operation.

以下、図20を参照して、本実施形態5に係る硬貨認識装置10D(図示せず)の動作について説明する。図20は、本実施形態5に係る硬貨認識装置10D(図示せず)の動作を示すフローチャートである。 The operation of the coin recognition device 10D (not shown) according to the fifth embodiment will be described below with reference to FIG. 20. FIG. 20 is a flowchart showing the operation of the coin recognition device 10D (not shown) according to the fifth embodiment.

図20に示すように、本実施形態5に係る硬貨認識装置10D(図示せず)の処理は、実施形態1に係る硬貨認識装置10の処理(図6参照)と比較すると、S120の判定で、連続した縮小画像の中に、予め定められた閾値以上の平均輝度値(明るさ)を有する予め定められたサイズ以上の物体があると判定された場合(“Yes”)に、S505とS510の処理を行う点、S160の後にS520の処理を行う点で相違している。 As shown in FIG. 20, the processing of the coin recognition device 10D (not shown) according to the fifth embodiment is different from the processing of the coin recognition device 10 according to the first embodiment (see FIG. 6) in the determination in S120. , if it is determined that there is an object of a predetermined size or more with an average luminance value (brightness) of a predetermined threshold value or more in the continuous reduced images (“Yes”), S505 and S510 are performed. The difference is that the process of S520 is performed after S160.

具体的には、本実施形態5に係る硬貨認識装置10D(図示せず)の判別部cl1は、S120の判定で、連続した縮小画像の中に、予め定められた閾値以上の平均輝度値(明るさ)を有する予め定められたサイズ以上の物体があると判定された場合(“Yes”)に、物体が映る部分の最大輝度値を演算する(S505)。物体が映る部分の最大輝度値は、読取対象物99の反射率の変化に応じて変化する。読取対象物99の反射率は、例えば読取対象物99の素材が劣化したり読取対象物99に傷が付いたりすることで、低下する。そこで硬貨認識装置10D(図示せず)の輝度値調整部cl3は、物体が映る部分の最大輝度値が予め定められた下限値から上限値の範囲内に入るように、撮像画像の平均輝度値(明るさ)の調整を行う(S510)。 Specifically, in the determination in S120, the determination unit cl1 of the coin recognition device 10D (not shown) according to the fifth embodiment determines whether an average luminance value ( If it is determined that there is an object of a predetermined size or larger (“Yes”), the maximum brightness value of the portion where the object is reflected is calculated (S505). The maximum brightness value of the portion where the object is reflected changes according to changes in the reflectance of the object to be read 99. The reflectance of the object to be read 99 decreases, for example, if the material of the object to be read 99 deteriorates or if the object to be read 99 is scratched. Therefore, the brightness value adjustment unit cl3 of the coin recognition device 10D (not shown) adjusts the average brightness value of the captured image so that the maximum brightness value of the part where the object is reflected falls within a predetermined range from the lower limit value to the upper limit value. (Brightness) is adjusted (S510).

また、本実施形態5に係る硬貨認識装置10D(図示せず))の輝度値調整部cl3は、S160の後に、撮像画像の平均輝度値(明るさ)の調整を行う(S520)。 Further, the brightness value adjustment unit cl3 of the coin recognition device 10D (not shown) according to the fifth embodiment adjusts the average brightness value (brightness) of the captured image after S160 (S520).

このような本実施形態5に係る硬貨認識装置10D(図示せず)によれば、他の実施形態に係る硬貨認識装置10,10A,10B,10Cと同様に、撮像画像を利用することで、装置構成の簡略化を実現するとともに、ゴミ等の異物の誤検知を抑制することができる。
しかも、本実施形態5に係る硬貨認識装置10D(図示せず)によれば、実施形態3に係る硬貨認識装置10B(図示せず)と同様に、読取対象物99が劣化している場合であっても、カメラ部15の撮像エリア(ガラス32の配置エリア)への読取対象物99の到来検知や読取対象物99の種類判別を良好に行うことができる。
According to the coin recognition device 10D (not shown) according to the fifth embodiment, like the coin recognition devices 10, 10A, 10B, and 10C according to the other embodiments, by using the captured image, It is possible to simplify the device configuration and suppress false detection of foreign objects such as dust.
Moreover, according to the coin recognition device 10D (not shown) according to the fifth embodiment, similarly to the coin recognition device 10B (not shown) according to the third embodiment, even when the object to be read 99 is deteriorated, Even if there is, it is possible to detect the arrival of the object to be read 99 to the imaging area of the camera unit 15 (the area where the glass 32 is arranged) and to discriminate the type of the object to be read 99.

なお、本発明は、前記した実施形態に限定されるものではなく、本発明の要旨を逸脱しない範囲で種々の変更や変形を行うことができる。 Note that the present invention is not limited to the embodiments described above, and various changes and modifications can be made without departing from the gist of the present invention.

例えば、前記した実施形態は、本発明の要旨を分かり易く説明するために詳細に説明したものである。そのため、本発明は、必ずしも説明した全ての構成要素を備えるものに限定されるものではない。また、本発明は、ある構成要素に他の構成要素を追加したり、一部の構成要素を他の構成要素に変更したりすることができる。また、本発明は、一部の構成要素を削除することもできる。 For example, the embodiments described above have been described in detail in order to explain the gist of the present invention in an easy-to-understand manner. Therefore, the present invention is not necessarily limited to having all the components described. Further, in the present invention, other components can be added to certain components, or some components can be changed to other components. Further, in the present invention, some components can also be deleted.

また、例えば、本発明は、硬貨を取り扱う硬貨取扱装置であれば、ATM(現金自動預け払い機)だけでなく、金融機関や流通機関で用いられている硬貨自動入出金機、現金処理機、交通機関や流通機関で用いられている券売機、流通機関で用いられているキャッシュレジスター、自動販売機、その他の装置に利用することができる。 For example, the present invention is applicable to coin handling devices that handle coins, including not only ATMs (automated teller machines) but also automatic coin deposit and withdrawal machines, cash processing machines, etc. used in financial institutions and distribution institutions. It can be used in ticket vending machines used in transportation and distribution institutions, cash registers used in distribution institutions, vending machines, and other devices.

例えば、前記した本実施形態2では、硬貨認識装置10A(図示せず)は、事前に搬送ベルト12の補正用画像(事前ベルト撮像画像I20,I20a)を準備している。そして、硬貨認識装置10A(図示せず)は、到来検知用撮像画像(現状ベルト撮像画像I21,I22)との差分画像I21a,I22aや判別用撮像画像(判別用撮像画像I23)との差分画像I23aを取得することで、搬送ベルト12の影響を回避した。しかしながら、硬貨認識装置10A(図示せず)は、到来検知用撮像画像(現状ベルト撮像画像I21,I22)の全体や判別用撮像画像(判別用撮像画像I23)の全体から、単純に搬送ベルト12の平均輝度値(明るさ)を演算して、演算された平均輝度値分の明るさを一律に引くようにしてもよい。つまり、硬貨認識装置10A(図示せず)は、搬送ベルト12の影響を受けない程度に、到来検知用撮像画像(現状ベルト撮像画像I21,I22)の全体や判別用撮像画像(判別用撮像画像I23)の全体の平均輝度値から、各画像の中の一番明るい部分の平均輝度値分を一律に引くことで、搬送ベルト12を消す調整を行うことができる。このような画像処理は、搬送ベルト12がバラついてしまって上手く差分が取れない場合に、有効である。 For example, in the second embodiment described above, the coin recognition device 10A (not shown) prepares correction images of the conveyor belt 12 (pre-belt captured images I20, I20a) in advance. Then, the coin recognition device 10A (not shown) generates difference images I21a and I22a between the captured images for arrival detection (current belt captured images I21 and I22) and differential images between the captured image for discrimination (captured image for discrimination I23). By acquiring I23a, the influence of the conveyor belt 12 was avoided. However, the coin recognition device 10A (not shown) simply recognizes the transport belt 12 from the entire captured image for arrival detection (the current belt captured images I21, I22) and the entire captured image for discrimination (the captured image I23 for discrimination). The average luminance value (brightness) may be calculated, and the brightness equal to the calculated average luminance value may be uniformly subtracted. In other words, the coin recognition device 10A (not shown) can capture the entire captured image for arrival detection (current belt captured images I21, I22) and the captured image for discrimination (captured image for discrimination) to the extent that it is not affected by the conveyor belt 12. By uniformly subtracting the average brightness value of the brightest part in each image from the overall average brightness value of I23), it is possible to perform an adjustment to erase the conveyor belt 12. Such image processing is effective when the conveyance belt 12 is uneven and the difference cannot be properly determined.

例えば、前記した本実施形態3では、硬貨認識装置10B(図示せず)は、LED23(照明)の明るさ(発光量)を変化させて、撮像画像の明るさ(平均輝度値)を最適な明るさに調整している。しかしながら、硬貨認識装置10B(図示せず)は、イメージセンサ21のシャッタ速度や図示せぬアンプのゲイン等を調整して、最適な明るさ(平均輝度値)の撮像画像を取得するようにしてもよい。シャッタ速度は露光時間に関連する。シャッタ速度が速ければ暗くなり、遅くすれば明るくなる。ただし、シャッタ速度を遅くし過ぎると、画像が流れる(ぶれる)現象が発生する。図示せぬアンプのゲインはアナログで入ってきた信号を増幅する際に利用する。多少暗い画像であっても、図示せぬアンプのゲインを増幅することで明るくすることができる。 For example, in the third embodiment described above, the coin recognition device 10B (not shown) changes the brightness (light emission amount) of the LED 23 (illumination) to optimize the brightness (average brightness value) of the captured image. Adjusting the brightness. However, the coin recognition device 10B (not shown) adjusts the shutter speed of the image sensor 21, the gain of an amplifier (not shown), etc. to obtain a captured image with optimal brightness (average brightness value). Good too. Shutter speed is related to exposure time. The faster the shutter speed, the darker the image; the slower the shutter speed, the brighter the image. However, if the shutter speed is too slow, the image will blur. The gain of an amplifier (not shown) is used to amplify the analog input signal. Even if the image is somewhat dark, it can be made brighter by amplifying the gain of an amplifier (not shown).

1 ATM(硬貨取扱装置)
2 媒体取扱部
2a カード挿入排出口
2b レシート排出口
3 表示操作部
4 通帳挿入排出口
5 紙幣入出金部
6 硬貨入出金部(入金部)
10 硬貨認識装置
11 搬送路(通路)
12 搬送ベルト
13 プーリー
14 ゲート
15 カメラ部(画像読取装置)
21 イメージセンサ(2次元センサ)
22 レンズ
23 LED(照明)
29 記憶部
31 筐体
32 ガラス
99 読取対象物
cl 制御部
cl1 判別部(検知部)
cl2 画像処理部
cl3 輝度値調整部
cl4 照明制御部
I11,I12,I211,I212,I221,I222,I231,I232,I242 撮像画像(縮小画像)
I13,I23,I213,I223,I233 判別用撮像画像(通常サイズ画像)
I20,I20a 事前ベルト撮像画像(縮小画像)
I21,I22 現状ベルト撮像画像(縮小画像)
I21a,I22a 差分画像(縮小画像)
I23a 差分画像(通常サイズ画像)
P11,P12,P13 通過位置
1 ATM (coin handling device)
2 Media handling section 2a Card insertion/ejection port 2b Receipt ejection port 3 Display/operation section 4 Bankbook insertion/ejection port 5 Bill deposit/withdrawal section 6 Coin deposit/withdrawal section (deposit section)
10 Coin recognition device 11 Conveyance path (passage)
12 Conveyor belt 13 Pulley 14 Gate 15 Camera section (image reading device)
21 Image sensor (two-dimensional sensor)
22 Lens 23 LED (Lighting)
29 Storage unit 31 Housing 32 Glass 99 Reading target cl Control unit cl1 Discrimination unit (detection unit)
cl2 Image processing section cl3 Brightness value adjustment section cl4 Illumination control section I11, I12, I211, I212, I221, I222, I231, I232, I242 Captured image (reduced image)
I13, I23, I213, I223, I233 Captured image for discrimination (normal size image)
I20, I20a Pre-belt captured image (reduced image)
I21, I22 Current belt captured image (reduced image)
I21a, I22a difference image (reduced image)
I23a difference image (normal size image)
P11, P12, P13 passing position

Claims (8)

読取対象物が通る通路と、
前記読取対象物を搬送するための搬送ベルトと、
前記通路及び前記通路を通る前記読取対象物を撮像する2次元センサと、
画像に対して任意の処理を行う画像処理部と、
前記読取対象物の種類を判別する判別部と、
前記2次元センサによって事前に撮像された前記搬送ベルトが映っている事前ベルト撮像画像を予め記憶する記憶部と、を備え、
前記2次元センサは、任意のタイミングで前記搬送ベルトを連続して撮像して、現状の前記搬送ベルトが映っている現状ベルト撮像画像を連続して取得し、
前記画像処理部は、連続した前記現状ベルト撮像画像と前記事前ベルト撮像画像との差分をとることで、背景から前記搬送ベルトを排除した差分画像を連続して取得し、
前記判別部は、前記読取対象物として用いられる硬貨の中心よりも搬送方向の前側部分を先端部分とし、連続した前記差分画像の中から、前記硬貨の先端部分に相当する大きさと外形を有する部位を検知する
ことを特徴とする硬貨認識装置。
A passage through which the object to be read passes;
a conveyor belt for conveying the object to be read;
a two-dimensional sensor that images the passage and the object to be read passing through the passage;
an image processing unit that performs arbitrary processing on the image;
a determining unit that determines the type of the object to be read;
a storage unit that stores in advance a belt image captured in advance by the two-dimensional sensor and showing the conveyor belt;
The two-dimensional sensor continuously images the conveyor belt at arbitrary timing, and continuously obtains current belt captured images showing the current conveyor belt,
The image processing unit continuously obtains difference images in which the conveyor belt is excluded from the background by taking a difference between the continuous current belt captured images and the preliminary belt captured images,
The discriminating unit has a tip portion that is a front portion of the coin used as the object to be read in the transport direction relative to the center thereof, and selects a portion having a size and outer shape corresponding to the tip portion of the coin from among the continuous difference images. A coin recognition device characterized by detecting.
読取対象物が通る通路と、
前記読取対象物を搬送するための搬送ベルトと、
前記通路及び前記通路を通る前記読取対象物を撮像する2次元センサと、
画像に対して任意の処理を行う画像処理部と、
前記読取対象物の種類を判別する判別部と、
前記2次元センサによって事前に撮像された前記搬送ベルトが映っている事前ベルト撮像画像を予め記憶する記憶部と、を備え、
前記2次元センサは、任意のタイミングで前記搬送ベルトを連続して撮像して、現状の前記搬送ベルトが映っている現状ベルト撮像画像を連続して取得し、
前記画像処理部は、連続した前記現状ベルト撮像画像から前記事前ベルト撮像画像の平均輝度値分の輝度を差し引くことで、背景の中の前記搬送ベルトが映っている部分の平均輝度値を低下させた差分画像を連続して取得し、
前記判別部は、前記読取対象物として用いられる硬貨の中心よりも搬送方向の前側部分を先端部分とし、連続した前記差分画像の中から、前記硬貨の先端部分に相当する大きさと外形を有する部位を検知する
ことを特徴とする硬貨認識装置。
A passage through which the object to be read passes;
a conveyor belt for conveying the object to be read;
a two-dimensional sensor that images the passage and the object to be read passing through the passage;
an image processing unit that performs arbitrary processing on the image;
a determining unit that determines the type of the object to be read;
a storage unit that stores in advance a belt image captured in advance by the two-dimensional sensor and showing the conveyor belt;
The two-dimensional sensor continuously images the conveyor belt at arbitrary timing, and continuously obtains current belt captured images showing the current conveyor belt,
The image processing unit reduces the average brightness value of a portion of the background in which the conveyor belt is shown by subtracting the brightness equivalent to the average brightness value of the preliminary belt captured images from the continuous current belt captured images. Continuously acquire the difference images,
The discriminating unit has a tip portion that is a front portion of the coin used as the object to be read in the transport direction relative to the center thereof, and selects a portion having a size and outer shape corresponding to the tip portion of the coin from among the continuous difference images. A coin recognition device characterized by detecting.
請求項2に記載の硬貨認識装置において、
前記判別部は、連続した前記現状ベルト撮像画像の平均輝度値と前記事前ベルト撮像画像の平均輝度値との差分を算出することで前記搬送ベルトの劣化を検知する
ことを特徴とする硬貨認識装置。
The coin recognition device according to claim 2,
The coin recognition is characterized in that the discrimination unit detects deterioration of the conveyor belt by calculating a difference between an average brightness value of the continuous current belt images and an average brightness value of the preliminary belt images. Device.
請求項1乃至請求項3のいずれか一項に記載の硬貨認識装置において、
連続した前記現状ベルト撮像画像と前記事前ベルト撮像画像は、前記2次元センサで撮像された撮像画像のサイズである通常サイズよりもデータ量の少ない縮小画像である
ことを特徴とする硬貨認識装置。
The coin recognition device according to any one of claims 1 to 3,
The coin recognition device is characterized in that the continuous current belt image and the preliminary belt image are reduced images with a smaller amount of data than a normal size that is the size of the image captured by the two-dimensional sensor. .
請求項4に記載の硬貨認識装置において、
連続した前記現状ベルト撮像画像と前記事前ベルト撮像画像から取得される連続した前記差分画像は、前記縮小画像となっており、
前記判別部は、前記縮小画像である連続した前記差分画像の中から予め定められた閾値以上の輝度値を有する画素部分を検知し、当該検知された画素部分が前記硬貨の先端部分に相当する大きさと外形を有する部位であるか否かを判定する
ことを特徴とする硬貨認識装置。
The coin recognition device according to claim 4,
The continuous difference images obtained from the continuous current belt captured images and the preliminary belt captured images are the reduced images,
The discrimination unit detects a pixel portion having a luminance value equal to or greater than a predetermined threshold value from among the continuous difference images that are the reduced images, and the detected pixel portion corresponds to the tip portion of the coin. A coin recognition device characterized by determining whether or not a part has a size and an external shape.
請求項1乃至請求項5のいずれか一項に記載の硬貨認識装置において、
前記2次元センサで撮像された撮像画像の明るさを調整する輝度値調整部を有し、
前記判別部は、前記撮像画像の中に映る前記読取対象物の明るさが所望の範囲内に入るように、前記輝度値調整部に、前記撮像画像の明るさを調整させる
ことを特徴とする硬貨認識装置。
The coin recognition device according to any one of claims 1 to 5,
comprising a brightness value adjustment unit that adjusts the brightness of the captured image captured by the two-dimensional sensor,
The discrimination unit causes the brightness value adjustment unit to adjust the brightness of the captured image so that the brightness of the object to be read that is reflected in the captured image falls within a desired range. Coin recognition device.
請求項1乃至請求項6のいずれか一項に記載の硬貨認識装置において、
前記2次元センサの上方で前記2次元センサの周囲を囲むようにリング状に配置された照明と、
前記照明を制御する照明制御部と、
前記2次元センサで撮像された撮像画像の明るさを調整する輝度値調整部と、を有し、
前記照明制御部は、前記照明の一部分のみを点灯させ、
前記輝度値調整部は、前記撮像画像の明るさを調整する
ことを特徴とする硬貨認識装置。
The coin recognition device according to any one of claims 1 to 6,
lighting arranged in a ring shape above the two-dimensional sensor to surround the two-dimensional sensor;
a lighting control unit that controls the lighting;
a brightness value adjustment unit that adjusts the brightness of the captured image captured by the two-dimensional sensor,
The lighting control unit turns on only a portion of the lighting,
The coin recognition device, wherein the brightness value adjustment section adjusts the brightness of the captured image.
請求項1乃至請求項のいずれか一項に記載の硬貨認識装置と、
前記読取対象物として用いられる硬貨が投入される入金部と、を備える
ことを特徴とする硬貨取扱装置。
A coin recognition device according to any one of claims 1 to 7 ,
A coin handling device comprising: a deposit unit into which a coin used as the object to be read is inserted.
JP2019137516A 2019-07-26 2019-07-26 Coin recognition device and coin handling device using the coin recognition device Active JP7371380B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019137516A JP7371380B2 (en) 2019-07-26 2019-07-26 Coin recognition device and coin handling device using the coin recognition device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019137516A JP7371380B2 (en) 2019-07-26 2019-07-26 Coin recognition device and coin handling device using the coin recognition device

Publications (2)

Publication Number Publication Date
JP2021022093A JP2021022093A (en) 2021-02-18
JP7371380B2 true JP7371380B2 (en) 2023-10-31

Family

ID=74573785

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019137516A Active JP7371380B2 (en) 2019-07-26 2019-07-26 Coin recognition device and coin handling device using the coin recognition device

Country Status (1)

Country Link
JP (1) JP7371380B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011253463A (en) 2010-06-03 2011-12-15 Glory Ltd Deformed coin discrimination method and coin processor
JP2015060564A (en) 2013-09-20 2015-03-30 グローリー株式会社 Coin identification device and coin identification method
JP2017093654A (en) 2015-11-19 2017-06-01 株式会社ユニバーサルエンターテインメント Game machine
JP2018164758A (en) 2018-07-19 2018-10-25 株式会社ユニバーサルエンターテインメント Game machine and game medium discrimination device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0750039B2 (en) * 1988-06-08 1995-05-31 株式会社四国総合研究所 Conveyor belt damage detector

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011253463A (en) 2010-06-03 2011-12-15 Glory Ltd Deformed coin discrimination method and coin processor
JP2015060564A (en) 2013-09-20 2015-03-30 グローリー株式会社 Coin identification device and coin identification method
JP2017093654A (en) 2015-11-19 2017-06-01 株式会社ユニバーサルエンターテインメント Game machine
JP2018164758A (en) 2018-07-19 2018-10-25 株式会社ユニバーサルエンターテインメント Game machine and game medium discrimination device

Also Published As

Publication number Publication date
JP2021022093A (en) 2021-02-18

Similar Documents

Publication Publication Date Title
US6040584A (en) Method and for system for detecting damaged bills
RU2597505C2 (en) Device and method for processing banknotes
JP2004070874A (en) Coin discriminating method and device
JP2009276951A (en) Coin discrimination device
KR20160007804A (en) Apparatus and method for recognizing media, financial device
JP2004326547A (en) Method and apparatus for identifying sheet of paper
US20060177093A1 (en) Sheet identifying device and method
JP7371380B2 (en) Coin recognition device and coin handling device using the coin recognition device
WO2018142998A1 (en) Image collection device, coin-shaped medium processing device, and image collection method
KR101387858B1 (en) Apparatus for media recognition and method for media access direction estimating with the same
KR100807656B1 (en) A banknote identifying machine and banknote identifying method
US20060263101A1 (en) Sheet identifying device and method
JP2000113269A (en) Paper money discriminating device
KR101385358B1 (en) Apparatus and method for medium recognition, auto teller machine
JP7331519B2 (en) Image reading device, coin recognition device using the image reading device, and coin handling device
TWI739337B (en) Paper discriminating device, white reference data adjustment method, program, and calibration method
JP5976477B2 (en) Character reading device and paper sheet processing device
JPH0944673A (en) Paper sheet discrimination device
JPH07129812A (en) Bill discriminating device
JP7510781B2 (en) Coin Processing Device
JP2004227366A (en) Device and method for identifying coin
CN110956735B (en) Coin discriminating unit
KR101428054B1 (en) Apparatus and method for media image detection, and system with the same
JP5216301B2 (en) Media identification device
JP2013218622A (en) Paper sheet imaging device and paper sheet imaging method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220510

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230307

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230425

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230627

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230809

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: 20230919

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20231002

R150 Certificate of patent or registration of utility model

Ref document number: 7371380

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150