JP7620585B2 - Program, display position determining method, and automated transaction device - Google Patents
Program, display position determining method, and automated transaction device Download PDFInfo
- Publication number
- JP7620585B2 JP7620585B2 JP2022023236A JP2022023236A JP7620585B2 JP 7620585 B2 JP7620585 B2 JP 7620585B2 JP 2022023236 A JP2022023236 A JP 2022023236A JP 2022023236 A JP2022023236 A JP 2022023236A JP 7620585 B2 JP7620585 B2 JP 7620585B2
- Authority
- JP
- Japan
- Prior art keywords
- external light
- area
- medium
- unit
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Character Input (AREA)
- Studio Devices (AREA)
- Image Analysis (AREA)
Description
本発明は、プログラム、表示位置決定方法、及び自動取引装置に関する。 The present invention relates to a program, a display position determination method, and an automated transaction device.
従来、ATM(Automatic Teller Machine)等の自動取引装置は、帳票等の媒体を読み取る手段を備えている(例えば、特許文献1~4参照)。 Conventionally, automated transaction devices such as ATMs (Automatic Teller Machines) are equipped with means for reading media such as slips (see, for example, Patent Documents 1 to 4).
媒体を読み取る手段としてOCR(Optical Character Recognition)ユニットを備えた自動取引装置では、例えば、所定位置に載置された媒体をカメラで撮像して媒体の読み取りを行う。この場合、OCRユニットでは、カメラで撮像した画像に対するイメージ処理により、その画像に表された媒体の領域を検出し、その領域における読取対象文字の領域を特定し、その領域における読取対象文字の認識が行われる。ここで、媒体の領域の検出は、媒体の輪郭を検出することで行われる。媒体の輪郭の検出は、画像に表された媒体と背景とのコントラストと、予め規定されている媒体の形状及びサイズとに基づいて行われる。検出した媒体の領域における読取対象文字の領域の特定は、予め規定されている媒体のレイアウト(フォーマット)に基づいて行われる。 In an automated transaction device equipped with an OCR (Optical Character Recognition) unit as a means for reading media, for example, a camera captures an image of a medium placed in a predetermined position and reads the medium. In this case, the OCR unit detects the area of the medium shown in the image by image processing of the image captured by the camera, identifies the area of the characters to be read in that area, and recognizes the characters to be read in that area. Here, the detection of the area of the medium is performed by detecting the outline of the medium. The detection of the outline of the medium is performed based on the contrast between the medium and the background shown in the image, and on the predefined shape and size of the medium. The identification of the area of the characters to be read in the detected area of the medium is performed based on the predefined layout (format) of the medium.
各種取引画面が表示される表示部の表示面に媒体が載置されて読み取りが行われる自動取引装置では、表示部に表示される画面の光がカメラに入射しないように、表示部の表示面に偏向フィルタが設けられている。これにより、表示部の表示面に載置された媒体をカメラで撮像したときに、黒背景の画像を実現することができ、白地の媒体とのコントラストを確保することができる。 In an automated transaction device where media is placed on the display surface of a display unit that displays various transaction screens and is read, a polarizing filter is provided on the display surface of the display unit to prevent the light of the screen displayed on the display unit from entering the camera. This makes it possible to realize an image with a black background when the media placed on the display surface of the display unit is imaged by the camera, ensuring contrast with the media on a white background.
自動取引装置の設置環境によっては、表示部の表示面に天井灯等の外光が白く映り込んでしまう場合がある。このような場合に、表示部の表示面に媒体が載置されて読み取りが行われると、カメラで撮像した画像に、その外光映り込みも表されてしまい、例えば、その外光映り込みが、画像に表された媒体の輪郭部分と重なってしまうと、画像に表された媒体と背景とのコントラストを確保することができず、媒体の輪郭を検出することができない。その結果、媒体の読み取りができない。 Depending on the installation environment of the automated transaction device, external light from ceiling lights, etc. may be reflected as white on the display surface of the display unit. In such a case, when a medium is placed on the display surface of the display unit and read, the reflection of that external light will also appear in the image captured by the camera. For example, if the reflection of the external light overlaps with the outline of the medium shown in the image, it is not possible to ensure contrast between the medium shown in the image and the background, and the outline of the medium cannot be detected. As a result, the medium cannot be read.
本発明は、上記実情に鑑み、表示部の表示面に媒体が載置されて読み取りが行われる場合に、表示面に天井灯等の外光が白く映り込んでいる場合であっても媒体の読み取りを可能にするプログラム、表示位置決定方法、及び自動取引装置を提供することを目的とする。 In view of the above-mentioned circumstances, the present invention aims to provide a program, a display position determination method, and an automated transaction device that, when a medium is placed on the display surface of a display unit and is being read, enables the medium to be read even when external light from a ceiling light or the like is reflected in white on the display surface.
プログラムの一観点は、読取対象媒体を載置する領域を指定する媒体載置領域を表示する表示部を、前記読取対象媒体の読み取りに使用される撮像部に撮像させ、前記撮像部により撮像された画像に表された外光映り込み領域の輪郭を検出し、前記画像における前記外光映り込み領域の輪郭の位置に基づいて、前記表示部に表示させる前記媒体載置領域の位置を決定する、処理をプロセッサに実行させ、前記撮像部の撮像方向の垂直成分の方向と、映り込まれる前記外光の入射方向の垂直成分の方向とが同一である、ことを特徴とするプログラムである。 One aspect of the program is a program that has a processor execute a process to image a display unit that displays a medium placement area that specifies an area for placing the medium to be read, using an imaging unit used to read the medium to be read, detect the contour of an external light reflection area shown in the image captured by the imaging unit, and determine the position of the medium placement area to be displayed on the display unit based on the position of the contour of the external light reflection area in the image , wherein the direction of the vertical component of the imaging direction of the imaging unit is the same as the direction of the vertical component of the incident direction of the reflected external light .
方法の一観点は、読取対象媒体を載置する領域を指定する媒体載置領域を表示する表示部を、前記読取対象媒体の読み取りに使用される撮像部に撮像させ、前記撮像部により撮像された画像に表された外光映り込み領域の輪郭を検出し、前記画像における前記外光映り込み領域の輪郭の位置に基づいて、前記表示部に表示させる前記媒体載置領域の位置を決定する、ことを自動取引装置が行い、前記撮像部の撮像方向の垂直成分の方向と、映り込まれる前記外光の入射方向の垂直成分の方向とが同一である、ことを特徴とする表示位置決定方法である。 One aspect of the method is a display position determination method in which an automatic transaction device performs the following steps: captures an image of a display unit displaying a medium placement area that specifies the area in which the medium to be read is to be placed, using an imaging unit used to read the medium to be read, detects the contour of an external light reflection area shown in the image captured by the imaging unit, and determines the position of the medium placement area to be displayed on the display unit based on the position of the contour of the external light reflection area in the image; and the direction of the vertical component of the imaging direction of the imaging unit is the same as the direction of the vertical component of the incident direction of the reflected external light .
装置の一観点は、読取対象媒体を載置する領域を指定する媒体載置領域を表示する表示部と、前記読取対象媒体の読み取りに使用される撮像部と、前記撮像部により前記表示部が撮像された画像に表された外光映り込み領域の輪郭を検出する検出部と、前記画像における前記外光映り込み領域の輪郭の位置に基づいて、前記表示部に表示させる前記媒体載置領域の位置を決定する決定部と、を備え、前記撮像部の撮像方向の垂直成分の方向と、映り込まれる前記外光の入射方向の垂直成分の方向とが同一である、ことを特徴とする自動取引装置である。 One aspect of the device is an automatic transaction device comprising a display unit that displays a medium placement area that specifies the area in which the medium to be read is placed, an imaging unit used to read the medium to be read, a detection unit that detects the contour of an external light reflection area shown in an image of the display unit captured by the imaging unit, and a determination unit that determines the position of the medium placement area to be displayed on the display unit based on the position of the contour of the external light reflection area in the image, wherein the direction of the vertical component of the imaging direction of the imaging unit is the same as the direction of the vertical component of the incident direction of the reflected external light .
本発明によれば、表示部の表示面に媒体が載置されて読み取りが行われる場合に、表示面に天井灯等の外光が白く映り込んでいる場合であっても媒体の読み取りが可能になる。 According to the present invention, when a medium is placed on the display surface of the display unit and is read, the medium can be read even if external light from a ceiling light or the like is reflected white on the display surface.
以下、図面を参照しながら本発明の実施の形態について説明する。
図1は、一実施の形態に係る自動取引装置の機能構成を例示する図である。図1に例示した機能構成は、自動取引装置が備える表示位置決定機能に係る構成を示しており、自動取引装置が備える他の機能に係る構成については図示を省略している。表示位置決定機能は、表示部に表示させる媒体載置領域の位置を決定する機能である。媒体載置領域は、読取対象媒体を載置する領域を指定する領域である。読取対象媒体は、例えば、払込書や振込用紙等の帳票である。自動取引装置は、例えばATMであり、銀行等の金融機関に設置される。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram illustrating a functional configuration of an automated transaction device according to one embodiment. The functional configuration illustrated in FIG. 1 shows a configuration related to a display position determination function provided in the automated transaction device, and configurations related to other functions provided in the automated transaction device are not shown. The display position determination function is a function for determining the position of a medium placement area to be displayed on the display unit. The medium placement area is an area that specifies an area in which a medium to be read is placed. The medium to be read is, for example, a document such as a deposit slip or a transfer form. The automated transaction device is, for example, an ATM, and is installed in a financial institution such as a bank.
図1に例示したように、自動取引装置1は、表示部10、撮像部20、検出部30、及び決定部40を備える。 As illustrated in FIG. 1, the automated transaction device 1 includes a display unit 10, an imaging unit 20, a detection unit 30, and a determination unit 40.
表示部10は、読取対象媒体を載置する領域を指定する媒体載置領域を表示する。撮像部20は、読取対象媒体の読み取りに使用される。検出部30は、撮像部20により表示部10が撮像された画像に表された外光映り込み領域の輪郭を検出する。決定部40は、撮像部20により表示部10が撮像された画像における、検出部30により検出された外光映り込み領域の輪郭の位置に基づいて、表示部10に表示させる媒体載置領域の位置を決定する。 The display unit 10 displays a medium placement area that specifies the area where the medium to be read is placed. The imaging unit 20 is used to read the medium to be read. The detection unit 30 detects the contour of the external light reflection area shown in the image of the display unit 10 captured by the imaging unit 20. The determination unit 40 determines the position of the medium placement area to be displayed on the display unit 10 based on the position of the contour of the external light reflection area detected by the detection unit 30 in the image of the display unit 10 captured by the imaging unit 20.
検出部30は、撮像部20により表示部10が撮像された画像の読取可能範囲内に表された外光映り込み領域の輪郭を検出してもよい。 The detection unit 30 may detect the contour of an external light reflection area that is displayed within the readable range of an image captured by the imaging unit 20 on the display unit 10.
決定部40は、撮像部20により表示部10が撮像された画像上に配置し得る、媒体載置領域に対応する領域である対応領域の各位置において、対応領域の輪郭と外光映り込み領域の輪郭との間の最短距離に基づいて評価値を算出し、評価値が最大となる対応領域の位置に対応する表示部10の表示位置を、表示部10に表示させる媒体載置領域の位置として決定してもよい。 The determination unit 40 may calculate an evaluation value based on the shortest distance between the contour of the corresponding area and the contour of the external light reflection area at each position of the corresponding area, which is an area corresponding to the medium placement area and which the display unit 10 may place on the image captured by the imaging unit 20, and determine the display position of the display unit 10 corresponding to the position of the corresponding area with the maximum evaluation value as the position of the medium placement area to be displayed on the display unit 10.
この場合、撮像部20により表示部10が撮像された画像の読取可能範囲内に対応領域の輪郭が含まれない場合の評価値を0としてもよい。また、対応領域の輪郭と外光映り込み領域の輪郭とが重なる場合の最短距離を0としてもよい。 In this case, the evaluation value may be set to 0 when the outline of the corresponding area is not included within the readable range of the image captured by the image capturing unit 20 on the display unit 10. Also, the shortest distance when the outline of the corresponding area and the outline of the external light reflection area overlap may be set to 0.
また、検出部30により検出された外光映り込み領域の輪郭が1つである場合の評価値を、対応領域の輪郭と外光映り込み領域の輪郭との間の最短距離としてもよい。 In addition, when the detection unit 30 detects a single contour of an external light reflection area, the evaluation value may be the shortest distance between the contour of the corresponding area and the contour of the external light reflection area.
また、検出部30により検出された外光映り込み領域の輪郭が複数であって且つ対応領域の輪郭と複数の外光映り込み領域の輪郭の各々との間の最短距離の少なくとも1つが0である場合の評価値を0としてもよい。 In addition, the evaluation value may be set to 0 when there are multiple contours of the external light reflection area detected by the detection unit 30 and at least one of the shortest distances between the contour of the corresponding area and each of the contours of the multiple external light reflection areas is 0.
また、検出部30により検出された外光映り込み領域の輪郭が複数であって且つ対応領域の輪郭と複数の外光映り込み領域の輪郭の各々との間の最短距離の全てが0より大きい場合の評価値を、その最短距離の中の最小値としてもよい。 In addition, when there are multiple contours of the external light reflection area detected by the detection unit 30 and all of the shortest distances between the contour of the corresponding area and each of the contours of the multiple external light reflection areas are greater than 0, the evaluation value may be the minimum value of those shortest distances.
このような自動取引装置1によれば、表示部10の表示面に読取対象媒体が載置されて読み取りが行われる場合に、表示面に天井灯等の外光が白く映り込んでいる場合であっても、媒体の輪郭部分と外光の映り込みとが重ならないようにさせることができるので、媒体の読み取りが可能になる。以下、このような自動取引装置1についてより具体的に説明する。 With this type of automated transaction device 1, when a medium to be read is placed on the display surface of the display unit 10 and read, even if external light from a ceiling light or the like is reflected white on the display surface, it is possible to prevent the outline of the medium from overlapping with the reflection of the external light, making it possible to read the medium. The automated transaction device 1 will be described in more detail below.
図2は、一実施の形態に係る自動取引装置の外観構成を例示する斜視図である。図3は、OCRカメラユニットの撮像範囲を例示する図である。 Figure 2 is a perspective view illustrating the external configuration of an automated transaction device according to one embodiment. Figure 3 is a diagram illustrating the imaging range of the OCR camera unit.
図2に例示したように、自動取引装置1は、OCRカメラユニット101、通帳挿入排出部102、カード挿入排出部103、硬貨入出金部104、紙幣入出金部105、及び表示入力ユニット106を備える。 As shown in FIG. 2, the automated transaction device 1 includes an OCR camera unit 101, a passbook insertion/ejection unit 102, a card insertion/ejection unit 103, a coin deposit/withdrawal unit 104, a banknote deposit/withdrawal unit 105, and a display/input unit 106.
OCRカメラユニット101は、表示入力ユニット106に表示された媒体載置領域に載置された媒体を撮像する。OCRカメラユニット101の撮像範囲(画角)は、図3に例示した撮像範囲101aとなり、少なくとも、表示入力ユニット106に表示され得る媒体載置領域201を含む範囲となる。なお、媒体載置領域201の形状及びサイズは、媒体の形状及びサイズと同一又は略同一である。 The OCR camera unit 101 captures an image of a medium placed in a medium placement area displayed on the display input unit 106. The imaging range (angle of view) of the OCR camera unit 101 is the imaging range 101a illustrated in FIG. 3, which is a range that includes at least the medium placement area 201 that can be displayed on the display input unit 106. The shape and size of the medium placement area 201 are the same or approximately the same as the shape and size of the medium.
通帳挿入排出部102は、通帳の受け付け及び返却を行う。カード挿入排出部103は、取引に使用されるカード(キャッシュカード等)の受け付け及び返却を行う。また、カード挿入排出部103は、取引明細が印刷されたレシートの排出も行う。硬貨入出金部104は、入金硬貨の受け付け及び出金硬貨の排出を行う。紙幣入出金部105は、入金紙幣の受け付け及び出金紙幣の排出を行う。 The passbook insertion and ejection unit 102 accepts and returns passbooks. The card insertion and ejection unit 103 accepts and returns cards (cash cards, etc.) used in transactions. The card insertion and ejection unit 103 also ejects receipts on which transaction details are printed. The coin deposit and ejection unit 104 accepts deposited coins and ejects withdrawn coins. The paper money deposit and ejection unit 105 accepts deposited banknotes and ejects withdrawn banknotes.
表示入力ユニット106は、各種取引画面(媒体読取画面を含む)の表示や、顧客からの操作入力の受け付けを行う。 The display/input unit 106 displays various transaction screens (including the media reading screen) and accepts operational input from the customer.
図4は、一実施の形態に係る自動取引装置のハードウェア構成を例示する図である。図4に例示したように、自動取引装置1は、制御ユニット121、表示入力ユニット106、OCRカメラユニット101、カード処理ユニット122、通帳処理ユニット123、硬貨処理ユニット124、紙幣処理ユニット125、及び電源ユニット(電源盤)126を備える。 Figure 4 is a diagram illustrating the hardware configuration of an automated transaction device according to one embodiment. As illustrated in Figure 4, the automated transaction device 1 includes a control unit 121, a display input unit 106, an OCR camera unit 101, a card processing unit 122, a passbook processing unit 123, a coin processing unit 124, a banknote processing unit 125, and a power supply unit (power supply panel) 126.
制御ユニット121は、プロセッサ131、RAM(Random Access Memory)132、通信インタフェース133、グラフィック処理ユニット134、外部記憶装置135、及び入出力インタフェース136を備え、これらはバス137で相互に接続されている。また、制御ユニット121は、バス137に接続されるFPGA(Field Programmable Gate Array)138や図示しないASIC(Application Specific Integrated Circuit)を更に備えてもよい。この場合は、制御ユニット121の機能の一部をFPGA138やASICが担うようにしてもよい。 The control unit 121 includes a processor 131, a RAM (Random Access Memory) 132, a communication interface 133, a graphics processing unit 134, an external storage device 135, and an input/output interface 136, which are interconnected by a bus 137. The control unit 121 may further include an FPGA (Field Programmable Gate Array) 138 or an ASIC (Application Specific Integrated Circuit) (not shown) connected to the bus 137. In this case, some of the functions of the control unit 121 may be performed by the FPGA 138 or the ASIC.
プロセッサ131は、例えばCPU(Central Processing Unit)である。プロセッサ131は、OS(Operating System)のプログラムやアプリケーションプログラム等の各種のプログラムを実行することにより自動取引装置1の全体動作を制御する。例えば、プロセッサ131は、表示入力ユニット106をOCRカメラユニット101に撮像させ、OCRカメラユニット101により撮像された画像に表された外光映り込み領域の輪郭を検出し、その画像における検出した外光映り込み領域の輪郭の位置に基づいて、表示入力ユニット106に表示させる媒体載置領域201の位置を決定する、といった表示位置決定機能に係る動作を制御する。RAM132は、プロセッサ131により実行されるプログラムの一部が一時的に格納されたり、プロセッサ131の作業用記憶領域として使用されたりする。 The processor 131 is, for example, a CPU (Central Processing Unit). The processor 131 controls the overall operation of the automated transaction device 1 by executing various programs such as an OS (Operating System) program and application programs. For example, the processor 131 controls operations related to a display position determination function, such as causing the OCR camera unit 101 to capture an image of the display input unit 106, detecting the contour of an external light reflection area shown in the image captured by the OCR camera unit 101, and determining the position of the medium placement area 201 to be displayed on the display input unit 106 based on the position of the contour of the detected external light reflection area in the image. The RAM 132 temporarily stores part of the program executed by the processor 131 and is used as a working memory area for the processor 131.
通信インタフェース133は、図示しないネットワークに接続され、当該ネットワークを介して例えば図示しないホストコンピュータと通信を行う。 The communication interface 133 is connected to a network (not shown) and communicates with, for example, a host computer (not shown) via the network.
グラフィック処理ユニット134は、表示入力ユニット106の表示装置106aと接続されており、プロセッサ131からの制御信号に従って、各種取引画面を表示装置106aに表示させる。 The graphics processing unit 134 is connected to the display device 106a of the display input unit 106, and displays various trading screens on the display device 106a in accordance with control signals from the processor 131.
外部記憶装置135は、例えば、HDD(Hard Disk Drive)である。外部記憶装置135は、プロセッサ131により実行される各種のプログラムや、プログラムの実行に必要な各種データ等が記憶される。 The external storage device 135 is, for example, a hard disk drive (HDD). The external storage device 135 stores various programs executed by the processor 131 and various data required for executing the programs.
入出力インタフェース136は、表示入力ユニット106のタッチパネル106b、OCRカメラユニット101、カード処理ユニット122、通帳処理ユニット123、硬貨処理ユニット124、及び紙幣処理ユニット125と接続されている。また、図示はしないが、可搬型記録媒体への情報の書き込みや可搬型記録媒体からの情報の読み出しが可能な可搬型記録媒体インタフェースを自動取引装置1が更に備えて、入出力インタフェース136が、可搬型記録媒体インタフェースと更に接続されてもよい。 The input/output interface 136 is connected to the touch panel 106b of the display/input unit 106, the OCR camera unit 101, the card processing unit 122, the passbook processing unit 123, the coin processing unit 124, and the banknote processing unit 125. Although not shown, the automated transaction device 1 may further include a portable recording medium interface capable of writing information to a portable recording medium and reading information from the portable recording medium, and the input/output interface 136 may further be connected to the portable recording medium interface.
入出力インタフェース136は、プロセッサ131からの制御信号を、タッチパネル106b、OCRカメラユニット101、カード処理ユニット122、通帳処理ユニット123、硬貨処理ユニット124、及び紙幣処理ユニット125に通知する。また、入出力インタフェース136は、タッチパネル106b、OCRカメラユニット101、カード処理ユニット122、通帳処理ユニット123、硬貨処理ユニット124、及び紙幣処理ユニット125からの信号(データ、情報)をプロセッサ131に通知する。 The input/output interface 136 notifies the processor 131 of control signals to the touch panel 106b, the OCR camera unit 101, the card processing unit 122, the passbook processing unit 123, the coin processing unit 124, and the banknote processing unit 125. The input/output interface 136 also notifies the processor 131 of signals (data, information) from the touch panel 106b, the OCR camera unit 101, the card processing unit 122, the passbook processing unit 123, the coin processing unit 124, and the banknote processing unit 125.
表示入力ユニット106は、表示装置106aと当該表示装置106a上に配置されたタッチパネル106bとを備える。表示装置106aは、例えばLCD(Liquid Crystal Display)である。また、表示装置106aの表示面には、表示装置106aに表示される画面の光がOCRカメラユニット101に入射しないように、偏向フィルタが設けられている。これにより、表示入力ユニット106(表示装置106a)に表示された媒体載置領域201に載置された媒体がOCRカメラユニット101により撮像された画像において、黒背景を実現することができ、白地の媒体とのコントラストを確保することができる。タッチパネル106bは、当該タッチパネル106bに対する操作入力を検出し、その検出結果をプロセッサ131に通知する。 The display input unit 106 includes a display device 106a and a touch panel 106b arranged on the display device 106a. The display device 106a is, for example, an LCD (Liquid Crystal Display). A polarizing filter is provided on the display surface of the display device 106a so that light from the screen displayed on the display device 106a does not enter the OCR camera unit 101. This allows a black background to be realized in an image captured by the OCR camera unit 101 of a medium placed in the medium placement area 201 displayed on the display input unit 106 (display device 106a), ensuring contrast with the white medium. The touch panel 106b detects an operation input to the touch panel 106b and notifies the processor 131 of the detection result.
OCRカメラユニット101は、例えば、CCD(Charge Coupled Device)やCMOS(Complementary Metal Oxide Semiconductor)等のイメージセンサを含んで構成される。 The OCR camera unit 101 includes an image sensor such as a CCD (Charge Coupled Device) or a CMOS (Complementary Metal Oxide Semiconductor).
カード処理ユニット122は、カードをカード挿入排出部103から挿入、排出する。また、挿入されたカードが有する磁気ストライプやIC(Integrated Circuit)チップに対する情報(データ)の読み出し及び書き込みを行う。また、カード処理ユニット122は、取引明細をレシートに印刷してカード挿入排出部103から排出すること等も行う。 The card processing unit 122 inserts and ejects cards from the card insertion/ejection section 103. It also reads and writes information (data) from the magnetic stripe and IC (Integrated Circuit) chip of the inserted card. The card processing unit 122 also prints transaction details on a receipt and ejects it from the card insertion/ejection section 103.
通帳処理ユニット123は、通帳を通帳挿入排出部102から挿入、排出する。また、挿入された通帳が有する磁気ストライプに記録された情報(データ)の読み出しや、通帳記入等を行う。 The passbook processing unit 123 inserts and ejects passbooks from the passbook insertion and ejection unit 102. It also reads information (data) recorded on the magnetic stripe of the inserted passbook and writes information into the passbook.
硬貨処理ユニット124は、硬貨を硬貨入出金部104から入出金する。また、入金硬貨の計数、鑑別や、出金硬貨の計数等を行う。 The coin processing unit 124 deposits and withdraws coins from the coin deposit/withdrawal section 104. It also counts and validates deposited coins and counts withdrawn coins.
紙幣処理ユニット125は、紙幣を紙幣入出金部105から入出金する。また、入金紙幣の計数、鑑別や、出金紙幣の計数等を行う。 The banknote processing unit 125 deposits and withdraws banknotes through the banknote deposit/withdrawal unit 105. It also counts and validates deposited banknotes and counts withdrawn banknotes.
電源ユニット126は、自動取引装置1の各部に電力を供給する。 The power supply unit 126 supplies power to each part of the automated transaction device 1.
なお、図4に例示した自動取引装置1において、表示入力ユニット106(表示装置106a)は、表示部10の一例である。OCRカメラユニット101は、撮像部20の一例である。プロセッサ131は、検出部30及び決定部40の一例である。 In the automated transaction device 1 illustrated in FIG. 4, the display input unit 106 (display device 106a) is an example of the display unit 10. The OCR camera unit 101 is an example of the imaging unit 20. The processor 131 is an example of the detection unit 30 and the determination unit 40.
次に、図5~図7を用いて、自動取引装置1が行う表示位置決定機能に係る処理(以下、「表示位置決定処理」という)について説明する。なお、この表示位置決定処理は、例えば自動取引装置1の設置時や起動時(電源ON時)等に、プロセッサ131が上述のプログラムを実行することにより行われる処理である。 Next, the process related to the display position determination function performed by the automated transaction device 1 (hereinafter referred to as the "display position determination process") will be described with reference to Figures 5 to 7. Note that this display position determination process is a process that is performed by the processor 131 executing the above-mentioned program, for example, when the automated transaction device 1 is installed or started up (when the power is turned on).
図5は、表示位置決定処理の流れを例示するフローチャートである。図5に例示したように、自動取引装置1は、表示位置決定処理を開始すると、まず、媒体が載置されていない状態の表示入力ユニット106をOCRカメラユニット101で撮像して画像301を取得する(ステップ(以下単に「S」という)101)。ここでは、表示入力ユニット106の表示面に天井灯等の外光が映り込んでいたために、取得された画像301には、その外光映り込み(例えば外光映り込み302)が表されていたとする。 Figure 5 is a flow chart illustrating the flow of the display position determination process. As illustrated in Figure 5, when the automated transaction device 1 starts the display position determination process, it first captures an image 301 by using the OCR camera unit 101 to capture the display input unit 106 with no medium placed on it (step (hereinafter simply referred to as "S") 101). Here, assume that external light such as a ceiling light is reflected on the display surface of the display input unit 106, and the captured image 301 shows the reflection of that external light (e.g., external light reflection 302).
次に、自動取引装置1は、画像301に対してグレースケール変換の画像処理を行い、グレースケール画像303を取得する(S102)。 Next, the automated transaction device 1 performs image processing to convert the image 301 to grayscale, and obtains a grayscale image 303 (S102).
次に、自動取引装置1は、グレースケール画像303に対して二値化の画像処理を行い、二値化画像304を取得する(S103)。このときの二値化の画像処理では、二値化閾値を周辺画素の画素値に基づいて決定するようにしてもよい。 Next, the automated transaction device 1 performs binarization image processing on the grayscale image 303 to obtain a binarized image 304 (S103). In this binarization image processing, the binarization threshold may be determined based on the pixel values of the surrounding pixels.
次に、自動取引装置1は、二値化画像304のOCR可能範囲(読取可能範囲)305内に表されている外光映り込み領域(例えば外光映り込み領域306)の輪郭を検出する(S104)。ここで、OCR可能範囲305は、OCRカメラユニット101の性能(解像度、画角、ピントが合う範囲等)に基づいて予め規定されている。また、外光映り込み領域の輪郭の検出は、二値化画像304のOCR可能範囲305内に対し、ラベリングによりオブジェクトの閉じた輪郭を検出することにより行われる。ラベリングの手法としては、例えば、「Satoshi Suzuki and others. Topological structural analysis of digitized binary images by border following. Computer Vision, Graphics, and Image Processing, 30(1):32-46, 1985.」(以下「文献A」という)に記載のアルゴリズム等を用いることができる。なお、S104では、二値化画像304のOCR可能範囲305内に表されている外光映り込み領域の輪郭を検出するようにしたが、OCR可能範囲305内に限らず、二値化画像304に表されている外光映り込み領域の輪郭を検出するようにしてもよい。 Next, the automated transaction device 1 detects the contour of the external light reflection area (e.g., external light reflection area 306) represented within the OCR possible range (readable range) 305 of the binary image 304 (S104). Here, the OCR possible range 305 is predefined based on the performance (resolution, angle of view, range in focus, etc.) of the OCR camera unit 101. In addition, the detection of the contour of the external light reflection area is performed by detecting the closed contour of the object by labeling within the OCR possible range 305 of the binary image 304. As a labeling method, for example, an algorithm described in "Satoshi Suzuki and others. Topological structural analysis of digitized binary images by border following. Computer Vision, Graphics, and Image Processing, 30(1):32-46, 1985." (hereinafter referred to as "Document A") can be used. Note that in S104, the contour of the external light reflection area shown within the OCR possible range 305 of the binarized image 304 is detected, but the contour of the external light reflection area shown in the binarized image 304 may be detected not only within the OCR possible range 305.
次に、自動取引装置1は、二値化画像304上に配置し得る、媒体載置領域201に対応する領域である対応領域307の各位置において、対応領域307の輪郭と外光映り込み領域(例えば外光映り込み領域306)の輪郭との間の最短距離に基づいて評価値を算出し、その評価値が最大となる対応領域307の位置に対応する表示入力ユニット106の表示位置を、表示入力ユニット106に表示させる媒体載置領域201の位置として決定する(S105)。なお、OCRカメラユニット101の撮像範囲は決まっていることから、それに基づいて、二値化画像304上の位置から、対応する表示入力ユニット106の表示位置を求めることができる。S105が終了すると、自動取引装置1は、図5に例示した表示位置決定処理を終了する。 Next, the automated transaction device 1 calculates an evaluation value based on the shortest distance between the contour of the corresponding area 307 and the contour of the external light reflection area (e.g., the external light reflection area 306) at each position of the corresponding area 307, which is an area that can be placed on the binary image 304 and corresponds to the medium placement area 201, and determines the display position of the display input unit 106 corresponding to the position of the corresponding area 307 where the evaluation value is maximum as the position of the medium placement area 201 to be displayed on the display input unit 106 (S105). Since the imaging range of the OCR camera unit 101 is fixed, the display position of the corresponding display input unit 106 can be obtained from the position on the binary image 304 based on the imaging range. When S105 is completed, the automated transaction device 1 ends the display position determination process illustrated in FIG. 5.
ここで、S105の処理(以下、「決定処理」という)について、図6及び図7を用いて、より具体的に説明する。図6は、決定処理で使用されるパラメータを説明する図である。図7は、決定処理の流れを例示するフローチャートである。 Here, the process of S105 (hereinafter referred to as the "decision process") will be described in more detail with reference to Figures 6 and 7. Figure 6 is a diagram explaining the parameters used in the decision process. Figure 7 is a flowchart illustrating the flow of the decision process.
まず、図6を用いて、決定処理で使用されるパラメータについて説明する。決定処理では、図6に示したように、二値化画像304の左上の頂点を原点(0,0)とし、二値化画像304の幅方向をX方向、高さ方向をY方向とする。二値化画像304の幅をwドット、高さをhドットとする。OCR可能範囲305をO(0)と表すものとする。また、外光映り込み領域の輪郭がN(Nは1以上の整数)個検出されていたものとし、N個の外光映り込み領域の輪郭をO(n)(n=1,2,・・・,N)と表すものとする。図6では、外光映り込み領域の輪郭が2個(O(1)、O(2))検出されている場合を示している。また、二値化画像304上に配置し得る、媒体載置領域201に対応する領域である対応領域307をA(x,y)と表すものとする。A(x,y)における(x,y)は、対応領域307の左上の頂点の位置を表し、対応領域307の位置を表すものでもあるとする。また、対応領域307の輪郭と外光映り込み領域の輪郭との間の最短距離が許容される距離であるか否か(媒体の輪郭と外光映り込みとの重なり回避の可否に対応)を判定する際の閾値をDと表すものとする。また、二値化画像304上に配置し得る対応領域307の各位置における評価値をR(x,y)と表すものとする。これらを前提に、図7を用いて、決定処理について具体的に説明する。 First, the parameters used in the determination process will be described with reference to FIG. 6. In the determination process, as shown in FIG. 6, the upper left vertex of the binary image 304 is the origin (0,0), the width direction of the binary image 304 is the X direction, and the height direction is the Y direction. The width of the binary image 304 is w dots, and the height is h dots. The OCR possible range 305 is represented as O(0). In addition, it is assumed that N (N is an integer equal to or greater than 1) contours of the external light reflection area have been detected, and the contours of the N external light reflection areas are represented as O(n) (n=1, 2, ..., N). FIG. 6 shows a case where two contours of the external light reflection area (O(1), O(2)) have been detected. In addition, the corresponding area 307, which is an area that can be placed on the binary image 304 and corresponds to the medium placement area 201, is represented as A(x,y). The (x, y) in A(x, y) represents the position of the top left vertex of the corresponding area 307, and also represents the position of the corresponding area 307. Furthermore, the threshold value used to determine whether the shortest distance between the contour of the corresponding area 307 and the contour of the external light reflection area is an allowable distance (corresponding to whether overlap between the contour of the medium and the external light reflection can be avoided) is represented as D. Furthermore, the evaluation value at each position of the corresponding area 307 that can be placed on the binarized image 304 is represented as R(x, y). Based on these assumptions, the determination process will be specifically described using FIG. 7.
図7に例示したように、自動取引装置1は、決定処理を開始すると、まず、x=1~w(x=1,2,・・・,w)までのループ処理Aを行う(S201~S212)。 As shown in FIG. 7, when the automated transaction device 1 starts the determination process, it first performs loop process A from x=1 to w (x=1, 2, ..., w) (S201 to S212).
各xについてのループ処理Aでは、自動取引装置1は、y=1~h(y=1,2,・・・,h)までのループ処理Bを行う(S202~S211)。 In loop process A for each x, the automated transaction device 1 performs loop process B for y = 1 to h (y = 1, 2, ..., h) (S202 to S211).
各yについてのループ処理Bでは、自動取引装置1は、R(x,y)=0とし(S203)、A(x,y)がO(0)に含まれる(包含される)か否かを判定する(S204)。 In loop processing B for each y, the automated transaction device 1 sets R(x, y) = 0 (S203) and determines whether A(x, y) is included in O(0) (S204).
S204の判定結果がNOの場合、自動取引装置1は、R(x,y)=0とし(S205)、このときのyについてのループ処理Bを終了する。 If the result of the determination in S204 is NO, the automated transaction device 1 sets R(x, y) = 0 (S205) and ends loop processing B for y at this time.
一方、S204の判定結果がYESの場合、自動取引装置1は、n=1~N(n=1,2,・・・,N)までのループ処理Cを行う(S206~S210)。 On the other hand, if the result of the determination in S204 is YES, the automated transaction device 1 performs loop processing C for n=1 to N (n=1, 2, ..., N) (S206 to S210).
各nについてのループ処理Cでは、自動取引装置1は、A(x,y)の輪郭とO(n)との間の最短距離をdとして算出する(S207)。この算出では、A(x,y)の輪郭とO(n)とが重なる場合の最短距離を0(d=0)とする。また、A(x,y)の輪郭とO(n)とが離れている場合や、A(x,y)の輪郭内にO(n)が含まれる場合には、d>0となる。 In loop processing C for each n, the automated transaction device 1 calculates the shortest distance between the contour of A(x, y) and O(n) as d (S207). In this calculation, the shortest distance when the contour of A(x, y) and O(n) overlap is set to 0 (d=0). In addition, when the contour of A(x, y) and O(n) are separated, or when O(n) is included within the contour of A(x, y), d>0.
次に、自動取引装置1は、d>0であるか否かを判定する(S208)。S208の判定結果がNOの場合、自動取引装置1は、このときのnの値によらずループ処理Cを終了してR(x,y)=0とし(S205)、このときのyについてのループ処理Bを終了する。 Next, the automated transaction device 1 judges whether d>0 (S208). If the judgment result of S208 is NO, the automated transaction device 1 ends loop process C regardless of the value of n at this time, sets R(x, y)=0 (S205), and ends loop process B for y at this time.
一方、S208の判定結果がYESの場合、自動取引装置1は、R(x,y)=0である場合は、dをR(x,y)に代入し、R(x,y)=0でない場合は、dとR(x,y)のうちの小さい方をR(x,y)に代入する(S209)。 On the other hand, if the judgment result of S208 is YES, the automated transaction device 1 assigns d to R(x, y) if R(x, y)=0, and assigns the smaller of d and R(x, y) to R(x, y) if R(x, y)=0 is not true (S209).
このようにして、S201~S212の処理が終了すると、自動取引装置1は、そのS201~S212の処理で得られたR(x,y)の最大値をRmaxとして取得し、そのR(x,y)の最大値が得られたときのA(x,y)の位置をAmaxとして取得する(S213)。 In this way, when the processing of S201 to S212 is completed, the automated transaction device 1 acquires the maximum value of R(x, y) obtained in the processing of S201 to S212 as Rmax, and acquires the position of A(x, y) when the maximum value of R(x, y) was obtained as Amax (S213).
次に、自動取引装置1は、Rmax>Dであるか否かを判定する(S214)。S214の判定結果がYESの場合、自動取引装置1は、Amaxに対応する表示入力ユニット106の表示位置を、表示入力ユニット106に表示させる媒体載置領域201の位置として決定する(S215)。 Next, the automated transaction device 1 judges whether Rmax>D (S214). If the judgment result of S214 is YES, the automated transaction device 1 determines the display position of the display input unit 106 corresponding to Amax as the position of the medium placement area 201 to be displayed on the display input unit 106 (S215).
一方、S214の判定結果がNOの場合、自動取引装置1は、媒体の輪郭と外光映り込との重なり回避は不可と判定する(S216)。この場合、自動取引装置1は、その判定結果を行員に通知するようにしてもよい。通知方法は、例えば、表示入力ユニット106への判定結果の表示でもよいし、行員端末への判定結果の通知でもよい。このような通知により、行員は自動取引装置1の設置位置の見直し等を実施することができる。 On the other hand, if the determination result in S214 is NO, the automated transaction device 1 determines that it is impossible to avoid overlap between the outline of the medium and the reflection of external light (S216). In this case, the automated transaction device 1 may notify the bank clerk of the determination result. The notification method may be, for example, displaying the determination result on the display input unit 106, or notifying the determination result to a bank clerk terminal. Such notification allows the bank clerk to review the installation location of the automated transaction device 1, etc.
S215又はS216が終了すると、自動取引装置1は、図7に例示した決定処理を終了する。 When S215 or S216 is completed, the automated transaction device 1 ends the decision process illustrated in FIG. 7.
このようにしてS215で決定された位置に媒体載置領域201を表示させることで、その媒体載置領域201に載置された媒体の輪郭と外光映り込みとの重なりを回避することができる。ここで、図8及び図9を用いて、表示位置決定処理後の媒体載置例について、従来の媒体載置例と比較して説明する。なお、図8及び図9では、説明の便宜のため、表示入力ユニット106の表示面を黒色で示す。また、媒体に印刷されている文字や線等の図示を省略する。 By displaying the medium placement area 201 in the position determined in S215 in this manner, it is possible to avoid overlap between the outline of the medium placed in the medium placement area 201 and reflections of external light. Here, an example of medium placement after the display position determination process will be described using Figures 8 and 9, in comparison with a conventional example of medium placement. Note that for ease of explanation, the display surface of the display input unit 106 is shown in black in Figures 8 and 9. Also, illustrations of characters, lines, etc. printed on the medium are omitted.
図8は、表示入力ユニットの表示面の一箇所に外光映り込みがある場合の表示位置決定処理後の媒体載置例を、従来の媒体載置例と比較して示す図である。図8に示したように、表示入力ユニット106の表示面106cの一箇所に外光映り込み311がある場合、従来では、媒体載置領域201の表示位置が固定されていたために、媒体載置領域201を含む媒体読取画面312が表示入力ユニット106に表示され、その媒体載置領域201に媒体313が載置されたときに、媒体313の輪郭と外光映り込み311とが重なってしまう場合があった。この場合は、媒体313の輪郭を検出することができないため、媒体313の読み取りができなかった。これに対し、本実施形態では、表示位置決定処理によって、媒体載置領域201の表示位置が、OCR可能範囲305内であって、載置された媒体313の輪郭と外光映り込み311とが重ならない位置とされるため、媒体載置領域201を含む媒体読取画面312が表示入力ユニット106に表示され、その媒体載置領域201に媒体313が載置されたたときに、媒体313の輪郭と外光映り込み311とが重なることはない。そのため、媒体313の輪郭を検出することができ、媒体313の読み取りが可能になる。 Figure 8 is a diagram showing an example of medium placement after a display position determination process when there is external light reflection at one point on the display surface of the display input unit, in comparison with a conventional medium placement example. As shown in Figure 8, when there is external light reflection 311 at one point on the display surface 106c of the display input unit 106, in the past, the display position of the medium placement area 201 was fixed, so when a medium reading screen 312 including the medium placement area 201 was displayed on the display input unit 106 and a medium 313 was placed on the medium placement area 201, the outline of the medium 313 and the external light reflection 311 may overlap. In this case, the outline of the medium 313 cannot be detected, so the medium 313 cannot be read. In contrast, in this embodiment, the display position determination process determines the display position of the medium placement area 201 to be within the OCR possible range 305 and to a position where the outline of the placed medium 313 does not overlap with the external light reflection 311, so that when the medium reading screen 312 including the medium placement area 201 is displayed on the display input unit 106 and the medium 313 is placed on the medium placement area 201, the outline of the medium 313 does not overlap with the external light reflection 311. Therefore, the outline of the medium 313 can be detected, and the medium 313 can be read.
図9は、表示入力ユニットの表示面の複数箇所に外光映り込みがある場合の表示位置決定処理後の媒体載置例を、従来の媒体載置例と比較して示す図である。図9に示したように、表示入力ユニット106の表示面106cの複数箇所(この例では二箇所)に外光映り込み321(321a、321b)がある場合、従来では、媒体載置領域201の表示位置が固定されていたために、媒体載置領域201を含む媒体読取画面312が表示入力ユニット106に表示され、その媒体載置領域201に媒体313が載置されたときに、媒体313の輪郭と外光映り込み321とが重なってしまう場合があった。この場合は、媒体313の輪郭を検出することができないため、媒体313の読み取りができなかった。これに対し、本実施形態では、表示位置決定処理によって、媒体載置領域201の表示位置が、OCR可能範囲305内であって、載置された媒体313の輪郭と外光映り込み321とが重ならない位置とされるため、媒体載置領域201を含む媒体読取画面312が表示入力ユニット106に表示され、その媒体載置領域201に媒体313が載置されたときに、媒体313の輪郭と外光映り込み321とが重なることはない。図9の例では、二箇所の外光映り込みのうちの一方の外光映り込み321aが媒体載置領域201内に包含され、他方の外光映り込み領域321bが媒体載置領域201の外側の離れた位置になるように、媒体載置領域201が表示されている。そのため、その媒体載置領域201に載置された媒体313の輪郭を検出することができ、媒体313の読み取りが可能になる。 9 is a diagram showing an example of medium placement after the display position determination process when there is external light reflection at multiple locations on the display surface of the display input unit, in comparison with a conventional medium placement example. As shown in FIG. 9, when there is external light reflection 321 (321a, 321b) at multiple locations (two locations in this example) on the display surface 106c of the display input unit 106, in the past, the display position of the medium placement area 201 was fixed, so when the medium reading screen 312 including the medium placement area 201 was displayed on the display input unit 106 and the medium 313 was placed on the medium placement area 201, the outline of the medium 313 and the external light reflection 321 may overlap. In this case, the outline of the medium 313 cannot be detected, so the medium 313 cannot be read. In contrast, in this embodiment, the display position determination process determines the display position of the medium placement area 201 to be within the OCR possible range 305 and to be a position where the contour of the placed medium 313 does not overlap with the external light reflection 321. Therefore, when the medium reading screen 312 including the medium placement area 201 is displayed on the display input unit 106 and the medium 313 is placed on the medium placement area 201, the contour of the medium 313 does not overlap with the external light reflection 321. In the example of FIG. 9, the medium placement area 201 is displayed so that one of the two external light reflections, external light reflection 321a, is contained within the medium placement area 201 and the other external light reflection area 321b is located at a distance outside the medium placement area 201. Therefore, the contour of the medium 313 placed on the medium placement area 201 can be detected, and the medium 313 can be read.
ここで、上述の表示位置決定処理後、表示入力ユニット106に表示された媒体載置領域201に媒体が載置された状態で自動取引装置1が行う媒体読取処理について、図10を用いて説明する。この媒体読取処理は、プロセッサ131が上述のプログラムを実行することにより行われる処理である。なお、図10では、説明の便宜のため、画像に表された媒体に印刷されていた文字や線等の図示を省略する。また、検出された輪郭や多角形近似された輪郭を模式的に示す。 Now, with reference to FIG. 10, we will explain the medium reading process performed by the automated transaction device 1 when a medium is placed in the medium placement area 201 displayed on the display input unit 106 after the above-mentioned display position determination process. This medium reading process is performed by the processor 131 executing the above-mentioned program. For ease of explanation, FIG. 10 omits illustrations of characters, lines, etc. printed on the medium shown in the image. Also, the detected contour and polygonal approximation contour are shown diagrammatically.
図10は、媒体読取処理の流れを例示するフローチャートである。図10に例示したように、自動取引装置1は、媒体読取処理を開始すると、まず、OCRカメラユニット101で撮像して画像331を取得する(S301)。ここでは、表示入力ユニット106の表示面に天井灯等の外光が映り込んでいるものの、上述の表示位置決定処理によって決定された位置に表示された媒体載置領域201に載置された媒体の輪郭は、その外光映り込みと重なることはないため、画像331に表された媒体332の輪郭と外光映り込み(例えば外光映り込み333)とが重なることはない。 Figure 10 is a flow chart illustrating the flow of the medium reading process. As illustrated in Figure 10, when the automated transaction device 1 starts the medium reading process, it first captures an image 331 by the OCR camera unit 101 (S301). Here, although external light such as a ceiling light is reflected on the display surface of the display input unit 106, the outline of the medium placed in the medium placement area 201 displayed at the position determined by the above-mentioned display position determination process does not overlap with the external light reflection, so the outline of the medium 332 shown in image 331 does not overlap with the external light reflection (e.g., external light reflection 333).
次に、自動取引装置1は、画像331に対してグレースケール変換の画像処理を行い、グレースケール画像334を取得する(S302)。 Next, the automated transaction device 1 performs image processing to convert the image 331 to grayscale, and obtains a grayscale image 334 (S302).
次に、自動取引装置1は、グレースケール画像334に対して二値化の画像処理を行い、二値化画像335を取得する(S303)。この二値化の画像処理では、二値化閾値を周辺画素の画素値に基づいて決定するようにしてもよい。 Next, the automated transaction device 1 performs binarization image processing on the grayscale image 334 to obtain a binarized image 335 (S303). In this binarization image processing, the binarization threshold may be determined based on the pixel values of the surrounding pixels.
次に、自動取引装置1は、二値化画像335において輪郭を検出する(S304)。この輪郭の検出は、ラベリングによりオブジェクトの閉じた輪郭を検出することにより行われる。ラベリングの手法としては、例えば、上述の文献Aに記載のアルゴリズム等を用いることができる。S304の処理により、二値化画像335に表された媒体336の輪郭336aや外光映り込み領域の輪郭(例えば外光映り込み領域337の輪郭337a)等が検出される。 Next, the automated transaction device 1 detects contours in the binarized image 335 (S304). This contour detection is performed by detecting closed contours of objects through labeling. As a labeling method, for example, the algorithm described in the above-mentioned document A can be used. Through the process of S304, the contour 336a of the medium 336 shown in the binarized image 335 and the contour of the external light reflection area (for example, the contour 337a of the external light reflection area 337) are detected.
次に、自動取引装置1は、S304で検出された輪郭を多角形に近似する多角形近似を行う(S305)。多角形近似の手法としては、Douglas―Peuckerのアルゴリズム等を用いることができる。S305の処理により、輪郭336aが多角形近似された輪郭336bや、例えば輪郭337aが多角形近似された輪郭337b等が得られる。 Next, the automated transaction device 1 performs polygon approximation to approximate the contour detected in S304 to a polygon (S305). The Douglas-Peucker algorithm or the like can be used as a polygon approximation method. The process of S305 results in contour 336b, which is a polygon approximation of contour 336a, or contour 337b, which is a polygon approximation of contour 337a, for example.
次に、自動取引装置1は、S305で多角形近似された輪郭の中から媒体336の輪郭を特定する(S306)。この特定は、予め規定されている読取対象媒体の形状及びサイズに基づいて行うことができる。ここでは、輪郭336bが、媒体336の輪郭として特定される。 Next, the automated transaction device 1 identifies the contour of the medium 336 from the contours approximated as polygons in S305 (S306). This identification can be performed based on the predefined shape and size of the medium to be read. Here, contour 336b is identified as the contour of the medium 336.
次に、自動取引装置1は、S306で特定された媒体336の輪郭336bの形状(台形形状)が、実際の媒体の相似形状(矩形形状)になるように、二値化画像335に対して台形変換の画像処理を行う(S307)。 Next, the automated transaction device 1 performs trapezoidal conversion image processing on the binarized image 335 so that the shape (trapezoidal shape) of the contour 336b of the medium 336 identified in S306 becomes similar to the shape (rectangular shape) of the actual medium (S307).
次に、自動取引装置1は、S307で台形変換された二値化画像に表されている媒体338の領域における読取対象文字領域の部分画像339を切り出す(S308)。このときの部分画像339の切り出しは、予め規定されている読取対象媒体のレイアウト(フォーマット)に基づいて行うことができる。 Next, the automated transaction device 1 cuts out a partial image 339 of the character area to be read in the area of the medium 338 represented in the binary image that was trapezoidally converted in S307 (S308). The cutting out of the partial image 339 at this time can be performed based on the predefined layout (format) of the medium to be read.
次に、自動取引装置1は、S308で切り出された読取対象文字領域の部分画像339に対して文字認識を行い(S309)、図10に例示した媒体読取処理を終了する。 Next, the automated transaction device 1 performs character recognition on the partial image 339 of the character area to be read that was extracted in S308 (S309), and ends the medium reading process illustrated in FIG. 10.
以上に説明した自動取引装置1によれば、表示入力ユニット106の表示面に読取対象媒体が載置されて読み取りが行われる場合に、表示面に天井灯等の外光が白く映り込んでいる場合であっても、媒体の輪郭部分と外光の映り込みとが重ならないようにさせることができるので、媒体の読み取りが可能になる。 According to the automated transaction device 1 described above, when the medium to be read is placed on the display surface of the display input unit 106 and reading is performed, even if external light from a ceiling light or the like is reflected white on the display surface, it is possible to prevent the outline of the medium from overlapping with the reflection of the external light, making it possible to read the medium.
なお、表示入力ユニット106に表示される媒体載置領域201内にメッセージやイラスト等を表示するようにしてもよい。この場合、そのメッセージやイラスト等によって、媒体載置領域201に載置する媒体の向きを顧客に指定するようにしてもよい。 Note that messages, illustrations, etc. may be displayed in the medium placement area 201 displayed on the display input unit 106. In this case, the customer may be prompted to specify the orientation of the medium to be placed in the medium placement area 201 using the message, illustration, etc.
以上、本発明の実施の形態について説明したが、本発明は、上述した実施の形態に限定されることなく、本発明の要旨を逸脱しない範囲内で種々の改良・変更が可能である。 Although the embodiment of the present invention has been described above, the present invention is not limited to the above-mentioned embodiment, and various improvements and modifications are possible without departing from the gist of the present invention.
1 自動取引装置
10 表示部
20 撮像部
30 検出部
40 決定部
101 OCRカメラユニット
101a 撮像範囲
102 通帳挿入排出部
103 カード挿入排出部
104 硬貨入出金部
105 紙幣入出金部
106 表示入力ユニット
106a 表示装置
106b タッチパネル
106c 表示面
121 制御ユニット
122 カード処理ユニット
123 通帳処理ユニット
124 硬貨処理ユニット
125 紙幣処理ユニット
126 電源ユニット
131 プロセッサ
132 RAM
133 通信インタフェース
134 グラフィック処理ユニット
135 外部記憶装置
136 入出力インタフェース
137 バス
138 FPGA
201 媒体載置領域
301 画像
302 外光映り込み
303 グレースケール画像
304 二値化画像
305 OCR可能範囲
306 外光映り込み領域
307 対応領域
311 外光映り込み
312 媒体読取画面
313 媒体
321、321a、321b 外光映り込み
331 画像
332 媒体
333 外光映り込み
334 グレースケール画像
335 二値化画像
336 媒体
336a、336b 輪郭
337 外光映り込み領域
337a、337b 輪郭
338 媒体
339 部分画像
REFERENCE SIGNS LIST 1 Automatic transaction device 10 Display unit 20 Imaging unit 30 Detection unit 40 Determination unit 101 OCR camera unit 101a Imaging range 102 Passbook insertion and ejection unit 103 Card insertion and ejection unit 104 Coin deposit and withdrawal unit 105 Paper money deposit and withdrawal unit 106 Display input unit 106a Display device 106b Touch panel 106c Display surface 121 Control unit 122 Card processing unit 123 Passbook processing unit 124 Coin processing unit 125 Paper money processing unit 126 Power supply unit 131 Processor 132 RAM
133 Communication interface 134 Graphic processing unit 135 External storage device 136 Input/output interface 137 Bus 138 FPGA
201 Medium placement area 301 Image 302 External light reflection 303 Grayscale image 304 Binarized image 305 OCR possible range 306 External light reflection area 307 Corresponding area 311 External light reflection 312 Medium reading screen 313 Medium 321, 321a, 321b External light reflection 331 Image 332 Medium 333 External light reflection 334 Grayscale image 335 Binarized image 336 Medium 336a, 336b Contour 337 External light reflection area 337a, 337b Contour 338 Medium 339 Partial image
Claims (10)
前記撮像部により撮像された画像に表された外光映り込み領域の輪郭を検出し、
前記画像における前記外光映り込み領域の輪郭の位置に基づいて、前記表示部に表示させる前記媒体載置領域の位置を決定する、
処理をプロセッサに実行させ、
前記撮像部の撮像方向の垂直成分の方向と、映り込まれる前記外光の入射方向の垂直成分の方向とが同一である、
ことを特徴とするプログラム。 a display unit that displays a medium placement area that specifies an area in which a medium to be read is placed, the display unit being imaged by an image capture unit that is used to read the medium to be read;
Detecting an outline of an external light reflection area shown in an image captured by the imaging unit;
determining a position of the medium placement area to be displayed on the display unit based on a position of a contour of the external light reflection area in the image;
causing a processor to execute the process ;
The direction of the vertical component of the imaging direction of the imaging unit is the same as the direction of the vertical component of the incident direction of the reflected external light.
A program characterized by:
ことを特徴とする請求項1記載のプログラム。 In the detection, an outline of an area where external light is reflected and displayed within a readable range of the image is detected.
2. The program according to claim 1 .
ことを特徴とする請求項1又は2記載のプログラム。 In the determination, an evaluation value is calculated based on the shortest distance between the contour of the corresponding area and the contour of the external light reflection area at each position of a corresponding area that can be arranged on the image and corresponds to the medium placement area, and the display position of the display unit corresponding to the position of the corresponding area where the evaluation value is maximum is determined as the position of the medium placement area to be displayed on the display unit.
3. The program according to claim 1 or 2.
ことを特徴とする請求項3記載のプログラム。 When the outline of the corresponding area is not included within the readable range of the image, the evaluation value is set to 0.
4. The program according to claim 3.
ことを特徴とする請求項4記載のプログラム。 The shortest distance when the contour of the corresponding area and the contour of the external light reflection area overlap is set to 0.
5. The program according to claim 4.
ことを特徴とする請求項5記載のプログラム。 The evaluation value when the external light reflection region in the image has one contour is set to the shortest distance between the contour of the corresponding region and the contour of the external light reflection region.
6. The program according to claim 5.
ことを特徴とする請求項5記載のプログラム。 When the image has a plurality of contours of the external light reflection region and at least one of the shortest distances between the contour of the corresponding region and each of the contours of the plurality of external light reflection regions is 0, the evaluation value is set to 0.
6. The program according to claim 5.
ことを特徴とする請求項5記載のプログラム。 When the image has a plurality of contours of the external light reflection region and all of the shortest distances between the contour of the corresponding region and each of the contours of the plurality of external light reflection regions are greater than 0, the evaluation value is set to a minimum value of the shortest distances.
6. The program according to claim 5.
前記撮像部により撮像された画像に表された外光映り込み領域の輪郭を検出し、
前記画像における前記外光映り込み領域の輪郭の位置に基づいて、前記表示部に表示させる前記媒体載置領域の位置を決定する、
ことを自動取引装置が行い、
前記撮像部の撮像方向の垂直成分の方向と、映り込まれる前記外光の入射方向の垂直成分の方向とが同一である、
ことを特徴とする表示位置決定方法。 a display unit that displays a medium placement area that specifies an area in which a medium to be read is placed, the display unit being imaged by an image capture unit that is used to read the medium to be read;
Detecting an outline of an external light reflection area shown in an image captured by the imaging unit;
determining a position of the medium placement area to be displayed on the display unit based on a position of a contour of the external light reflection area in the image;
This is done by the automated transaction device,
The direction of the vertical component of the imaging direction of the imaging unit is the same as the direction of the vertical component of the incident direction of the reflected external light.
A display position determining method comprising:
前記読取対象媒体の読み取りに使用される撮像部と、
前記撮像部により前記表示部が撮像された画像に表された外光映り込み領域の輪郭を検出する検出部と、
前記画像における前記外光映り込み領域の輪郭の位置に基づいて、前記表示部に表示させる前記媒体載置領域の位置を決定する決定部と、
を備え、
前記撮像部の撮像方向の垂直成分の方向と、映り込まれる前記外光の入射方向の垂直成分の方向とが同一である、
ことを特徴とする自動取引装置。 a display unit that displays a medium placement area for designating an area in which a medium to be read is placed;
An imaging unit used to read the medium to be read;
a detection unit that detects an outline of an external light reflection area displayed in an image captured by the imaging unit of the display unit;
a determination unit that determines a position of the medium placement area to be displayed on the display unit based on a position of a contour of the external light reflection area in the image;
Equipped with
The direction of the vertical component of the imaging direction of the imaging unit is the same as the direction of the vertical component of the incident direction of the reflected external light.
1. An automatic transaction device comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022023236A JP7620585B2 (en) | 2022-02-17 | 2022-02-17 | Program, display position determining method, and automated transaction device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022023236A JP7620585B2 (en) | 2022-02-17 | 2022-02-17 | Program, display position determining method, and automated transaction device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2023120056A JP2023120056A (en) | 2023-08-29 |
| JP7620585B2 true JP7620585B2 (en) | 2025-01-23 |
Family
ID=87778049
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2022023236A Active JP7620585B2 (en) | 2022-02-17 | 2022-02-17 | Program, display position determining method, and automated transaction device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7620585B2 (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005184361A (en) | 2003-12-18 | 2005-07-07 | Oki Electric Ind Co Ltd | Customer operation type terminal |
| JP2012222654A (en) | 2011-04-11 | 2012-11-12 | Hitachi Omron Terminal Solutions Corp | Camera for paintings and writings |
| JP2013191922A (en) | 2012-03-12 | 2013-09-26 | Nec Computertechno Ltd | Terminal device and read method for read object |
| JP2017200038A (en) | 2016-04-27 | 2017-11-02 | コニカミノルタ株式会社 | Image reading apparatus and control method of the same |
-
2022
- 2022-02-17 JP JP2022023236A patent/JP7620585B2/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005184361A (en) | 2003-12-18 | 2005-07-07 | Oki Electric Ind Co Ltd | Customer operation type terminal |
| JP2012222654A (en) | 2011-04-11 | 2012-11-12 | Hitachi Omron Terminal Solutions Corp | Camera for paintings and writings |
| JP2013191922A (en) | 2012-03-12 | 2013-09-26 | Nec Computertechno Ltd | Terminal device and read method for read object |
| JP2017200038A (en) | 2016-04-27 | 2017-11-02 | コニカミノルタ株式会社 | Image reading apparatus and control method of the same |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2023120056A (en) | 2023-08-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10360689B2 (en) | Detecting specified image identifiers on objects | |
| US20130062405A1 (en) | Banking system controlled responsive to data bearing records | |
| JP2000333005A (en) | Pattern detection method, apparatus and recording medium | |
| JP7437837B2 (en) | OCR-based document analysis system and method using virtual cells | |
| JP4904330B2 (en) | Method and apparatus for extracting text from an image | |
| Praveen et al. | Automated Smart Card Reading and Extraction System using Computational Analysis | |
| US9177217B2 (en) | Information detection apparatus and information detection method | |
| CN103093185A (en) | Character recognition device, image processing device and methods thereof | |
| JP7620585B2 (en) | Program, display position determining method, and automated transaction device | |
| JP5192324B2 (en) | Monitoring system and automatic transaction apparatus | |
| KR20090062115A (en) | Media image detection device and method, and media handling system using same | |
| JP2006085443A (en) | Paper sheet handling device, paper sheet discrimination method used for the same and automatic transaction device | |
| JP3455649B2 (en) | Character recognition device | |
| KR101001693B1 (en) | Character recognition method of giro ticket holder | |
| JP7631177B2 (en) | Automatic transaction device, medium reading method, and program | |
| JP6438369B2 (en) | Form image determination program, form image determination method, and form image determination system | |
| JP7834672B2 (en) | Automated trading device | |
| EP0720115A2 (en) | System for creating a document information database | |
| US20260030604A1 (en) | Mobile check deposit | |
| CN113259533B (en) | Information processing device, method, recording medium, and computer program product | |
| JP2024072795A (en) | Automatic transaction device, display method, and program | |
| JP4470521B2 (en) | Media recognition device | |
| JP4702244B2 (en) | Form reader | |
| JP2020135671A (en) | Form recognition device, form recognition method and program | |
| KR20070070583A (en) | Automatic Inspection of Scanner Defects in the Giro Book Holder |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20231102 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240307 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20241025 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20241029 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20241202 |
|
| 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: 20250107 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250110 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7620585 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |