KR20200063342A - Method to update character recognition model - Google Patents

Method to update character recognition model Download PDF

Info

Publication number
KR20200063342A
KR20200063342A KR1020180145426A KR20180145426A KR20200063342A KR 20200063342 A KR20200063342 A KR 20200063342A KR 1020180145426 A KR1020180145426 A KR 1020180145426A KR 20180145426 A KR20180145426 A KR 20180145426A KR 20200063342 A KR20200063342 A KR 20200063342A
Authority
KR
South Korea
Prior art keywords
character
image
classification
recognition model
result
Prior art date
Application number
KR1020180145426A
Other languages
Korean (ko)
Other versions
KR102122560B1 (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 KR1020180145426A priority Critical patent/KR102122560B1/en
Publication of KR20200063342A publication Critical patent/KR20200063342A/en
Application granted granted Critical
Publication of KR102122560B1 publication Critical patent/KR102122560B1/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/19Recognition using electronic means
    • G06V30/191Design or setup of recognition systems or techniques; Extraction of features in feature space; Clustering techniques; Blind source separation
    • G06V30/19173Classification techniques
    • G06K9/3258
    • G06K9/6267
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • 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
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/19Recognition using electronic means
    • G06V30/191Design or setup of recognition systems or techniques; Extraction of features in feature space; Clustering techniques; Blind source separation
    • G06V30/1916Validation; Performance evaluation
    • G06K2209/01

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Biophysics (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • Computational Linguistics (AREA)
  • Biomedical Technology (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Character Discrimination (AREA)

Abstract

Disclosed is a method of updating a character recognition model. An operation stored in a computer program for processing the method comprises the operations of: classifying each of one or more character images included in a document image into a character through a character recognition model which includes one or more pre-learned network functions so as to determine a character included in the character images; determining whether the character determined according to classification results of the character images based on the classification is a suitable character; re-classifying, when the character determined according to the classification results of the character images is not suitable, the character images, and re-determining the character included in the character images; generating first learning data in which the character images are used as an input of first learning data and the character determined according to re-classification results is used as a label of the first learning data; and generating a character recognition module updated based on a first learning data set including the one or more first learning data.

Description

글자 인식 모델의 업데이트 방법{METHOD TO UPDATE CHARACTER RECOGNITION MODEL}How to update the character recognition model{METHOD TO UPDATE CHARACTER RECOGNITION MODEL}

본 개시는 글자 인식 모델을 업데이트하는 방법에 관한 것으로서, 보다 구체적으로 오류 학습 데이터에 기초하여 글자 인식 모델을 업데이트하는 방법에 관한 것이다.The present disclosure relates to a method of updating a character recognition model, and more particularly, to a method of updating a character recognition model based on error learning data.

약국, 보험 회사, 병원 등에서 처방전에 대한 OCR 기기와 같은 광학 인식 모듈을 이용하여, 처방전에 기재된 환자 정보, 처방 내역, 수급 정보 등을 자동으로 인식하고 있다.Pharmacies, insurance companies, hospitals, etc., automatically recognize patient information, prescription details, and supply/receipt information on prescriptions using optical recognition modules such as OCR devices for prescriptions.

다만, 사람이 직접 확인해서 작업하는 것이 아니기 때문에, OCR 기기를 통한 인식은 유사도가 높은 숫자 또는 문자 간의 인식 오류가 발생할 확률이 높다. 약국의 경우, 처방전의 OCR 기기 인식 오류가 발생하게 되면 환자에게 잘못된 약을 처방하게 될 수 있고, 보험사의 경우 피보험자에게 잘못된 금액을 지급하게 될 수도 있다.However, since the person does not directly check and work, the recognition through the OCR device is likely to cause a recognition error between numbers or characters with high similarity. In the case of a pharmacy, if a prescription OCR device recognition error occurs, the patient may be prescribed the wrong medicine, and the insurer may pay the wrong amount to the insured.

따라서, OCR 기기의 인식률 제고에 대한 방안에 대한 수요가 늘어나고 있다. 이러한 수요에 따라, 특히, 딥러닝을 이용한 OCR 솔루션에 대한 인식률 제고 방안에 대한 연구가 증가하고 있다.Accordingly, there is an increasing demand for a method for raising the recognition rate of OCR devices. In response to these demands, in particular, research is being conducted on ways to increase awareness of OCR solutions using deep learning.

대한민국 등록특허 제10-0717734호는 광학 마크 또는 문자 판독기의 입력 오류 방지 장치를 개시한다.Republic of Korea Patent Registration No. 10-0717734 discloses an input error prevention device for an optical mark or text reader.

본 개시는 전술한 배경기술에 대응하여 안출된 것으로, 글자 인식 모델의 업데이트 방법을 제공하기 위함이다.The present disclosure has been devised in correspondence with the background art described above, and is intended to provide a method for updating a character recognition model.

전술한 바와 같은 과제를 실현하기 위한 본 개시의 일 실시예에 따라 컴퓨터 판독가능 저장 매체에 저장된 컴퓨터 프로그램이 개시된다. 상기 컴퓨터 프로그램은 컴퓨팅 장치의 하나 이상의 프로세서에서 실행되는 경우 글자 인식 모델의 업데이트를 위한 이하의 동작들을 수행하도록 하며 상기 동작들은: 문서 이미지에 포함된 하나 이상의 글자 이미지 각각을 사전 학습된 하나 이상의 네트워크 함수를 포함하는 글자 인식 모델을 통해 각각의 글자로 분류하여 상기 글자 이미지가 포함하는 글자를 결정하는 동작; 상기 분류에 기초한 상기 글자 이미지의 분류 결과로 결정된 글자가 적합한 글자인지 여부를 결정하는 동작; 상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 경우, 상기 글자 이미지를 재 분류하여 상기 글자 이미지에 포함된 글자를 재 결정하는 동작; 상기 글자 이미지를 제 1 학습 데이터의 입력으로 하고, 재 분류 결과로 결정된 글자를 상기 제 1 학습 데이터의 라벨로 하는, 상기 제 1 학습 데이터를 생성하는 동작; 및 하나 이상의 제 1 학습 데이터를 포함하는 제 1 학습 데이터 세트에 기초하여 업데이트 된 글자 인식 모델을 생성하는 동작을 포함할 수 있다.Disclosed is a computer program stored in a computer readable storage medium in accordance with one embodiment of the present disclosure for realizing the above-described problems. The computer program, when executed on one or more processors of the computing device, performs the following operations for updating the character recognition model, and the operations are: one or more network functions pre-trained for each one or more character images included in the document image Determining a character included in the character image by classifying each character through a character recognition model including a character; Determining whether a character determined as a result of the classification of the character image based on the classification is a suitable character; Re-determining a character included in the character image by re-classifying the character image when the character determined as the result of the classification of the character image is not suitable; Generating the first learning data using the text image as the input of the first learning data, and using the text determined as a result of the reclassification as a label of the first learning data; And generating an updated character recognition model based on the first training data set including one or more first training data.

글자 인식 모델의 업데이트를 위한 이하의 동작들을 수행하도록 하는 컴퓨터 프로그램 동작들의 대안적인 실시예에서, 상기 분류에 기초한 상기 글자 이미지의 분류 결과로 결정된 글자가 적합한 글자인지 여부를 결정하는 동작은, 상기 글자 이미지에 대한 분류 결과의 신뢰도가 사전 결정된 값 이하인 경우, 상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 것으로 결정하는 동작을 포함할 수 있다.In an alternative embodiment of computer program operations to perform the following operations for updating the character recognition model, the operation of determining whether a character determined as a result of the classification of the character image based on the classification is a suitable character is the character When the reliability of the classification result for the image is equal to or less than a predetermined value, an operation of determining that the character determined as the classification result of the character image is not suitable may be included.

글자 인식 모델의 업데이트를 위한 이하의 동작들을 수행하도록 하는 컴퓨터 프로그램 동작들의 대안적인 실시예에서, 상기 분류에 기초한 상기 글자 이미지의 분류 결과로 결정된 글자가 적합한 글자인지 여부를 결정하는 동작은, 상기 분류 결과로 결정된 글자가 전체 글자 분류 클래스에 포함되지 않는 글자인 경우, 또는 상기 분류 결과로 결정된 글자가 상기 문서 이미지의 도메인의 글자 별 사용 빈도가 일정 값 이하인 글자에 해당하는 경우, 상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 것으로 결정하는 동작을 포함할 수 있다.In an alternative embodiment of computer program operations to perform the following operations for updating the character recognition model, the operation of determining whether a character determined as a result of the classification of the character image based on the classification is a suitable character is the classification If the character determined as a result is a character that is not included in the entire character classification class, or when the character determined as the result of the classification corresponds to a character whose frequency of use for each character of the domain of the document image is less than or equal to a certain value, the character image And determining that the letter determined as the result of the classification is not suitable.

글자 인식 모델의 업데이트를 위한 이하의 동작들을 수행하도록 하는 컴퓨터 프로그램 동작들의 대안적인 실시예에서, 상기 분류에 기초한 상기 글자 이미지의 분류 결과로 결정된 글자가 적합한 글자인지 여부를 결정하는 동작은, 상기 문서 이미지에 포함된 하나 이상의 글자 이미지 각각의 분류 결과로 결정된 글자를 의미 단위로 그룹화하여 하나 이상의 인식 단어를 추출하는 동작; 및 상기 하나 이상의 인식 단어 각각을 메모리에 저장된 하나 이상의 기준 단어와 비교 결과에 기초하여, 상기 인식 단어의 기초가 되는 하나 이상의 글자 이미지 중 적어도 하나의 글자 이미지의 분류 결과로 결정된 글자가 적합하지 않은 것으로 결정하는 동작을 포함할 수 있다.In an alternative embodiment of computer program operations to perform the following operations for updating the character recognition model, the operation of determining whether a character determined as a result of the classification of the character image based on the classification is a suitable character is the document Extracting one or more recognition words by grouping characters determined as a result of classification of one or more character images included in the image into semantic units; And a letter determined as a result of classifying at least one letter image among one or more letter images that are the basis of the recognized word, based on a result of comparing each of the one or more recognized words with one or more reference words stored in memory. And determining.

글자 인식 모델의 업데이트를 위한 이하의 동작들을 수행하도록 하는 컴퓨터 프로그램 동작들의 대안적인 실시예에서, 상기 분류에 기초한 상기 글자 이미지의 분류 결과로 결정된 글자가 적합한 글자인지 여부를 결정하는 동작은, 상기 문서 이미지에 포함된 하나 이상의 글자 이미지 각각의 분류 결과로 결정된 글자를 의미 단위로 그룹화하여 하나 이상의 인식 단어를 추출하는 동작; 상기 인식 단어의 상기 문서 이미지 상에서의 컨텍스트 분석을 통해 상기 글자 이미지의 분류 결과가 적합한 글자인지 여부를 결정하는 동작을 포함할 수 있다.In an alternative embodiment of computer program operations to perform the following operations for updating the character recognition model, the operation of determining whether a character determined as a result of the classification of the character image based on the classification is a suitable character is the document Extracting one or more recognition words by grouping characters determined as a result of classification of one or more character images included in the image into semantic units; And determining whether the classification result of the character image is an appropriate character through context analysis of the recognition word on the document image.

글자 인식 모델의 업데이트를 위한 이하의 동작들을 수행하도록 하는 컴퓨터 프로그램 동작들의 대안적인 실시예에서, 상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 경우, 상기 글자 이미지를 재 분류하여 상기 글자 이미지에 포함된 글자를 재 결정하는 동작은, 상기 글자 이미지의 분류 결과가 메모리에 저장되어 있는 하나 이상의 글자 클래스에 포함되도록 상기 글자 이미지를 재 분류하는 동작을 포함할 수 있다.In an alternative embodiment of computer program operations to perform the following operations for updating the character recognition model, if the character determined as the result of the classification of the character image is not suitable, the character image is reclassified to classify the character image The operation of re-determining the characters included in the operation may include re-classifying the character images such that the classification result of the character images is included in one or more character classes stored in the memory.

글자 인식 모델의 업데이트를 위한 이하의 동작들을 수행하도록 하는 컴퓨터 프로그램 동작들의 대안적인 실시예에서, 상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 경우, 상기 글자 이미지를 재 분류하여 상기 글자 이미지에 포함된 글자를 재 결정하는 동작은, 상기 분류 결과가 적합하지 않은 글자 이미지를 기초로 하는 인식 단어를 추출하는 동작; 및 상기 인식 단어에 포함된 하나 이상의 글자 및 메모리에 저장된 하나 이상의 기준 단어 중 기준 단어 각각에 포함된 하나 이상의 글자의 매칭 비율이 가장 높은 기준 단어를 기초로 하여, 상기 인식 단어에 포함된 상기 분류 결과가 적합하지 않은 글자 이미지를 재 분류하는 동작을 포함할 수 있다.In an alternative embodiment of computer program operations to perform the following operations for updating the character recognition model, if the character determined as the result of the classification of the character image is not suitable, the character image is reclassified to classify the character image The operation of re-determining the characters included in the operation may include: extracting a recognition word based on the character image for which the classification result is not suitable; And one or more letters included in the recognition word and one or more reference words stored in the memory, based on the reference word having the highest matching ratio of each of the reference words, the classification result included in the recognition word. May include reclassifying an inappropriate text image.

글자 인식 모델의 업데이트를 위한 이하의 동작들을 수행하도록 하는 컴퓨터 프로그램 동작들의 대안적인 실시예에서, 상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 경우, 상기 글자 이미지를 재 분류하여 상기 글자 이미지에 포함된 글자를 재 결정하는 동작은, 사용자 컴퓨팅 장치로부터 상기 글자 이미지에 대한 수동 보정 정보를 수신하는 동작; 및 상기 수동 보정 정보에 기초하여 상기 글자 이미지를 재 분류하는 동작을 포함할 수 있다.In an alternative embodiment of computer program operations to perform the following operations for updating the character recognition model, if the character determined as the result of the classification of the character image is not suitable, the character image is reclassified to classify the character image Re-determining the characters included in the operation comprises: receiving manual correction information for the character image from a user computing device; And re-classifying the text image based on the manual correction information.

글자 인식 모델의 업데이트를 위한 이하의 동작들을 수행하도록 하는 컴퓨터 프로그램 동작들의 대안적인 실시예에서, 상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 경우, 상기 글자 이미지에 부적합 정보를 표시하는 동작을 더 포함할 수 있다.In an alternative embodiment of computer program operations to perform the following operations for updating the character recognition model, when the character determined as the result of the classification of the character image is not suitable, displaying the non-conformance information in the character image It may further include.

글자 인식 모델의 업데이트를 위한 이하의 동작들을 수행하도록 하는 컴퓨터 프로그램 동작들의 대안적인 실시예에서, 제 1 학습 데이터 세트는, 상기 글자 인식 모델의 학습 후 수집된 사전 결정된 개수의 제 1 학습 데이터를 포함하거나, 또는 사전 결정된 기간 동안 수집된 제 1 학습 데이터를 포함할 수 있다.In an alternative embodiment of computer program operations to perform the following operations for updating the character recognition model, the first set of training data includes a predetermined number of first training data collected after training of the character recognition model. Or, it may include first learning data collected during a predetermined period.

글자 인식 모델의 업데이트를 위한 이하의 동작들을 수행하도록 하는 컴퓨터 프로그램 동작들의 대안적인 실시예에서, 하나 이상의 제 1 학습 데이터를 포함하는 제 1 학습 데이터 세트에 기초하여 업데이트 된 글자 인식 모델을 생성하는 동작은, 상기 제 1 학습 데이터의 상기 글자 이미지를 상기 글자 인식 모델의 입력으로 하여 하나의 글자로 분류하는 동작; 상기 제 1 학습 데이터에 대한 분류에 기초한 학습 분류 결과로 결정된 글자와 상기 제 1 학습 데이터의 라벨인, 상기 재 분류 결과로 결정된 글자를 비교하여 오차를 연산하는 동작; 상기 오차에 기초하여 상기 글자 인식 모델의 가중치를 업데이트하여 업데이트 된 글자 인식 모델을 생성하는 동작을 포함할 수 있다.In an alternative embodiment of computer program operations to perform the following operations for updating the character recognition model, generating an updated character recognition model based on the first training data set comprising one or more first training data. The method may include classifying the text image of the first learning data into one text character as an input of the text recognition model; Calculating an error by comparing a letter determined as a result of the learning classification based on classification of the first learning data and a letter determined as the result of the re-classification, which is a label of the first learning data; And generating an updated character recognition model by updating the weight of the character recognition model based on the error.

글자 인식 모델의 업데이트를 위한 이하의 동작들을 수행하도록 하는 컴퓨터 프로그램 동작들의 대안적인 실시예에서, 하나 이상의 제 1 학습 데이터를 포함하는 제 1 학습 데이터 세트에 기초하여 업데이트 된 글자 인식 모델을 생성하는 동작은, 상기 사전 학습된 글자 인식 모델 학습의 기초가 된 제 2 학습 데이터 세트 중 적어도 일부의 제 2 학습 데이터 및 상기 제 1 학습 데이터를 기초로 새로운 글자 인식 모델을 학습시켜, 업데이트 된 글자 인식 모델을 생성하는 동작을 포함할 수 있다.In an alternative embodiment of computer program operations to perform the following operations for updating the character recognition model, generating an updated character recognition model based on the first training data set comprising one or more first training data. A new character recognition model is trained on the basis of the second learning data and the first learning data of at least some of the second learning data sets that are the basis for learning the pre-trained character recognition model, and thereby updating the updated character recognition model. It may include an action to generate.

글자 인식 모델의 업데이트를 위한 이하의 동작들을 수행하도록 하는 컴퓨터 프로그램 동작들의 대안적인 실시예에서, 상기 업데이트 된 글자 인식 모델은, 상기 사전 학습된 글자 인식 모델의 가중치를 적어도 일부 공유할 수 있다.In an alternative embodiment of computer program operations to perform the following operations for updating the character recognition model, the updated character recognition model may share at least some of the weights of the pre-trained character recognition model.

글자 인식 모델의 업데이트를 위한 이하의 동작들을 수행하도록 하는 컴퓨터 프로그램 동작들의 대안적인 실시예에서, 상기 업데이트 된 글자 인식 모델은, 상기 사전 학습된 글자 인식 모델의 적어도 일부의 레이어를 공유하는 새로운 글자 인식 모델일 수 있다.In an alternative embodiment of computer program operations to perform the following operations for updating the character recognition model, the updated character recognition model is a new character recognition that shares a layer of at least a portion of the pre-trained character recognition model. It can be a model.

글자 인식 모델의 업데이트를 위한 이하의 동작들을 수행하도록 하는 컴퓨터 프로그램 동작들의 대안적인 실시예에서, 상기 글자 이미지에 포함된 글자 이미지를 상기 글자 인식 모델 및 상기 업데이트 된 글자 인식 모델을 이용하여 분류하는 동작; 및 상기 글자 인식 모델의 분류 결과 및 상기 업데이트 된 글자 인식 모델의 분류 결과를 앙상블 하여 상기 글자 이미지가 포함하는 글자에 대한 최종 분류 결과를 생성하는 동작을 더 포함할 수 있다.In an alternative embodiment of computer program operations to perform the following operations for updating the character recognition model, the operation of classifying the character image included in the character image using the character recognition model and the updated character recognition model ; And ensemble the classification result of the character recognition model and the classification result of the updated character recognition model to generate a final classification result for characters included in the character image.

글자 인식 모델의 업데이트를 위한 이하의 동작들을 수행하도록 하는 컴퓨터 프로그램 동작들의 대안적인 실시예에서, 상기 문서 이미지에 포함된 글자 이미지를 상기 글자 인식 모델을 통해 제 1 글자로 분류하는 동작; 상기 제 1 글자가 상기 제 1 학습 데이터에 기초하여 결정되는 글자 분류 클래스에 해당하는 경우, 상기 글자 이미지를 상기 업데이트 된 글자 인식 모델을 이용하여 분류 할 것을 결정하는 동작; 및 상기 글자 이미지를 상기 업데이트 된 글자 인식 모델을 이용하여 분류하여 상기 글자 이미지가 포함하는 글자에 대한 최종 분류 결과를 생성하는 동작을 더 포함할 수 있다.In an alternative embodiment of computer program operations to perform the following operations for updating the character recognition model, the operation of classifying the character image included in the document image into the first character through the character recognition model; If the first character corresponds to a character classification class determined based on the first learning data, determining to classify the character image using the updated character recognition model; And classifying the text image using the updated text recognition model to generate a final classification result for text included in the text image.

본 개시의 일 실시예에 따라 글자 인식 모델의 업데이트 방법이 개시된다. 상기 방법은, 문서 이미지에 포함된 하나 이상의 글자 이미지 각각을 사전 학습된 하나 이상의 네트워크 함수를 포함하는 글자 인식 모델을 통해 각각의 글자로 분류하여 상기 글자 이미지가 포함하는 글자를 결정하는 단계; 상기 분류에 기초한 상기 글자 이미지의 분류 결과로 결정된 글자가 적합한 글자인지 여부를 결정하는 단계; 상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 경우, 상기 글자 이미지를 재 분류하여 상기 글자 이미지에 포함된 글자를 재 결정하는 단계; 상기 글자 이미지를 제 1 학습 데이터의 입력으로 하고, 재 분류 결과로 결정된 글자를 상기 제 1 학습 데이터의 라벨로 하는, 상기 제 1 학습 데이터를 생성하는 단계; 및 하나 이상의 제 1 학습 데이터를 포함하는 제 1 학습 데이터 세트에 기초하여 업데이트 된 글자 인식 모델을 생성하는 단계를 포함할 수 있다.Disclosed is a method for updating a character recognition model according to an embodiment of the present disclosure. The method may include determining a character included in the character image by classifying each character image included in the document image into each character through a character recognition model including one or more pre-trained network functions; Determining whether a letter determined as a result of the classification of the letter image based on the classification is a suitable letter; Re-determining a character included in the character image by re-classifying the character image when the character determined as the result of the classification of the character image is not suitable; Generating the first learning data using the text image as the input of the first learning data and the text determined as a result of the reclassification as a label of the first learning data; And generating an updated character recognition model based on the first training data set including one or more first training data.

본 개시의 일 실시예에 따라 컴퓨팅 장치가 개시된다. 상기 컴퓨팅 장치는, 하나 이상의 코어를 포함하는 프로세서; 및 메모리를 포함하고, 상기 프로세서는, 문서 이미지에 포함된 하나 이상의 글자 이미지 각각을 사전 학습된 하나 이상의 네트워크 함수를 포함하는 글자 인식 모델을 통해 각각의 글자로 분류하여 상기 글자 이미지가 포함하는 글자를 결정하고, 상기 분류에 기초한 상기 글자 이미지의 분류 결과로 결정된 글자가 적합한 글자인지 여부를 결정하고, 상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 경우, 상기 글자 이미지를 재 분류하여 상기 글자 이미지에 포함된 글자를 재 결정하고, 상기 글자 이미지를 제 1 학습 데이터의 입력으로 하고, 재 분류 결과로 결정된 글자를 상기 제 1 학습 데이터의 라벨로 하는, 상기 제 1 학습 데이터를 생성하고, 그리고 하나 이상의 제 1 학습 데이터를 포함하는 제 1 학습 데이터 세트에 기초하여 업데이트 된 글자 인식 모델을 생성할 수 있다.A computing device is disclosed in accordance with one embodiment of the present disclosure. The computing device includes a processor comprising one or more cores; And a memory, wherein the processor classifies each of the one or more character images included in the document image into each character through a character recognition model including one or more pre-trained network functions to identify characters included in the character image. Determines whether or not the character determined as a result of the classification of the character image based on the classification is a suitable character, and when the character determined as the result of the classification of the character image is not suitable, classifies the character image and reclassifies the character The first learning data is generated by re-determining the characters included in the image, using the character image as the input of the first learning data, and using the character determined as the result of the re-classification as a label of the first learning data, and An updated character recognition model may be generated based on the first training data set including one or more first training data.

본 개시는 글자 인식 모델의 업데이트 방법을 제공할 수 있다.The present disclosure may provide a method of updating a character recognition model.

도 1은 본 개시의 일 실시예에 따른 글자 인식 모델의 업데이트를 위한 동작을 수행하는 컴퓨팅 장치의 블록 구성도를 도시한 도면이다.
도 2는 본 개시의 일 실시예에 따른 글자 인식 모델의 업데이트를 위한 학습 데이터 생성 방법에 관한 예시를 도시한 도면이다.
도 3은 본 개시의 일 실시예에 따른 글자 인식 모델의 업데이트 방법의 순서도이다.
도 4는 본 개시의 일 실시예에 따른 글자 인식 모델의 업데이트 방법을 구현하기 위한 로직을 도시한 블록 구성도이다.
도 5는 본 개시의 일 실시예에 따른 컴퓨팅 장치의 블록 구성도이다.
1 is a block diagram of a computing device performing an operation for updating a character recognition model according to an embodiment of the present disclosure.
2 is a diagram illustrating an example of a method of generating learning data for updating a character recognition model according to an embodiment of the present disclosure.
3 is a flowchart of a method for updating a character recognition model according to an embodiment of the present disclosure.
4 is a block diagram illustrating logic for implementing a method of updating a character recognition model according to an embodiment of the present disclosure.
5 is a block diagram of a computing device according to an embodiment of the present disclosure.

다양한 실시예들이 이제 도면을 참조하여 설명되며, 전체 도면에서 걸쳐 유사한 도면번호는 유사한 구성요소를 나타내기 위해서 사용된다. 본 명세서에서, 다양한 설명들이 본 개시의 이해를 제공하기 위해서 제시된다. 그러나 이러한 실시예들은 이러한 구체적인 설명 없이도 실행될 수 있음이 명백하다. Various embodiments are now described with reference to the drawings, and like reference numbers throughout the drawings are used to denote similar elements. In this specification, various descriptions are presented to provide an understanding of the present disclosure. However, it is clear that these embodiments can be practiced without these specific details.

본 명세서에서 사용되는 용어 "컴포넌트", "모듈", "시스템" 등은 컴퓨터-관련 엔티티, 하드웨어, 펌웨어, 소프트웨어, 소프트웨어 및 하드웨어의 조합, 또는 소프트웨어의 실행을 지칭한다. 예를 들어, 컴포넌트는 프로세서상에서 실행되는 처리과정, 프로세서, 객체, 실행 스레드, 프로그램, 및/또는 컴퓨터일 수 있지만, 이들로 제한되는 것은 아니다. 예를 들어, 컴퓨팅 장치에서 실행되는 애플리케이션 및 컴퓨팅 장치 모두 컴포넌트일 수 있다. 하나 이상의 컴포넌트는 프로세서 및/또는 실행 스레드 내에 상주할 수 있고, 일 컴포넌트는 하나의 컴퓨터 내에 로컬화될 수 있고, 또는 2개 이상의 컴퓨터들 사이에 분배될 수 있다. 또한, 이러한 컴포넌트들은 그 내부에 저장된 다양한 데이터 구조들을 갖는 다양한 컴퓨터 판독가능한 매체로부터 실행할 수 있다. 컴포넌트들은 예를 들어 하나 이상의 데이터 패킷들을 갖는 신호(예를 들면, 로컬 시스템, 분산 시스템에서 다른 컴포넌트와 상호작용하는 하나의 컴포넌트로부터 데이터 및/또는 신호를 통해 다른 시스템과 인터넷과 같은 네트워크를 통한 데이터)에 따라 로컬 및/또는 원격 처리들을 통해 통신할 수 있다. As used herein, the terms “component”, “module”, “system” and the like refer to computer-related entities, hardware, firmware, software, a combination of software and hardware, or execution of software. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, a thread of execution, a program, and/or a computer. For example, both the application and the computing device running on the computing device can be components. One or more components can reside within a processor and/or thread of execution, and one component can be localized within one computer, or distributed between two or more computers. In addition, these components can execute from various computer readable media having various data structures stored therein. Components are, for example, signals having one or more data packets (e.g., data from one component interacting with another component in a local system, distributed system, and/or data via a network such as the Internet with other systems via signals and/or signals). ) Through local and/or remote processes.

더불어, 용어 "또는"은 배타적 "또는"이 아니라 내포적 "또는"을 의 미하는 것으로 의도된다. 즉, 달리 특정되지 않거나 문맥상 명확하지 않은 경우에, "X는 A 또는 B를 이용한다"는 자연적인 내포적 치환 중 하나를 의미하는 것으로 의도된다. 즉, X가 A를 이용하거나; X가 B를 이용하거나; 또는 X가 A 및 B 모두를 이용하는 경우, "X는 A 또는 B를 이용한다"가 이들 경우들 어느 것으로도 적용될 수 있다. 또한, 본 명세서에 사용된 "및/또는"이라는 용어는 열거된 관련 아이템들 중 하나 이상의 아이템의 가능한 모든 조합을 지칭하고 포함하는 것으로 이해되어야 한다.In addition, the term “or” is intended to mean an inclusive “or” rather than an exclusive “or”. That is, unless specified otherwise or unclear in context, "X uses A or B" is intended to mean one of the natural inclusive substitutions. That is, X uses A; X uses B; Or, if X uses both A and B, "X uses A or B" can be applied in either of these cases. It should also be understood that the term “and/or” as used herein refers to and includes all possible combinations of one or more of the listed related items.

또한, "포함한다" 및/또는 "포함하는"이라는 용어는, 해당 특징 및/또는 구성요소가 존재함을 의미하는 것으로 이해되어야 한다. 다만, "포함한다" 및/또는 "포함하는"이라는 용어는, 하나 이상의 다른 특징, 구성요소 및/또는 이들의 그룹의 존재 또는 추가를 배제하지 않는 것으로 이해되어야 한다. 또한, 달리 특정되지 않거나 단수 형태를 지시하는 것으로 문맥상 명확하지 않은 경우에, 본 명세서와 청구범위에서 단수는 일반적으로 "하나 또는 그 이상"을 의미하는 것으로 해석되어야 한다. Also, the terms “comprises” and/or “comprising” should be understood as meaning that the corresponding features and/or components are present. It should be understood, however, that the terms “comprises” and/or “comprising” do not exclude the presence or addition of one or more other features, components, and/or groups thereof. In addition, unless otherwise specified or contextually unclear as indicating a singular form, the singular in the specification and claims should generally be construed to mean "one or more."

제시된 실시예들에 대한 설명은 본 개시의 기술 분야에서 통상의 지식을 가진 자가 본 개시를 이용하거나 또는 실시할 수 있도록 제공된다. 이러한 실시예들에 대한 다양한 변형들은 본 개시의 기술 분야에서 통상의 지식을 가진 자에게 명백할 것이며, 여기에 정의된 일반적인 원리들은 본 개시의 범위를 벗어남이 없이 다른 실시예들에 적용될 수 있다. 그리하여, 본 개시는 여기에 제시된 실시예들로 한정되는 것이 아니라, 여기에 제시된 원리들 및 신규한 특징들과 일관되는 최광의의 범위에서 해석되어야 할 것이다. Descriptions of the presented embodiments are provided to enable any person skilled in the art to use or practice the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art of the present disclosure, and the general principles defined herein can be applied to other embodiments without departing from the scope of the present disclosure. Thus, the present disclosure should not be limited to the embodiments presented herein, but should be interpreted in the broadest scope consistent with the principles and novel features presented herein.

본 개시의 일 실시예에서 서버는 서버의 서버 환경을 수행하기 위한 다른 구성들이 포함될 수도 있다. 서버는 임의의 형태의 장치는 모두 포함할 수 있다. 서버는 디지털 기기로서, 랩탑 컴퓨터, 노트북 컴퓨터, 데스크톱 컴퓨터, 웹 패드, 이동 전화기와 같이 프로세서를 탑재하고 메모리를 구비한 연산 능력을 갖춘 디지털 기기일 수 있다. 서버는 서비스를 처리하는 웹 서버일 수 있다. 전술한 서버의 종류는 예시일 뿐이며 본 개시는 이에 제한되지 않는다. In one embodiment of the present disclosure, the server may include other configurations for performing the server environment of the server. The server can include any type of device. The server is a digital device, and may be a digital device equipped with a processor and having computing power, such as a laptop computer, a notebook computer, a desktop computer, a web pad, and a mobile phone. The server may be a web server that processes services. The above-described types of servers are only examples, and the present disclosure is not limited thereto.

본 명세서에 걸쳐, 모델, 신경망, 네트워크 함수, 뉴럴 네트워크(neural network)는 동일한 의미로 사용될 수 있다. 신경망은 일반적으로 “노드”라 지칭될 수 있는 상호 연결된 계산 단위들의 집합으로 구성될 수 있다. 이러한 “노드”들은 “뉴런(neuron)”들로 지칭될 수도 있다. 신경망은 적어도 하나 이상의 노드들을 포함하여 구성된다. 신경망들을 구성하는 노드(또는 뉴런)들은 하나 이상의 “링크”에 의해 상호 연결될 수 있다.Throughout this specification, models, neural networks, network functions, and neural networks may be used in the same sense. A neural network may consist of a set of interconnected computational units, which may generally be referred to as "nodes." These “nodes” may also be referred to as “neurons”. The neural network comprises at least one node. Nodes (or neurons) constituting neural networks may be interconnected by one or more “links”.

본 명세서에서 네트워크 함수는 하나 이상의 뉴럴 네트워크를 포함할 수도 있으며, 이 경우 네트워크 함수의 출력은 하나 이상의 뉴럴 네트워크의 출력의 앙상블(ensemble)일 수 있다. 모델은 다른 모델과 함께 데이터의 처리를 수행할 수 있다. 모델은 다른 모델과 직렬 또는 병렬로 상호 연결될 수 있다.In this specification, the network function may include one or more neural networks, and in this case, the output of the network function may be an ensemble of the output of the one or more neural networks. The model can perform data processing with other models. The models can be interconnected in series or in parallel with other models.

도 1은 본 개시의 일 실시예에 따른 글자 인식 모델의 업데이트를 위한 동작을 수행하는 컴퓨팅 장치의 블록 구성도를 도시한 도면이다.1 is a block diagram of a computing device performing an operation for updating a character recognition model according to an embodiment of the present disclosure.

도 1에 도시된 컴퓨팅 장치(100)의 구성은 간략화 하여 나타낸 예시일 뿐이다. 본 개시의 일 실시예에서 컴퓨팅 장치(100)는 컴퓨팅 장치(100)의 컴퓨팅 환경을 수행하기 위한 다른 구성들이 포함될 수 있다.The configuration of the computing device 100 illustrated in FIG. 1 is merely an example for simplicity. In one embodiment of the present disclosure, the computing device 100 may include other configurations for performing the computing environment of the computing device 100.

본 개시의 일 실시예에 따른 글자 인식 모델의 업데이트 방법을 위한 컴퓨팅 장치(100)는 글자 인식 모델의 인식 오류 데이터에 기초하여 글자 인식 모델의 업데이트를 위해 사용될 수 있다.The computing device 100 for a method of updating a character recognition model according to an embodiment of the present disclosure may be used to update a character recognition model based on recognition error data of the character recognition model.

본 개시의 일 실시예에 따른 글자 인식 모델의 업데이트 방법을 위한 컴퓨팅 장치(100)는 네트워크부(110), 프로세서(120) 및 메모리(130)를 포함할 수 있다. The computing device 100 for a method of updating a character recognition model according to an embodiment of the present disclosure may include a network unit 110, a processor 120, and a memory 130.

네트워크부(110)는 본 개시의 일 실시예에 따른 글자 인식 모델의 업데이트 방법을 수행하기 위한 데이터 등을 다른 컴퓨팅 장치, 서버 등과 송수신할 수 있다. 네트워크부(110)는 글자 이미지의 인식 오류에 대한 정보를 다른 컴퓨팅 장치로부터 수신할 수 있다. 네트워크부(110)는 글자 이미지의 인식 오류 여부를 판단하기 위한 사전 저장된 용어를 서버로부터 수신할 수 있다. 또한, 네트워크부(110)는 복수의 컴퓨팅 장치 사이의 통신을 가능하게 하여 복수의 컴퓨팅 장치 각각에서 모델의 학습이 분산 수행되도록 할 수 있다. 네트워크부(110)는 복수의 컴퓨팅 장치 사이의 통신을 가능하게 하여 모델을 이용한 이미지의 글자 인식을 분산 처리할 수 있도록 할 수 있다.The network unit 110 may transmit and receive data, etc. for performing a method of updating a character recognition model according to an embodiment of the present disclosure to other computing devices, servers, and the like. The network unit 110 may receive information on a recognition error of the text image from another computing device. The network unit 110 may receive a pre-stored terminology for determining whether a character image is recognized or not, from a server. In addition, the network unit 110 may enable communication between a plurality of computing devices so that learning of a model is distributed in each of the plurality of computing devices. The network unit 110 may enable communication between a plurality of computing devices so that character recognition of images using a model can be distributed.

프로세서(120)는 하나 이상의 코어로 구성될 수 있으며, 컴퓨팅 장치의 중앙 처리 장치(CPU: central processing unit), 범용 그래픽 처리 장치 (GPGPU: general purpose graphics processing unit), 텐서 처리 장치(TPU: tensor processing unit) 등의 데이터 분석, 딥러닝을 위한 프로세서를 포함할 수 있다. 프로세서(120)는 메모리(130)에 저장된 컴퓨터 프로그램을 판독하여 본 개시의 일 실시예에 따른 글자 인식 모델의 업데이트 방법을 수행할 수 있다. 본 개시의 일 실시예에 따라 프로세서(120)는 신경망의 학습을 위한 계산을 수행할 수 있다.The processor 120 may be composed of one or more cores, a central processing unit (CPU) of a computing device, a general purpose graphics processing unit (GPGPU), and a tensor processing unit (TPU). unit), and a processor for data analysis and deep learning. The processor 120 may read a computer program stored in the memory 130 to perform a method of updating a character recognition model according to an embodiment of the present disclosure. According to an embodiment of the present disclosure, the processor 120 may perform calculation for learning a neural network.

프로세서(120)의 CPU, GPGPU, 및 TPU 중 적어도 하나가 모델의 학습을 처리할 수 있다. 또한, 본 개시의 일 실시예에 따른 컴퓨팅 장치에서 수행되는 컴퓨터 프로그램은 CPU, GPGPU 또는 TPU 실행가능 프로그램일 수 있다.At least one of the CPU, GPGPU, and TPU of the processor 120 may process training of the model. Further, the computer program executed in the computing device according to an embodiment of the present disclosure may be a CPU, GPGPU, or TPU executable program.

본 개시의 일 실시예에서 컴퓨팅 장치(100)는 CPU, GPGPU, 및 TPU 중 적어도 하나를 이용하여 모델을 분산하여 처리할 수 있다. 또한 본 개시의 일 실시예에서 컴퓨팅 장치(100)는 다른 컴퓨팅 장치와 함께 모델을 분산하여 처리할 수 있다.In one embodiment of the present disclosure, the computing device 100 may distribute and process a model using at least one of a CPU, GPGPU, and TPU. In addition, in one embodiment of the present disclosure, the computing device 100 may distribute and process a model together with other computing devices.

이하에서는, 프로세서(120)가 문서 이미지를 전처리하는 방법에 관하여 설명한다.Hereinafter, a method of preprocessing a document image by the processor 120 will be described.

프로세서(120)는 문서 이미지에 포함된 하나 이상의 글자 이미지 각각을 사전 학습된 하나 이상의 네트워크 함수를 포함하는 글자 인식 모델을 통해 각각의 글자로 분류하여 상기 글자 이미지가 포함하는 글자를 결정할 수 있다. 문서 이미지는, 하나 이상의 인식 대상 글자를 포함하는 문서에 대한 이미지일 수 있다. 문서 이미지는, 하나 이상의 글자 이미지를 포함할 수 있다. 글자 이미지는, 하나의 글자를 포함하는 이미지일 수 있다. 예를 들어, 글자 이미지는 '가'라는 글자 하나를 포함하고 있는 이미지일 수 있다. 프로세서(120)는 네트워크부(110)를 통해 문서 이미지를 수신할 수도 있고, 카메라부(미도시)를 통해 문서 이미지를 수신할 수도 있다. 예를 들어, 글자 인식 모델을 약국에서 사용하는 경우, 문서 이미지는 처방전일 수도 있고, 보험회사에서 사용하는 경우, 문서 이미지는 진료비 세부내역서일 수도 있다. 전술한 문서 이미지 및 글자 이미지에 대한 기재는 예시일 뿐이며 본 개시는 이에 제한되지 않는다.The processor 120 may classify each of the one or more character images included in the document image into each character through a character recognition model including one or more pre-trained network functions to determine characters included in the character image. The document image may be an image of a document including one or more recognition target characters. The document image may include one or more text images. The letter image may be an image including one letter. For example, the letter image may be an image that includes one letter of'A'. The processor 120 may receive a document image through the network unit 110 or a document image through a camera unit (not shown). For example, when the character recognition model is used in a pharmacy, the document image may be a prescription, or when used by an insurance company, the document image may be a statement of medical expenses. The description of the document image and the text image described above is merely an example, and the present disclosure is not limited thereto.

프로세서(120)는 수신한 문서 이미지에 대하여 이미지 전처리를 수행할 수 있다. 이미지 전처리는, 기울임 보정, 선 및 노이즈 제거, 문자 영역 탐지를 포함할 수 있다. The processor 120 may perform image pre-processing on the received document image. Image pre-processing may include skew correction, line and noise removal, and character area detection.

기울임 보정은, 문서 이미지가 기울어져 있는 경우, 글자 인식 모델이 글자를 인식하기 편하도록 문서 이미지를 정방향으로 돌리는 것을 의미할 수 있다. 프로세서(120)는 문서 이미지에 포함된 임계값 길이 이상의 선을 인식할 수 있다. 프로세서(120)는 임계값 길이 이상의 선에 기초하여 문서 이미지의 기울임을 보정할 수 있다. 프로세서(120)는 임계값 길이 이상의 선과 문서 이미지 자체의 엣지를 비교할 수 있다. 프로세서(120)는 사전 결정된 개수 이상의 임계값 이상의 선과 문서 이미지 자체의 엣지를 비교할 수도 있다. 이는, 문서 내에 표 등을 제외한 표 내의 대각선 표시 등과 문서 이미지의 엣지를 비교하는 것을 막기 위함이다. 프로세서(120)는 임계값 길이 이상의 선과 문서 이미지의 엣지가 평행인 경우, 문서 이미지가 정방향인 것으로 결정할 수 있다. 프로세서(120)는 임계값 길이 이상의 선과 문서 이미지의 엣지가 평행이 아닌 경우, 문서 이미지가 기울어져 있는 것으로 결정할 수 있고, 해당 문서 이미지를 평행이 되도록 조정할 수 있다. 예를 들어, 문서 내의 표와 문서 이미지의 엣지를 비교하였을 때, 표가 엣지에 평행하지 않게 위치해 있을 경우 문서 이미지의 기울임을 보정할 수 있다.The skew correction may mean that, when the document image is inclined, the text recognition model rotates the document image in a forward direction to facilitate recognition of the text. The processor 120 may recognize a line having a threshold length or more included in the document image. The processor 120 may correct the inclination of the document image based on a line having a threshold length or more. The processor 120 may compare a line having a threshold length or more and an edge of the document image itself. The processor 120 may compare the edges of the document image itself with a line having a threshold value equal to or greater than a predetermined number. This is to prevent comparing the edges of the document image and the diagonal display in the table except for the table in the document. The processor 120 may determine that the document image is in a forward direction when a line having a threshold length or more and an edge of the document image are parallel. The processor 120 may determine that the document image is inclined when the line having a threshold length or more and the edge of the document image are not parallel, and may adjust the document image to be parallel. For example, when a table in a document is compared to an edge of a document image, the tilt of the document image may be corrected when the table is positioned not parallel to the edge.

선 및 노이즈 제거는, 문서 이미지에서 글자를 제외한 인식 대상이 아닌 선들은 제외하기 위한 전처리를 의미할 수 있다. 프로세서(120)는 글자를 제외한, 인식 대상이 아닌 선들은 문자 이미지에서 제외할 수 있다. 프로세서(120)는 선을 제거한 문서 이미지에 대한 노이즈 제거를 위하여, 문자 이미지에 대한 이진화 처리를 수행할 수 있다. 노이즈는, 문자 이미지에 포함된 문자가 번지게 표시된 경우, 표의 일 부분에 음영 처리가 된 경우를 의미할 수 있다. 이진화 처리는, 사전 결정된 임계값 이상의 선명도를 가지는 경우 1로 처리하고, 사전 결정된 임계값 미만의 선명도를 가지는 경우 0으로 처리하는 것을 의미할 수 있다. 프로세서(120)는 문서 이미지에 포함된 픽셀 각각에 대하여 선명도를 계산하고, 선명도가 임계값 이상인 경우, 더 진하게 표시하고, 선명도가 임계값 미만인 경우, 문서 이미지에서 삭제하는 전처리를 수행할 수 있다. 예를 들어, 문서 이미지에 포함된 음영 부분 또는 문자가 번진 부분에 대한 픽셀의 선명도는, 글자 부분의 선명도보다 낮을 수 있다. 프로세서(120)는 음영 부분 또는 문자가 번진 부분의 선명도가 임계값 미만인 것으로 결정하고, 해당 부분의 픽셀은 0으로 처리하여, 문서 이미지에서 제외할 수 있다. 전술한 선 및 노이즈 제거 전처리에 관한 구체적인 기재는 예시일 뿐이며 본 개시는 이에 제한되지 않는다.Line and noise removal may refer to pre-processing to exclude lines that are not an object to be recognized except letters in the document image. The processor 120 may exclude lines that are not recognized, except for letters, from the text image. The processor 120 may perform a binarization process on a text image in order to remove noise on a document image from which lines have been removed. The noise may refer to a case in which a character included in the character image is blurred, and a part of the table is shaded. The binarization process may mean processing as 1 when a sharpness is greater than or equal to a predetermined threshold, and processing as 0 when a sharpness is less than a predetermined threshold. The processor 120 may perform pre-processing to calculate the sharpness for each pixel included in the document image, to display darker when the sharpness is greater than or equal to the threshold, and to delete it from the document image when the sharpness is less than the threshold. For example, the sharpness of a pixel with respect to a shaded part or a smeared part included in a document image may be lower than that of a letter part. The processor 120 determines that the sharpness of the shaded portion or the smeared portion is less than a threshold value, and the pixels of the corresponding portion are treated as 0, and can be excluded from the document image. The specific description of the above-mentioned pre-processing for removing noise and noise is only an example, and the present disclosure is not limited thereto.

문자 영역 탐지는, 문서 이미지에 대한 글자 세그먼테이션을 의미할 수 있다. 프로세서(120)는 글자 각각에 대한 세그먼테이션을 수행할 수 있다. 프로세서(120)는 문서 이미지에 포함된 하나 이상의 글자 이미지를 인식할 수 있다.Text area detection may mean character segmentation of a document image. The processor 120 may perform segmentation for each character. The processor 120 may recognize one or more letter images included in the document image.

본 명세서에 걸쳐, 신경망, 네트워크 함수, 뉴럴 네트워크(neural network)는 동일한 의미로 사용될 수 있다. 딥 뉴럴 네트워크(DNN: deep neural network, 심층신경망)는 입력 레이어와 출력 레이어 외에 복수의 히든 레이어를 포함하는 신경망을 의미할 수 있다. 딥 뉴럴 네트워크를 이용하면 데이터의 잠재적인 구조(latent structures)를 파악할 수 있다. 즉, 사진, 글, 비디오, 음성, 음악의 잠재적인 구조(예를 들어, 어떤 물체가 사진에 있는지, 글의 내용과 감정이 무엇인지, 음성의 내용과 감정이 무엇인지 등)를 파악할 수 있다. 딥 뉴럴 네트워크는 컨벌루셔널 뉴럴 네트워크 (CNN: convolutional neural network), 리커런트 뉴럴 네트워크(RNN: recurrent neural network), 제한 볼츠만 머신(RBM: restricted boltzmann machine), 심층 신뢰 네트워크(DBN: deep belief network), Q 네트워크, U 네트워크, 샴 네트워크 등을 포함할 수 있다.Throughout this specification, neural networks, network functions, and neural networks may be used in the same sense. A deep neural network (DNN) may mean a neural network including a plurality of hidden layers in addition to an input layer and an output layer. Deep neural networks can be used to identify potential latent structures in data. In other words, it is possible to grasp the potential structure of photos, text, video, voice, and music (for example, what objects are in the picture, what the content and emotions of the text are, what the content and emotions of the speech, etc.) are. . Deep neural networks include convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), and deep belief networks (DBNs). , Q network, U network, Siam network, and the like.

컨벌루셔널 뉴럴 네트워크는 딥 뉴럴 네트워크의 일종으로서, 컨벌루셔널 레이어를 포함하는 신경망을 포함한다. 컨벌루셔널 뉴럴 네트워크는 최소한의 전처리(preprocess)를 사용하도록 설계된 다계층 퍼셉트론(multilayer perceptorns)의 한 종류이다. CNN은 하나 또는 여러 개의 컨벌루셔널 레이어와 이와 결합된 인공 신경망 계층들로 구성될 수 있다. CNN은 가중치와 풀링 레이어(pooling layer)들을 추가로 활용할 수 있다. 이러한 구조 덕분에 CNN은 2 차원 구조의 입력 데이터를 충분히 활용할 수 있다. 컨벌루셔널 뉴럴 네트워크는 이미지에서 오브젝트를 인식하기 위하여 사용될 수 있다. 컨벌루셔널 뉴럴 네트워크는 이미지 데이터를 차원을 가진 행렬로 나타내어 처리할 수 있다. 예를 들어 RGB(red-green-blue)로 인코딩 된 이미지 데이터의 경우, R, G, B 색상별로 각각 2차원(예를 들어, 2 차원 이미지 인 경우) 행렬로 나타내 질 수 있다. 즉, 이미지 데이터의 각 픽셀의 색상 값이 행렬의 성분이 될 수 있으며 행렬의 크기는 이미지의 크기와 같을 수 있다. 따라서 이미지 데이터는 3개의 2차원 행렬로(3차원의 데이터 어레이)로 나타내질 수 있다.The convolutional neural network is a kind of deep neural network, and includes a neural network including a convolutional layer. Convolutional neural networks are a type of multilayer perceptorns designed to use minimal preprocessing. The CNN may consist of one or several convolutional layers and artificial neural network layers combined with it. CNN may additionally utilize weights and pooling layers. Thanks to this structure, CNN can fully utilize the input data of the two-dimensional structure. Convolutional neural networks can be used to recognize objects in an image. Convolutional neural networks can process image data as a matrix with dimensions. For example, in the case of red-green-blue (RGB)-encoded image data, each of R, G, and B colors may be represented as a two-dimensional (for example, two-dimensional image) matrix. That is, the color value of each pixel of the image data can be a component of the matrix, and the size of the matrix can be the same as the size of the image. Therefore, the image data can be represented by three two-dimensional matrices (three-dimensional data array).

컨벌루셔널 뉴럴 네트워크에서 컨벌루셔널 필터를 이동해가며 컨벌루셔널 필터와 이미지의 각 위치에서의 행렬 성분끼리 곱하는 것으로 컨벌루셔널 과정(컨벌루셔널 레이어의 입출력)을 수행할 수 있다. 컨벌루셔널 필터는 n*n 형태의 행렬로 구성될 수 있다. 컨벌루셔널 필터는 일반적으로 이미지의 전체 픽셀의 수보다 작은 고정된 형태의 필터로 구성될 수 있다. 즉, m*m 이미지를 컨벌루셔널 레이어(예를 들어, 컨벌루셔널 필터의 사이즈가 n*n인 컨벌루셔널 레이어)입력시키는 경우, 이미지의 각 픽셀을 포함하는 n*n 픽셀을 나타내는 행렬이 컨벌루셔널 필터와 성분 곱 (즉, 행렬의 각 성분끼리의 곱) 될 수 있다. 컨벌루셔널 필터와의 곱에 의하여 이 미지에서 컨벌루셔널 필터와 매칭되는 성분이 추출될 수 있다. 예를 들어, 이미지에서 상하 직선 성분을 추출하기 위한 3*3 컨벌루셔널 필터는 [[0,1,0], [0,1,0], [0,1,0]] 와 같이 구성될 수 있다. 이미지에서 상하 직선 성분을 추출하기 위한 3*3 컨벌루셔널 필터가 입력 이미지에 적용되면 이미지에서 컨벌루셔널 필터와 매칭되는 상하 직선 성분이 추출되어 출력될 수 있다. 컨벌루셔널 레이어는 이미지를 나타낸 각각의 채널에 대한 각각의 행렬(즉, R, G, B 코딩 이미지의 경우, R, G, B 색상)에 컨벌루셔널 필터를 적용할 수 있다. 컨벌루셔널 레이어는 입력 이미지에 컨벌루셔널 필터를 적용하여 입력 이미지에서 컨벌루셔널 필터와 매칭되는 피쳐를 추출할 수 있다. 컨벌루셔널 필터의 필터 값(즉, 행렬의 각 성분의 값)은 컨벌루셔널 뉴럴 네트워크의 학습 과정에서 역전파에 의하여 업데이트 될 수 있다.A convolutional process (input/output of the convolutional layer) can be performed by moving the convolutional filter in the convolutional neural network and multiplying the convolutional filter and matrix components at each position of the image. The convolutional filter may be configured as an n*n matrix. The convolutional filter may generally consist of a fixed type filter smaller than the total number of pixels in the image. That is, when an m*m image is input to a convolutional layer (for example, a convolutional layer having a size of n*n of a convolutional filter), a matrix representing n*n pixels including each pixel of the image It can be multiplied by this convolutional filter (ie, the product of each component of the matrix). A component matching the convolutional filter in the image may be extracted by multiplying with the convolutional filter. For example, a 3*3 convolutional filter for extracting a vertical line component from an image may be configured as [[0,1,0], [0,1,0], [0,1,0]] Can be. When a 3*3 convolutional filter for extracting vertical components from the image is applied to the input image, vertical components that match the convolutional filter from the image may be extracted and output. The convolutional layer may apply a convolutional filter to each matrix for each channel representing an image (ie, R, G, and B colors in the case of R, G, and B coded images). The convolutional layer can apply a convolutional filter to the input image to extract features matching the convolutional filter from the input image. The filter value of the convolutional filter (that is, the value of each component of the matrix) may be updated by back propagation in the learning process of the convolutional neural network.

컨벌루셔널 레이어의 출력에는 서브샘플링 레이어가 연결되어 컨벌루셔널 레이어의 출력을 단순화하여 메모리 사용량과 연산량을 줄일 수 있다. 예를 들어, 2*2 맥스 풀링 필터를 가지는 풀링 레이어에 컨벌루셔널 레이어의 출력을 입력시키는 경우, 이미지의 각 픽셀에서 2*2 패치마다 각 패치에 포함되는 최대값을 출력하여 이미지를 압축할 수 있다. 전술한 풀링은 패치에서 최소값을 출력하거나, 패치의 평균값을 출력하는 방식일 수도 있으며 임의의 풀링 방식이 본 개시에 포함될 수 있다.A subsampling layer is connected to the output of the convolutional layer, thereby simplifying the output of the convolutional layer to reduce memory usage and computation. For example, if the output of the convolutional layer is input to a pooling layer having a 2*2 max pooling filter, the maximum value included in each patch is output for each 2*2 patch in each pixel of the image to compress the image. You can. The aforementioned pooling may be a method of outputting a minimum value in a patch or outputting an average value of patches, and any pooling method may be included in the present disclosure.

컨벌루셔널 뉴럴 네트워크는 하나 이상의 컨벌루셔널 레이어, 서브 샘플링 레이어를 포함할 수 있다. 컨벌루셔널 뉴럴 네트워크는 컨벌루셔널 과정과 서브샘플링 과정(예를 들어, 전술한 맥스 풀링 등)을 반복적으로 수행하여 이미지에서 피쳐를 추출할 수 있다. 반복적인 컨벌루션널 과정과 서브샘플링 과정을 통해 뉴럴 네트워크는 이미지의 글로벌 피쳐를 추출할 수 있다.The convolutional neural network may include one or more convolutional layers and sub-sampling layers. The convolutional neural network can extract features from an image by repeatedly performing a convolutional process and a subsampling process (for example, the Max pooling described above). Through the iterative convolutional and subsampling process, the neural network can extract global features of the image.

컨벌루셔널 레이어 또는 서브샘플링 레이어의 출력은 풀 커넥티드 레이어(fully connected layer)에 입력될 수 있다. 풀 커넥티드 레이어는 하나의 레이어에 있는 모든 뉴런과 이웃한 레이어에 있는 모든 뉴런이 연결되는 레이어이다. 풀 커넥티드 레이어는 뉴럴 네트워크에서 각 레이어의 모든 노드가 다른 레이어의 모든 노드에 연결된 구조를 의미할 수 있다.The output of the convolutional layer or subsampling layer may be input to a fully connected layer. A fully connected layer is a layer in which all neurons in one layer are connected to all neurons in a neighboring layer. The full connected layer may refer to a structure in which all nodes of each layer are connected to all nodes of another layer in a neural network.

본 개시의 일 실시예에서 이미지 데이터의 세그먼테이션(segmentation)을 수행하기 위하여 뉴럴 네트워크는 디컨벌루셔널 뉴럴 네트워크(DCNN: deconvolutional neural network)를 포함할 수 있다. 디컨벌루셔널 뉴럴 네트워크는 컨벌루셔널 뉴럴 네트워크를 역방향으로 계산시킨 것과 유사한 동작을 수행한다. 디컨벌루셔널 뉴럴 네트워크는 컨벌루셔널 뉴럴 네트워크에서 추출된 피쳐를 원본 데이터와 관련된 피쳐맵으로 출력할 수 있다. 컨벌루셔널 뉴럴 네트워크에 대한 구체적인 구성에 관한 설명은 본 출원에서 전체가 참조로서 통합되는 미국 등록 특허 US9870768B2에서 보다 구체적으로 논의된다.In one embodiment of the present disclosure, in order to perform segmentation of image data, the neural network may include a deconvolutional neural network (DCNN). The deconvolutional neural network performs an operation similar to that of calculating the convolutional neural network in the reverse direction. The deconvolutional neural network may output features extracted from the convolutional neural network as a feature map related to original data. The description of the specific configuration for the convolutional neural network is discussed in more detail in US patent US9870768B2, which is incorporated herein by reference in its entirety.

이하에서는, 프로세서(120)가 하나 이상의 글자 이미지 각각을 글자 인식 모델을 통해 각각의 글자로 분류하여 상기 글자 이미지가 포함하는 글자를 결정하는 방법에 관하여 설명한다.Hereinafter, a method in which the processor 120 classifies each of the one or more character images into each character through a character recognition model to determine the characters included in the character image.

프로세서(120)는 글자 인식 모델을 통해 글자 이미지의 피쳐를 추출하여, 하나 이상의 클래스 각각에 대한 스코어를 추출할 수 있다. 클래스는, 글자 이미지가 의미하는 글자일 수 있다. 예를 들어, 하나 이상의 클래스 각각은, 가, 나, 다, 라 등일 수 있다. 프로세서(120)는 글자 이미지의 클래스 각각에 대한 스코어 값에 기초하여 글자 이미지를 글자로 분류할 수 있다. 프로세서(120)는 글자 인식 모델을 통하여 글자 이미지를 연산한 결과, 가장 높은 스코어 값을 가지는 클래스로 글자 이미지를 분류하여, 글자 이미지가 포함하는 글자를 결정할 수 있다.The processor 120 may extract features of the character image through the character recognition model, and extract scores for each of one or more classes. The class may be a letter that the letter image means. For example, each of the one or more classes may be A, B, C, D, or the like. The processor 120 may classify the text image into text based on the score value for each class of the text image. As a result of calculating the character image through the character recognition model, the processor 120 may classify the character image into a class having the highest score value, and determine a character included in the character image.

도 2를 참조해서 설명하면, 문서 이미지(200)가 진료비 세부내역서인 경우, 프로세서(120)는 진료비 세부내역서에 포함된 하나 이상의 글자 이미지 각각에 대하여 글자 인식 모델을 통해 하나의 글자로 분류할 수 있다. 프로세서(120)가 글자 이미지(212)에 대하여 글자 인식 모델을 통해 연산한 결과, '판' 클래스의 스코어 값이 0.8이고, 나머지 다른 클래스의 스코어 값이 0.3 미만일 경우, 글자 이미지(212)는 '판' 으로 분류할 수 있다. 프로세서(120)는 글자 이미지(212)에 대하여 '판' 글자를 포함하는 것으로 결정할 수 있다. 전술한 글자 분류에 대한 구체적인 기재는 예시일 뿐이며 본 개시는 이에 제한되지 않는다.Referring to FIG. 2, when the document image 200 is a detailed statement of medical expenses, the processor 120 may classify one or more letter images of each of the one or more letter images included in the detailed statement of medical expenses into a single letter through a letter recognition model. have. As a result of the processor 120 operating on the character image 212 through the character recognition model, when the score value of the'plate' class is 0.8 and the score value of the other classes is less than 0.3, the character image 212 is' Edition'. The processor 120 may determine that the letter image 212 includes the letter'plate'. The detailed description of the above-described letter classification is only an example, and the present disclosure is not limited thereto.

이하에서는, 프로세서(120)가 분류에 기초한 상기 글자 이미지의 분류 결과로 결정된 글자가 적합한 글자인지 여부를 결정하는 방법에 관하여 설명한다.Hereinafter, a method for determining whether a character determined by the result of the classification of the character image based on the classification is a suitable character by the processor 120 will be described.

본 개시의 일 실시예에 따라, 프로세서(120)는 글자 이미지에 대한 분류 결과로 결정된 글자의 신뢰도가 사전 결정된 값 이하인 경우, 상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 것으로 결정할 수 있다. 신뢰도가 사전 결정된 값 이하인 경우는, 글자 이미지의 분류의 기초가 된 클래스의 스코어가 사전 결정된 값 이하인 것을 의미할 수 있다. 프로세서(120)는 글자 이미지를 글자 인식 모델을 통해 연산하여, 하나 이상의 클래스 각각에 대한 스코어 값을 출력할 수 있다. 프로세서(120)는 하나 이상의 클래스 중, 스코어 값이 가장 높은 클래스에 기초하여, 글자 이미지를 분류할 수 있다. 프로세서(120)는, 스코어 값이 가장 높은 클래스의 스코어 값에 기초하여, 해당 글자 이미지의 분류 결과의 신뢰도를 결정할 수 있다. 프로세서(120)는 스코어 값이 가장 높은 클래스의 스코어가 사전 결정된 값 이하일 경우, 글자 이미지에 대한 분류 결과로 결정된 글자의 신뢰도가 사전 결정된 값 이하인 것으로 결정할 수 있다. 프로세서(120)는 스코어 값이 가장 높은 클래스의 스코어가 사전 결정된 값 이하일 경우, 글자 이미지의 분류 결과로 결정된 글자가 적합하지 않은 것으로 결정할 수 있다.According to an embodiment of the present disclosure, the processor 120 may determine that the character determined as the result of the classification of the character image is not suitable when the reliability of the character determined as the result of the classification for the character image is equal to or less than a predetermined value. . When the reliability is less than or equal to a predetermined value, it may mean that the score of the class that is the basis of the classification of the text image is equal to or less than the predetermined value. The processor 120 may calculate a character image through a character recognition model, and output score values for each of one or more classes. The processor 120 may classify the character image based on the class having the highest score value among the one or more classes. The processor 120 may determine the reliability of the classification result of the corresponding letter image based on the score value of the class with the highest score value. When the score of the class with the highest score value is less than or equal to a predetermined value, the processor 120 may determine that the reliability of the letter determined as a result of classification for the character image is equal to or less than the predetermined value. When the score of the class with the highest score value is less than or equal to a predetermined value, the processor 120 may determine that the letter determined as a result of classifying the character images is not suitable.

도 2를 참조하여 예를 들어 설명하면, 프로세서(120)가 글자 이미지(212)에 대하여 글자 인식 모델을 통해 연산하여 출력한 결과가, '핀' 클래스의 스코어 값이 0.6, '판' 클래스의 스코어 값이 0.5, '픈' 클래스의 스코어 값이 0.5일 수 있다. 프로세서(120)는 '핀' 클래스에 대한 스코어 값이 0.6으로 가장 높은 값을 가지므로, 글자 이미지(212)가 포함하는 글자를 '핀' 으로 결정할 수 있다. 사전 결정된 신뢰도 값이 0.7일 경우, 글자 이미지(212)가 포함하는 것으로 결정한 글자 '핀' 클래스에 대한 스코어 값이 0.6이므로, 프로세서(120)는 상기 글자 이미지(212)에 대한 분류 결과의 신뢰도가 사전 결정된 값 이하인 것으로 판단할 수 있다. 프로세서(120)는 글자 이미지(212)의 분류 결과로 결정된 글자 '핀' 이 적합하지 않은 것으로 결정할 수 있다. 전술한 글자 이미지의 분류 결과의 적합 여부를 결정하는 방법에 관한 구체적인 기재는 예시일 뿐이며 본 개시는 이에 제한되지 않는다.For example, referring to FIG. 2, the result of the processor 120 calculating and outputting the character image 212 through the character recognition model is that the score value of the'pin' class is 0.6 and that of the'plate' class. The score value may be 0.5, and the score value of the'open' class may be 0.5. The processor 120 may determine the letter included in the letter image 212 as the'pin' because the score value for the'pin' class has the highest value as 0.6. When the predetermined reliability value is 0.7, since the score value for the character'pin' class determined to be included in the character image 212 is 0.6, the processor 120 has the reliability of the classification result for the character image 212. It can be judged to be below a predetermined value. The processor 120 may determine that the character'pin' determined as a result of the classification of the character image 212 is not suitable. The specific description of the method for determining whether the classification result of the above-described character image is suitable is merely an example, and the present disclosure is not limited thereto.

본 개시의 일 실시예에 따라, 프로세서(120)는 상기 분류 결과로 결정된 글자가 전체 글자 분류 클래스에 포함되지 않는 글자인 경우, 상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 것으로 결정할 수 있다. 전체 글자 분류 클래스는, 사전 결정된 글자에 대한 하나 이상의 클래스를 포함할 수 있다. 프로세서(120)는 글자 이미지를 글자 인식 모델을 통해 연산하여, 하나 이상의 클래스 각각에 대한 스코어 값을 출력할 수 있다. 프로세서(120)는 하나 이상의 클래스 각각에 대한 스코어 값 중, 가장 큰 값을 가지는 스코어 값을 결정할 수 없거나, 또는 모든 클래스에 대한 스코어 값이 사전 결정된 임계값 보다 낮은 경우, 글자 이미지에 포함된 글자가 전체 글자 분류 클래스에 포함되지 않는, 다른 글자인 것으로 결정할 수 있다. 프로세서(120)는 글자 이미지의 분류 결과로 결정된 글자가, 전체 분류 클래스에 포함되지 않는 다른 글자이므로, 글자 이미지의 분류 결과로 결정된 글자가 적합하지 않은 것으로 결정할 수 있다. 예를 들어, 전체 글자 분류 클래스가 '가', '나', '다' 이고, 글자 이미지에 대한 글자 인식 모델의 연산 결과 '가' 클래스의 스코어 값이 0.2, '나' 클래스의 스코어 값이 0.3, '다' 클래스의 스코어 값이 0.3인 경우, 프로세서(120)는 글자 이미지의 분류 결과로 결정된 글자가, 전체 분류 클래스(본 예시에서, 가, 나, 다)에 포함되지 않는 것으로 결정할 수 있다. 프로세서(120)는 상기 분류 결과로 결정된 글자가 적합하지 않은 것으로 결정할 수 있다. 전술한 글자 이미지의 분류 결과의 적합 여부를 결정하는 방법에 관한 구체적인 기재는 예시일 뿐이며 본 개시는 이에 제한되지 않는다.According to an embodiment of the present disclosure, when the character determined as the result of the classification is a character not included in the entire character classification class, the processor 120 may determine that the character determined as the result of the classification of the character image is not suitable. have. The entire character classification class may include one or more classes for predetermined characters. The processor 120 may calculate a character image through a character recognition model, and output score values for each of one or more classes. The processor 120 may not determine a score value having the largest value among score values for each of the one or more classes, or if the score values for all classes are lower than a predetermined threshold, characters included in the text image It can be decided that it is a different character that is not included in the whole character classification class. The processor 120 may determine that the character determined as the result of the classification of the character image is not suitable because the character determined as the result of the classification of the character image is another character not included in the entire classification class. For example, the total character classification class is'A','I','C', and the result of the operation of the character recognition model for the character image is that the score value of the'A' class is 0.2 and the score value of the'B' class is When the score value of the class 0.3 and'c' is 0.3, the processor 120 may determine that the letters determined as the result of classifying the letter images are not included in the entire class (in this example, A, B, C). have. The processor 120 may determine that the letters determined as a result of the classification are not suitable. The specific description of the method for determining whether the classification result of the above-described character image is suitable is merely an example, and the present disclosure is not limited thereto.

본 개시의 일 실시예에 따라, 프로세서(120)는 상기 분류 결과로 결정된 글자가 상기 문서 이미지의 도메인의 글자 별 사용 빈도가 일정 값 이하인 글자에 해당하는 경우, 상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 것으로 결정할 수 있다. 문서 이미지의 도메인은, 문서가 포함하고 있는 문서의 특성을 의미하는 것일 수 있다. 문서 이미지의 도메인은, 상기 문서 이미지가 사용되는 분야를 의미하는 것일 수 있다. 예를 들어, 문서 이미지의 도메인은, 병원, 로펌, 무역, 출판사 등일 수 있다. 하나 이상의 도메인 각각은, 해당 도메인의 특성에 따라 자주 사용하는 용어가 있을 수 있다. 도메인 각각에 대하여, 도메인의 특성에 기초하여, 글자 별 사용 빈도가 저장되어 있을 수 있다. 메모리(130)에 도메인 각각에 대한 글자 별 사용 빈도가 저장되어 있을 수도 있고, 프로세서(120)는 서버로부터 도메인 각각에 대한 글자 별 사용 빈도를 수신할 수도 있다. 프로세서(120)는 문서 이미지의 도메인에 기초하여, 글자 인식 모델의 분류 결과로 결정된 글자의 사용 빈도를 확인할 수 있다. 프로세서(120)는 글자 인식 모델의 분류 결과로 결정된 글자의 사용 빈도가 일정 값 이하인 경우, 글자 이미지의 분류 결과로 결정된 글자가 적합하지 않은 것으로 결정할 수 있다. 예를 들어, 문서 이미지의 도메인이 처방전인 경우, '메틸페니데이트'에 대한 사용 빈도가 높으므로 글자 '틸'에 대한 사용 빈도가 높을 수 있다. 문서 이미지의 도메인이, 커피 발주서일 경우, 글자 '틸'에 대한 사용 빈도는 낮을 수 있다. 프로세서(120)는 문서 이미지의 도메인이 커피 발주서이고, 문서 이미지에 포함된 일 글자 이미지의 분류 결과로 결정된 글자가 '틸'일 경우, 상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 것으로 결정할 수 있다. 전술한 글자 이미지의 분류 결과의 적합 여부를 결정하는 방법에 관한 구체적인 기재는 예시일 뿐이며 본 개시는 이에 제한되지 않는다.According to an embodiment of the present disclosure, when the letter determined as the result of the classification corresponds to a letter whose frequency of use for each letter of the domain of the document image is equal to or less than a predetermined value, the processor 120 determines that the letter is determined as the classification result of the letter image. You may decide that the letters are not suitable. The domain of the document image may mean characteristics of a document included in the document. The domain of the document image may mean a field in which the document image is used. For example, the domain of the document image may be a hospital, law firm, trade, publishing company, or the like. Each of the one or more domains may have a term frequently used depending on the characteristics of the domain. For each domain, based on the characteristics of the domain, the frequency of use for each letter may be stored. The frequency of use for each letter for each domain may be stored in the memory 130, and the processor 120 may receive the use frequency for each letter for each domain from the server. The processor 120 may check the frequency of use of the letters determined as a result of classifying the letter recognition model, based on the domain of the document image. When the frequency of use of the letters determined as a result of the classification of the letter recognition model is less than or equal to a certain value, the processor 120 may determine that the letters determined as the result of the classification of the letter images are not suitable. For example, when the domain of the document image is a prescription, since the frequency of use for'methylphenidate' is high, the frequency of use for the letter'til' may be high. When the domain of the document image is a coffee order, the frequency of use of the letter'til' may be low. If the domain of the document image is a coffee order, and the letter determined as the result of the classification of the one letter image included in the document image is'til', the processor 120 determines that the letter determined as the classification result of the letter image is not suitable. Can decide. The specific description of the method for determining whether the classification result of the above-described character image is suitable is merely an example, and the present disclosure is not limited thereto.

본 개시의 일 실시예에 따라, 프로세서(120)는 글자 이미지의 분류 결과에 기초한 단어와 메모리(130)에 저장된 단어를 비교하여, 메모리(130)에 글자 이미지의 분류 결과에 기초한 단어가 저장되어 있지 않은 경우, 상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 것으로 결정할 수 있다. 프로세서(120)는 문서 이미지에 포함된 하나 이상의 글자 이미지 각각의 분류 결과로 결정된 글자를 의미 단위로 그룹화하여 하나 이상의 인식 단어를 추출할 수 있다. 인식 단어는, 글자 인식 모델 문서 이미지에 포함된 단어일 수 있다. 인식 단어는, 글자를 의미 단위로 그룹화 한 것일 수 있다. 예를 들어, 프로세서(120)는 띄어쓰기에 기초하여 글자를 그룹화할 수도 있고, 명사 단위로 글자를 그룹화할 수도 있다. 예를 들어, 인식 단어는 '진찰료'와 같은 하나의 단어일 수도 있고, '혈당 측정'과 같은 복수의 단어를 묶은 구절일 수도 있다. 전술한 인식 단어에 대한 구체적인 기재는 예시일 뿐이며 본 개시는 이에 제한되지 않는다. 프로세서(120)는 상기 하나 이상의 인식 단어 각각을 메모리에 저장된 하나 이상의 기준 단어와 비교하고, 매칭되는 기준 단어가 없는 인식 단어의 경우, 상기 인식 단어의 기초가 되는 하나 이상의 글자 이미지 중 적어도 하나의 글자 이미지의 분류 결과로 결정된 글자가 적합하지 않은 것으로 결정할 수 있다. 기준 단어는, 메모리(130)에 사전 저장된 단어일 수 있다. 도메인 별로, 사용하는 단어가 다를 수 있으므로, 문서 이미지가 해당하는 도메인 별 사용하는 단어가 메모리(130)에 저장되어 있을 수 있다. 프로세서(120)는 인식 단어와, 해당 문서 이미지의 도메인에 대하여 메모리(130)에 저장된 기준 단어를 비교할 수 있다. 프로세서(120)는 인식 단어와 매칭되는 기준 단어가 메모리(130)에 저장되어 있지 않은 경우, 인식 단어의 기초가 되는 하나 이상의 글자 이미지 중 적어도 하나의 글자 이미지의 분류 결과로 결정된 글자가 적합하지 않은 것으로 결정할 수 있다.According to an embodiment of the present disclosure, the processor 120 compares a word based on the classification result of the text image with a word stored in the memory 130, and stores the word based on the classification result of the text image in the memory 130 If not, it may be determined that the character determined as the result of the classification of the character image is not suitable. The processor 120 may extract one or more recognition words by grouping characters determined as a result of classification of each of the one or more character images included in the document image into semantic units. The recognition word may be a word included in a letter recognition model document image. The recognition word may be a grouping of letters in a semantic unit. For example, the processor 120 may group characters on the basis of spacing, or may group characters on a noun basis. For example, the recognition word may be a single word such as'examination fee', or a phrase in which a plurality of words such as'blood sugar measurement' are combined. The detailed description of the above-mentioned recognition words is only an example, and the present disclosure is not limited thereto. The processor 120 compares each of the one or more recognition words with one or more reference words stored in memory, and in the case of a recognition word without a matching reference word, at least one letter of one or more letter images that are the basis of the recognition word It can be determined that the letter determined as a result of classifying the image is not suitable. The reference word may be a word pre-stored in the memory 130. Since the words used for each domain may be different, words used for each domain corresponding to the document image may be stored in the memory 130. The processor 120 may compare the recognized word with the reference word stored in the memory 130 with respect to the domain of the document image. When the reference word matching the recognized word is not stored in the memory 130, the processor 120 may not match the letter determined as a result of classification of at least one letter image among one or more letter images that are the basis of the recognized word. You can decide.

도 2를 참조하여 예를 들어 설명하면, 문서 이미지(200)는 하나 이상의 글자 이미지를 포함할 수 있다. 문서 이미지(200)의 도메인은, 진료비 세부산정내역서 또는 보험회사일 수 있다. 프로세서(120)는 문서 이미지(200)인 진료비 세부산정내역서에 포함된 하나 이상의 글자 이미지(212, 214) 각각의 분류 결과로 결정된 글자를 의미단위로 그룹화하여 인식 단어(240)인 '판도마그정'을 추출할 수 있다. 프로세서(120)는 문서 이미지(200)의 도메인에 기초하여, 인식 단어(240)를 메모리(130)에 저장된 기준 단어 테이블(250)의 기준 단어(252, 254)들과 비교할 수 있다. 프로세서(120)는 문서 이미지(200)의 도메인이 진료비 세부내역서이므로, 인식 단어(240)를 메모리(130)에 저장된 진료비 세부내역서 도메인에 해당하는 기준 단어 테이블(250)의 기준 단어(252, 254)들과 비교할 수 있다. 프로세서(120)는 인식 단어(240)인 '판도그마정'과 매칭되는 기준 단어가 없는 것으로 결정하고, 상기 인식 단어의 기초가 되는 하나 이상의 글자 이미지 중 적어도 하나의 글자 이미지의 분류 결과로 결정된 글자가 적합하지 않은 것으로 결정할 수 있다. 전술한 글자 이미지의 분류 결과의 적합 여부를 결정하는 방법에 관한 구체적인 기재는 예시일 뿐이며 본 개시는 이에 제한되지 않는다.For example, referring to FIG. 2, the document image 200 may include one or more character images. The domain of the document image 200 may be a medical bill detailing statement or an insurance company. The processor 120 groups letters determined as a result of classification of each of the one or more text images 212 and 214 included in the document cost calculation statement, which is the document image 200, into a semantic unit and recognizes the word 240 as a'pando magjeong' 'Can be extracted. The processor 120 may compare the recognized word 240 with reference words 252 and 254 of the reference word table 250 stored in the memory 130 based on the domain of the document image 200. In the processor 120, since the domain of the document image 200 is a medical fee detail statement, the recognition word 240 is a reference word 252 and 254 of the reference word table 250 corresponding to the medical fee detail statement domain stored in the memory 130 ). The processor 120 determines that there is no reference word matching the recognition word 240,'pan dog correction', and a character determined as a result of classification of at least one character image among one or more character images that are the basis of the recognition word Can be determined to be unsuitable. The specific description of the method for determining whether the classification result of the above-described character image is suitable is merely an example, and the present disclosure is not limited thereto.

본 개시의 일 실시예에 따라, 프로세서(120)는 글자 이미지의 분류 결과로 결정된 글자에 기초한 인식 단어를 추출하고, 해당 인식 단어의 카테고리를 문서 이미지에서 추출하여, 메모리(130)에 인식 단어와 매칭되는 상기 카테고리의 하위 구성인 기준 단어가 없는 경우, 상기 글자 이미지의 분류 결과가 적합하지 않은 것으로 결정할 수 있다. 프로세서(120)는 상기 문서 이미지에 포함된 하나 이상의 글자 이미지 각각의 분류 결과로 결정된 글자를 의미 단위로 그룹화하여 하나 이상의 인식 단어를 추출할 수 있다. 프로세서(120)는 상기 인식 단어의 상기 문서 이미지 상에서의 컨텍스트 분석을 통해 상기 글자 이미지의 분류 결과가 적합한 글자인지 여부를 결정할 수 있다. 이하에서는 도 2를 참조하여 설명한다. 프로세서(120)는 상기 하나 이상의 인식 단어 중 하나의 인식 단어를 대상 인식 단어로 결정할 수 있다. 대상 인식 단어는, 컨텍스트 분석의 대상이 되는 하나의 인식 단어일 수 있다. 프로세서(120)는 상기 문서 이미지에서 상기 대상 인식 단어의 기초가 되는 글자 이미지의 그룹(도 2를 참조하면, 210)과 수직 또는 수평에 위치한 하나 이상의 인식 단어(도 2를 참조하면, 글자 이미지의 그룹(220)에 기초한 인식 단어 '내복약' 및 글자 이미지의 그룹(230)에 기초한 인식 단어 '명칭') 중 메모리(130)에 저장된 카테고리명과 매칭되는 인식 단어(도 2를 참조하면, 글자 이미지의 그룹(220)에 기초한 인식 단어 '내복약')를, 상기 대상 인식 단어(도 2를 참조하면, 글자 이미지의 그룹(210)에 기초한 대상 인식 단어(240)인 판도마그정)의 상위 카테고리로 결정할 수 있다. 프로세서(120)는 문서 이미지의 도메인에 기초하여, 해당 도메인에 대해 메모리(130)에 저장된 카테고리명과 대상 인식 단어와 수직 또는 수평에 위치한 하나 이상의 인식 단어를 비교할 수 있다. 도 2를 참조하여 예를 들면, 문서 이미지(200)의 도메인은 진료비 세부내역서일 수 있고, 프로세서(120)는 대상 인식 단어와 수직 또는 수평에 위치한 하나 이상의 인식 단어와 메모리(130)에 진료비 세부내역서에 대해 저장된 하나 이상의 카테고리명을 비교할 수 있다. 프로세서(120)는 상기 카테고리명(도 2를 참조하면, 내복약(254))의 하위 구성으로 저장된 하나 이상의 기준 단어(도 2를 참조하면, 판토마그정(252), 하트만액, 리키팬정 등)와 상기 대상 인식 단어(도 2를 참조하면, 인식 단어(240) 판도마그정)가 매칭되는지 여부를 비교할 수 있다. 프로세서(120)는 상기 대상 인식 단어와 매칭되는 기준 단어가 없는 경우, 상기 대상 인식 단어가 상기 문서 이미지의 맥락에 맞지 않는 것으로 판단할 수 있다. 프로세서(120)는 상기 대상 인식 단어의 기초가 되는 하나 이상의 글자 이미지 중 적어도 하나의 글자 이미지의 분류 결과가 적합하지 않은 것으로 결정할 수 있다. 전술한 글자 이미지의 분류 결과의 적합 여부를 결정하는 방법에 관한 구체적인 기재는 예시일 뿐이며 본 개시는 이에 제한되지 않는다.According to an embodiment of the present disclosure, the processor 120 extracts a recognition word based on a letter determined as a result of classifying a letter image, extracts a category of the recognition word from the document image, and recognizes the recognition word in the memory 130. If there is no reference word that is a sub-structure of the category to be matched, it may be determined that the classification result of the character image is not suitable. The processor 120 may extract one or more recognition words by grouping characters determined as a result of classification of each of the one or more character images included in the document image into semantic units. The processor 120 may determine whether the classification result of the character image is a suitable character through context analysis of the recognition word on the document image. Hereinafter, it will be described with reference to FIG. 2. The processor 120 may determine a recognition word of one of the one or more recognition words as a target recognition word. The object recognition word may be one recognition word that is the object of context analysis. The processor 120 may include a group of letter images (210 in FIG. 2) that are the basis of the target recognition word in the document image and one or more recognition words positioned vertically or horizontally (in FIG. 2) Recognition words matching the category name stored in the memory 130 among the recognition words'internal medicine' based on the group 220 and the recognition words'name' based on the group 230 of the letter image (refer to FIG. 2, The recognition word'internal medicine' based on the group 220 is determined as the upper category of the target recognition word (refer to FIG. 2, the target recognition word 240 based on the group 210 of the letter image). Can be. Based on the domain of the document image, the processor 120 may compare the category name stored in the memory 130 with the target recognition word and one or more recognition words positioned vertically or horizontally for the domain. Referring to FIG. 2, for example, the domain of the document image 200 may be a detailed statement of medical expenses, and the processor 120 may include detailed medical fees in one or more recognized words and memory 130 positioned vertically or horizontally with the target recognized word. You can compare one or more category names stored for the statement. The processor 120 may include one or more reference words (referred to in FIG. 2, pantomag tablets 252, Hartmann's sum, Ricky Pan tablets, etc.) stored as a sub-structure of the category name (refer to FIG. 2, internal medicine 254). And whether or not the target recognition word (refer to FIG. 2, the recognition word 240 panmagagjeong) is matched. When there is no reference word matching the target recognition word, the processor 120 may determine that the target recognition word does not match the context of the document image. The processor 120 may determine that the classification result of at least one letter image among the one or more letter images that are the basis of the target recognition word is not suitable. The specific description of the method for determining whether the classification result of the above-described character image is suitable is merely an example, and the present disclosure is not limited thereto.

이하에서는, 프로세서(120)가 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 경우, 상기 글자 이미지를 재 분류하여 상기 글자 이미지에 포함된 글자를 재 결정하는 방법에 관하여 설명한다. 글자 이미지의 재 분류는, 글자 이미지에 대한 올바른 인식 결과를 나타내도록 보정하는 작업을 의미할 수 있다.Hereinafter, a method for re-determining the characters included in the character image by reclassifying the character image when the processor 120 determines that the character determined as the result of the classification of the character image is not suitable. The re-classification of the text image may refer to an operation of correcting the text image to display a correct recognition result.

본 개시의 일 실시예에 따라, 프로세서(120)는 글자 이미지의 분류 결과가 메모리(130)에 저장되어 있는 하나 이상의 글자 분류 클래스에 포함되도록 글자를 재 결정할 수 있다. 프로세서(120)는 글자 이미지의 분류 결과로 결정된 글자가 전체 글자 분류 클래스에 포함되지 않는 글자인 경우, 메모리(130)에 저장되어 있는 글자 분류 클래스에 포함되도록 글자를 재 결정할 수 있다. 글자 분류 클래스에 포함되도록 글자를 재 결정하는 구체적인 방법은 후술한다.According to an embodiment of the present disclosure, the processor 120 may re-determine a character so that the result of the classification of the character image is included in one or more character classification classes stored in the memory 130. The processor 120 may re-determine a character to be included in the character classification class stored in the memory 130 when the character determined as a result of the classification of the character image is a character not included in the entire character classification class. The specific method of re-determining the characters to be included in the character classification class will be described later.

본 개시의 일 실시예에 따라, 프로세서(120)는 인식 단어와 매칭 비율이 가장 높은 기준 단어를 기초로 글자를 재 결정할 수 있다. 프로세서(120)는 상기 분류 결과가 적합하지 않은 글자 이미지를 기초로 하는 인식 단어를 추출할 수 있다. 프로세서(120)는 상기 인식 단어에 포함된 하나 이상의 글자 및 메모리(130)에 저장된 하나 이상의 기준 단어 중 기준 단어 각각에 포함된 하나 이상의 글자의 매칭 비율이 가장 높은 기준 단어를 기초로 하여, 상기 인식 단어에 포함된 상기 분류 결과가 적합하지 않은 글자 이미지를 재 분류할 수 있다. 프로세서(120)는 인식 단어를, 메모리(130)의 기준 단어들 중, 인식 단어를 추출한 문서 이미지의 도메인에 대한 기준 단어들과 비교할 수 있다. 프로세서(120)는 인식 단어에 포함된 하나 이상의 글자와 메모리(130)에 저장되어 있는 하나 이상의 기준 단어 각각에 포함된 하나 이상의 글자를 비교하여, 동일한 글자를 가장 많이 포함하고 있는 기준 단어를 매칭 비율이 가장 높은 기준 단어로 결정할 수 있다. 프로세서(120)는 인식 단어에 포함된 하나 이상의 글자의 배열과 기준 단어에 포함된 하나 이상의 글자의 배열에 기초하여 매칭 비율이 가장 높은 기준 단어를 결정할 수 있다. 도 2를 참조하여 예를 들어 설명하면, 프로세서(120)는 인식 단어(240) 판도마그정을 메모리(130)에 인식 단어(240) 판도마그정의 도메인인, 진료비 세부내역서에 대하여 저장된 기준 단어 테이블(250)에 기초하여 비교할 수 있다. 프로세서(120)는 인식 단어(240) 판도마그정과 기준 단어 판토마그정(252)의 단어 배열 및 동일 단어 비율이 가장 높으므로, 판토마그정(252)에 기초하여 글자 이미지를 재 분류할 수 있다. 프로세서(120)는 인식 단어에 포함된 하나 이상의 글자 중 매칭 비율이 가장 높은 기준 단어에 포함된 글자와 상이한 글자에 기초하여 글자 이미지를 재 분류할 수 있다. 프로세서(120) 상기 상이한 글자의 기초가 되는 글자 이미지에 대하여 기준 단어의 글자로 글자 이미지를 재 분류할 수 있다. 프로세서(120)는 인식 단어(240) 판도마그정의 글자 '도'와 기준 단어 판토마그정(252)의 글자 '토'가 상이한 것에 기초하여 글자 이미지를 재 분류할 수 있다. 프로세서(120)는 상이한 글자인 '도'의 기초가 되는 글자 이미지(214)에 대하여 '토'로 재 분류할 수 있다. 전술한 글자 이미지 재 분류에 관한 구체적인 기재는 예시일 뿐이며 본 개시는 이에 제한되지 않는다.According to an embodiment of the present disclosure, the processor 120 may re-determine a letter based on the recognized word and the reference word having the highest matching ratio. The processor 120 may extract a recognition word based on the letter image for which the classification result is not suitable. The processor 120 based on the reference word having the highest matching ratio of one or more letters included in each of the reference words among the one or more letters included in the recognition word and one or more reference words stored in the memory 130, the recognition The character image in which the classification result included in the word is not suitable may be re-classified. The processor 120 may compare the recognition word with reference words for a domain of the document image from which the recognition word is extracted from among the reference words in the memory 130. The processor 120 compares one or more letters included in the recognized word and one or more letters included in each of the one or more reference words stored in the memory 130 to match the matching rate of the reference word containing the same letter the most. You can decide with this highest reference word. The processor 120 may determine the reference word having the highest matching ratio based on the arrangement of one or more letters included in the recognized word and the arrangement of one or more letters included in the reference word. For example, referring to FIG. 2, the processor 120 stores the recognition word 240 pandomagjeong in the memory 130, the domain of the recognition word 240 pandomagjeong, a reference word table stored for the details of medical expenses It can be compared based on (250). Since the word arrangement and the same word ratio of the recognition word 240 and the reference word pantomagjeong 252 are the highest, the processor 120 may re-classify the character image based on the pantomagjeong 252. . The processor 120 may re-classify a letter image based on letters different from letters included in the reference word having the highest matching ratio among the one or more letters included in the recognized word. The processor 120 may re-classify a letter image into letters of a reference word with respect to the letter images that are the basis of the different letters. The processor 120 may re-classify the character image based on the difference between the letter'degree' of the recognition word 240 and the reference word'toe' of the reference word pantomagjeong 252. The processor 120 may re-classify the text image 214 that is the basis of the different letters'degrees' as'sat'. The specific description regarding the re-classification of the character image described above is merely an example, and the present disclosure is not limited thereto.

본 개시의 일 실시예에 따라, 프로세서(120)는 사용자 컴퓨팅 장치로부터 상기 글자 이미지에 대한 수동 보정 정보를 수신할 수 있다. 프로세서(120)는 상기 수동 보정 정보에 기초하여 상기 글자 이미지를 재 분류할 수 있다. 수동 보정 정보는, 글자 인식 모델을 사용하는 사용자로부터 수신한 오류 정보일 수 있다. 예를 들어, 병원에서 진료비 세부내역서에 대하여 글자 인식 모델을 통해 내용을 확인할 경우, 병원 직원이 수동으로 틀리게 인식된 글자에 대하여 보정을 수행하여, 사용자 컴퓨팅 장치에 입력할 수 있다. 프로세서(120)는 병원 직원이 수동으로 입력한 보정에 기초하여, 해당 글자 이미지를 재 분류할 수 있다. 전술한 수동 보정에 관한 구체적인 기재는 예시일 뿐이며 본 개시는 이에 제한되지 않는다.According to an embodiment of the present disclosure, the processor 120 may receive manual correction information for the text image from a user computing device. The processor 120 may re-classify the text image based on the manual correction information. The manual correction information may be error information received from a user using a character recognition model. For example, when the hospital checks the details of the medical fee details through the letter recognition model, the hospital staff can manually correct the letters that are incorrectly recognized and input them to the user computing device. The processor 120 may re-classify the corresponding letter image based on the correction manually input by the hospital staff. The specific description regarding the manual correction described above is merely an example, and the present disclosure is not limited thereto.

프로세서(120)는 상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 경우, 상기 글자 이미지에 부적합 정보를 표시할 수 있다. 프로세서(120)는 글자 이미지에 부적합 정보를 표시하여, 사용자 단말에 알림을 줄 수 있다. 프로세서(120)는 네트워크부(110)를 통해 사용자 단말로부터 부적합 정보가 표시된 글자 이미지에 대한 보정 정보를 수신할 수 있다. 프로세서(120)는 보정 정보에 기초하여 상기 글자 이미지를 재 분류할 수 있다.The processor 120 may display non-conformance information on the character image when the character determined as the result of the classification of the character image is not suitable. The processor 120 may display the non-conformance information on the text image, and notify the user terminal. The processor 120 may receive correction information for the character image in which the non-conformance information is displayed from the user terminal through the network unit 110. The processor 120 may re-classify the text image based on the correction information.

이하에서는, 프로세서(120)가 글자 인식 모델 업데이트의 기초가 되는, 학습 데이터를 생성하는 방법에 관하여 설명한다.Hereinafter, a description will be given of a method for the processor 120 to generate learning data, which is a basis for updating a character recognition model.

프로세서(120)는 글자 이미지를 제 1 학습 데이터의 입력으로 하고, 재 분류 결과로 결정된 글자를 상기 제 1 학습 데이터의 라벨로 하는, 상기 제 1 학습 데이터를 생성할 수 있다. 프로세서(120)는 분류 결과로 결정된 글자가 적합하지 않은 경우, 상기 글자의 기초가 되는 글자 이미지에 기초하여 제 1 학습 데이터를 생성할 수 있다. 도 2를 참조하여 예를 들어 설명하면, 글자 이미지(260)를 제 1 학습 데이터의 입력으로 하고, 재 분류 결과로 결정된 글자인 토(270)를 제 1 학습 데이터의 라벨로 하는 제 1 학습 데이터를 생성할 수 있다. 상기 재 분류 결과로 결정된 글자는, 상기 글자 인식 모델의 전체 글자 분류 클래스에 포함되는 글자일 수도 있고, 상기 글자 인식 모델의 전체 글자 분류 클래스에 포함되는 글자가 아닐 수도 있다. 제 1 학습 데이터 세트는, 상기 글자 인식 모델의 학습 후 수집된 사전 결정된 개수의 제 1 학습 데이터를 포함하거나, 또는 사전 결정된 기간 동안 수집된 제 1 학습 데이터를 포함할 수 있다. 본 개시의 일 실시예에 따라, 프로세서(120)는 사전 결정된 개수의 제 1 학습 데이터를 수집하여, 제 1 학습 데이터 세트에 기초하여 업데이트 된 글자 인식 모델을 생성할 수 있다. 본 개시의 일 실시예에 따라, 프로세서(120)는 사전 결정된 기간 동안 제 1 학습 데이터를 수집하여, 제 1 학습 데이터 세트에 기초하여 업데이트 된 글자 인식 모델을 생성할 수 있다.The processor 120 may generate the first learning data using a character image as an input of the first learning data and a character determined as a result of the reclassification as a label of the first learning data. The processor 120 may generate first learning data based on the character image that is the basis of the character when the character determined as the classification result is not suitable. For example, referring to FIG. 2, the first learning data using the text image 260 as the input of the first learning data, and the character 270 determined as the result of the reclassification as the label of the first learning data Can generate The characters determined as the result of the reclassification may be characters included in the entire character classification class of the character recognition model, or may not be characters included in the entire character classification class of the character recognition model. The first training data set may include a predetermined number of first training data collected after training of the character recognition model, or may include first training data collected during a predetermined period. According to an embodiment of the present disclosure, the processor 120 may collect a predetermined number of first learning data and generate an updated character recognition model based on the first learning data set. According to an embodiment of the present disclosure, the processor 120 may collect the first learning data for a predetermined period, and generate an updated character recognition model based on the first learning data set.

이하에서는, 프로세서(120)가 업데이트 된 글자 인식 모델을 생성하는 방법에 관하여 설명한다.Hereinafter, a method of generating the updated character recognition model by the processor 120 will be described.

프로세서(120)는 하나 이상의 제 1 학습 데이터를 포함하는 제 1 학습 데이터 세트에 기초하여 업데이트 된 글자 인식 모델을 생성할 수 있다. 프로세서(120)는 상기 제 1 학습 데이터의 상기 글자 이미지를 상기 글자 인식 모델의 입력으로 하여 하나의 글자로 분류할 수 있다. 프로세서(120)는 상기 제 1 학습 데이터에 대한 분류에 기초한 학습 분류 결과로 결정된 글자와 상기 제 1 학습 데이터의 라벨인, 상기 재 분류 결과로 결정된 글자를 비교하여 오차를 연산할 수 있다. 프로세서(120)는 상기 오차에 기초하여 상기 글자 인식 모델의 가중치를 업데이트하여 업데이트 된 글자 인식 모델을 생성할 수 있다.The processor 120 may generate an updated character recognition model based on the first learning data set including one or more first learning data. The processor 120 may classify the character image of the first learning data as one character by using the character recognition model as an input. The processor 120 may calculate an error by comparing a letter determined as a result of the learning classification based on the classification of the first learning data and a letter determined as the result of the re-classification, which is a label of the first learning data. The processor 120 may update the weight of the character recognition model based on the error to generate an updated character recognition model.

업데이트 된 글자 인식 모델의 학습 데이터는, 제 1 학습 데이터 세트 및 상기 사전 학습된 글자 인식 모델 학습의 기초가 된 제 2 학습 데이터 세트 중 적어도 일부의 제 2 학습 데이터일 수 있다. 제 2 학습 데이터 세트 중 적어도 일부는, 제 2 학습 데이터 세트의 사전결정 비율에 해당하는 제 2 학습 데이터일 수도 있고, 제 2 학습 데이터 세트에 포함되는 제 2 학습 데이터 전부일 수도 있다.The updated character recognition model training data may be second training data of at least a portion of the first training data set and the second training data set on which the pre-trained character recognition model training is based. At least a part of the second training data set may be second training data corresponding to a predetermined ratio of the second training data set, or may be all of the second training data included in the second training data set.

본 개시의 일 실시예에 따라, 프로세서(120)는 업데이트 된 글자 인식 모델의 초기 가중치를, 기존 글자 인식 모델의 최종 가중치로 설정하여 학습을 수행할 수 있다. 프로세서(120)는 사전 학습된 글자 인식 모델 학습의 기초가 된 제 2 학습 데이터 세트 중 적어도 일부의 제 2 학습 데이터 및 상기 제 1 학습 데이터를 기초로 새로운 글자 인식 모델에 대한 학습을 수행할 수 있다. 기존 글자 인식 모델의 최종 가중치를, 업데이트 된 글자 인식 모델의 초기 가중치로 설정할 경우, 업데이트된 글자 인식 모델은 제 2 학습 데이터 세트 전체가 업데이트 된 글자 인식 모델의 학습 데이터 세트에 포함되지 않더라도, 제 1 학습 데이터에 대해서만 오버피팅이 되지 않을 수 있으며 제 1 학습 데이터에 포함된 글자 클래스들 이외의 클래스에 대하여서도 일반화된 성능을 가질 수 있다.According to an embodiment of the present disclosure, the processor 120 may perform learning by setting the initial weight of the updated character recognition model as the final weight of the existing character recognition model. The processor 120 may perform learning on a new character recognition model based on at least some of the second training data and the first training data among the second training data sets that are the basis of the pre-trained character recognition model training. . If the final weight of the existing character recognition model is set as the initial weight of the updated character recognition model, the updated character recognition model is the first, even if the entire second training data set is not included in the training data set of the updated character recognition model. It may not be overfitting only for the training data, and may have generalized performance for classes other than the character classes included in the first training data.

본 개시의 일 실시예에 따라, 프로세서(120)는 업데이트 된 글자 인식 모델의 초기 가중치를, 기존 글자 인식 모델의 최종 가중치의 적어도 일부를 공유하도록 설정하여 학습을 수행할 수 있다. 프로세서(120)는 업데이트 된 글자 인식 모델의 적어도 일부의 노드를 기존 글자 인식 모델의 노드와 동일하게 설정하여 학습을 수행할 수도 있다. 레이어는, 하나 이상의 노드를 포함할 수 있다. 프로세서(120)는 업데이트 된 글자 인식 모델의 적어도 일부의 레이어를 기존 글자 인식 모델의 레이어와 동일하게 설정하여 학습을 수행할 수도 있다. 프로세서(120)는 업데이트 된 글자 인식 모델의 마지막 레이어를 기준으로 사전 결정된 개수의 레이어를 제외한 나머지 레이어는, 기존 글자 인식 모델의 레이어와 동일하게 설정하여 학습을 수행할 수도 있다. 사전 결정된 개수의 레이어는, 1개일 수도 있고, 2개 이상일 수도 있다. 글자 인식 모델의 앞 부분에 해당하는 레이어는, 글자 이미지에서 피쳐를 추출하기 위하여 주로 사용되며, 글자 이미지를 분류하기 위한 레이어는, 글자 인식 모델의 뒤 부분에 해당하는 레이어일 수 있다. 따라서, 업데이트 된 글자 인식 모델의 앞 부분에 해당하는 레이어는, 기존의 글자 인식 모델의 레이어와 동일하게 설정하여 학습을 수행할 수 있다.According to an embodiment of the present disclosure, the processor 120 may perform learning by setting the initial weight of the updated character recognition model to share at least a portion of the final weight of the existing character recognition model. The processor 120 may perform learning by setting at least some nodes of the updated character recognition model to be the same as those of the existing character recognition model. The layer may include one or more nodes. The processor 120 may perform learning by setting at least some layers of the updated character recognition model to be the same as those of the existing character recognition model. The processor 120 may perform learning by setting the remaining layers, except for a predetermined number of layers, based on the last layer of the updated character recognition model, the same as the layer of the existing character recognition model. The predetermined number of layers may be one, or may be two or more. The layer corresponding to the front portion of the character recognition model is mainly used to extract features from the character image, and the layer for classifying the character image may be a layer corresponding to the rear portion of the character recognition model. Therefore, the layer corresponding to the front part of the updated character recognition model may be set to be the same as the layer of the existing character recognition model to perform learning.

본 개시의 일 실시예에 따라, 프로세서(120)는 업데이트 된 글자 인식 모델의 초기 가중치를, 랜덤으로 설정하여 학습을 수행할 수 있다. 프로세서(120)는 업데이트 된 글자 인식 모델의 초기 가중치를, 랜덤으로 설정하는 경우, 학습 데이터를 제 1 학습 데이터 세트 및 제 2 학습 데이터 세트 전체를 사용할 수도 있다. According to an embodiment of the present disclosure, the processor 120 may perform learning by setting an initial weight of the updated character recognition model at random. When the initial weight of the updated character recognition model is randomly set, the processor 120 may use the first training data set and the entire second training data set as training data.

이하에서는, 프로세서(120)가 업데이트 된 글자 인식 모델을 이용하여 글자 이미지를 분류하는 방법에 관하여 설명한다.Hereinafter, a method of classifying the character image using the updated character recognition model by the processor 120 will be described.

프로세서(120)는 기존의 글자 인식 모델과 업데이트 된 글자 인식 모델의 앙상블을 통해 글자 이미지를 분류할 수 있다. 앙상블을 통한 연산은, 복수의 모델(즉, 하나 이상의 네트워크 함수를 포함하는 모델)의 출력에 기초하여, 최종 출력을 도출하는 방법일 수 있다.The processor 120 may classify the character image through the ensemble of the existing character recognition model and the updated character recognition model. The operation through the ensemble may be a method of deriving the final output based on the output of a plurality of models (ie, a model including one or more network functions).

본 개시의 일 실시예에 따라, 프로세서(120)는 기존의 글자 인식 모델과 업데이트 된 글자 인식 모델을 병렬로 앙상블 하여, 글자 이미지를 분류할 수 있다. 프로세서(120)는 상기 문서 이미지에 포함된 글자 이미지를 상기 글자 인식 모델 및 상기 업데이트 된 글자 인식 모델을 이용하여 분류할 수 있다. 프로세서(120)는 상기 글자 인식 모델의 분류 결과 및 상기 업데이트 된 글자 인식 모델의 분류 결과를 앙상블 하여 상기 글자 이미지가 포함하는 글자에 대한 최종 분류 결과를 생성할 수 있다.According to an embodiment of the present disclosure, the processor 120 may classify a character image by ensemble the existing character recognition model and the updated character recognition model in parallel. The processor 120 may classify the text image included in the document image using the text recognition model and the updated text recognition model. The processor 120 may ensemble the classification result of the character recognition model and the classification result of the updated character recognition model to generate a final classification result for characters included in the character image.

본 개시의 일 실시예에 따라, 업데이트 된 글자 인식 모델은, 제 2 학습 데이터 세트의 적어도 일부에 해당하는 제 2 학습 데이터 및 제 1 학습 데이터 세트에 기초하여 학습된 모델일 수 있다. 업데이트 된 글자 인식 모델은, 기존 글자 인식 모델의 최종 가중치와 동일한 초기 가중치를 설정하여 학습된 모델일 수 있다. 프로세서(120)는 상기 문서 이미지에 포함된 글자 이미지를 상기 글자 인식 모델 및 상기 업데이트 된 글자 인식 모델 각각의 입력으로 하여 분류할 수 있다. 프로세서(120)는 기존의 글자 인식 모델이, 글자 이미지를 글자 분류 클래스에 포함되지 않는 글자인 것으로 분류하는 경우, 글자 인식 모델의 분류 결과보다 업데이트 된 글자 인식 모델의 분류 결과에 더 큰 가중치를 두어 글자 이미지가 포함하는 글자에 대한 최종 분류 결과를 생성할 수 있다. 이는, 새로 학습된 글자 분류 클래스에 대해서는 업데이트 된 글자 인식 모델의 인식 결과가 더 정확 할 것으로 판단될 수 있기 때문이다. 예를 들어, 기존의 글자 인식 모델의 글자 분류 클래스가 “가, 나, 다” 이고, 업데이트 된 글자 인식 모델의 글자 분류 클래스가 “가, 나, 다, 라, 마” 이고, 글자 이미지를 글자 인식 모델을 통해 분류한 결과가 “가, 나, 다” 이외의 글자인 것으로 출력되고, 글자 이미지를 업데이트 된 글자 인식 모델을 통해 분류한 결과가 라 글자 인 것으로 출력되는 경우, 프로세서(120)는 기존 글자 인식 모델의 출력 결과보다 업데이트 된 글자 인식 모델의 출력 결과에 더 큰 가중치를 둘 수 있다. 예를 들어, 프로세서(120)는 기존 글자 인식 모델의 출력에 0.5 가중치를 두고, 업데이트 된 글자 인식 모델의 출력에 0.7 가중치를 두어 연산하여, 최종 분류 결과를 '라' 인 것으로 결정할 수 있다. 프로세서(120)는 기존의 글자 인식 모델이, 글자 이미지를 글자 분류 클래스에 포함되는 글자인 것으로 분류하는 경우, 글자 인식 모델의 분류 결과에 업데이트 된 글자 인식 모델의 분류 결과보다 더 큰 가중치를 두어 글자 이미지가 포함하는 글자에 대한 최종 분류 결과를 생성할 수 있다. 이는, 기존의 글자 분류 클래스에 해당하는 글자에 대한 연산은, 기존 글자 인식 모델의 연산이 업데이트 된 글자 인식 모델의 연산보다 더 정확한 것으로 판단될 수 있기 때문이다. 예를 들어, 기존 글자 인식 모델 및 업데이트 된 글자 인식 모델이 전술한 예시와 같은 글자 분류 클래스를 가질 때, 글자 이미지를 글자 인식 모델을 통해 분류한 결과가 가 글자인 것으로 출력되고, 글자 이미지를 업데이트 된 글자 인식 모델을 통해 분류한 결과가 나 글자 인 것으로 출력되는 경우, 프로세서(120)는 기존 글자 인식 모델의 출력 결과에 업데이트 된 글자 인식 모델의 출력 결과보다 더 큰 가중치를 둘 수 있다. 프로세서(120)는 글자 인식 모델을 통해 분류한 결과인 '가' 글자에 가중치를 0.8로 두고, 업데이트 된 글자 인식 모델을 통해 분류한 결과인 '나' 글자에 가중치를 0.5으로 두어 연산할 수 있다. 예를 들어, 글자 인식 모델을 통해 분류한 결과 '가' 글자의 스코어 값이 0.6이고 앙상블에 기초한 가중치 값이 0.8이고, 업데이트 된 글자 인식 모델을 통해 분류한 결과인 '나' 글자의 스코어 값이 0.9이고 앙상블에 기초한 가중치 값이 0.5인 경우, 프로세서(120)는 '가' 글자에 대한 총 연산 값이 0.48이고, '나' 글자에 대한 총 연산 값이 0.45이므로, 최종 분류 결과를 '가'로 결정할 수 있다. 전술한 글자 이미지를 분류하는 방법에 관한 구체적인 기재는 예시일 뿐이며 본 개시는 이에 제한되지 않는다. 본 개시의 일 실시예에 따라, 프로세서(120)는 기존의 글자 인식 모델과 두개 이상의 글자 인식 모델을 병렬로 앙상블하여, 보팅(voting)을 통해 글자 이미지를 분류할 수 있다. 프로세서(120)는 총 3개 이상의 글자 인식 모델 각각의 분류 결과 중, 표를 가장 많이 받은 글자 이미지에 대한 분류 결과로 최종 분류 결과를 결정할 수 있다. 즉, 본 개시에서 병렬 모델을 이용한 앙상블 방식은 단순 보팅일 수도 있고, 각 모델의 출력에 모델 별, 분류 별 가중치를 적용한 앙상블 방식일 수도 있으며, 임의의 알려진 앙상블 방식을 포함할 수 있다. 글자 이미지를 기존의 글자 인식 모델과 제 1 업데이트 된 글자 인식 모델 및 제 2 업데이트 된 글자 인식 모델 각각을 이용하여 분류할 수 있다. 업데이트 된 글자 인식 모델의 초기 가중치는, 랜덤으로 설정된 것일 수 있다. 예를 들어, 제 1 업데이트 된 글자 인식 모델은, 제 1 학습 데이터 세트 및 제 2 학습 데이터 세트에 기초하여 학습된 모델일 수 있다. 제 2 업데이트 된 글자 인식 모델은, 제 3 학습 데이터 세트 및 제 1 학습 데이터 세트에 기초하여 학습된 모델이거나, 또는 제 3 학습 데이터 세트, 제 2 학습 데이터 세트 및 제 1 학습 데이터 세트의 적어도 일부에 기초하여 학습된 모델일 수 있다. 제 3 학습 데이터 세트는, 제 1 학습 데이터 세트 생성 후, 사전 결정된 기간 동안에 생성된 학습 데이터 또는 사전 결정된 개수의 학습 데이터의 집합일 수 있다. 예를 들어, 기존의 글자 인식 모델의 글자 분류 결과가 글자 포 이고, 제 1 업데이트 된 글자 인식 모델의 분류 결과가 프 이고 및 제 2 업데이트 된 글자 인식 모델의 분류 결과가 포 인 경우, 더 많은 표를 받은 '포'로 최종 분류 결과를 결정할 수 있다. 전술한, 글자 이미지를 생성하는 방법에 관한 구체적인 기재는 예시일 뿐이며 본 개시는 이에 제한되지 않는다.According to an embodiment of the present disclosure, the updated character recognition model may be a model trained based on the second training data and the first training data set corresponding to at least a portion of the second training data set. The updated character recognition model may be a model learned by setting an initial weight equal to the final weight of the existing character recognition model. The processor 120 may classify the character images included in the document image as inputs to the character recognition model and the updated character recognition model, respectively. When the existing character recognition model classifies the character image as a character not included in the character classification class, the processor 120 places a greater weight on the classification result of the updated character recognition model than the classification result of the character recognition model. The final classification result for the text included in the text image may be generated. This is because the recognition result of the updated character recognition model may be determined to be more accurate for the newly learned character classification class. For example, the character classification class of the existing character recognition model is “A, B, D,” and the character classification class of the updated character recognition model is “A, B, D, D, D,” and the character image is written. When the result classified through the recognition model is output as letters other than “A, B, C,” and the result of classifying the text image through the updated character recognition model is output as La letters, the processor 120 It is possible to place a greater weight on the output result of the updated character recognition model than the output result of the existing character recognition model. For example, the processor 120 may calculate the weight by putting 0.5 weight on the output of the existing character recognition model and 0.7 weight on the output of the updated character recognition model, so that the final classification result may be determined to be'L'. When the existing character recognition model classifies the character image as a character included in the character classification class, the processor 120 places a larger weight on the classification result of the character recognition model than the updated character recognition model classification result. The final classification result for the text included in the image may be generated. This is because the operation of the characters corresponding to the existing character classification class may be determined to be more accurate than the operation of the updated character recognition model. For example, when the existing character recognition model and the updated character recognition model have a character classification class as in the above example, the result of classifying the character image through the character recognition model is output as a character, and the character image is updated. When the result classified through the recognized character recognition model is output as a letter or the character, the processor 120 may place a weight greater than the output result of the updated character recognition model in the output result of the existing character recognition model. The processor 120 may calculate the weight of the letter'a', which is the result of classification through the letter recognition model, as 0.8, and the weight of the letter'I', which is the result of classification through the updated letter recognition model, of 0.5. . For example, as a result of classifying through the letter recognition model, the score value of the letter'A' is 0.6, the weight value based on the ensemble is 0.8, and the score value of the letter'I', which is the result of classification through the updated letter recognition model, is If it is 0.9 and the weight value based on the ensemble is 0.5, the processor 120 has a total operation value for the letter'a' of 0.48 and a total operation value for the letter'b' of 0.45, so the final classification result is'a'. You can decide. The detailed description of the above-described method for classifying the letter image is only an example, and the present disclosure is not limited thereto. According to an embodiment of the present disclosure, the processor 120 may ensemble an existing character recognition model and two or more character recognition models in parallel, and classify a character image through voting. The processor 120 may determine a final classification result as a classification result for the character images that receive the most votes among the classification results of each of the three or more character recognition models. That is, in the present disclosure, an ensemble method using a parallel model may be simple voting, an ensemble method in which weights for each model and classification are applied to the output of each model, and may include any known ensemble method. Character images may be classified using the existing character recognition model, the first updated character recognition model, and the second updated character recognition model. The initial weight of the updated character recognition model may be set randomly. For example, the first updated character recognition model may be a model trained based on the first learning data set and the second learning data set. The second updated character recognition model may be a model trained based on the third training data set and the first training data set, or in at least a portion of the third training data set, the second training data set, and the first training data set. It may be a model trained on the basis. The third training data set may be a set of training data generated during a predetermined period or a predetermined number of training data after the first training data set is generated. For example, if the character classification result of the existing character recognition model is character Po, the classification result of the first updated character recognition model is F, and the classification result of the second updated character recognition model is Po, more tables The final classification result can be determined by the'po' received. The detailed description of the above-described method for generating the text image is only an example, and the present disclosure is not limited thereto.

본 개시의 일 실시예에 따라, 프로세서(120)는 기존의 글자 인식 모델과 업데이트 된 글자 인식 모델을 직렬로 구성하여, 글자 이미지를 분류할 수 있다. 프로세서(120)는 상기 문서 이미지에 포함된 글자 이미지를 상기 글자 인식 모델을 통해 제 1 글자로 분류할 수 있다. 프로세서(120)는 상기 제 1 글자가 상기 제 1 학습 데이터에 기초하여 결정되는 글자 분류 클래스에 해당하는 경우, 상기 글자 이미지를 상기 업데이트 된 글자 인식 모델을 이용하여 재분류 할 것을 결정할 수 있다. 프로세서(120)는 상기 글자 이미지를 상기 업데이트 된 글자 인식 모델을 이용하여 분류하여 상기 글자 이미지가 포함하는 글자에 대한 최종 분류 결과를 생성할 수 있다. 예를 들어, 글자 이미지를 글자 인식 모델을 통해 제 1 글자인 '판'으로 분류하고, 제 1 학습 데이터의 라벨에 '판'이 있어, 업데이트 된 글자 인식 모델의 글자 분류 클래스에 '판'이 있는 경우, 글자 이미지를 업데이트 된 글자 인식 모델을 통해 분류하여, 해당 분류 결과를 직렬 앙상블 모델의 최종 분류 결과로 결정할 수 있다. 전술한, 글자 이미지를 분류하는 방법에 관한 구체적인 기재는 예시일 뿐이면 본 개시는 이에 제한되지 않는다.According to an embodiment of the present disclosure, the processor 120 may classify a character image by configuring an existing character recognition model and an updated character recognition model in series. The processor 120 may classify the text image included in the document image as the first text through the text recognition model. When the first character corresponds to a character classification class determined based on the first learning data, the processor 120 may determine to re-classify the character image using the updated character recognition model. The processor 120 may classify the text image using the updated text recognition model to generate a final classification result for the text included in the text image. For example, the character image is classified as the first character'plate' through the character recognition model, and there is a'plate' on the label of the first learning data, so the'plate' is in the character classification class of the updated character recognition model. If present, the image of the character may be classified through the updated character recognition model, and the classification result may be determined as the final classification result of the serial ensemble model. The detailed description of the above-described method for classifying text images is only an example, and the present disclosure is not limited thereto.

메모리(130)는 본 개시의 일 실시예에 따른 글자 인식 모델의 업데이트 방법을 수행하기 위한 컴퓨터 프로그램을 저장할 수 있으며, 저장된 컴퓨터 프로그램은 프로세서(120)에 의하여 판독되어 구동될 수 있다.The memory 130 may store a computer program for performing a method of updating a character recognition model according to an embodiment of the present disclosure, and the stored computer program may be read and driven by the processor 120.

본 개시의 실시예들에 따른 메모리(130)는 프로세서(120)의 동작을 위한 프로그램을 저장할 수 있고, 입/출력되는 데이터들(예를 들어, 문서 이미지, 글자 이미지, 글자 이미지의 재 분류에 따른 학습 데이터 등)을 임시 또는 영구 저장할 수도 있다. 상기 메모리(130)는 디스플레이 및 음향에 관한 데이터를 저장할 수 있다. 메모리(130)는 플래시 메모리 타입(flash memory type), 하드디스크 타입(hard disk type), 멀티미디어 카드 마이크로 타입(multimedia card micro type), 카드 타입의 메모리(예를 들어 SD 또는 XD 메모리 등), 램(Random Access Memory, RAM), SRAM(Static Random Access Memory), 롬(Read-Only Memory, ROM), EEPROM(Electrically Erasable Programmable Read-Only Memory), PROM(Programmable Read-Only Memory), 자기 메모리, 자기 디스크, 광디스크 중 적 어도 하나의 타입의 저장매체를 포함할 수 있다.The memory 130 according to embodiments of the present disclosure may store a program for the operation of the processor 120, and re-classify data input/output (eg, a document image, a text image, a text image) It can be stored temporarily or permanently. The memory 130 may store data related to a display and sound. The memory 130 is a flash memory type, a hard disk type, a multimedia card micro type, a card type memory (for example, SD or XD memory, etc.), RAM (Random Access Memory, RAM), Static Random Access Memory (SRAM), Read-Only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Programmable Read-Only Memory (PROM), magnetic memory, magnetic It may include at least one type of storage medium among disks and optical disks.

도 3은 본 개시의 일 실시예에 따른 글자 인식 모델의 업데이트 방법의 순서도이다.3 is a flowchart of a method for updating a character recognition model according to an embodiment of the present disclosure.

컴퓨팅 장치(100)는 문서 이미지에 포함된 하나 이상의 글자 이미지 각각을 사전 학습된 하나 이상의 네트워크 함수를 포함하는 글자 인식 모델을 통해 각각의 글자로 분류하여 상기 글자 이미지가 포함하는 글자를 결정(310)할 수 있다. 문서 이미지는, 하나 이상의 인식 대상 글자를 포함하는 문서에 대한 이미지일 수 있다. 문서 이미지는, 하나 이상의 글자 이미지를 포함할 수 있다. 글자 이미지는, 하나의 글자를 포함하는 이미지일 수 있다.The computing device 100 classifies each of the one or more character images included in the document image into each character through a character recognition model including one or more pre-trained network functions to determine the characters included in the character image (310) can do. The document image may be an image of a document including one or more recognition target characters. The document image may include one or more text images. The letter image may be an image including one letter.

컴퓨팅 장치(100)는 상기 분류에 기초한 상기 글자 이미지의 분류 결과로 결정된 글자가 적합한 글자인지 여부를 결정(320)할 수 있다.The computing device 100 may determine whether a character determined as a result of the classification of the character image based on the classification is a suitable character (320).

본 개시의 일 실시예에 따라, 컴퓨팅 장치(100)는 상기 글자 이미지에 대한 분류 결과의 신뢰도가 사전 결정된 값 이하인 경우, 상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 것으로 결정할 수 있다. 신뢰도가 사전 결정된 값 이하인 경우는, 글자 이미지의 분류의 기초가 된 클래스의 스코어가 사전 결정된 값 이하인 것을 의미할 수 있다.According to an embodiment of the present disclosure, when the reliability of the classification result for the character image is equal to or less than a predetermined value, the computing device 100 may determine that the character determined as the classification result of the character image is not suitable. When the reliability is less than or equal to a predetermined value, it may mean that the score of the class that is the basis of the classification of the text image is equal to or less than the predetermined value.

본 개시의 일 실시예에 따라, 컴퓨팅 장치(100)는 상기 분류 결과로 결정된 글자가 전체 글자 분류 클래스에 포함되지 않는 글자인 경우, 또는 상기 분류 결과로 결정된 글자가 상기 문서 이미지의 도메인의 글자 별 사용 빈도가 일정 값 이하인 글자에 해당하는 경우, 상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 것으로 결정할 수 있다. 전체 글자 분류 클래스는, 사전 결정된 글자에 대한 하나 이상의 클래스를 포함할 수 있다. 문서 이미지의 도메인은, 문서가 포함하고 있는 문서의 특성을 의미하는 것일 수 있다. 문서 이미지의 도메인은, 상기 문서 이미지가 사용되는 분야를 의미하는 것일 수 있다.According to an embodiment of the present disclosure, the computing device 100 may determine whether a character determined as a result of the classification is a character not included in the entire character classification class, or a character determined as a result of the classification is character-by-character in the domain of the document image. When the frequency of use corresponds to a letter having a predetermined value or less, it may be determined that the letter determined as the result of the classification of the letter image is not suitable. The entire character classification class may include one or more classes for predetermined characters. The domain of the document image may mean characteristics of a document included in the document. The domain of the document image may mean a field in which the document image is used.

본 개시의 일 실시예에 따라, 컴퓨팅 장치(100)는 상기 문서 이미지에 포함된 하나 이상의 글자 이미지 각각의 분류 결과로 결정된 글자를 의미 단위로 그룹화하여 하나 이상의 인식 단어를 추출할 수 있다. 컴퓨팅 장치(100)는 상기 하나 이상의 인식 단어 각각을 메모리에 저장된 하나 이상의 기준 단어와 비교 결과에 기초하여, 상기 인식 단어의 기초가 되는 하나 이상의 글자 이미지 중 적어도 하나의 글자 이미지의 분류 결과로 결정된 글자가 적합하지 않은 것으로 결정할 수 있다. 인식 단어는, 글자 인식 모델 문서 이미지에 포함된 단어일 수 있다. 인식 단어는, 글자를 의미 단위로 그룹화 한 것일 수 있다. 기준 단어는, 컴퓨팅 장치(100)에 사전 저장된 단어일 수 있다.According to an embodiment of the present disclosure, the computing device 100 may extract one or more recognition words by grouping characters determined as a result of classification of each of the one or more character images included in the document image into semantic units. The computing device 100 is based on a result of comparing each of the one or more recognized words with one or more reference words stored in a memory, and is determined as a classification result of at least one letter image among one or more letter images that are the basis of the recognized word Can be determined to be unsuitable. The recognition word may be a word included in a letter recognition model document image. The recognition word may be a grouping of letters in a semantic unit. The reference word may be a word pre-stored in the computing device 100.

본 개시의 일 실시예에 따라, 컴퓨팅 장치(100)는 상기 문서 이미지에 포함된 하나 이상의 글자 이미지 각각의 분류 결과로 결정된 글자를 의미 단위로 그룹화하여 하나 이상의 인식 단어를 추출할 수 있다. 컴퓨팅 장치(100)는 상기 인식 단어의 상기 문서 이미지 상에서의 컨텍스트 분석을 통해 상기 글자 이미지의 분류 결과가 적합한 글자인지 여부를 결정할 수 있다. 컴퓨팅 장치(100)는 글자 이미지의 분류 결과로 결정된 글자에 기초한 인식 단어를 추출하고, 해당 인식 단어의 카테고리를 문서 이미지에서 추출하여, 컴퓨팅 장치(100)에 인식 단어와 매칭되는 상기 카테고리의 하위 구성인 기준 단어가 없는 경우, 상기 글자 이미지의 분류 결과가 적합하지 않은 것으로 결정할 수 있다.According to an embodiment of the present disclosure, the computing device 100 may extract one or more recognition words by grouping characters determined as a result of classification of each of the one or more character images included in the document image into semantic units. The computing device 100 may determine whether the classification result of the character image is a suitable character through context analysis of the recognition word on the document image. The computing device 100 extracts a recognition word based on a letter determined as a result of classifying a letter image, extracts a category of the recognition word from the document image, and sub-structures the category matching the recognition word in the computing device 100 If there is no phosphorus reference word, it may be determined that the classification result of the letter image is not suitable.

컴퓨팅 장치(100)는 상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 경우, 상기 글자 이미지를 재 분류하여 상기 글자 이미지에 포함된 글자를 재 결정(330)할 수 있다.If the character determined as the result of the classification of the character image is not suitable, the computing device 100 may re-classify the character image and re-determine the character included in the character image (330).

본 개시의 일 실시예에 따라, 컴퓨팅 장치(100)는 상기 글자 이미지의 분류 결과가 메모리에 저장되어 있는 하나 이상의 글자 클래스에 포함되도록 상기 글자 이미지를 재 분류할 수 있다. 글자 이미지의 재 분류는, 글자 이미지에 대한 올바른 인식 결과를 나타내도록 보정하는 작업을 의미할 수 있다.According to an embodiment of the present disclosure, the computing device 100 may re-classify the character image so that the result of the classification of the character image is included in one or more character classes stored in memory. The re-classification of the text image may refer to an operation of correcting the text image to display a correct recognition result.

본 개시의 일 실시예에 따라, 컴퓨팅 장치(100)는 상기 분류 결과가 적합하지 않은 글자 이미지를 기초로 하는 인식 단어를 추출할 수 있다. 컴퓨팅 장치(100)는 상기 인식 단어에 포함된 하나 이상의 글자 및 메모리에 저장된 하나 이상의 기준 단어 중 기준 단어 각각에 포함된 하나 이상의 글자의 매칭 비율이 가장 높은 기준 단어를 기초로 하여, 상기 인식 단어에 포함된 상기 분류 결과가 적합하지 않은 글자 이미지를 재 분류할 수 있다. 컴퓨팅 장치(100)는 인식 단어에 포함된 하나 이상의 글자와 컴퓨팅 장치(100)에 저장되어 있는 하나 이상의 기준 단어 각각에 포함된 하나 이상의 글자를 비교하여, 동일한 글자를 가장 많이 포함하고 있는 기준 단어를 매칭 비율이 가장 높은 기준 단어로 결정할 수 있다.According to an embodiment of the present disclosure, the computing device 100 may extract a recognition word based on the character image for which the classification result is not suitable. The computing device 100 based on the reference word having the highest matching ratio of one or more letters included in each of the reference words among the one or more letters included in the recognition word and one or more reference words stored in the memory, to the recognition word It is possible to re-classify the character images in which the included classification results are not suitable. The computing device 100 compares one or more letters included in the recognized word with one or more letters included in each of the one or more reference words stored in the computing device 100, and compares the reference word containing the same letter the most. It can be determined by the reference word with the highest matching ratio.

본 개시의 일 실시예에 따라, 컴퓨팅 장치(100)는 사용자 컴퓨팅 장치로부터 상기 글자 이미지에 대한 수동 보정 정보를 수신할 수 있다. 컴퓨팅 장치(100)는 상기 수동 보정 정보에 기초하여 상기 글자 이미지를 재 분류할 수 있다.According to an embodiment of the present disclosure, the computing device 100 may receive manual correction information for the text image from a user computing device. The computing device 100 may re-classify the text image based on the manual correction information.

컴퓨팅 장치(100)는 상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 경우, 상기 글자 이미지에 부적합 정보를 표시할 수 있다.The computing device 100 may display non-conformance information on the character image when the character determined as the result of the classification of the character image is not suitable.

컴퓨팅 장치(100)는 상기 글자 이미지를 제 1 학습 데이터의 입력으로 하고, 재 분류 결과로 결정된 글자를 상기 제 1 학습 데이터의 라벨로 하는, 상기 제 1 학습 데이터를 생성(340)할 수 있다. 제 1 학습 데이터 세트는, 상기 글자 인식 모델의 학습 후 수집된 사전 결정된 개수의 제 1 학습 데이터를 포함하거나, 또는 사전 결정된 기간 동안 수집된 제 1 학습 데이터를 포함할 수 있다.The computing device 100 may generate the first learning data (340) using the character image as the input of the first learning data and the character determined as a result of the reclassification as the label of the first learning data. The first training data set may include a predetermined number of first training data collected after training of the character recognition model, or may include first training data collected during a predetermined period.

컴퓨팅 장치(100)는 하나 이상의 제 1 학습 데이터를 포함하는 제 1 학습 데이터 세트에 기초하여 업데이트 된 글자 인식 모델을 생성(350)할 수 있다.The computing device 100 may generate 350 an updated character recognition model based on the first learning data set including one or more first learning data.

본 개시의 일 실시예에 따라, 컴퓨팅 장치(100)는 상기 제 1 학습 데이터의 상기 글자 이미지를 상기 글자 인식 모델의 입력으로 하여 하나의 글자로 분류할 수 있다. 컴퓨팅 장치(100)는 상기 제 1 학습 데이터에 대한 분류에 기초한 학습 분류 결과로 결정된 글자와 상기 제 1 학습 데이터의 라벨인, 상기 재 분류 결과로 결정된 글자를 비교하여 오차를 연산할 수 있다. 컴퓨팅 장치(100)는 상기 오차에 기초하여 상기 글자 인식 모델의 가중치를 업데이트하여 업데이트 된 글자 인식 모델을 생성할 수 있다.According to an embodiment of the present disclosure, the computing device 100 may classify the character image of the first learning data as one character by using the character recognition model as an input. The computing device 100 may calculate an error by comparing a letter determined as a result of the learning classification based on the classification of the first learning data and a letter determined as the result of the re-classification, which is a label of the first learning data. The computing device 100 may generate an updated character recognition model by updating the weight of the character recognition model based on the error.

본 개시의 일 실시예에 따라, 컴퓨팅 장치(100)는 상기 사전 학습된 글자 인식 모델 학습의 기초가 된 제 2 학습 데이터 세트 중 적어도 일부의 제 2 학습 데이터 및 상기 제 1 학습 데이터 세트를 기초로 새로운 글자 인식 모델을 학습시켜, 업데이트 된 글자 인식 모델을 생성할 수 있다.According to an embodiment of the present disclosure, the computing device 100 is based on the second learning data and the first learning data set of at least some of the second learning data sets that are the basis of learning the pre-trained character recognition model. By learning a new character recognition model, an updated character recognition model can be generated.

본 개시의 일 실시예에 따라, 상기 사전 학습된 글자 인식 모델의 가중치를 적어도 일부 공유할 수 있다. 컴퓨팅 장치(100)는 업데이트 된 글자 인식 모델의 초기 가중치를, 기존 글자 인식 모델의 최종 가중치로 설정하여 학습을 수행할 수 있다. 컴퓨팅 장치(100)는 업데이트 된 글자 인식 모델의 적어도 일부의 노드를 기존 글자 인식 모델의 노드와 동일하게 설정하여 학습을 수행할 수도 있다. 컴퓨팅 장치(100)는 업데이트 된 글자 인식 모델의 적어도 일부의 레이어를 기존 글자 인식 모델의 레이어와 동일하게 설정하여 학습을 수행할 수도 있다. 컴퓨팅 장치(100)는 업데이트 된 글자 인식 모델의 마지막 레이어를 기준으로 사전 결정된 개수의 레이어를 제외한 나머지 레이어는, 기존 글자 인식 모델의 레이어와 동일하게 설정하여 학습을 수행할 수도 있다.According to an embodiment of the present disclosure, the weight of the pre-trained character recognition model may be shared at least partially. The computing device 100 may perform learning by setting the initial weight of the updated character recognition model as the final weight of the existing character recognition model. The computing device 100 may perform learning by setting at least some nodes of the updated character recognition model to be the same as those of the existing character recognition model. The computing device 100 may perform learning by setting at least some layers of the updated character recognition model to be the same as those of the existing character recognition model. The computing device 100 may perform learning by setting the remaining layers except for a predetermined number of layers based on the last layer of the updated character recognition model, the same as the layer of the existing character recognition model.

컴퓨팅 장치(100)는 상기 문서 이미지에 포함된 글자 이미지를 상기 글자 인식 모델 및 상기 업데이트 된 글자 인식 모델을 이용하여 분류할 수 있다. 컴퓨팅 장치(100)는 상기 글자 인식 모델의 분류 결과 및 상기 업데이트 된 글자 인식 모델의 분류 결과를 앙상블 하여 상기 글자 이미지가 포함하는 글자에 대한 최종 분류 결과를 생성할 수 있다.The computing device 100 may classify the text image included in the document image using the text recognition model and the updated text recognition model. The computing device 100 may ensemble the classification result of the character recognition model and the classification result of the updated character recognition model to generate a final classification result for characters included in the character image.

컴퓨팅 장치(100)는 상기 문서 이미지에 포함된 글자 이미지를 상기 글자 인식 모델을 통해 제 1 글자로 분류할 수 있다. 컴퓨팅 장치(100)는 상기 제 1 글자가 상기 제 1 학습 데이터에 기초하여 결정되는 글자 분류 클래스에 해당하는 경우, 상기 글자 이미지를 상기 업데이트 된 글자 인식 모델을 이용하여 분류 할 것을 결정할 수 있다. 컴퓨팅 장치(100)는 상기 글자 이미지를 상기 업데이트 된 글자 인식 모델을 이용하여 분류하여 상기 글자 이미지가 포함하는 글자에 대한 최종 분류 결과를 생성할 수 있다.The computing device 100 may classify the text image included in the document image as the first text through the text recognition model. When the first character corresponds to a character classification class determined based on the first learning data, the computing device 100 may determine to classify the character image using the updated character recognition model. The computing device 100 may classify the text image using the updated text recognition model to generate a final classification result for the text included in the text image.

도 4는 본 개시의 일 실시예에 따른 글자 인식 모델의 업데이트 방법을 구현하기 위한 로직을 도시한 블록 구성도이다.4 is a block diagram illustrating logic for implementing a method of updating a character recognition model according to an embodiment of the present disclosure.

본 개시의 일 실시예에 따라 글자 인식 모델의 업데이트 방법은 다음과 같은 로직에 의해 구현될 수 있다.According to an embodiment of the present disclosure, a method of updating a character recognition model may be implemented by the following logic.

본 개시의 일 실시예에 따른 글자 인식 모델의 업데이트 방법은, 문서 이미지에 포함된 하나 이상의 글자 이미지 각각을 사전 학습된 하나 이상의 네트워크 함수를 포함하는 글자 인식 모델을 통해 각각의 글자로 분류하여 상기 글자 이미지가 포함하는 글자를 결정하기 위한 로직(410); 상기 분류에 기초한 상기 글자 이미지의 분류 결과로 결정된 글자가 적합한 글자인지 여부를 결정하기 위한 로직(420); 상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 경우, 상기 글자 이미지를 재 분류하여 상기 글자 이미지에 포함된 글자를 재 결정하기 위한 로직(430); 상기 글자 이미지를 제 1 학습 데이터의 입력으로 하고, 재 분류 결과로 결정된 글자를 상기 제 1 학습 데이터의 라벨로 하는, 상기 제 1 학습 데이터를 생성하기 위한 로직(440); 및 하나 이상의 제 1 학습 데이터를 포함하는 제 1 학습 데이터 세트에 기초하여 업데이트 된 글자 인식 모델을 생성하기 위한 로직(450)에 의하여 구현될 수 있다.In the method of updating a character recognition model according to an embodiment of the present disclosure, each character is classified into each character through a character recognition model including one or more network functions that are pre-trained in each of the one or more character images included in the document image. Logic 410 for determining the characters included in the image; A logic 420 for determining whether a character determined as a result of the classification of the character image based on the classification is a suitable character; A logic 430 for re-determining the characters included in the character image by re-classifying the character images when the characters determined as the result of the classification of the character images are not suitable; A logic 440 for generating the first learning data, wherein the text image is the input of the first learning data, and the text determined as a result of the reclassification is a label of the first learning data; And a logic 450 for generating an updated character recognition model based on the first learning data set including one or more first learning data.

글자 인식 모델의 업데이트 방법의 대안적인 실시예에서, 상기 분류에 기초한 상기 글자 이미지의 분류 결과로 결정된 글자가 적합한 글자인지 여부를 결정하기 위한 로직(420)은, In an alternative embodiment of the method of updating the character recognition model, the logic 420 for determining whether a character determined as a result of the classification of the character image based on the classification is a suitable character,

글자 인식 모델의 업데이트 방법의 대안적인 실시예에서, 상기 분류에 기초한 상기 글자 이미지의 분류 결과로 결정된 글자가 적합한 글자인지 여부를 결정하기 위한 로직(420)은, 상기 글자 이미지에 대한 분류 결과의 신뢰도가 사전 결정된 값 이하인 경우, 상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 것으로 결정하기 위한 로직에 의하여 구현 될 수 있다.In an alternative embodiment of the method for updating the character recognition model, the logic 420 for determining whether a character determined as a result of the classification of the character image based on the classification is a suitable character, the reliability of the classification result for the character image When is less than or equal to a predetermined value, the character determined as the result of the classification of the character image may be implemented by logic to determine that it is not suitable.

글자 인식 모델의 업데이트 방법의 대안적인 실시예에서, 상기 분류에 기초한 상기 글자 이미지의 분류 결과로 결정된 글자가 적합한 글자인지 여부를 결정하기 위한 로직(420)은, 상기 분류 결과로 결정된 글자가 전체 글자 분류 클래스에 포함되지 않는 글자인 경우, 또는 상기 분류 결과로 결정된 글자가 상기 문서 이미지의 도메인의 글자 별 사용 빈도가 일정 값 이하인 글자에 해당하는 경우, 상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 것으로 결정하기 위한 로직에 의하여 구현될 수 있다.In an alternative embodiment of the method for updating the character recognition model, the logic 420 for determining whether the character determined as the result of the classification of the character image based on the classification is a suitable character, the character determined as the classification result is the entire character Characters determined as the result of the classification of the character image are suitable when the characters are not included in the classification class, or if the character determined as the result of the classification corresponds to a character whose frequency of use for each letter of the domain of the document image is less than or equal to a certain value. It can be implemented by logic to decide not to.

글자 인식 모델의 업데이트 방법의 대안적인 실시예에서, 상기 분류에 기초한 상기 글자 이미지의 분류 결과로 결정된 글자가 적합한 글자인지 여부를 결정하기 위한 로직(420)은, 상기 문서 이미지에 포함된 하나 이상의 글자 이미지 각각의 분류 결과로 결정된 글자를 의미 단위로 그룹화하여 하나 이상의 인식 단어를 추출하기 위한 로직; 및 상기 하나 이상의 인식 단어 각각을 메모리에 저장된 하나 이상의 기준 단어와 비교 결과에 기초하여, 상기 인식 단어의 기초가 되는 하나 이상의 글자 이미지 중 적어도 하나의 글자 이미지의 분류 결과로 결정된 글자가 적합하지 않은 것으로 결정하기 위한 로직에 의하여 구현될 수 있다.In an alternative embodiment of the method for updating the character recognition model, the logic 420 for determining whether a character determined as a result of the classification of the character image based on the classification is a suitable character, one or more characters included in the document image Logic for extracting one or more recognition words by grouping the characters determined as the result of each classification of the images into semantic units; And a letter determined as a result of classifying at least one letter image among one or more letter images that are the basis of the recognized word, based on a result of comparing each of the one or more recognized words with one or more reference words stored in memory. It can be implemented by logic to determine.

글자 인식 모델의 업데이트 방법의 대안적인 실시예에서, 상기 분류에 기초한 상기 글자 이미지의 분류 결과로 결정된 글자가 적합한 글자인지 여부를 결정하기 위한 로직(420)은, 상기 문서 이미지에 포함된 하나 이상의 글자 이미지 각각의 분류 결과로 결정된 글자를 의미 단위로 그룹화하여 하나 이상의 인식 단어를 추출하기 위한 로직; 및 상기 인식 단어의 상기 문서 이미지 상에서의 컨텍스트 분석을 통해 상기 글자 이미지의 분류 결과가 적합한 글자인지 여부를 결정하기 위한 로직에 의하여 구현될 수도 있다.In an alternative embodiment of the method for updating the character recognition model, the logic 420 for determining whether a character determined as a result of the classification of the character image based on the classification is a suitable character, one or more characters included in the document image Logic for extracting one or more recognition words by grouping the characters determined as the result of each classification of the images into semantic units; And logic for determining whether a classification result of the character image is a suitable character through context analysis of the recognition word on the document image.

글자 인식 모델의 업데이트 방법의 대안적인 실시예에서, 상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 경우, 상기 글자 이미지를 재 분류하여 상기 글자 이미지에 포함된 글자를 재 결정하기 위한 로직(430)은, 상기 글자 이미지의 분류 결과가 메모리에 저장되어 있는 하나 이상의 글자 클래스에 포함되도록 상기 글자 이미지를 재 분류하기 위한 로직에 의하여 구현될 수 있다.In an alternative embodiment of the method for updating the character recognition model, if the character determined as the result of the classification of the character image is not suitable, logic for re-classifying the character image and re-determining the characters included in the character image ( 430) may be implemented by logic to re-classify the character image so that the classification result of the character image is included in one or more character classes stored in memory.

글자 인식 모델의 업데이트 방법의 대안적인 실시예에서, 상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 경우, 상기 글자 이미지를 재 분류하여 상기 글자 이미지에 포함된 글자를 재 결정하기 위한 로직(430)은, 상기 분류 결과가 적합하지 않은 글자 이미지를 기초로 하는 인식 단어를 추출하기 위한 로직; 및 상기 인식 단어에 포함된 하나 이상의 글자 및 메모리에 저장된 하나 이상의 기준 단어 중 기준 단어 각각에 포함된 하나 이상의 글자의 매칭 비율이 가장 높은 기준 단어를 기초로 하여, 상기 인식 단어에 포함된 상기 분류 결과가 적합하지 않은 글자 이미지를 재 분류하기 위한 로직에 의하여 구현될 수 있다.In an alternative embodiment of the method for updating the character recognition model, if the character determined as the result of the classification of the character image is not suitable, logic for re-classifying the character image and re-determining the characters included in the character image ( 430), logic for extracting a recognition word based on the character image for which the classification result is not suitable; And one or more letters included in the recognition word and one or more reference words stored in the memory, based on the reference word having the highest matching ratio of each of the reference words, the classification result included in the recognition word. Can be implemented by logic to re-classify unsuitable text images.

글자 인식 모델의 업데이트 방법의 대안적인 실시예에서, 상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 경우, 상기 글자 이미지를 재 분류하여 상기 글자 이미지에 포함된 글자를 재 결정하기 위한 로직(430)은, 사용자 컴퓨팅 장치로부터 상기 글자 이미지에 대한 수동 보정 정보를 수신하기 위한 로직; 및 상기 수동 보정 정보에 기초하여 상기 글자 이미지를 재 분류하기 위한 로직에 의하여 구현될 수 있다.In an alternative embodiment of the method for updating the character recognition model, if the character determined as the result of the classification of the character image is not suitable, logic for re-classifying the character image and re-determining the characters included in the character image ( 430) logic for receiving manual correction information for the text image from a user computing device; And logic for re-classifying the text image based on the manual correction information.

글자 인식 모델의 업데이트 방법의 대안적인 실시예에서, 상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 경우, 상기 글자 이미지에 부적합 정보를 표시하기 위한 로직에 의하여 추가로 구현될 수 있다.In an alternative embodiment of the method for updating the character recognition model, if the character determined as the result of the classification of the character image is not suitable, it may be additionally implemented by logic for displaying non-conformance information on the character image.

글자 인식 모델의 업데이트 방법의 대안적인 실시예에서, 하나 이상의 제 1 학습 데이터를 포함하는 제 1 학습 데이터 세트에 기초하여 업데이트 된 글자 인식 모델을 생성하기 위한 로직(450)은, 상기 제 1 학습 데이터의 상기 글자 이미지를 상기 글자 인식 모델의 입력으로 하여 하나의 글자로 분류하기 위한 로직; 상기 제 1 학습 데이터에 대한 분류에 기초한 학습 분류 결과로 결정된 글자와 상기 제 1 학습 데이터의 라벨인, 상기 재 분류 결과로 결정된 글자를 비교하여 오차를 연산하기 위한 로직; 상기 오차에 기초하여 상기 글자 인식 모델의 가중치를 업데이트하여 업데이트 된 글자 인식 모델을 생성하기 위한 로직에 의하여 구현될 수 있다.In an alternative embodiment of the method for updating the character recognition model, the logic 450 for generating an updated character recognition model based on the first training data set including one or more first training data includes: the first training data Logic for classifying the text image of the text into one text by inputting the text recognition model; Logic for calculating an error by comparing a letter determined as a result of the learning classification based on classification of the first learning data and a letter determined as the result of the re-classification, which is a label of the first learning data; It can be implemented by logic for generating an updated character recognition model by updating the weight of the character recognition model based on the error.

글자 인식 모델의 업데이트 방법의 대안적인 실시예에서, 하나 이상의 제 1 학습 데이터를 포함하는 제 1 학습 데이터 세트에 기초하여 업데이트 된 글자 인식 모델을 생성하기 위한 로직(450)은, 상기 사전 학습된 글자 인식 모델 학습의 기초가 된 제 2 학습 데이터 세트 중 적어도 일부의 제 2 학습 데이터 및 상기 제 1 학습 데이터 세트를 기초로 새로운 글자 인식 모델을 학습시켜, 업데이트 된 글자 인식 모델을 생성하기 위한 로직에 의하여 구현될 수 있다.In an alternative embodiment of the method for updating a character recognition model, the logic 450 for generating an updated character recognition model based on a first training data set including one or more first training data includes: the pre-trained character Based on logic for generating an updated character recognition model by training a new character recognition model based on at least some of the second training data sets and the first training data set, which are the basis of the recognition model training. Can be implemented.

글자 인식 모델의 업데이트 방법의 대안적인 실시예에서, 상기 문서 이미지에 포함된 글자 이미지를 상기 글자 인식 모델 및 상기 업데이트 된 글자 인식 모델을 이용하여 분류하기 위한 로직; 및 상기 글자 인식 모델의 분류 결과 및 상기 업데이트 된 글자 인식 모델의 분류 결과를 앙상블 하여 상기 글자 이미지가 포함하는 글자에 대한 최종 분류 결과를 생성하기 위한 로직에 의하여 추가로 구현될 수도 있다.In an alternative embodiment of a method for updating a character recognition model, logic for classifying a character image included in the document image using the character recognition model and the updated character recognition model; And logic for ensembles the classification result of the character recognition model and the classification result of the updated character recognition model to generate a final classification result for the characters included in the character image.

글자 인식 모델의 업데이트 방법의 대안적인 실시예에서, 상기 문서 이미지에 포함된 글자 이미지를 상기 글자 인식 모델을 통해 제 1 글자로 분류하기 위한 로직; 상기 제 1 글자가 상기 제 1 학습 데이터에 기초하여 결정되는 글자 분류 클래스에 해당하는 경우, 상기 글자 이미지를 상기 업데이트 된 글자 인식 모델을 이용하여 분류 할 것을 결정하기 위한 로직; 및 상기 글자 이미지를 상기 업데이트 된 글자 인식 모델을 이용하여 분류하여 상기 글자 이미지가 포함하는 글자에 대한 최종 분류 결과를 생성하기 위한 로직에 의하여 추가로 더 구현될 수도 있다.In an alternative embodiment of a method for updating a character recognition model, logic for classifying a character image included in the document image into a first character through the character recognition model; Logic for determining that the character image is to be classified using the updated character recognition model when the first character corresponds to a character classification class determined based on the first learning data; And a logic for classifying the text image using the updated text recognition model to generate a final classification result for text included in the text image.

본 개시의 일 실시예에 따른 글자 인식 모듈의 업데이트 방법을 구현하기 위한 로직은, 글자 인식 모듈의 업데이트 방법을 구현하기 위한 모듈, 회로 또는 수단에 의하여 구현될 수도 있다.The logic for implementing the update method of the character recognition module according to an embodiment of the present disclosure may be implemented by a module, circuit, or means for implementing the update method of the character recognition module.

도 5는 본 개시의 일 실시예에 따른 컴퓨팅 장치의 블록 구성도이다.5 is a block diagram of a computing device according to an embodiment of the present disclosure.

도 5는 본 개시의 실시예들이 구현될 수 있는 예시적인 컴퓨팅 환경에 대한 간략하고 일반적인 개략도를 도시한다.5 shows a simplified and general schematic diagram of an exemplary computing environment in which embodiments of the present disclosure can be implemented.

본 개시가 일반적으로 하나 이상의 컴퓨터 상에서 실행될 수 있는 컴퓨터 실행가능 명령어와 관련하여 전술되었지만, 당업자라면 본 개시가 기타 프로그램 모듈들과 결합되어 및/또는 하드웨어와 소프트웨어의 조합으로써 구현될 수 있다는 것을 잘 알 것이다.Although the present disclosure has been described above in general with respect to computer-executable instructions that can be executed on one or more computers, those skilled in the art will appreciate that the present disclosure can be implemented in combination with other program modules and/or as a combination of hardware and software. will be.

일반적으로, 프로그램 모듈은 특정의 태스크를 수행하거나 특정의 추상 데이터 유형을 구현하는 루틴, 프로그램, 컴포넌트, 데이터 구조, 기타 등등을 포함한다. 또한, 당업자라면 본 개시의 방법이 단일-프로세서 또는 멀티프로세서 컴퓨터 시스템, 미니컴퓨터, 메인 프레임 컴퓨터는 물론 퍼스널 컴퓨터, 핸드헬드 컴퓨팅 장치, 마이크로프로세서-기반 또는 프로그램가능 가전 제품, 기타 등등(이들 각각은 하나 이상의 연관된 장치와 연결되어 동작할 수 있음)을 비롯한 다른 컴퓨터 시스템 구성으로 실시될 수 있다는 것을 잘 알 것이다.Generally, program modules include routines, programs, components, data structures, etc. that perform particular tasks or implement particular abstract data types. In addition, those of ordinary skill in the art may find that the methods of the present disclosure include single-processor or multiprocessor computer systems, minicomputers, mainframe computers, as well as personal computers, handheld computing devices, microprocessor-based or programmable consumer electronics, and the like (each of which is). It will be appreciated that it may be implemented with other computer system configurations, including those that may operate in conjunction with one or more associated devices.

본 개시의 설명된 실시예들은 또한 어떤 태스크들이 통신 네트워크를 통해 연결되어 있는 원격 처리 장치들에 의해 수행되는 분산 컴퓨팅 환경에서 실시될 수 있다. 분산 컴퓨팅 환경에서, 프로그램 모듈은 로컬 및 원격 메모리 저장 장치 둘 다에 위치할 수 있다.The described embodiments of the present disclosure can also be practiced in distributed computing environments where certain tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices.

컴퓨터는 통상적으로 다양한 컴퓨터 판독가능 매체를 포함한다. 컴퓨터에 의해 액세스 가능한 매체는 그 어떤 것이든지 컴퓨터 판독가능 매체가 될 수 있다. 컴퓨터 판독가능 매체는 휘발성 및 비 휘발성 매체, 일시적(transitory) 및 비일시적(non-transitory) 매체, 이동식 및 비-이동식 매체를 포함한다. 제한이 아닌 예로서, 컴퓨터 판독가능 매체는 컴퓨터 판독가능 저장 매체 및 컴퓨터 판독가능 전송 매체를 포함할 수 있다. 컴퓨터 판독가능 저장 매체는 컴퓨터 판독가능 명령어, 데이터 구조, 프로그램 모듈 또는 기타 데이터와 같은 정보를 저장하는 임의의 방법 또는 기술로 구현되는 휘발성 및 비 휘발성 매체, 일시적 및 비-일시적 매체, 이동식 및 비이동식 매체를 포함한다. 컴퓨터 저장 매체는 RAM, ROM, EEPROM, 플래시 메모리 또는 기타 메모리 기술, CD-ROM, DVD(digital video disk) 또는 기타 광 디스크 저장 장치, 자기 카세트, 자기 테이프, 자기 디스크 저장 장치 또는 기타 자기 저장 장치, 또는 컴퓨터에 의해 액세스될 수 있고 원하는 정보를 저장하는 데 사용될 수 있는 임의의 기타 매체를 포함하지만, 이에 한정되지 않는다.Computers typically include a variety of computer readable media. Any computer-accessible medium can be a computer-readable medium. Computer-readable media includes volatile and non-volatile media, transitory and non-transitory media, removable and non-removable media. By way of example, and not limitation, computer readable media may include computer readable storage media and computer readable transmission media. Computer-readable storage media are volatile and non-volatile media, temporary and non-transitory media, removable and non-removable, implemented in any method or technology for storing information such as computer readable instructions, data structures, program modules or other data Includes media. Computer storage media includes RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital video disk (DVD) or other optical disk storage devices, magnetic cassettes, magnetic tapes, magnetic disk storage devices or other magnetic storage devices, Or any other medium that can be accessed by a computer and used to store desired information.

컴퓨터 판독가능 전송 매체는 통상적으로 반송파(carrier wave) 또는 기타 전송 메커니즘(transport mechanism)과 같은 피 변조 데이터 신호(modulated data signal)에 컴퓨터 판독가능 명령어, 데이터 구조, 프로그램 모듈 또는 기타 데이터 등을 구현하고 모든 정보 전달 매체를 포함한다. 피 변조 데이터 신호라는 용어는 신호 내에 정보를 인코딩하도록 그 신호의 특성들 중 하나 이상을 설정 또는 변경시킨 신호를 의미한다. 제한이 아닌 예로서, 컴퓨터 판독가능 전송 매체는 유선 네트워크 또는 직접 배선 접속(direct-wired connection)과 같은 유선 매체, 그리고 음향, RF, 적외선, 기타 무선 매체와 같은 무선 매체를 포함한다. 상술된 매체들 중 임의의 것의 조합도 역시 컴퓨터 판독가능 전송 매체의 범위 안에 포함되는 것으로 한다.Computer readable transmission media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and Includes all information delivery media. The term modulated data signal means a signal in which one or more of the characteristics of the signal are set or changed to encode information in the signal. By way of example, and not limitation, computer readable transmission media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared, and other wireless media. Combinations of any of the above described media are also intended to be included within the scope of computer readable transmission media.

컴퓨터(1102)를 포함하는 본 개시의 여러가지 측면들을 구현하는 예시적인 환경(1100)이 나타내어져 있으며, 컴퓨터(1102)는 처리 장치(1104), 시스템 메모리(1106) 및 시스템 버스(1108)를 포함한다. 시스템 버스(1108)는 시스템 메모리(1106)(이에 한정되지 않음)를 비롯한 시스템 컴포넌트들을 처리 장치(1104)에 연결시킨다. 처리 장치(1104)는 다양한 상용 프로세서들 중 임의의 프로세서일 수 있다. 듀얼 프로세서 및 기타 멀티프로세서 아키텍처도 역시 처리 장치(1104)로서 이용될 수 있다.An exemplary environment 1100 is shown that implements various aspects of the present disclosure, including a computer 1102, and the computer 1102 includes a processing device 1104, a system memory 1106, and a system bus 1108. do. System bus 1108 connects system components, including, but not limited to, system memory 1106 to processing device 1104. The processing device 1104 can be any of a variety of commercial processors. Dual processor and other multiprocessor architectures may also be used as the processing unit 1104.

시스템 버스(1108)는 메모리 버스, 주변장치 버스, 및 다양한 상용 버스 아키텍처 중 임의의 것을 사용하는 로컬 버스에 추가적으로 상호 연결될 수 있는 몇 가지 유형의 버스 구조 중 임의의 것일 수 있다. 시스템 메모리(1106)는 판독 전용 메모리(ROM)(1110) 및 랜덤 액세스 메모리(RAM)(1112)를 포함한다. 기본 입/출력 시스템(BIOS)은 ROM, EPROM, EEPROM 등의 비 휘발성 메모리(1110)에 저장되며, 이 BIOS는 시동 중과 같은 때에 컴퓨터(1102) 내의 구성요소들 간에 정보를 전송하는 일을 돕는 기본적인 루틴을 포함한다. RAM(1112)은 또한 데이터를 캐싱하기 위한 정적 RAM 등의 고속 RAM을 포함할 수 있다.The system bus 1108 can be any of several types of bus structures that can be further interconnected to a memory bus, peripheral bus, and local bus using any of a variety of commercial bus architectures. System memory 1106 includes read-only memory (ROM) 1110 and random access memory (RAM) 1112. The basic input/output system (BIOS) is stored in a non-volatile memory 1110 such as ROM, EPROM, EEPROM, etc. This BIOS is a basic to help transfer information between components in the computer 1102 at the same time as during startup. Contains routines. The RAM 1112 may also include high-speed RAM, such as static RAM for caching data.

컴퓨터(1102)는 또한 내장형 하드 디스크 드라이브(HDD)(1114)(예를 들어, EIDE, SATA)-이 내장형 하드 디스크 드라이브(1114)는 또한 적당한 섀시(도시 생략) 내에서 외장형 용도로 구성될 수 있음-, 자기 플로피 디스크 드라이브(FDD)(1116)(예를 들어, 이동식 디스켓(1118)으로부터 판독을 하거나 그에 기록을 하기 위한 것임), 및 광 디스크 드라이브(1120)(예를 들어, CD-ROM 디스크(1122)를 판독하거나 DVD 등의 기타 고용량 광 매체로부터 판독을 하거나 그에 기록을 하기 위한 것임)를 포함한다. 하드 디스크 드라이브(1114), 자기 디스크 드라이브(1116) 및 광 디스크 드라이브(1120)는 각각 하드 디스크 드라이브 인터페이스(1124), 자기 디스크 드라이브 인터페이스(1126) 및 광 드라이브 인터페이스(1128)에 의해 시스템 버스(1108)에 연결될 수 있다. 외장형 드라이브 구현을 위한 인터페이스(1124)는 USB(Universal Serial Bus) 및 IEEE 1394 인터페이스 기술 중 적어도 하나 또는 그 둘 다를 포함한다.Computer 1102 is also an internal hard disk drive (HDD) 1114 (eg, EIDE, SATA)-this internal hard disk drive 1114 can also be configured for external use within a suitable chassis (not shown). Yes, magnetic floppy disk drive (FDD) 1116 (e.g., for reading from or writing to removable diskette 1118), and optical disk drive 1120 (e.g., CD-ROM Disc 1122, or for reading from or writing to other high-capacity optical media such as DVDs). The hard disk drive 1114, the magnetic disk drive 1116, and the optical disk drive 1120 are the system bus 1108 by the hard disk drive interface 1124, the magnetic disk drive interface 1126, and the optical drive interface 1128, respectively. ). The interface 1124 for implementing an external drive includes at least one or both of Universal Serial Bus (USB) and IEEE 1394 interface technologies.

이들 드라이브 및 그와 연관된 컴퓨터 판독가능 매체는 데이터, 데이터 구조, 컴퓨터 실행가능 명령어, 기타 등등의 비휘발성 저장을 제공한다. 컴퓨터(1102)의 경우, 드라이브 및 매체는 임의의 데이터를 적당한 디지털 형식으로 저장하는 것에 대응한다. 상기에서의 컴퓨터 판독가능 매체에 대한 설명이 HDD, 이동식 자기 디스크, 및 CD 또는 DVD 등의 이동식 광 매체를 언급하고 있지만, 당업자라면 집 드라이브(zip drive), 자기 카세트, 플래쉬 메모리 카드, 카트리지, 기타 등등의 컴퓨터에 의해 판독가능한 다른 유형의 매체도 역시 예시적인 운영 환경에서 사용될 수 있으며 또 임의의 이러한 매체가 본 개시의 방법들을 수행하기 위한 컴퓨터 실행가능 명령어를 포함할 수 있다는 것을 잘 알 것이다.These drives and their associated computer-readable media provide non-volatile storage of data, data structures, computer-executable instructions, and the like. In the case of computer 1102, drives and media correspond to storing any data in a suitable digital format. Although the above description of computer readable media refers to HDDs, removable magnetic disks, and removable optical media such as CDs or DVDs, those of ordinary skill in the art can use a zip drive, magnetic cassette, flash memory card, cartridge, etc. It will be appreciated that other types of media readable by a computer, etc., may also be used in the exemplary operating environment and any such media may include computer-executable instructions for performing the methods of the present disclosure.

운영 체제(1130), 하나 이상의 애플리케이션 프로그램(1132), 기타 프로그램 모듈(1134) 및 프로그램 데이터(1136)를 비롯한 다수의 프로그램 모듈이 드라이브 및 RAM(1112)에 저장될 수 있다. 운영 체제, 애플리케이션, 모듈 및/또는 데이터의 전부 또는 그 일부분이 또한 RAM(1112)에 캐싱될 수 있다. 본 개시가 여러가지 상업적으로 이용가능한 운영 체제 또는 운영 체제들의 조합에서 구현될 수 있다는 것을 잘 알 것이다.A number of program modules may be stored in the drive and RAM 1112, including the operating system 1130, one or more application programs 1132, other program modules 1134, and program data 1136. All or part of the operating system, applications, modules, and/or data may also be cached in RAM 1112. It will be appreciated that the present disclosure can be implemented in various commercially available operating systems or combinations of operating systems.

사용자는 하나 이상의 유선/무선 입력 장치, 예를 들어, 키보드(1138) 및 마우스(1140) 등의 포인팅 장치를 통해 컴퓨터(1102)에 명령 및 정보를 입력할 수 있다. 기타 입력 장치(도시 생략)로는 마이크, IR 리모콘, 조이스틱, 게임 패드, 스타일러스 펜, 터치 스크린, 기타 등등이 있을 수 있다. 이들 및 기타 입력 장치가 종종 시스템 버스(1108)에 연결되어 있는 입력 장치 인터페이스(1142)를 통해 처리 장치(1104)에 연결되지만, 병렬 포트, IEEE 1394 직렬 포트, 게임 포트, USB 포트, IR 인터페이스, 기타 등등의 기타 인터페이스에 의해 연결될 수 있다.The user may input commands and information to the computer 1102 through one or more wired/wireless input devices, for example, pointing devices such as a keyboard 1138 and a mouse 1140. Other input devices (not shown) may include a microphone, IR remote control, joystick, game pad, stylus pen, touch screen, etc. These and other input devices are often connected to the processing unit 1104 through an input device interface 1142 connected to the system bus 1108, but the parallel port, IEEE 1394 serial port, game port, USB port, IR interface, And other interfaces.

모니터(1144) 또는 다른 유형의 디스플레이 장치도 역시 비디오 어댑터(1146) 등의 인터페이스를 통해 시스템 버스(1108)에 연결된다. 모니터(1144)에 부가하여, 컴퓨터는 일반적으로 스피커, 프린터, 기타 등등의 기타 주변 출력 장치(도시 생략)를 포함한다.The monitor 1144 or other type of display device is also connected to the system bus 1108 through an interface such as a video adapter 1146. In addition to the monitor 1144, the computer generally includes other peripheral output devices (not shown), such as speakers, printers, and the like.

컴퓨터(1102)는 유선 및/또는 무선 통신을 통한 원격 컴퓨터(들)(1148) 등의 하나 이상의 원격 컴퓨터로의 논리적 연결을 사용하여 네트워크화된 환경에서 동작할 수 있다. 원격 컴퓨터(들)(1148)는 워크스테이션, 컴퓨팅 디바이스 컴퓨터, 라우터, 퍼스널 컴퓨터, 휴대용 컴퓨터, 마이크로프로세서-기반 오락 기기, 피어 장치 또는 기타 통상의 네트워크 노드일 수 있으며, 일반적으로 컴퓨터(1102)에 대해 기술된 구성요소들 중 다수 또는 그 전부를 포함하지만, 간략함을 위해, 메모리 저장 장치(1150)만이 도시되어 있다. 도시되어 있는 논리적 연결은 근거리 통신망(LAN)(1152) 및/또는 더 큰 네트워크, 예를 들어, 원거리 통신망(WAN)(1154)에의 유선/무선 연결을 포함한다. 이러한 LAN 및 WAN 네트워킹 환경은 사무실 및 회사에서 일반적인 것이며, 인트라넷 등의 전사적 컴퓨터 네트워크(enterprise-wide computer network)를 용이하게 해주며, 이들 모두는 전세계 컴퓨터 네트워크, 예를 들어, 인터넷에 연결될 수 있다.The computer 1102 can operate in a networked environment using logical connections to one or more remote computers, such as remote computer(s) 1148 via wired and/or wireless communication. The remote computer(s) 1148 may be a workstation, computing device computer, router, personal computer, portable computer, microprocessor-based entertainment device, peer device, or other conventional network node, typically in computer 1102. It includes many or all of the components described with respect to, but for simplicity, only the memory storage device 1150 is shown. The illustrated logical connections include wired/wireless connections to a local area network (LAN) 1152 and/or a larger network, such as a wide area network (WAN) 1154. Such LAN and WAN networking environments are common in offices and companies, and facilitate enterprise-wide computer networks, such as intranets, all of which can be connected to computer networks around the world, such as the Internet.

LAN 네트워킹 환경에서 사용될 때, 컴퓨터(1102)는 유선 및/또는 무선 통신 네트워크 인터페이스 또는 어댑터(1156)를 통해 로컬 네트워크(1152)에 연결된다. 어댑터(1156)는 LAN(1152)에의 유선 또는 무선 통신을 용이하게 해줄 수 있으며, 이 LAN(1152)은 또한 무선 어댑터(1156)와 통신하기 위해 그에 설치되어 있는 무선 액세스 포인트를 포함하고 있다. WAN 네트워킹 환경에서 사용될 때, 컴퓨터(1102)는 모뎀(1158)을 포함할 수 있거나, WAN(1154) 상의 통신 컴퓨팅 디바이스에 연결되거나, 또는 인터넷을 통하는 등, WAN(1154)을 통해 통신을 설정하는 기타 수단을 갖는다. 내장형 또는 외장형 및 유선 또는 무선 장치일 수 있는 모뎀(1158)은 직렬 포트 인터페이스(1142)를 통해 시스템 버스(1108)에 연결된다. 네트워크화된 환경에서, 컴퓨터(1102)에 대해 설명된 프로그램 모듈들 또는 그의 일부분이 원격 메모리/저장 장치(1150)에 저장될 수 있다. 도시된 네트워크 연결이 예시적인 것이며 컴퓨터들 사이에 통신 링크를 설정하는 기타 수단이 사용될 수 있다는 것을 잘 알 것이다.When used in a LAN networking environment, the computer 1102 is connected to the local network 1152 via a wired and/or wireless communication network interface or adapter 1156. The adapter 1156 may facilitate wired or wireless communication to the LAN 1152, which also includes a wireless access point installed therein to communicate with the wireless adapter 1156. When used in a WAN networking environment, the computer 1102 may include a modem 1158, connect to a communication computing device on the WAN 1154, or establish communication over the WAN 1154, such as through the Internet. Have other means. The modem 1158, which may be an internal or external and wired or wireless device, is connected to the system bus 1108 via a serial port interface 1142. In a networked environment, program modules described for the computer 1102 or portions thereof may be stored in the remote memory/storage device 1150. It will be appreciated that the illustrated network connection is exemplary and other means of establishing a communication link between computers can be used.

컴퓨터(1102)는 무선 통신으로 배치되어 동작하는 임의의 무선 장치 또는 개체, 예를 들어, 프린터, 스캐너, 데스크톱 및/또는 휴대용 컴퓨터, PDA(portable data assistant), 통신 위성, 무선 검출가능 태그와 연관된 임의의 장비 또는 장소, 및 전화와 통신을 하는 동작을 한다. 이것은 적어도 Wi-Fi 및 블루투스 무선 기술을 포함한다. 따라서, 통신은 종래의 네트워크에서와 같이 미리 정의된 구조이거나 단순하게 적어도 2개의 장치 사이의 애드혹 통신(ad hoc communication)일 수 있다.The computer 1102 is associated with any wireless device or entity that is deployed and operates in wireless communication, such as a printer, scanner, desktop and/or portable computer, a portable data assistant (PDA), communication satellite, or wireless detectable tag. It operates to communicate with any equipment or place and telephone. This includes at least Wi-Fi and Bluetooth wireless technology. Accordingly, the communication may be a predefined structure as in a conventional network or simply ad hoc communication between at least two devices.

Wi-Fi(Wireless Fidelity)는 유선 없이도 인터넷 등으로의 연결을 가능하게 해준다. Wi-Fi는 이러한 장치, 예를 들어, 컴퓨터가 실내에서 및 실외에서, 즉 기지국의 통화권 내의 아무 곳에서나 데이터를 전송 및 수신할 수 있게 해주는 셀 전화와 같은 무선 기술이다. Wi-Fi 네트워크는 안전하고 신뢰성 있으며 고속인 무선 연결을 제공하기 위해 IEEE 802.11(a,b,g, 기타)이라고 하는 무선 기술을 사용한다. 컴퓨터를 서로에, 인터넷에 및 유선 네트워크(IEEE 802.3 또는 이더넷을 사용함)에 연결시키기 위해 Wi-Fi가 사용될 수 있다. Wi-Fi 네트워크는 비인가 2.4 및 5 GHz 무선 대역에서, 예를 들어, 11Mbps(802.11a) 또는 54 Mbps(802.11b) 데이터 레이트로 동작하거나, 양 대역(듀얼 대역)을 포함하는 제품에서 동작할 수 있다.Wi-Fi (Wireless Fidelity) enables a connection to the Internet or the like without a wired connection. Wi-Fi is a wireless technology such as a cell phone that allows a computer, for example, a computer to transmit and receive data indoors and outdoors, ie anywhere within the base station's coverage area. Wi-Fi networks use a wireless technology called IEEE 802.11 (a,b,g, etc.) to provide a secure, reliable and high-speed wireless connection. Wi-Fi can be used to connect computers to each other, to the Internet, and to a wired network (using IEEE 802.3 or Ethernet). Wi-Fi networks can operate in unlicensed 2.4 and 5 GHz radio bands, for example, at 11 Mbps (802.11a) or 54 Mbps (802.11b) data rates, or in products that include both bands (dual band). have.

본 개시의 기술 분야에서 통상의 지식을 가진 자는 정보 및 신호들이 임의의 다양한 상이한 기술들 및 기법들을 이용하여 표현될 수 있다는 것을 이해할 것이다. 예를 들어, 위의 설명에서 참조될 수 있는 데이터, 지시들, 명령들, 정보, 신호들, 비트들, 심볼들 및 칩들은 전압들, 전류들, 전자기파들, 자기장들 또는 입자들, 광학장들 또는 입자들, 또는 이들의 임의의 결합에 의해 표현될 수 있다.Those of ordinary skill in the art of the present disclosure will understand that information and signals can be represented using any of a variety of different technologies and techniques. For example, data, instructions, instructions, information, signals, bits, symbols and chips that can be referenced in the above description are voltages, currents, electromagnetic waves, magnetic fields or particles, optical fields Or particles, or any combination thereof.

본 개시의 기술 분야에서 통상의 지식을 가진 자는 여기에 개시된 실시예들과 관련하여 설명된 다양한 예시적인 논리 블록들, 모듈들, 프로세서들, 수단들, 회로들 및 알고리즘 단계들이 전자 하드웨어, (편의를 위해, 여기에서 "소프트웨어"로 지칭되는) 다양한 형태들의 프로그램 또는 설계 코드 또는 이들 모두의 결합에 의해 구현될 수 있다는 것을 이해할 것이다. 하드웨어 및 소프트웨어의 이러한 상호 호환성을 명확하게 설명하기 위해, 다양한 예시적인 컴포넌트들, 블록들, 모듈들, 회로들 및 단계들이 이들의 기능과 관련하여 위에서 일반적으로 설명되었다. 이러한 기능이 하드웨어 또는 소프트웨어로서 구현되는지 여부는 특정한 애플리케이션 및 전체 시스템에 대하여 부과되는 설계 제약들에 따라 좌우된다. 본 개시의 기술 분야에서 통상의 지식을 가진 자는 각각의 특정한 애플리케이션에 대하여 다양한 방식들로 설명된 기능을 구현할 수 있으나, 이러한 구현 결정들은 본 개시의 범위를 벗어나는 것으로 해석되어서는 안 될 것이다.Those of ordinary skill in the art of the present disclosure may use various examples of logical blocks, modules, processors, means, circuits and algorithm steps described in connection with the embodiments disclosed herein in electronic hardware, (convenience For this, it will be understood that it may be implemented by various forms of program or design code (referred to herein as “software”) or a combination of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends on the particular application and design constraints imposed on the overall system. Those skilled in the art of the present disclosure may implement the functions described in various ways for each particular application, but such implementation decisions should not be interpreted as being outside the scope of the present disclosure.

여기서 제시된 다양한 실시예들은 방법, 장치, 또는 표준 프로그래밍 및/또는 엔지니어링 기술을 사용한 제조 물품(article)으로 구현될 수 있다. 용어 "제조 물품"은 임의의 컴퓨터-판독가능 장치로부터 액세스 가능한 컴퓨터 프로그램, 캐리어, 또는 매체(media)를 포함한다. 예를 들어, 컴퓨터-판독가능 매체는 자기 저장 장치(예를 들면, 하드 디스크, 플로피 디스크, 자기 스트립, 등), 광학 디스크(예를 들면, CD, DVD, 등), 스마트 카드, 및 플래쉬 메모리 장치(예를 들면, EEPROM, 카드, 스틱, 키 드라이브, 등)를 포함하지만, 이들로 제한되는 것은 아니다. 또한, 여기서 제시되는 다양한 저장 매체는 정보를 저장하기 위한 하나 이상의 장치 및/또는 다른 기계-판독가능한 매체를 포함한다. Various embodiments presented herein can be implemented as a method, apparatus, or article of manufacture using standard programming and/or engineering techniques. The term “manufactured article” includes a computer program, carrier, or media accessible from any computer-readable device. For example, computer-readable media include magnetic storage devices (eg, hard disks, floppy disks, magnetic strips, etc.), optical disks (eg, CDs, DVDs, etc.), smart cards, and flash memory Devices (eg, EEPROMs, cards, sticks, key drives, etc.), but are not limited to these. In addition, various storage media presented herein include one or more devices and/or other machine-readable media for storing information.

제시된 프로세스들에 있는 단계들의 특정한 순서 또는 계층 구조는 예시적인 접근들의 일례임을 이해하도록 한다. 설계 우선순위들에 기반하여, 본 개시의 범위 내에서 프로세스들에 있는 단계들의 특정한 순서 또는 계층 구조가 재배열될 수 있다는 것을 이해하도록 한다. 첨부된 방법 청구항들은 샘플 순서로 다양한 단계들의 엘리먼트들을 제공하지만 제시된 특정한 순서 또는 계층 구조에 한정되는 것을 의미하지는 않는다.It is understood that the specific order or hierarchy of steps in the processes presented is an example of exemplary approaches. Based on design priorities, it is understood that within the scope of the present disclosure, a specific order or hierarchy of steps in the processes may be rearranged. The accompanying method claims provide elements of the various steps in a sample order, but are not meant to be limited to the specific order or hierarchy presented.

제시된 실시예들에 대한 설명은 임의의 본 개시의 기술 분야에서 통상의 지식을 가진 자가 본 개시를 이용하거나 또는 실시할 수 있도록 제공된다. 이러한 실시예들에 대한 다양한 변형들은 본 개시의 기술 분야에서 통상의 지식을 가진 자에게 명백할 것이다. 여기에 정의된 일반적인 원리들은 본 개시의 범위를 벗어남이 없이 다른 실시예들에 적용될 수 있다. 그리하여, 본 개시는 여기에 제시된 실시예들로 한정되는 것이 아니라, 여기에 제시된 원리들 및 신규한 특징들과 일관되는 최광의의 범위에서 해석되어야 할 것이다.Descriptions of the presented embodiments are provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art of the present disclosure. The general principles defined herein can be applied to other embodiments without departing from the scope of the present disclosure. Thus, the present disclosure should not be limited to the embodiments presented herein, but should be interpreted in the broadest scope consistent with the principles and novel features presented herein.

Claims (17)

컴퓨터 판독가능 저장 매체에 저장된 컴퓨터 프로그램으로서, 상기 컴퓨터 프로그램은 하나 이상의 프로세서에서 실행되는 경우 글자 인식 모델의 업데이트를 위한 이하의 동작들을 수행하도록 하며 상기 동작들은,
문서 이미지에 포함된 하나 이상의 글자 이미지 각각을 사전 학습된 하나 이상의 네트워크 함수를 포함하는 글자 인식 모델을 통해 각각의 글자로 분류하여 상기 글자 이미지가 포함하는 글자를 결정하는 동작;
상기 분류에 기초한 상기 글자 이미지의 분류 결과로 결정된 글자가 적합한 글자인지 여부를 결정하는 동작;
상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 경우, 상기 글자 이미지를 재 분류하여 상기 글자 이미지에 포함된 글자를 재 결정하는 동작;
상기 글자 이미지를 제 1 학습 데이터의 입력으로 하고, 재 분류 결과로 결정된 글자를 상기 제 1 학습 데이터의 라벨로 하는, 상기 제 1 학습 데이터를 생성하는 동작; 및
하나 이상의 제 1 학습 데이터를 포함하는 제 1 학습 데이터 세트에 기초하여 업데이트 된 글자 인식 모델을 생성하는 동작;
을 포함하는,
컴퓨터 판독가능 저장 매체에 저장된 컴퓨터 프로그램.
A computer program stored on a computer-readable storage medium, the computer program, when executed on one or more processors, performs the following operations for updating the character recognition model, the operations being:
Determining a letter included in the letter image by classifying each of the one or more letter images included in the document image into each letter through a letter recognition model including one or more pre-trained network functions;
Determining whether a character determined as a result of the classification of the character image based on the classification is a suitable character;
Re-determining a character included in the character image by re-classifying the character image when the character determined as the result of the classification of the character image is not suitable;
Generating the first learning data using the text image as the input of the first learning data, and using the text determined as a result of the reclassification as a label of the first learning data; And
Generating an updated character recognition model based on the first set of learning data including one or more first learning data;
Containing,
A computer program stored on a computer readable storage medium.
제 1 항에 있어서,
상기 분류에 기초한 상기 글자 이미지의 분류 결과로 결정된 글자가 적합한 글자인지 여부를 결정하는 동작은,
상기 글자 이미지에 대한 분류 결과의 신뢰도가 사전 결정된 값 이하인 경우, 상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 것으로 결정하는 동작;
을 포함하는,
컴퓨터 판독가능 저장 매체에 저장된 컴퓨터 프로그램.
According to claim 1,
The operation of determining whether a character determined as a result of the classification of the character image based on the classification is a suitable character,
If the reliability of the classification result for the character image is equal to or less than a predetermined value, determining that the character determined as the classification result of the character image is not suitable;
Containing,
A computer program stored on a computer readable storage medium.
제 1 항에 있어서,
상기 분류에 기초한 상기 글자 이미지의 분류 결과로 결정된 글자가 적합한 글자인지 여부를 결정하는 동작은,
상기 분류 결과로 결정된 글자가 전체 글자 분류 클래스에 포함되지 않는 글자인 경우, 또는 상기 분류 결과로 결정된 글자가 상기 문서 이미지의 도메인의 글자 별 사용 빈도가 일정 값 이하인 글자에 해당하는 경우, 상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 것으로 결정하는 동작;
을 포함하는,
컴퓨터 판독가능 저장 매체에 저장된 컴퓨터 프로그램.
According to claim 1,
The operation of determining whether a character determined as a result of the classification of the character image based on the classification is a suitable character,
If the character determined as the result of the classification is a character that is not included in the entire character classification class, or when the character determined as the result of the classification corresponds to a character whose frequency of use for each letter of the domain of the document image is less than or equal to a certain value, the character image Determining that the letter determined as the result of the classification is not suitable;
Containing,
A computer program stored on a computer readable storage medium.
제 1 항에 있어서,
상기 분류에 기초한 상기 글자 이미지의 분류 결과로 결정된 글자가 적합한 글자인지 여부를 결정하는 동작은,
상기 문서 이미지에 포함된 하나 이상의 글자 이미지 각각의 분류 결과로 결정된 글자를 의미 단위로 그룹화하여 하나 이상의 인식 단어를 추출하는 동작; 및
상기 하나 이상의 인식 단어 각각을 메모리에 저장된 하나 이상의 기준 단어와 비교 결과에 기초하여, 상기 인식 단어의 기초가 되는 하나 이상의 글자 이미지 중 적어도 하나의 글자 이미지의 분류 결과로 결정된 글자가 적합하지 않은 것으로 결정하는 동작;
을 포함하는,
컴퓨터 판독가능 저장 매체에 저장된 컴퓨터 프로그램.
According to claim 1,
The operation of determining whether a character determined as a result of the classification of the character image based on the classification is a suitable character,
Extracting one or more recognition words by grouping characters determined as a result of classification of each of the one or more character images included in the document image into semantic units; And
Based on a result of comparing each of the one or more recognized words with one or more reference words stored in a memory, it is determined that a letter determined as a result of classifying at least one letter image among one or more letter images that are the basis of the recognized word is not suitable. To do;
Containing,
A computer program stored on a computer readable storage medium.
제 1 항에 있어서,
상기 분류에 기초한 상기 글자 이미지의 분류 결과로 결정된 글자가 적합한 글자인지 여부를 결정하는 동작은,
상기 문서 이미지에 포함된 하나 이상의 글자 이미지 각각의 분류 결과로 결정된 글자를 의미 단위로 그룹화하여 하나 이상의 인식 단어를 추출하는 동작; 및
상기 인식 단어의 상기 문서 이미지 상에서의 컨텍스트 분석을 통해 상기 글자 이미지의 분류 결과가 적합한 글자인지 여부를 결정하는 동작;
을 포함하는,
컴퓨터 판독가능 저장 매체에 저장된 컴퓨터 프로그램.
According to claim 1,
The operation of determining whether a character determined as a result of the classification of the character image based on the classification is a suitable character,
Extracting one or more recognition words by grouping characters determined as a result of classification of each of the one or more character images included in the document image into semantic units; And
Determining whether a classification result of the character image is a suitable character through context analysis of the recognition word on the document image;
Containing,
A computer program stored on a computer readable storage medium.
제 1 항에 있어서,
상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 경우, 상기 글자 이미지를 재 분류하여 상기 글자 이미지에 포함된 글자를 재 결정하는 동작은,
상기 글자 이미지의 분류 결과가 메모리에 저장되어 있는 하나 이상의 글자 클래스에 포함되도록 상기 글자 이미지를 재 분류하는 동작;
을 포함하는,
컴퓨터 판독가능 저장 매체에 저장된 컴퓨터 프로그램.
According to claim 1,
When the character determined as the result of the classification of the character image is not suitable, the operation of re-classifying the character image and re-determining the characters included in the character image may include:
Re-classifying the text image so that the result of the classification of the text image is included in one or more text classes stored in memory;
Containing,
A computer program stored on a computer readable storage medium.
제 1 항에 있어서,
상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 경우, 상기 글자 이미지를 재 분류하여 상기 글자 이미지에 포함된 글자를 재 결정하는 동작은,
상기 분류 결과가 적합하지 않은 글자 이미지를 기초로 하는 인식 단어를 추출하는 동작; 및
상기 인식 단어에 포함된 하나 이상의 글자 및 메모리에 저장된 하나 이상의 기준 단어 중 기준 단어 각각에 포함된 하나 이상의 글자의 매칭 비율이 가장 높은 기준 단어를 기초로 하여, 상기 인식 단어에 포함된 상기 분류 결과가 적합하지 않은 글자 이미지를 재 분류하는 동작;
을 포함하는,
컴퓨터 판독가능 저장 매체에 저장된 컴퓨터 프로그램.
According to claim 1,
When the character determined as the result of the classification of the character image is not suitable, the operation of re-classifying the character image and re-determining the characters included in the character image may include:
Extracting a recognition word based on a letter image in which the classification result is not suitable; And
The classification result included in the recognition word is based on the reference word having the highest matching ratio of one or more letters included in the reference word among one or more letters included in the recognition word and one or more reference words stored in the memory. Reclassifying inappropriate text images;
Containing,
A computer program stored on a computer readable storage medium.
제 1 항에 있어서,
상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 경우, 상기 글자 이미지를 재 분류하여 상기 글자 이미지에 포함된 글자를 재 결정하는 동작은,
사용자 컴퓨팅 장치로부터 상기 글자 이미지에 대한 수동 보정 정보를 수신하는 동작; 및
상기 수동 보정 정보에 기초하여 상기 글자 이미지를 재 분류하는 동작;
을 포함하는,
컴퓨터 판독가능 저장 매체에 저장된 컴퓨터 프로그램.
According to claim 1,
When the character determined as the result of the classification of the character image is not suitable, the operation of re-classifying the character image and re-determining the characters included in the character image may include:
Receiving manual correction information for the text image from a user computing device; And
Re-classifying the text image based on the manual correction information;
Containing,
A computer program stored on a computer readable storage medium.
제 1 항에 있어서,
상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 경우, 상기 글자 이미지에 부적합 정보를 표시하는 동작;
을 더 포함하는,
컴퓨터 판독가능 저장 매체에 저장된 컴퓨터 프로그램.
According to claim 1,
Displaying inappropriate information in the character image when the character determined as the result of the classification of the character image is not suitable;
Containing more,
A computer program stored on a computer readable storage medium.
제 1 항에 있어서,
제 1 학습 데이터 세트는,
상기 글자 인식 모델의 학습 후 수집된 사전 결정된 개수의 제 1 학습 데이터를 포함하거나, 또는 사전 결정된 기간 동안 수집된 제 1 학습 데이터를 포함하는,
컴퓨터 판독가능 저장 매체에 저장된 컴퓨터 프로그램.
According to claim 1,
The first training data set,
Including a predetermined number of first learning data collected after learning the character recognition model, or including first learning data collected during a predetermined period,
A computer program stored on a computer readable storage medium.
제 1 항에 있어서,
하나 이상의 제 1 학습 데이터를 포함하는 제 1 학습 데이터 세트에 기초하여 업데이트 된 글자 인식 모델을 생성하는 동작은,
상기 제 1 학습 데이터의 상기 글자 이미지를 상기 글자 인식 모델의 입력으로 하여 하나의 글자로 분류하는 동작;
상기 제 1 학습 데이터에 대한 분류에 기초한 학습 분류 결과로 결정된 글자와 상기 제 1 학습 데이터의 라벨인, 상기 재 분류 결과로 결정된 글자를 비교하여 오차를 연산하는 동작; 및
상기 오차에 기초하여 상기 글자 인식 모델의 가중치를 업데이트하여 업데이트 된 글자 인식 모델을 생성하는 동작;
을 포함하는,
컴퓨터 판독가능 저장 매체에 저장된 컴퓨터 프로그램.
According to claim 1,
The operation of generating an updated character recognition model based on the first training data set including one or more first training data may include:
Classifying the character image of the first learning data into one character as an input of the character recognition model;
Calculating an error by comparing a letter determined as a result of the learning classification based on classification of the first learning data and a letter determined as the result of the re-classification, which is a label of the first learning data; And
Generating an updated character recognition model by updating the weight of the character recognition model based on the error;
Containing,
A computer program stored on a computer readable storage medium.
제 1 항에 있어서,
하나 이상의 제 1 학습 데이터를 포함하는 제 1 학습 데이터 세트에 기초하여 업데이트 된 글자 인식 모델을 생성하는 동작은,
상기 사전 학습된 글자 인식 모델 학습의 기초가 된 제 2 학습 데이터 세트 중 적어도 일부의 제 2 학습 데이터 및 상기 제 1 학습 데이터 세트를 기초로 새로운 글자 인식 모델을 학습시켜, 업데이트 된 글자 인식 모델을 생성하는 동작;
을 포함하는,
컴퓨터 판독가능 저장 매체에 저장된 컴퓨터 프로그램.
According to claim 1,
The operation of generating an updated character recognition model based on the first training data set including one or more first training data may include:
A new character recognition model is trained based on at least some of the second training data and the first training data set, which are the basis of the pre-trained character recognition model training, to generate an updated character recognition model. To do;
Containing,
A computer program stored on a computer readable storage medium.
제 1 항에 있어서,
상기 업데이트 된 글자 인식 모델은,
상기 사전 학습된 글자 인식 모델의 가중치를 적어도 일부 공유하는,
컴퓨터 판독가능 저장 매체에 저장된 컴퓨터 프로그램.
According to claim 1,
The updated character recognition model,
At least partially sharing the weight of the pre-trained character recognition model,
A computer program stored on a computer readable storage medium.
제 1 항에 있어서,
상기 문서 이미지에 포함된 글자 이미지를 상기 글자 인식 모델 및 상기 업데이트 된 글자 인식 모델을 이용하여 분류하는 동작; 및
상기 글자 인식 모델의 분류 결과 및 상기 업데이트 된 글자 인식 모델의 분류 결과를 앙상블 하여 상기 글자 이미지가 포함하는 글자에 대한 최종 분류 결과를 생성하는 동작;
을 더 포함하는,
컴퓨터 판독가능 저장 매체에 저장된 컴퓨터 프로그램.
According to claim 1,
Classifying a character image included in the document image using the character recognition model and the updated character recognition model; And
Ensemble the classification result of the character recognition model and the classification result of the updated character recognition model to generate a final classification result for characters included in the character image;
Containing more,
A computer program stored on a computer readable storage medium.
제 1 항에 있어서,
상기 문서 이미지에 포함된 글자 이미지를 상기 글자 인식 모델을 통해 제 1 글자로 분류하는 동작;
상기 제 1 글자가 상기 제 1 학습 데이터에 기초하여 결정되는 글자 분류 클래스에 해당하는 경우, 상기 글자 이미지를 상기 업데이트 된 글자 인식 모델을 이용하여 분류 할 것을 결정하는 동작; 및
상기 글자 이미지를 상기 업데이트 된 글자 인식 모델을 이용하여 분류하여 상기 글자 이미지가 포함하는 글자에 대한 최종 분류 결과를 생성하는 동작;
을 더 포함하는,
컴퓨터 판독가능 저장 매체에 저장된 컴퓨터 프로그램.
According to claim 1,
Classifying a text image included in the document image as a first text through the text recognition model;
If the first character corresponds to a character classification class determined based on the first learning data, determining to classify the character image using the updated character recognition model; And
Classifying the text image using the updated text recognition model to generate a final classification result for text included in the text image;
Containing more,
A computer program stored on a computer readable storage medium.
글자 인식 모델의 업데이트를 위한 방법에 있어서,
문서 이미지에 포함된 하나 이상의 글자 이미지 각각을 사전 학습된 하나 이상의 네트워크 함수를 포함하는 글자 인식 모델을 통해 각각의 글자로 분류하여 상기 글자 이미지가 포함하는 글자를 결정하는 단계;
상기 분류에 기초한 상기 글자 이미지의 분류 결과로 결정된 글자가 적합한 글자인지 여부를 결정하는 단계;
상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 경우, 상기 글자 이미지를 재 분류하여 상기 글자 이미지에 포함된 글자를 재 결정하는 단계;
상기 글자 이미지를 제 1 학습 데이터의 입력으로 하고, 재 분류 결과로 결정된 글자를 상기 제 1 학습 데이터의 라벨로 하는, 상기 제 1 학습 데이터를 생성하는 단계; 및
하나 이상의 제 1 학습 데이터를 포함하는 제 1 학습 데이터 세트에 기초하여 업데이트 된 글자 인식 모델을 생성하는 단계;
를 포함하는,
글자 인식 모델의 업데이트를 위한 방법.
In the method for updating the character recognition model,
Determining each character included in the character image by classifying each one or more character images included in the document image into each character through a character recognition model including one or more pre-trained network functions;
Determining whether a letter determined as a result of the classification of the letter image based on the classification is a suitable letter;
Re-determining a character included in the character image by re-classifying the character image when the character determined as the result of the classification of the character image is not suitable;
Generating the first learning data using the text image as the input of the first learning data and the text determined as a result of the reclassification as a label of the first learning data; And
Generating an updated character recognition model based on the first set of learning data including one or more first learning data;
Containing,
Method for updating the character recognition model.
글자 인식 모델의 업데이트를 위한 컴퓨팅 장치로서,
하나 이상의 코어를 포함하는 프로세서; 및
메모리;
를 포함하고,
상기 프로세서는,
문서 이미지에 포함된 하나 이상의 글자 이미지 각각을 사전 학습된 하나 이상의 네트워크 함수를 포함하는 글자 인식 모델을 통해 각각의 글자로 분류하여 상기 글자 이미지가 포함하는 글자를 결정하고,
상기 분류에 기초한 상기 글자 이미지의 분류 결과로 결정된 글자가 적합한 글자인지 여부를 결정하고,
상기 글자 이미지의 상기 분류 결과로 결정된 글자가 적합하지 않은 경우, 상기 글자 이미지를 재 분류하여 상기 글자 이미지에 포함된 글자를 재 결정하고,
상기 글자 이미지를 제 1 학습 데이터의 입력으로 하고, 재 분류 결과로 결정된 글자를 상기 제 1 학습 데이터의 라벨로 하는, 상기 제 1 학습 데이터를 생성하고, 그리고
하나 이상의 제 1 학습 데이터를 포함하는 제 1 학습 데이터 세트에 기초하여 업데이트 된 글자 인식 모델을 생성하는,
글자 인식 모델의 업데이트를 위한 컴퓨팅 장치.
As a computing device for updating the character recognition model,
A processor comprising one or more cores; And
Memory;
Including,
The processor,
Each character image included in the document image is classified into each character through a character recognition model including one or more pre-trained network functions to determine characters included in the character image,
It is determined whether a letter determined as a result of the classification of the letter image based on the classification is a suitable letter,
If the character determined as the result of the classification of the character image is not suitable, the character image is reclassified to re-determine the characters included in the character image,
The first learning data is generated using the text image as the input of the first learning data, and the text determined as a result of the reclassification as a label of the first learning data, and
Generating an updated character recognition model based on a first set of learning data comprising one or more first learning data,
Computing device for updating the character recognition model.
KR1020180145426A 2018-11-22 2018-11-22 Method to update character recognition model KR102122560B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020180145426A KR102122560B1 (en) 2018-11-22 2018-11-22 Method to update character recognition model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180145426A KR102122560B1 (en) 2018-11-22 2018-11-22 Method to update character recognition model

Publications (2)

Publication Number Publication Date
KR20200063342A true KR20200063342A (en) 2020-06-05
KR102122560B1 KR102122560B1 (en) 2020-06-12

Family

ID=71088229

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180145426A KR102122560B1 (en) 2018-11-22 2018-11-22 Method to update character recognition model

Country Status (1)

Country Link
KR (1) KR102122560B1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102245337B1 (en) * 2020-07-01 2021-04-28 한국생산기술연구원 Learning method for classifying crop using weight parameter based on confusion matrix, method for classifying crop using the same, computer-readable recording medium for excuting the method, and crop classifying device
CN113223661A (en) * 2021-05-26 2021-08-06 杭州比康信息科技有限公司 Traditional Chinese medicine prescription transmission system
CN113722434A (en) * 2021-08-30 2021-11-30 平安科技(深圳)有限公司 Text data processing method and device, computer equipment and storage medium
CN114067095A (en) * 2021-11-29 2022-02-18 黄河勘测规划设计研究院有限公司 Water level identification method based on water gauge character detection and identification
KR20230094023A (en) * 2021-12-20 2023-06-27 단국대학교 산학협력단 Method, apparatus and computer program for processing digitalization of handwriting features from targeted font file
CN116758578A (en) * 2023-08-18 2023-09-15 上海楷领科技有限公司 Mechanical drawing information extraction method, device, system and storage medium

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102161948B1 (en) * 2020-06-29 2020-10-06 이홍기 Parking guidance system applied with vehicle license plate recognition technology using neural network and method of providing parking vehicle location information thereof
KR102161949B1 (en) * 2020-06-29 2020-10-06 이홍기 Integrated parking management method and system using vehicle number plate recognition technology using neural network
KR102157989B1 (en) * 2020-06-29 2020-09-18 이홍기 Illegal parking control method and system by using neural network
KR102157990B1 (en) * 2020-06-29 2020-09-21 이홍기 Method and system for recognizing vehicle number plate using neural network
KR102194890B1 (en) * 2020-06-29 2020-12-24 이홍기 Unmanned enforcement and road crime prevention method and system applied with vehicle license plate recognition technology using neural network
KR102457650B1 (en) * 2020-09-21 2022-10-20 삼성생명보험주식회사 Method for interpretating unstructured data based on artificial intelligence
JP2022191776A (en) * 2021-06-16 2022-12-28 キヤノン株式会社 Image processing apparatus, image processing method and program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120127208A (en) * 2011-05-13 2012-11-21 후지쯔 가부시끼가이샤 Method and device for acquiring keywords
KR20160114668A (en) * 2014-01-28 2016-10-05 조몰 초어친 게엠베하 Method for automatically detecting meaning and measuring the clearness of text

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120127208A (en) * 2011-05-13 2012-11-21 후지쯔 가부시끼가이샤 Method and device for acquiring keywords
KR20160114668A (en) * 2014-01-28 2016-10-05 조몰 초어친 게엠베하 Method for automatically detecting meaning and measuring the clearness of text

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102245337B1 (en) * 2020-07-01 2021-04-28 한국생산기술연구원 Learning method for classifying crop using weight parameter based on confusion matrix, method for classifying crop using the same, computer-readable recording medium for excuting the method, and crop classifying device
CN113223661A (en) * 2021-05-26 2021-08-06 杭州比康信息科技有限公司 Traditional Chinese medicine prescription transmission system
CN113722434A (en) * 2021-08-30 2021-11-30 平安科技(深圳)有限公司 Text data processing method and device, computer equipment and storage medium
CN113722434B (en) * 2021-08-30 2024-05-03 平安科技(深圳)有限公司 Text data processing method, device, computer equipment and storage medium
CN114067095A (en) * 2021-11-29 2022-02-18 黄河勘测规划设计研究院有限公司 Water level identification method based on water gauge character detection and identification
CN114067095B (en) * 2021-11-29 2023-11-10 黄河勘测规划设计研究院有限公司 Water level identification method based on water gauge character detection and identification
KR20230094023A (en) * 2021-12-20 2023-06-27 단국대학교 산학협력단 Method, apparatus and computer program for processing digitalization of handwriting features from targeted font file
CN116758578A (en) * 2023-08-18 2023-09-15 上海楷领科技有限公司 Mechanical drawing information extraction method, device, system and storage medium
CN116758578B (en) * 2023-08-18 2023-11-07 上海楷领科技有限公司 Mechanical drawing information extraction method, device, system and storage medium

Also Published As

Publication number Publication date
KR102122560B1 (en) 2020-06-12

Similar Documents

Publication Publication Date Title
KR102122560B1 (en) Method to update character recognition model
US11816165B2 (en) Identification of fields in documents with neural networks without templates
CN111476284B (en) Image recognition model training and image recognition method and device and electronic equipment
US11836638B2 (en) BiLSTM-siamese network based classifier for identifying target class of queries and providing responses thereof
CN111079639B (en) Method, device, equipment and storage medium for constructing garbage image classification model
CN108764195B (en) Handwriting model training method, handwritten character recognition method, device, equipment and medium
EP3869385B1 (en) Method for extracting structural data from image, apparatus and device
CN113785305B (en) Method, device and equipment for detecting inclined characters
US20180253618A1 (en) Method, system, electronic device, and medium for classifying license plates based on deep learning
KR102122561B1 (en) Method for recognizing characters on document images
US10810465B2 (en) Systems and methods for robust industrial optical character recognition
CN113011144B (en) Form information acquisition method, device and server
CN110222582B (en) Image processing method and camera
Shetty et al. Segmentation and labeling of documents using conditional random fields
Beohar et al. Handwritten digit recognition of MNIST dataset using deep learning state-of-the-art artificial neural network (ANN) and convolutional neural network (CNN)
US20210374455A1 (en) Utilizing machine learning and image filtering techniques to detect and analyze handwritten text
Chherawala et al. Combination of context-dependent bidirectional long short-term memory classifiers for robust offline handwriting recognition
KR20200092450A (en) Technique for perfoming data labeling
US10832036B2 (en) Meta-learning for facial recognition
Bonaccorso Hands-On Unsupervised Learning with Python: Implement machine learning and deep learning models using Scikit-Learn, TensorFlow, and more
CN114842478A (en) Text area identification method, device, equipment and storage medium
US11830268B2 (en) Hierarchal document classification system and method
KR20200063841A (en) Method for standardizing recognized term from document image
CN114529927A (en) Character recognition method, device and storage medium
KR20190093752A (en) Method and system for scene text detection using deep learning

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant