KR101149843B1 - Method for recognizing serial number of security paper money - Google Patents

Method for recognizing serial number of security paper money Download PDF

Info

Publication number
KR101149843B1
KR101149843B1 KR1020090095782A KR20090095782A KR101149843B1 KR 101149843 B1 KR101149843 B1 KR 101149843B1 KR 1020090095782 A KR1020090095782 A KR 1020090095782A KR 20090095782 A KR20090095782 A KR 20090095782A KR 101149843 B1 KR101149843 B1 KR 101149843B1
Authority
KR
South Korea
Prior art keywords
image
serial number
security
pattern
recognizing
Prior art date
Application number
KR1020090095782A
Other languages
Korean (ko)
Other versions
KR20110038478A (en
Inventor
홍정유
Original Assignee
주식회사 카스모아이티
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 주식회사 카스모아이티 filed Critical 주식회사 카스모아이티
Priority to KR1020090095782A priority Critical patent/KR101149843B1/en
Publication of KR20110038478A publication Critical patent/KR20110038478A/en
Application granted granted Critical
Publication of KR101149843B1 publication Critical patent/KR101149843B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/14Image acquisition
    • G06V30/148Segmentation of character regions
    • G06V30/153Segmentation of character regions using recognition of characters or words
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/255Detecting or recognising potential candidate objects based on visual cues, e.g. shapes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/46Descriptors for shape, contour or point-related descriptors, e.g. scale invariant feature transform [SIFT] or bags of words [BoW]; Salient regional features
    • G06V10/469Contour-based spatial representations, e.g. vector-coding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/46Descriptors for shape, contour or point-related descriptors, e.g. scale invariant feature transform [SIFT] or bags of words [BoW]; Salient regional features
    • G06V10/469Contour-based spatial representations, e.g. vector-coding
    • G06V10/473Contour-based spatial representations, e.g. vector-coding using gradient analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Inspection Of Paper Currency And Valuable Securities (AREA)

Abstract

본 발명은 유가증권의 일련번호를 인식하는 유가증권의 일련번호 인식방법에 관한 것으로, (a)지폐계수기나 지폐 정사기를 통과하는 유가증권의 전체 이미지를 이미지센서를 이용해 스캔하여 영상을 획득하는 단계와; (b)상기 (a)단계에서 획득한 유가증권의 전체 이미지를 전처리 과정으로 일련번호 영역의 이미지를 생성하는 단계와; (c)상기 (b)단계에서 생성한 일련번호 영역의 이미지 내의 각각의 문자를 추출하고, 상기 추출된 각각의 문자를 기울기 보정을 한 후, 최소인접 사각형을 구하여 문자를 재구성 한 후, 화소 분포에 따른 행(M) × 열(N)의 셀 개수로 이루어진 각 문자별 패턴 벡터를 생성하는 단계와; (d)상기 (c)단계에서 생성한 각 문자별 패턴 벡터를 의사결정함수를 이용하여 일련번호를 인식하는 단계;로 이루어진 유가증권의 일련번호 인식방법을 제공한다.The present invention relates to a method for recognizing a serial number of a security that recognizes the serial number of the security, and (a) acquiring an image by scanning an entire image of the security that passes through the money counter or the bill counting machine using an image sensor. Wow; (b) generating an image of a serial number region by preprocessing the entire image of the security obtained in step (a); (c) extracting the respective characters in the image of the serial number region generated in step (b), correcting the extracted respective characters, and reconstructing the characters by obtaining the least adjacent rectangles, and then distributing the pixels. Generating a pattern vector for each letter consisting of the number of cells in a row M × column N according to the < RTI ID = 0.0 > and (d) recognizing a serial number by using a decision function of the pattern vector for each letter generated in step (c).

본 발명은 의사결정함수를 통해 화소분포에 의한 특징 벡터로 구성하여 결과값과 결과과정을 명확히 규명할 수 있어 변수 선별성이 우수하고, 메모리를 차지하는 용량이 작아 제작단가를 낮춤과 동시에 인식속도가 빠르며, 각 문자가 형태적으로 갖는 구조적 특징에 따라 문자를 인식하여, 새로운 유가증권 발급시 문자의 구조적 특징에 따른 수정만으로 적용 가능하여 개발기간을 단축할 수 있을 뿐만 아니라, 전처리 과정에서 유가증권 전체의 이미지에서 일련번호 영역의 이미지를 추출한 후에 작은 용량의 이미지에 대한 기울기를 하여 속도를 향상시킬 수 있는 장점이 있다.According to the present invention, it is possible to clarify the result value and the result process by constructing the feature vector by the pixel distribution through the decision function. In addition, by recognizing letters according to the structural characteristics of each letter, they can be applied only by modification according to the structural features of the letter when issuing new securities. After extracting the image of the serial number area from the image, there is an advantage that the speed can be improved by tilting the small-capacity image.

일련번호, 디시젼 트리, H빔 Serial Number, Decision Tree, H Beam

Description

유가증권의 일련번호 인식방법{Method for recognizing serial number of security paper money}Method for recognizing serial number of security paper money}

본 발명은 유가증권에 있는 일련번호를 인식할 수 있는 유가증권의 일련번호 인식방법에 관한 것으로, 더욱 상세하게는 의사결정함수를 통해 화소분포에 의한 특징 벡터로 구성하여 결과값과 결과과정을 명확히 규명할 수 있어 변수 선별성이 우수하고, 메모리를 차지하는 용량이 작아 제작단가를 낮춤과 동시에 인식속도가 빠르고, 각 문자가 형태적으로 갖는 구조적 특징에 따라 문자를 인식하여, 새로운 유가증권 발급시 문자의 구조적 특징에 따른 수정만으로 적용 가능하여 개발기간을 단축할 수 있으며, 전처리 과정에서 유가증권 전체의 이미지에서 일련번호 영역의 이미지를 추출한 후에 작은 용량의 이미지에 대한 기울기를 하여 속도를 향상시킬 수 있는 유가증권의 일련번호 인식방법에 관한 것이다.The present invention relates to a method for recognizing serial numbers of securities capable of recognizing serial numbers in securities. More specifically, the result values and process are clearly defined by constructing feature vectors by pixel distribution through a decision function. As it can be identified, it has excellent variable selectivity, small memory occupying capacity, low production cost, fast recognition speed, and character recognition according to the structural characteristics of each character. It can be applied only by modification according to structural features, which can shorten the development period. In the pre-processing process, after extracting the image of the serial number area from the image of the whole securities, the oil price can be improved by tilting the small capacity image. It relates to a method for recognizing serial numbers of securities.

일반적으로 지폐계수기나 지폐정사기는 은행권 등에서 유가증권의 개수를 카운트 하거나, 이권종별 분류 등을 위해 이용되고 있으나, 최근에는 지폐의 진위 및 일련번호를 인식하는 기능을 구비한 지폐계수기 및 지폐정사기가 제안되고 있다.In general, a bill counter or bill counting machine is used for counting the number of securities in banknotes or by classifying two kinds of bonds. It is becoming.

이러한, 종래의 일련번호 인식 기능을 구비하는 지폐계수기나 지폐정사기는 스캔한 이미지를 그대로 출력하기 때문에 인식한 일련번호를 가공 처리하기에 불편한 문제점이 있었으며, 문자 이미지의 단편적인 특징만을 감지하여 인식하는 방법은 인식률이 떨어지는 문제점이 있었으며, 특히, 훼손되거나 오래된 지폐의 경우 이미지 상태가 변형되어 오인식률이 높아지는 문제점이 있었다.Such a bill counter or bill counter equipped with a conventional serial number recognition function has a problem in that it processes the recognized serial number because it outputs the scanned image as it is. The method had a problem in that the recognition rate was lowered. In particular, in the case of damaged or old banknotes, there was a problem in that the false recognition rate was increased due to the deformation of the image state.

이러한 문제점을 해결하고자 한국등록특허 제0893613호가 제안되었다.In order to solve this problem, Korean Patent No. 0893613 has been proposed.

도 1은 종래의 유가증권의 인식방법을 도시한 흐름도로서, 유가증권의 일련번호 부분의 이미지를 추출하고(S180), 상기 추출된 이미지를 소정의 전처리 과정(S190)을 진행하는데, 먼저, 추출된 이미지에서 위/아래쪽 공백 이미지를 제거(S191)하고, 일련번호의 각각의 문자 사이의 공백을 제거한 다음(S192), 일련번호의 각각의 문자를 각각 분리하고(S193), 분리된 문자에 대해서 0과 1의 이진 이미지로 영상처리를 행한다(S194)1 is a flowchart illustrating a conventional method of recognizing securities, extracting an image of a serial number portion of a securities (S180), and performing the predetermined preprocessing process (S190). Remove the upper and lower blank image from the image (S191), remove the space between each character of the serial number (S192), separate each character of the serial number (S193), and for the separated characters Image processing is performed on binary images of 0 and 1 (S194).

이렇게 전처리 과정(S190)을 거친 이미지들은 미리 학습되어 준비된 신경망 함수(100)의 입력 레이어(101)에 대입되며 각 문자에 대한 확률값들이 출력데이터로서 나온다.The images which have undergone the preprocessing process (S190) are substituted into the input layer 101 of the neural network function 100 prepared in advance. The probability values for each character are output as the output data.

여기서, 신경망 함수를 준비하는 과정을 간단히 설명하면, 우선, 훈련예에 대한 유형을 설정하고 훈련집합을 형성하고, 이를 학습함수의 입력특징표현을 결정하는데, 종래의 기술에서는 지폐 권종 판별의 기준이 될 각 권종별 지폐의 앞면과 뒷면, 정방향과 역방향의 모든 경우를 조합하여 준비된 이미지들에 대해서 표준데이터를 생성하고, 이 표준 데이터들을 신경망 함수에 넣어 학습시킴으로써 권종인 식을 위한 신경망 함수를 완성한다.Here, the process of preparing the neural network function will be briefly described. First, the type of the training example is set, the training set is formed, and the input feature expression of the learning function is determined. The standard data is generated for the prepared images by combining the front and back sides of each bill, and the forward and reverse directions of each bill, and the neural network function for the recognition of the bill is completed by inserting the standard data into the neural network function. .

상기 신경망의 학습에는 역전파(backpropagation)알고리즘을 주로 사용하는데, 상기 역전파는 에러가 출력노드로부터 내부노드로 역으로 전파한다.The backpropagation algorithm is mainly used to learn the neural network, in which the error propagates back from the output node to the internal node.

즉, 신경망의 출력과 샘플에서 요구되는 출력을 비교하여 출력에서의 에러를 계산한 후 에러, 실제 출력, 배율을 계산하여 감춰진 레이어(102)를 통해 가중치를 적용하여 에러를 줄일 수 있도록 작용하게 된다.In other words, by comparing the output of the neural network and the output required in the sample, the error in the output is calculated, the error, the actual output, and the magnification are calculated to apply the weight through the hidden layer 102 to reduce the error. .

하지만, 상기와 같은 종래의 일련번호 인식방법은 하기와 같은 문제점이 내포되어 있다.However, the conventional serial number recognition method as described above has the following problems.

첫째, 신경망은 자료의 변환/조작에 소요되는 시간이 길어지게 되어 빠른 속도의 CPU가 필요하게 되어 단가 상승의 요인으로 작용하며, 무엇보다도 상기 자료를 수용하기 위해 방대한 저장공간이 요구되는 문제점이 있었다.First, the neural network has a long time required for data conversion / manipulation, which requires a fast CPU, which acts as a factor in the increase in unit price, and above all, a huge storage space is required to accommodate the data. .

둘째, 신경망은 분류나 예측 결과만을 제공할 뿐 어떻게 그러한 결과가 돌출되었는지 이유를 설명하지 못하기 때문에 결과 돌출에 따른 과정이 명확하지 않아, 에러가 발생하였을 때에 이를 해결하지 못하는 문제점이 있었다.Second, since the neural network only provides classification or prediction results and does not explain why such results are extruded, the process of the result is not clear, and there is a problem that cannot be solved when an error occurs.

셋째, 표준데이터를 신경망 함수에 입력하여 학습하는 등의 과정이 복잡하여, 모형을 구축하는데 상당 시간이 소요되며, 특히, 입력변수의 수가 많아질 경우 모형 구축을 함에 있어 학습이 완료될 때까지 많은 횟수의 반복학습이 필요하게 되어 모형구축에 필요한 시간이 더욱 오래 소요되는 문제점이 있었다.Third, the process of inputting the standard data into the neural network function is complicated, and it takes a long time to build the model. There was a problem that it takes a longer time required to build the model because it is necessary to repeat the number of times.

넷째, 새로운 유가증권의 발급시 처음부터 재학습이 필요하기 때문에, 개발기간이 현저히 늦어지는 문제점이 있었다.Fourth, because the re-learning is required from the beginning when issuing new securities, the development period was significantly delayed.

다섯째, 모형 구축을 설계하는 작업과 다양한 매개변수 값을 설정하는 작업이 전문성을 필요로 하기 때문에 비전문가들이 사용하기에는 어려운 문제점이 있었다.Fifth, it was difficult for non-experts to use because designing model building and setting various parameter values required expertise.

상기와 같은 문제점을 해결하기 위한 본 발명의 유가증권의 일련번호 인식방법은 (a)지폐계수기나 지폐 정사기를 통과하는 유가증권의 전체 이미지를 이미지센서를 이용해 스캔하여 영상을 획득하는 단계와; (b)상기 (a)단계에서 획득한 유가증권의 전체 이미지를 전처리 과정으로 일련번호 영역의 이미지를 생성하는 단계와; (c)상기 (b)단계에서 생성한 일련번호 영역의 이미지 내의 각각의 문자를 추출하고, 상기 추출된 각각의 문자를 기울기 보정을 한 후, 최소인접 사각형을 구하여 문자를 재구성 한 후, 화소 분포에 따른 행(M) × 열(N)의 셀 개수로 이루어진 각 문자별 패턴 벡터를 생성하는 단계와; (d)상기 (c)단계에서 생성한 각 문자별 패턴 벡터를 도5 및 도6에 도시되어진 바와 같이 이진 트리 형태로 하여 임의의 패턴의 값을 예측하기 위해 이미 만들어진 분류모형이 지시하는 바에 따라 패턴의 속성값을 질문하는 작업을 반복적으로 수행하여 패턴이 속할 분류값을 예측하는 의사결정함수를 이용하여 일련번호를 인식하는 단계;로 이루어진 것을 특징으로 한다.The serial number recognition method of the securities of the present invention for solving the above problems includes the steps of: (a) acquiring an image by scanning an entire image of the securities passing through a banknote or banknote scanner using an image sensor; (b) generating an image of a serial number region by preprocessing the entire image of the security obtained in step (a); (c) extracting the respective characters in the image of the serial number region generated in step (b), correcting the extracted respective characters, and reconstructing the characters by obtaining the least adjacent rectangles, and then distributing the pixels. Generating a pattern vector for each letter consisting of the number of cells in a row M × column N according to the < RTI ID = 0.0 > (d) As shown in Figs. 5 and 6, the pattern vector for each letter generated in step (c) is a binary tree form, as indicated by the classification model already made to predict the value of an arbitrary pattern. Recognizing a serial number by using a decision function that predicts a classification value to which the pattern belongs by repeatedly performing the task of asking the attribute value of the pattern.

본 발명의 유가증권의 일련번호 인식방법에서 (b)단계는 유가증권의 외곽선을 추출하는 단계(b-1), 상기 외곽선이 추출된 유가증권의 기울기를 계산하는 단계(b-2), 상기 (b-2)에서 계산된 유가증권의 기울기를 통해 유가증권의 기준점을 추출하는 단계(b-3) 및 상기 (b-3)단계를 거친 유가증권에서 일련 번호 영역의 이미지를 추출하는 단계(b-4)로 이루어진 것을 특징으로 한다.In the method of recognizing the serial number of the securities of the present invention, step (b) includes extracting an outline of the securities (b-1), calculating a slope of the securities from which the outline is extracted (b-2), and (b-3) extracting the reference point of the security through the slope of the security calculated in (b-2) and extracting an image of the serial number region from the security that has undergone the step (b-3) ( b-4).

본 발명의 유가증권의 일련번호 인식방법의 (c)단계에서 문자별 패턴 벡터의 생성은 각 문자별 최소인접 사각형을 행(M), 열(N)방향으로 M, N번 스캔하여 화소 분포에 따른 매트릭스 형태의 패턴 벡터를 생성하는 것을 특징으로 한다.In the step (c) of the method of recognizing the serial number of the securities of the present invention, the generation of the pattern vector for each character is performed by scanning the M and N times in the row (M) and column (N) directions of the minimum adjacent rectangle for each character. It is characterized by generating a pattern vector according to the matrix form.

본 발명의 유가증권의 일련번호 인식방법의 (d)단계에서 의사결정함수는 (c)단계에서 생성한 수평(행(M)), 수직(열(N))의 셀 단위로 이루어진 문자별 패턴 벡터의 셀 개수에 따라 기준값을 설정한 후, H빔을 통한 의사결정 함수를 이용하여 일련번호를 인식하되, 상기 생성된 MxN 패턴벡터를 분류하기 위하여 H빔 형태의 마스크를 이용하는 방법은 도5 및 도6에 도시된 바와 같이 패턴벡터의 화소가 있는 것으로 결정돤 영역들이 'H'와 같이 좌우 끝의 세로 영역들이 양쪽이 다 차 있는지, 좌우 한쪽만 채워졌는지, 혹은 중앙의 세로 영역의 위아래가 모두 비워 있는지, 위아래 한쪽이 비워져 있는지, 중앙의 가로줄이 모두 채워 있는지 비어 있는지와 같은 분류를 위한 질문을 반복적으로 하는 순환적 분할을 통하여 생성된 패턴의 값을 예측하는 것을 특징으로 한다.In step (d) of the method of recognizing the serial number of the securities of the present invention, the decision function is a letter-by-letter pattern composed of horizontal (row (M)) and vertical (column (N)) cell units generated in step (c). After the reference value is set according to the number of cells of the vector, the method recognizes the serial number using a decision function through the H-beam, and uses the H-beam-shaped mask to classify the generated MxN pattern vector. As shown in Fig. 6, the regions determined as having the pixel of the pattern vector are filled with both vertical regions at the left and right ends, such as 'H', are filled with only the left and right sides, or both the top and bottom of the central vertical region. It is characterized by predicting the value of the generated pattern through recursive partitioning which repeatedly asks questions such as whether it is empty, the top and bottom sides are empty, the middle horizontal line is filled, or is empty. All.

본 발명의 유가증권의 일련번호 인식방법은 입력된 문자영상을 화소 분포에 의한 특정백터로 구성하고, 그 특징벡터를 의사결정함수를 통해 인식의 결과값과 결과과정을 명확히 규명할 수 있어 변수 선별성이 우수하고, 메모리를 차지하는 용량이 작아 제작단가를 낮춤과 동시에 인식속도가 빠르다.In the securities serial number recognition method of the present invention, the input character image is composed of a specific vector based on pixel distribution, and the result vector and process of recognition can be clearly identified through the decision function of the feature vector. Its excellent and small memory occupies a low manufacturing cost and a fast recognition speed.

또한, 각 문자가 형태적으로 갖는 구조적 특징에 따라 문자를 인식하여, 새로운 유가증권 발급시 문자의 구조적 특징에 따른 수정만으로 적용 가능하여 개발기간을 단축할 수 있다.In addition, by recognizing the character according to the structural characteristics of each character formally, it is possible to shorten the development period by applying only a modification according to the structural characteristics of the character when issuing new securities.

아울러, 전처리 과정에서 유가증권 전체의 이미지에서 일련번호 영역의 이미지를 추출한 후에 작은 용량의 이미지에 대한 기울기를 하여 속도를 향상시킬 수 있는 유용한 발명이다.In addition, it is a useful invention that can improve the speed by extracting the image of the serial number area from the image of the entire security in the preprocessing process by tilting the image of the small capacity.

우선, 본 발명을 설명하기에 앞서, 일반적인 내용의 설명이나 도면은 생략하도록 한다.First, prior to describing the present invention, descriptions and drawings of general contents will be omitted.

도 2에서와 같이 본 발명은 (a) ~ (d)단계를 통해 유가증권(10)의 일련번 호(SN)을 추출하도록 이루어져 있다.As shown in Figure 2 the present invention is configured to extract the serial number (SN) of the security (10) through (a) ~ (d) step.

우선, 지폐계수기나 지폐정사기(도면에 미도시)에 형성되어 있는 통상의 이미지센서(도면에 미도시)를 이용하여 지폐계수기나 지폐정사기를 통과하는 유가증권의 전체 이미지(I1)를 획득한다.(a 단계)First, the entire image I1 of the security that passes through the banknote counter or the banknote sorter is obtained by using a conventional image sensor (not shown) formed in the banknote counting machine or the bill counting machine (not shown). (step a)

그런 후, 도 3에서와 같이 상기 획득한 유가증권의 전체 이미지(I1) 중 유가증권에 포함되어 있는 일련번호 영역을 전처리 과정을 통해 추출하여 일련번호 영역의 이미지(I2)를 추출한다.(b 단계)Thereafter, as shown in FIG. 3, the serial number region included in the securities is extracted from the entire image I1 of the acquired securities through a preprocessing process to extract the image I2 of the serial number region. step)

여기서, 상기 전처리 과정은 마스크를 사용하여 수직, 수평 방향에서 기울기 값이 최대가 되는 부분을 경계영역으로 찾아 유가증권의 외곽선(경계선)을 추출하는 단계(b-1)와, 상기 외곽선이 추출된 유가증권의 장단면의 기울기를 계산하는 단계(b-2)와, 상기 (b-2)단계에서 계산된 유가증권의 기울기와 후보점들을 이용하여 일련번호 영역을 설정하기 위한 기준점을 계산하여 일련번호 이미지를 추출하는 기준이 되는 기준점을 추출하는 단계(b-3)와, 상기 (b-3)단계에서의 기준점을 이용해 유가증권에서 일련번호 영역의 이미지(I2)를 추출하는 단계(b-4)로 구성된다.Here, the pre-processing step is a step (b-1) to extract the outline (boundary line) of the security by using the mask to find the portion of the maximum tilt value in the vertical and horizontal direction as a boundary region and the outline is extracted Calculating a reference point for setting a serial number area using the slope and candidate points of the securities calculated in the step (b-2) and the (b-2); (B-3) extracting a reference point which is a reference for extracting an image, and extracting an image (I2) of a serial number area from a security by using the reference point in the step (b-3) (b-4). It is composed of

이때에, 본 발명에서는 유가증권 전체 이미지(I1)에 대한 기울기 보정은 이루어지지 않은 상태에서, 일련번호 영역의 이미지(I2)를 먼저 추출이 선행되도록 이루어진다.At this time, in the present invention, in the state in which the tilt correction for the entire security image I1 is not made, the image I2 of the serial number region is first extracted.

한편, 상기와 같이 일련번호 영역의 이미지(I2)의 추출이 완료되면, 도 4에서와 같이 상기 일련번호 영역의 이미지(I2)에서 각각의 문자(C)를 추출하고, 상기 추출된 문자(C)에 대한 기울기 보정을 실행하며, 최소인접 사각형을 구하여 문 자(C)를 통상의 마이콤(도면에 미도시)에서 인식할 수 있도록 재구성한 후, 도 5에서와 같이 화소 분포에 따른 행(M) × 열(N)의 셀 단위 개수로 이루어진 각각의 문자별 패턴 벡터(10)를 생성한다.(c 단계)Meanwhile, when the extraction of the image I2 of the serial number region is completed as described above, as shown in FIG. 4, each letter C is extracted from the image I2 of the serial number region, and the extracted character C is obtained. ), And after reconstructing the letter (C) to be recognized by a conventional microcomputer (not shown) by obtaining a minimum adjacent rectangle, the row according to the pixel distribution as shown in FIG. Generate a letter-by-letter pattern vector 10 consisting of the number of cell units of column N (step c).

상기 패턴 벡터(10)의 생성은 M×N 크기의 패턴 벡터(10)를 생성하기 위하여 이진화된 문자영역의 영상을 M×N 영역으로 구분하고, 각각의 영역에서 영상의 화소가 존재하는 수를 계산하고, 정하여 놓은 기준에 따라 화소수가 일정 기준 이상이면 그 영역에 해당하는 패턴 벡터(10)에 표시를 하여 인식하고자 하는 이진 문자영상을 패턴 벡터(10)로 생성하는 것이다.The generation of the pattern vector 10 divides an image of a binarized character region into an M × N region and generates a number of pixels of the image in each region in order to generate the pattern vector 10 having an M × N size. If the number of pixels is greater than or equal to a predetermined reference value according to the calculated reference value, the pattern vector 10 corresponding to the area is displayed to generate a binary character image to be recognized as the pattern vector 10.

이렇게 생성된 패턴 벡터(10)는 도 6의 (a)에서와 같이 행(M)과 열(N) 방향으로 각각 M×N개의 셀을 형성하게 되며, 각각의 셀에 화소 분포에 따라 문자(C) 마킹이 되어 있는 부분에는 2를, 공백으로 이루어진 부분은 0을 표시하여, (0,0), (0,1)과 같은 좌표점으로 표시할 수 있도록 재구성하게 된다.
그런 후, 상기 패턴 벡터(10)를 의사결정함수를 이용하여 일련번호(SN)을 인식할 수 있게 된다.(d 단계)
The pattern vector 10 generated as described above forms M × N cells in the row M and column N directions, respectively, as shown in FIG. C) 2 is marked on the marked part and 0 is marked on the blank part, so that it is reconstructed so that it can be displayed by coordinate points such as (0,0) and (0,1).
Then, the pattern vector 10 can recognize the serial number SN by using a decision function (step d).

그런 후, 상기 패턴 벡터(10)를 의사결정함수를 이용하여 일련번호(SN)을 인식할 수 있게 된다.(d 단계)
여기서, 상기 의사결정함수는 도5 및 도6에 도시되어진 바와 같이 이진 트리 형태로 하여 임의의 패턴의 값을 예측하기 위해 이미 만들어진 분류모형이 지시하는 바에 따라 패턴의 속성값을 질문하는 작업을 반복적으로 수행하여 패턴이 속할 분류값을 예측하는 함수이다.
Then, the pattern vector 10 can recognize the serial number SN by using a decision function (step d).
Here, the decision function is a binary tree form as shown in Figs. 5 and 6, and iteratively asks the attribute value of the pattern as indicated by the classification model already made to predict the value of the arbitrary pattern. This function predicts the classification value to which the pattern belongs.

또한, 상기 (d)단계에서는 (c)단계에서 생성한 패턴 벡터(10)에 행(M) × 열(N)의 셀 개수에 따라 기준값을 설정한 후, H빔 형태의 마스크를 이용한 의사결정함수를 이용하여 일련번호(SN)를 인식한다.Further, in the step (d), the reference value is set in the pattern vector 10 generated in the step (c) according to the number of cells in the row (M) × column (N), and then a decision is made using an H-beam mask. Recognize a serial number (SN) using a function.

상기 패턴 벡터(10)는 다수의 행, 열로 이루어져 있는데, 더욱 정밀한 인식률을 위해서 그 개수를 더 확장할 수 있다.The pattern vector 10 includes a plurality of rows and columns, and the number of the pattern vectors 10 may be further extended for more accurate recognition rate.

특히, 상기 (d)단계에서는 이러한 행, 열의 개수에 따라 기준값을 달리 하여 이를 알고리즘화 시켜 일련번호(SN)의 각각의 문자(C)를 인식할 수 있게 된다.In particular, in step (d), the reference value is changed according to the number of rows and columns so that the algorithm C can be recognized to recognize each letter C of the serial number SN.

예컨대, 도 6의 (a)에서와 같이 패턴 벡터(10)의 행(M)의 개수가 5개, 열(N)의 개수가 3개이고, 이를 의사결정함수를 이용하여 X와 K를 판별한다고 가정하게 되면,For example, as shown in (a) of FIG. 6, the number of rows M of the pattern vector 10 is 5 and the number of columns N is 3, and X and K are determined using a decision function. Assuming,

(c)단계에서는 문자 영상의 화소분포에 따라 3×5의 매트릭스 형태의 패턴 벡터(10)를 작성하게 된다.In step (c), a pattern vector 10 having a 3 × 5 matrix form is created according to the pixel distribution of the character image.

또한, 상기 (d)단계에서의 의사결정함수에는 상기 패턴 벡터(10)의 행, 열의 개수에 따라 패턴 벡터(10)에서 문자(C)의 형태 특징에 따라 마킹부분이 존재할 수 있는 셀을 선별하여 기준값을 설정하게 된다.In addition, the decision function in step (d) selects cells in which the marking portion may exist according to the shape characteristics of the letter C in the pattern vector 10 according to the number of rows and columns of the pattern vector 10. To set the reference value.

물론, 상기 (c)단계에서 행과 열방향의 개수가 틀려지게 되면 문자(C)의 마킹 부분이 위치하는 셀의 위치가 틀려지기 때문에, 그에 맞추어 다시금 기준값을 재설정하여야 한다.Of course, if the number of rows and columns in the step (c) is incorrect, the position of the cell in which the marking portion of the letter (C) is located is incorrect, so the reference value should be reset again.

한편, 상기와 같이 기준값의 설정이 완료되면, 설정된 기준값과 H빔을 이용하여 의사결정함수에 프로그램을 입력한다.On the other hand, when the setting of the reference value is completed as described above, the program is input to the decision function using the set reference value and the H beam.

본 실시 예에서는 H빔을 이용하여 좌표점(0,2), (0,1), (4,2), (4,2)이 0이 아니거나 또는, 좌표점 (0,1), (4,1)이 0일 경우에는, A, H, K, M, N, R, U, V, W, X, Y의 문자로 인식하도록 프로그래밍 되어 있다.In the present embodiment, the coordinate points (0, 2), (0, 1), (4, 2), and (4, 2) are not 0 using the H beam, or the coordinate points (0, 1), ( If 4,1) is 0, it is programmed to recognize as A, H, K, M, N, R, U, V, W, X, Y characters.

상기와 같이 선별된 문자는 다시 좌표점(0,1), (4,1)이 0일 경우에는 H, K, N X 문자로 인식할 수 있도록 구성된다.Characters selected as described above are configured to be recognized as H, K, N X characters when the coordinate points (0, 1), (4, 1) is 0 again.

이어서, 좌표점(2,0)이 0이거나 또는 (2,2)이 0이면 K, X 문자로 인식하도록 하며, 좌표점(2,0)이 0이면 X 문자로 인식하도록 이루어져 있다.Subsequently, if the coordinate point (2,0) is 0 or (2,2) is 0, the character is recognized as K and X characters. If the coordinate point (2,0) is 0, the character is recognized as X character.

물론, 이러한 기준값은 상술한 바와 같이 숫자, 알파벳, 한글 등의 다양한 문자의 형태, 패턴 벡터(10)의 행, 열의 개수에 따라 기준이 되는 기준값이 달라지 게 되므로, 기준값의 설정치에 따라 다양한 형태로 변형 가능하게 된다.Of course, such a reference value may vary according to the set value of the reference value since the reference value becomes different depending on the number of characters, numbers, alphabets, Korean characters, and the like, and the number of rows and columns of the pattern vector 10. It becomes possible to deform.

즉, 본 발명은 패턴 벡터(10)의 행, 열 개수 및 선별하고자 하는 문자의 형태(알파벳, 숫자 등)에 따라 기준값을 달리하여 일정 패턴에 따라 규칙을 정하여 알고리즘화만 하면 되기 때문에, 새로운 유가증권의 도입시 글씨체, 배율, 위치 등이 바뀌더라도, 이에 신속히 대응할 수 있게 되며, 인식과정이 단순하여 유가증권의 인식과정의 처리속도가 향상됨은 물론, 오인식률이 발생하지 않게 되며, 특히, 학습을 통한 방법이 아닌 문답형의 의사결정함수에 의해 기본적인 데이터를 저장할 수 있는 공간만 있어도 되어, 제품의 단가를 낮출 수 있는 효과가 있는 것이다.That is, according to the present invention, a new securities may be obtained by setting a rule according to a predetermined pattern by varying a reference value according to the number of rows and columns of the pattern vector 10 and the type of letters (alphabet, numbers, etc.) to be sorted. When the font, magnification, position, etc. are changed at the time of introduction, the recognition process is simple, and the processing speed of the securities recognition process is improved, and the recognition rate is not generated. The question-and-answer decision function, rather than a method, requires only a space to store basic data, thereby reducing the cost of the product.

상술한 실시 예는 본 발명의 가장 바람직한 형태를 설명하기 위해 기재한 것이지만, 본 발명은 이에 한정되지 않고 본 발명의 기술적인 사상에서 벗어나지 않는 범위 내에서 다양한 형태로 변형 가능할 수 있다.Although the above-described embodiments are described in order to describe the most preferred embodiment of the present invention, the present invention is not limited thereto and may be modified in various forms without departing from the technical spirit of the present invention.

도 1은 종래의 유가증권의 일련번호를 인식하는 방법을 도시한 흐름도.1 is a flowchart illustrating a method of recognizing a serial number of a conventional security.

도 2는 본 발명에 따른 유가증권 일련번호의 인식순서를 도시한 흐름도.Figure 2 is a flow chart showing the recognition sequence of the securities serial number in accordance with the present invention.

도 3은 본 발명에 따른 b-1 ~ b-4단계를 도시한 상태도.Figure 3 is a state diagram showing the step b-1 ~ b-4 in accordance with the present invention.

도 4는 본 발명에 따른 일련번호 영역의 이미지를 재구성하는 상태를 도시한 상태도.Figure 4 is a state diagram showing a state of reconstructing the image of the serial number area according to the present invention.

도 5는 본 발명에 따른 패턴 벡터를 도시한 상태도.5 is a state diagram showing a pattern vector according to the present invention;

도 6의 (a)는 본 발명에 따른 패턴 벡터의 이진화 분포를 도시한 상태도이고, 도 6의 (b)는 의사결정함수의 프로그래밍의 예시를 도시한 블록도.6A is a state diagram showing the binarization distribution of a pattern vector according to the present invention, and FIG. 6B is a block diagram illustrating an example of programming a decision function.

◈도면 주요 부분에 대한 부호의 설명◈◈Description of code for main parts of drawing

C:문자 SN:일련번호 I1:유가증권의 전체 이미지 C: letter SN: serial number I1: full image of securities

I2:일련번호 영역의 이미지 10:패턴 벡터I2: Image of serial number area 10: Pattern vector

Claims (4)

(a)지폐계수기나 지폐 정사기를 통과하는 유가증권의 전체 이미지를 이미지센서를 이용해 스캔하여 영상을 획득하는 단계;(a) acquiring an image by scanning an entire image of the securities passing through a banknote counter or bill counting machine using an image sensor; (b)상기 (a)단계에서 획득한 유가증권의 전체 이미지를 전처리 과정으로 일련번호 영역의 이미지를 생성하는 단계;(b) generating an image of a serial number area by preprocessing the entire image of the security obtained in step (a); (c)상기 (b)단계에서 생성한 일련번호 영역의 이미지 내의 각각의 문자를 추출하고, 상기 추출된 각각의 문자를 기울기 보정을 한 후, 최소인접 사각형을 구하여 문자를 재구성 한 후, 화소 분포에 따른 행(M) × 열(N)의 셀 개수로 이루어진 각 문자별 패턴 벡터를 생성하는 단계;(c) extracting the respective characters in the image of the serial number region generated in step (b), correcting the extracted respective characters, and reconstructing the characters by obtaining the least adjacent rectangles, and then distributing the pixels. Generating a pattern vector for each letter consisting of the number of cells in a row M × column N according to the < RTI ID = 0.0 > (d)상기 (c)단계에서 생성한 각 문자별 패턴 벡터를 이진 트리 형태로 하여 임의의 패턴의 값을 예측하기 위해 이미 만들어진 분류모형이 지시하는 바에 따라 패턴의 속성값을 질문하는 작업을 반복적으로 수행하여 패턴이 속할 분류값을 예측하는 의사결정함수를 이용하여 일련번호를 인식하는 단계;로 이루어진 것에 특징이 있는 유가증권의 일련 번호 인식방법.(d) Iteratively repeats the operation of querying the attribute values of the pattern as directed by the classification model that has already been created to predict the value of the arbitrary pattern by using the pattern vector for each character generated in the step (c) in the form of a binary tree. Recognizing the serial number by using a decision function to predict the classification value to belong to the pattern; Serial number recognition method of a security characterized in that consisting of. 제 1항에 있어서, 상기 (b)단계는 유가증권의 외곽선을 추출하는 단계(b-1), 상기 외곽선이 추출된 유가증권의 기울기를 계산하는 단계(b-2), 상기 (b-2)에서 계산된 유가증권의 기울기를 통해 유가증권의 기준점을 추출하는 단계(b-3) 및 상기 (b-3)단계를 거친 유가증권에서 일련 번호 영역의 이미지를 추출하는 단계(b-4)로 이루어진 것에 특징이 있는 유가증권의 일련 번호 인식방법.The method of claim 1, wherein step (b) comprises: extracting an outline of the security (b-1), calculating a slope of the security from which the outline is extracted (b-2), and (b-2) (B-4) extracting the reference point of the security through the slope of the security calculated in the step (b-3) and extracting an image of the serial number area from the security that went through the step (b-3) (b-4) Serial number recognition method of the securities characterized by consisting of. 제 1항에 있어서, 상기 (c)단계에서 문자별 패턴 벡터의 생성은 각 문자별 최소인접 사각형을 행(M), 열(N)방향으로 M, N번 스캔하여 화소 분포에 따른 매트릭스 형태의 패턴 벡터를 생성하는 것에 특징이 있는 유가증권의 일련 번호 인식방법.The method of claim 1, wherein the generating of the pattern vector for each character in the step (c) is performed by scanning the M and N times in the row (M) and column (N) directions of the smallest adjacent rectangle for each character. A method for recognizing serial numbers of securities characterized by generating a pattern vector. 제 1항에 있어서, 상기 (d)단계에서 의사결정함수는 (c)단계에서 생성한 수평(행(M)), 수직(열(N))의 셀 단위로 이루어진 의사결정함수를 이용하여 일련번호를 인식하되, 상기 생성된 MxN 패턴벡터를 분류하기 위하여 H빔 형태의 마스크를 이용하는 방법은 패턴벡터의 화소가 있는 것으로 결정돤 영역들이 'H'와 같이 좌우 끝의 세로 영역들이 양쪽이 다 차 있는지, 좌우 한쪽만 채워졌는지, 혹은 중앙의 세로 영역의 위아래가 모두 비워져 있는지, 위아래 한쪽이 비워져 있는지, 중앙의 가로줄이 모두 채워 있는지 비어 있는지와 같은 분류를 위한 질문을 반복적으로 하는 순환적 분할을 통하여 생성된 패턴의 값을 예측하는 것에 특징이 있는 유가증권의 일련 번호 인식방법.The method of claim 1, wherein the decision function in step (d) is performed using a decision function composed of horizontal (row (M)) and vertical (column (N)) cell units generated in step (c). The method of using the H-beam type mask to recognize the number but classify the generated MxN pattern vector is determined that there are pixels of the pattern vector. Through recursive partitioning that repeatedly asks questions such as whether it is filled in on the left, right, left or right, or the top and bottom of the central vertical area, the top and bottom are empty, or the center horizontal line is full or empty. A method for recognizing serial numbers of securities characterized by predicting the value of the generated pattern.
KR1020090095782A 2009-10-08 2009-10-08 Method for recognizing serial number of security paper money KR101149843B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020090095782A KR101149843B1 (en) 2009-10-08 2009-10-08 Method for recognizing serial number of security paper money

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090095782A KR101149843B1 (en) 2009-10-08 2009-10-08 Method for recognizing serial number of security paper money

Publications (2)

Publication Number Publication Date
KR20110038478A KR20110038478A (en) 2011-04-14
KR101149843B1 true KR101149843B1 (en) 2012-05-24

Family

ID=44045540

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090095782A KR101149843B1 (en) 2009-10-08 2009-10-08 Method for recognizing serial number of security paper money

Country Status (1)

Country Link
KR (1) KR101149843B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102800148A (en) * 2012-07-10 2012-11-28 中山大学 RMB sequence number identification method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9563811B2 (en) 2012-07-31 2017-02-07 Lg Cns Co., Ltd. Character recognition method, character recognition apparatus and financial apparatus
KR101470748B1 (en) * 2013-07-24 2014-12-08 주식회사 엘지씨엔에스 Character recognition method, character recognition apparatus and financial apparatus

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004362440A (en) 2003-06-06 2004-12-24 National Printing Bureau Character string extracting processor from printed matter

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004362440A (en) 2003-06-06 2004-12-24 National Printing Bureau Character string extracting processor from printed matter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102800148A (en) * 2012-07-10 2012-11-28 中山大学 RMB sequence number identification method

Also Published As

Publication number Publication date
KR20110038478A (en) 2011-04-14

Similar Documents

Publication Publication Date Title
US11922318B2 (en) System and method of character recognition using fully convolutional neural networks with attention
US7283669B2 (en) Fine segmentation refinement for an optical character recognition system
WO1998035314A2 (en) System and method for pattern recognition
Lacerda et al. Segmentation of connected handwritten digits using Self-Organizing Maps
CN110114776A (en) Use the system and method for the character recognition of full convolutional neural networks
CN107240185B (en) A kind of crown word number identification method, device, equipment and storage medium
EP0689153A2 (en) Character recognition
Asra et al. Human behavior recognition based on hand written cursives by SVM classifier
CN112906695B (en) Form recognition method adapting to multi-class OCR recognition interface and related equipment
CN114841972A (en) Power transmission line defect identification method based on saliency map and semantic embedded feature pyramid
KR101149843B1 (en) Method for recognizing serial number of security paper money
CN112183494A (en) Character recognition method and device based on neural network and storage medium
JP2018060389A (en) Program, information storing medium and character dividing device
CN114882423A (en) Truck warehousing goods identification method based on improved Yolov5m model and Deepsort
CN114898472A (en) Signature identification method and system based on twin vision Transformer network
JP2007058882A (en) Pattern-recognition apparatus
CN114419430A (en) Cultivated land plot extraction method and device based on SE-U-Net +model
EP0617381B1 (en) Character recognition
Wang et al. Text detection algorithm based on improved YOLOv3
CN116778497A (en) Method and device for identifying hand well number, computer equipment and storage medium
JP4176175B2 (en) Pattern recognition device
CN105095889A (en) Feature extraction, character identification, engine generation and information determination methods and devices
Pornpanomchai et al. Printed Thai character recognition by genetic algorithm
Cecotti et al. Hybrid OCR combination approach complemented by a specialized ICR applied on ancient documents
CN107331030B (en) A kind of crown word number identification method, device, equipment and storage medium

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E90F Notification of reason for final refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee