KR102435844B1 - Template providing system based on image data extraction - Google Patents

Template providing system based on image data extraction Download PDF

Info

Publication number
KR102435844B1
KR102435844B1 KR1020210170493A KR20210170493A KR102435844B1 KR 102435844 B1 KR102435844 B1 KR 102435844B1 KR 1020210170493 A KR1020210170493 A KR 1020210170493A KR 20210170493 A KR20210170493 A KR 20210170493A KR 102435844 B1 KR102435844 B1 KR 102435844B1
Authority
KR
South Korea
Prior art keywords
text
template
unit
color
background image
Prior art date
Application number
KR1020210170493A
Other languages
Korean (ko)
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 KR1020210170493A priority Critical patent/KR102435844B1/en
Application granted granted Critical
Publication of KR102435844B1 publication Critical patent/KR102435844B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/174Form filling; Merging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/40Filling a planar surface by adding surface attributes, e.g. colour or texture
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Library & Information Science (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The present invention relates to a system for providing a template based on an image data extraction comprising: an original data receiving part that receives an original document form data comprising at least one among a photograph, an image, a layout, a table, and a text; a template extraction part that extracts a template from the received original data; a template recommendation part that recommends the extracted template based on the user information; and a template editing part that controls to edit at least one among a figure, a color, a composition, a rotation, a size, and a ratio. Therefore, the present invention is capable of enabling a user to conveniently edit.

Description

이미지 데이터 추출 기반의 템플릿 제공 시스템{TEMPLATE PROVIDING SYSTEM BASED ON IMAGE DATA EXTRACTION}TEMPLATE PROVIDING SYSTEM BASED ON IMAGE DATA EXTRACTION}

본 발명은 원본 문서 양식자료를 이용하여 이미지 데이터를 편집하는 기술에 관한 것으로서, 보다 상세하게는 원본 문서 양식 자료를 기초하여 템플릿을 추출하여 편집하고 사용자 정보에 기초하여 템플릿을 추천하는 이미지 데이터 추출 기반의 템플릿 제공 시스템에 관한 것이다.The present invention relates to a technique for editing image data using original document form data, and more particularly, an image data extraction basis for extracting and editing a template based on the original document form data and recommending a template based on user information of the template providing system.

최근 코로나19의 확산으로 비대면 통신기술이 발달함에 따라 회사 내 업무에서도 비대면으로 화상회의부터 발표, 문서자료 작성 기술 및 전달 기술이 발달하고 기존의 온라인쇼핑몰이 더욱 활성화되어 그에 따른 서식 또는 양식이 있는 페이지를 작성하고 추출하는 기술이 작업시간을 단축시킬 수 있는 하나의 요소로 그 중요성을 인정받고 있다.Recently, as non-face-to-face communication technology develops due to the spread of Corona 19, non-face-to-face video conferences, presentations, document data preparation and delivery technologies have developed, and existing online shopping malls have become more active, resulting in forms or forms The importance of creating and extracting pages with existing pages is recognized as a factor that can reduce work time.

또한, 인공지능을 활용하여 원본 문서 양식 자료에서의 사진, 이미지, 레이아웃, 표, 텍스트를 구분하여 템플릿 요소로 추출하고 추출된 템플릿 요소를 자유롭게 배치하고 편집하고 자동 크기 맞춤을 통해 더 세련되고 효율적인 템플릿 양식을 제작할 수 있다.In addition, using artificial intelligence to classify photos, images, layouts, tables, and texts in the original document form material, extract them as template elements, freely arrange and edit the extracted template elements, and auto-size more sophisticated and efficient templates You can create a form.

그러나, 템플릿의 배경 이미지 상에 텍스트가 위치하는 경우, 편집기술을 보유한 작업자가 아니라면 배경 이미지 상의 텍스트를 삭제하거나 변경하기 어려운 부분이 있었다.However, when the text is positioned on the background image of the template, it is difficult to delete or change the text on the background image unless the operator has editing skills.

또한, 이러한 템플릿 추출 및 구성에 있어서 크기, 위치, 색, 간격 등 모든 작업이 시각적 감각에 의존하기 때문에 시각에 문제가 있거나 장애가 있는 사람들은 템플릿의 구성과 형태를 인지하고 편집하는데 많은 어려움이 있었다.In addition, since all operations such as size, position, color, and spacing depend on visual sense in extracting and composing these templates, people with visual problems or disabilities had a lot of difficulty in recognizing and editing the composition and shape of the template.

따라서, 시각 장애인들을 위하여 템플릿의 외형, 크기, 위치, 색, 두께를 점자에 또는 음성으로 표현하고 인공지능을 통해 원본 문서 양식 자료로부터 템플릿을 추출하여 편집과 동시에 배경 이미지 상에 위치하는 텍스트의 편집이 용이하도록 구성되는 템플릿 제공 시스템에 대한 연구가 요구된다.Therefore, for the visually impaired, the appearance, size, location, color, and thickness of the template are expressed in Braille or by voice, and the template is extracted from the original document form data through artificial intelligence and at the same time editing the text located on the background image. A study on a template providing system configured to facilitate this is required.

한국등록특허 제10-2119730호Korean Patent Registration No. 10-21119730

본 발명은 원본 문서 양식 자료에서 사진, 이미지, 레이아웃, 표, 텍스트 등을 추출함으로써, 동일하거나 유사한 형태의 템플릿을 용이하게 구성하는 시스템을 제공함에 목적이 있다.An object of the present invention is to provide a system for easily composing templates of the same or similar form by extracting photos, images, layouts, tables, texts, etc. from original document form data.

또한, 추출되거나 수집된 템플릿을 사용자 정보에 기초하여 추천함으로써, 사용자가 주로 사용하는 템플릿의 기호와 용도에 따라 빠르게 생성함에 목적이 있다.In addition, by recommending the extracted or collected templates based on user information, the purpose is to quickly generate the templates according to the preferences and uses of the templates mainly used by the user.

또한, 템플릿 또는 원본자료 내 배경 이미지 상에 마련된 텍스트를 배경 이미지의 색상의 반영하여 편집함으로써, 텍스트의 삭제, 편집 및 입력을 자연스럽고 사용자가 편리하게 편집함에 목적이 있다.In addition, by editing the text prepared on the background image in the template or original material by reflecting the color of the background image, the purpose of the text deletion, editing and input is natural and convenient for the user to edit.

또한, 템플릿을 추출하거나 편집하면서 템플릿의 구성에 포함된 구성요소들을 음성 또는 점자로 출력하여 표시함으로써, 시각장애인들도 템플릿을 추출하고 편집하는 시스템을 제공함에 목적이 있다.In addition, an object of the present invention is to provide a system for extracting and editing the template even for the visually impaired by outputting and displaying the components included in the composition of the template in voice or Braille while extracting or editing the template.

본 발명의 일 실시례에 따른 이미지 데이터 추출 기반의 템플릿 제공 시스템은, 사진, 이미지, 레이아웃, 표, 텍스트 중 적어도 하나를 포함하는 원본 문서 양식 자료를 수신하는 원본자료 수신부, 상기 수신된 원본자료로부터 템플릿을 추출하는 템플릿추출부, 상기 추출된 템플릿을 사용자 정보에 기초하여 추천하는 템플릿추천부 및 도형, 색상, 구도, 회전, 크기 및 비율 중 적어도 하나를 편집하도록 제어하는 템플릿편집부를 포함할 수 있다.An image data extraction-based template providing system according to an embodiment of the present invention includes an original data receiving unit for receiving an original document form data including at least one of a photo, an image, a layout, a table, and a text, from the received original data It may include a template extraction unit for extracting a template, a template recommendation unit for recommending the extracted template based on user information, and a template editing unit for controlling to edit at least one of a figure, color, composition, rotation, size, and ratio. .

또한, 상기 템플릿추출부는, 상기 원본자료에서 레이아웃 및 표의 외곽선을 추출하는 외곽선추출부, 상기 원본자료 내에 포함된 텍스트를 삭제처리하되, 상기 텍스트가 배경 이미지 상의 텍스트인지 또는 배경 이미지가 없는 텍스트인지를 구분하여 배경 이미지 상의 텍스트인 경우, 텍스트를 잘라내고 상기 잘라낸 공간에 배경 이미지에 부합하는 색상을 채우며, 배경 이미지가 없는 텍스트인 경우, 텍스트를 잘라내는 텍스트처리부 및 상기 원본자료에서 도형, 사진 및 그림을 포함하는 이미지를 추출하는 이미지 추출부를 포함할 수 있다.In addition, the template extraction unit, the outline extraction unit for extracting the outline of the layout and table from the original data, but deletes the text included in the original data, whether the text is text on a background image or text without a background image In the case of text on the background image, the text is cut out and the cut space is filled with a color matching the background image. In the case of text without a background image, a text processing unit that cuts the text and figures, photos and pictures from the original data It may include an image extraction unit for extracting an image containing.

또한, 상기 배경 이미지에 부합하는 색상은, 텍스트가 포함된 영역을 다수의 단위블록으로 분할하고, 상기 분할된 단위블록 중 텍스트가 포함된 블록 내의 색상이 단색인 경우, 상기 단색을 상기 배경 이미지에 부합하는 색상으로 결정하고, 텍스트가 포함된 블록 내 폐영역이 존재하고, 상기 폐영역 내부에 텍스트가 지나는지 판단한 후, 폐영역 내부에 포함되는 텍스트 삭제 공간은 폐영역 내부의 색상으로 결정할 수 있다.In addition, the color matching the background image divides an area including text into a plurality of unit blocks, and when a color in a block including text among the divided unit blocks is a single color, the single color is applied to the background image. After determining a matching color and determining whether a closed area exists in a block including text and text passes inside the closed area, the text deletion space included in the closed area may be determined as a color inside the closed area .

또한, 상기 텍스트처리부는, 텍스트가 포함된 영역을 다수의 단위블록으로 분할하고, 상기 분할된 단위블록 중에 포함된 문자공백영역이 사각형상인 경우, 상기 사각형상의 꼭지점 중 상기 단위블록의 경계와 접하지 않는 꼭지점을 기준 꼭지점으로 설정하여 상기 기준 꼭지점을 중심으로 상기 배경 이미지에 부합하는 색상을 채워넣을 수 있다.In addition, the text processing unit divides an area including text into a plurality of unit blocks, and when a character blank area included in the divided unit blocks has a rectangular shape, one of the vertices of the rectangle does not come into contact with the boundary of the unit block. By setting a non-existent vertex as a reference vertex, a color corresponding to the background image may be filled around the reference vertex.

또한, 상기 텍스트처리부는, 상기 기준 꼭지점과 인접한 4개의 픽셀 중 배경 이미지가 포함된 2개의 픽셀 RGB 색상코드값을 수집하고, 상기 수집된 RGB 색상코드값의 평균값을 상기 기준 꼭지점의 RGB 색상코드값으로 입력하며, 상기 색상코드가 채워진 기준 꼭지점으로부터 인접하는 상기 문자공백영역의 픽셀과 인접한 4개의 픽셀 중 2개 이상의 픽셀이 색상이 존재하는 경우, 상기 색상코드가 존재하는 픽셀의 평균 색상코드값을 입력할 수 있다.In addition, the text processing unit collects RGB color code values of two pixels including a background image among the four pixels adjacent to the reference vertex, and calculates the average value of the collected RGB color code values as the RGB color code value of the reference vertex. When two or more pixels among the four pixels adjacent to the pixel of the character blank area adjacent from the reference vertex filled with the color code have a color, the average color code value of the pixels with the color code is can be entered.

또한, 상기 외곽선추출부는, 문서 내 경계를 표시한 선 및 레이아웃 객체의 경계선을 추출하는 경계선 추출부 및 표 또는 그림의 테두리를 추출하는 테두리추출부를 포함할 수 있다.Also, the outline extraction unit may include a boundary line extraction unit for extracting a boundary line of a line and a layout object indicating a boundary within a document, and a boundary extraction unit for extracting a border of a table or figure.

또한, 상기 템플릿편집부는, 필터, 크기조정, 자르기, 회전, 그리기, 텍스트, 도형, 스티커, 프레임, 모서리, 배경색 및 합치기 기능을 제공할 수 있다.In addition, the template editing unit may provide a filter, resizing, cropping, rotation, drawing, text, figure, sticker, frame, corner, background color and merging function.

본 발명에 따르면, 원본 문서 양식 자료에서 사진, 이미지, 레이아웃, 표, 텍스트 등을 추출함으로써, 동일하거나 유사한 형태의 템플릿을 용이하게 구성하는 시스템을 제공할 수 있다.According to the present invention, it is possible to provide a system for easily composing templates of the same or similar form by extracting photos, images, layouts, tables, texts, and the like from original document form data.

또한, 추출되거나 수집된 템플릿을 사용자 정보에 기초하여 추천함으로써, 사용자가 주로 사용하는 템플릿의 기호와 용도에 따라 빠르게 생성할 수 있다.In addition, by recommending the extracted or collected templates based on user information, it is possible to quickly generate the templates according to the preferences and uses of the templates mainly used by the user.

또한, 템플릿 또는 원본자료 내 배경 이미지 상에 마련된 텍스트를 배경 이미지의 색상의 반영하여 편집함으로써, 텍스트의 삭제, 편집 및 입력을 자연스럽고 사용자가 편리하게 편집할 수 있다.In addition, by editing the text provided on the background image in the template or original material by reflecting the color of the background image, deletion, editing, and input of text can be naturally and conveniently edited by the user.

또한, 템플릿을 추출하거나 편집하면서 템플릿의 구성에 포함된 구성요소들을 음성 또는 점자로 출력하여 표시함으로써, 시각장애인들도 템플릿을 추출하고 편집하는 시스템을 제공할 수 있다.In addition, by outputting and displaying the components included in the composition of the template in voice or Braille while extracting or editing the template, it is possible to provide a system for extracting and editing the template even for the visually impaired.

도 1은 본 발명의 일실시례에 따른 이미지 데이터 추출 기반의 템플릿 제공 시스템의 블록도를 도시한 도면이다.
도 2는 본 발명의 일실시례에 따른 템플릿 제공 시스템 내 템플릿추출부의 중간블록도를 도시한 도면이다.
도 3는 본 발명의 일실시례에 따른 템플릿 제공 시스템에 수신된 원본자료를 도시한 도면이다.
도 4은 본 발명의 일실시례에 따른 템플릿 제공 시스템에 수신된 원본자료를 단위블록으로 분할하여 표시한 것을 도시한 도면이다.
도 5는 본 발명의 일실시례에 따른 템플릿 제공 시스템을 이용하여 단위블록으로 분할한 원본자료에서 문자공백영역이 포함된 블록 내 폐영역이 존재하는 부분을 도시한 도면이다.
도 6은 본 발명의 일실시례에 따른 템플릿 제공 시스템의 텍스트처리부에서 글자를 포함하는 배경 이미지가 단색으로 존재하는 부분을 도시한 도면이다.
도 7은 본 발명의 일실시례에 따른 템플릿 제공 시스템의 텍스트처리부에서 문자공백영역에 RGB 색상코드값을 입력하는 과정을 도시한 도면이다.
1 is a diagram illustrating a block diagram of a template providing system based on image data extraction according to an embodiment of the present invention.
2 is a diagram illustrating an intermediate block diagram of a template extraction unit in a template providing system according to an embodiment of the present invention.
3 is a diagram illustrating original data received in a template providing system according to an embodiment of the present invention.
4 is a diagram illustrating the division of the original data received in the template providing system according to an embodiment of the present invention into unit blocks and displaying the same.
5 is a diagram illustrating a portion in which a closed area exists in a block including a character blank area in the original data divided into unit blocks using the template providing system according to an embodiment of the present invention.
6 is a diagram illustrating a portion in which a background image including text exists in a single color in the text processing unit of the template providing system according to an embodiment of the present invention.
7 is a diagram illustrating a process of inputting RGB color code values into a character blank area in a text processing unit of a template providing system according to an embodiment of the present invention.

이상과 같은 본 발명에 대한 해결하고자 하는 과제, 과제의 해결 수단, 발명의 효과를 포함한 구체적인 사항들은 다음에 기재할 실시례 및 도면들에 포함되어 있다. 본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시례들을 참조하면 명확해질 것이다.Specific details including the problems to be solved for the present invention as described above, means for solving the problems, and the effects of the invention are included in the examples and drawings to be described below. Advantages and features of the present invention, and methods of achieving them, will become apparent with reference to the embodiments described below in detail in conjunction with the accompanying drawings.

본 발명의 권리범위는 이하에서 설명하는 실시례에 한정되는 것은 아니며, 본 발명의 기술적 요지를 벗어나지 않는 범위 내에서 당해 기술분야의 통상적인 지식을 가진 자에 의하여 다양하게 변형 실시될 수 있다.The scope of the present invention is not limited to the embodiments described below, and various modifications may be made by those of ordinary skill in the art without departing from the technical gist of the present invention.

이하, 본 발명인 이미지 데이터 추출 기반의 템플릿 제공 시스템은 첨부된 도 1 내지 도 7을 참고로 상세하게 설명한다.Hereinafter, a template providing system based on image data extraction according to the present invention will be described in detail with reference to the accompanying FIGS. 1 to 7 .

우선, 도 1은 본 발명의 일실시례에 이미지 데이터 추출 기반의 템플릿 제공 시스템의 블록도를 도시한 도면이고, 도 2는 본 발명의 일실시례에 따른 템플릿 제공 시스템 내 템플릿추출부의 중간블록도를 도시한 도면이며, 도 3는 본 발명의 일실시례에 따른 템플릿 제공 시스템에 수신된 원본자료를 도시한 도면이고, 도 4은 본 발명의 일실시례에 따른 템플릿 제공 시스템에 수신된 원본자료를 단위블록으로 분할하여 표시한 것을 도시한 도면이며, 도 5는 본 발명의 일실시례에 따른 템플릿 제공 시스템을 이용하여 단위블록으로 분할한 원본자료에서 문자공백영역이 포함된 블록 내 폐영역이 존재하는 부분을 도시한 도면이고, 도 6은 본 발명의 일실시례에 따른 템플릿 제공 시스템의 텍스트처리부에서 글자를 포함하는 배경 이미지가 단색으로 존재하는 부분을 도시한 도면이며, 도 7은 본 발명의 일실시례에 따른 템플릿 제공 시스템의 텍스트처리부에서 문자공백영역(310)에 RGB 색상코드값을 입력하는 과정을 도시한 도면이다.First, FIG. 1 is a block diagram of a template providing system based on image data extraction according to an embodiment of the present invention, and FIG. 2 is an intermediate block diagram of a template extraction unit in a template providing system according to an embodiment of the present invention. 3 is a view showing original data received in the template providing system according to an embodiment of the present invention, and FIG. 4 is the original data received in the template providing system according to an embodiment of the present invention. It is a diagram showing the division into unit blocks, and FIG. 5 is a closed area within the block including the character blank area in the original data divided into unit blocks using the template providing system according to an embodiment of the present invention. It is a view showing the existing part, and FIG. 6 is a view showing the part where the background image including characters exists in a single color in the text processing unit of the template providing system according to an embodiment of the present invention, and FIG. 7 is the present invention is a diagram illustrating a process of inputting RGB color code values into the character blank area 310 in the text processing unit of the template providing system according to an embodiment of the present invention.

도 1을 참고하면, 본 발명의 일실시례에 따른 이미지 데이터 추출 기반의 템플릿 제공 시스템(100)은 원본자료 수신부(110), 템플릿추출부(120), 템플릿추천부(130) 및 템플릿편집부(140)를 포함할 수 있다.Referring to FIG. 1 , a template providing system 100 based on image data extraction according to an embodiment of the present invention includes an original data receiving unit 110 , a template extracting unit 120 , a template recommendation unit 130 , and a template editing unit ( 140) may be included.

상기 원본자료 수신부(110)는, 사진, 이미지, 레이아웃, 표, 텍스트 중 적어도 하나를 포함하는 원본 문서 양식 자료를 수신할 수 있다.The original data receiving unit 110 may receive the original document form data including at least one of a photo, an image, a layout, a table, and text.

이때, 상기 원본자료 수신부(110)는, 상기 원본 문서 양식에서 텍스트의 글자 크기 및 글꼴 데이터를 수신할 수 있다.In this case, the original data receiving unit 110 may receive the text size and font data in the original document form.

또한, 상기 원본 문서 양식에서 수신한 레이아웃은 문서 전체 또는 문서의 일부 영역에 마련된 직선, 곡선 및 기하학적 형태의 선을 모두 포함할 수 있다.In addition, the layout received in the original document form may include all of straight lines, curved lines, and geometrical lines provided in the entire document or a partial area of the document.

상기 템플릿추출부(120)는, 상기 수신된 원본자료로부터 템플릿을 추출할 수 있다.The template extraction unit 120 may extract a template from the received original data.

여기서, 상기 템플릿은 상기 원본 문서 양식 자료에 배치된 텍스트 위치를 나타내는 글상자 위치, 나열된 텍스트의 위치별 크기 및 글꼴을 추출할 수 있다.Here, the template may extract a position of a text box indicating a position of a text arranged in the original document form material, a size and a font for each position of the listed text.

또한, 상기 문서 레이아웃에 사용된 굵기, 색상, 크기 및 형태가 다른 직선, 곡선, 기하학적 형태의 선, 도형 등을 포함하는 템플릿을 추출할 수 있다.Also, it is possible to extract a template including straight lines, curves, geometric lines, figures, and the like, having different thicknesses, colors, sizes and shapes used in the document layout.

한편, 상기 템플릿추출부(120)는, 상기 도 2를 참고하여 더욱 자세히 설명할 수 있다.Meanwhile, the template extraction unit 120 may be described in more detail with reference to FIG. 2 .

상기 도 2를 참고하면, 상기 템플릿추출부(120)는, 외곽선추출부(121), 텍스트처리부(122) 및 이미지추출부(123)를 포함할 수 있다.Referring to FIG. 2 , the template extraction unit 120 may include an outline extraction unit 121 , a text processing unit 122 , and an image extraction unit 123 .

상기 외곽선추출부(121)는, 상기 원본자료에서 레이아웃 및 표의 외곽선을 추출할 수 있다.The outline extraction unit 121 may extract outlines of layouts and tables from the original data.

여기서, 상기 외곽선추출부(121)는, 경계선 추출부 및 테두리추출부를 더 포함할 수 있다.Here, the outline extraction unit 121 may further include a boundary line extraction unit and an edge extraction unit.

상기 경계선 추출부는, 문서 내 경계를 표시한 선 및 레이아웃 객체의 경계선을 추출할 수 있다.The boundary line extracting unit may extract a line indicating a boundary within a document and a boundary line of a layout object.

즉, 상기 경계선 추출부는 문서 내 텍스트와 레이아웃 객체 사이의 경계선 또는 서로 다른 레이아웃 객체간 경계선을 추출할 수 있다.That is, the boundary line extractor may extract a boundary line between text in a document and a layout object or a boundary line between different layout objects.

상기 테두리추출부는, 표 또는 그림의 테두리를 추출할 수 있다.The border extraction unit may extract the border of the table or figure.

여기서, 상기 테두리추출부는, 사진, 그래프, 도형, 이미지의 테두리를 더 추출할 수 있고, 서로 다른 복수개의 사진 또는 도형이 겹쳐져 있는 경우, 하나의 도형 또는 이미지로 인식하여 상기 겹쳐진 사진 또는 도형 전체의 테두리를 추출할 수 있다.Here, the border extraction unit may further extract the borders of photos, graphs, figures, and images, and when a plurality of different photos or figures are overlapped, it is recognized as a single figure or image, and the overlapped photo or figure is of the whole. Borders can be extracted.

상기 텍스트처리부(122)는, 상기 원본자료 내에 포함된 텍스트를 삭제 처리하되, 상기 텍스트가 배경 이미지 상의 텍스트인지 또는 배경 이미지가 없는 텍스트인지를 구분하여 배경 이미지 상의 텍스트인 경우, 텍스트를 잘라내고 상기 잘라낸 공간에 배경 이미지에 부합하는 색상을 결정할 수 있다.The text processing unit 122 deletes the text included in the original material, but distinguishes whether the text is text on a background image or text without a background image, and cuts out the text when the text is on the background image. You can determine a color that matches the background image in the cut-out space.

이때, 상기 결정된 색상은 RGB 색상코드값을 의미할 수 있다.In this case, the determined color may mean an RGB color code value.

여기서, 상기 원본자료를 기설정된 픽셀의 개수 단위의 집합을 단위 블록이라고 정의하고 상기 도 3 내지 도 4를 참고하여 더욱 자세히 설명한다.Here, the original data is defined as a set of units of a predetermined number of pixels as a unit block, and will be described in more detail with reference to FIGS. 3 to 4 .

상기 도 3 내지 상기 도 4를 참고하면, 상기 도 3에서 배경 이미지와 배경 이미지 상의 텍스트를 포함하는 원본자료를 상기 도 4와 같이 상기 단위 블록으로 나누어 상기 텍스트를 포함하는 영역을 구분할 수 있다.Referring to FIGS. 3 to 4 , in FIG. 3 , the original data including the background image and the text on the background image may be divided into the unit blocks as shown in FIG. 4 to divide the area including the text.

일례로, 상기 도 4는 가로 48개, 세로 66개의 픽셀을 직사각형 형태의 하나의 단위 블록으로 분할한 것이고, 상기 단위 블록에 포함되는 가로 및 세로 픽셀 수와 단위 블록의 형태는 자유롭게 변형하여 나타낼 수 있다.As an example, in FIG. 4, 48 horizontal and 66 vertical pixels are divided into one rectangular unit block, and the number of horizontal and vertical pixels included in the unit block and the shape of the unit block can be freely modified and represented. have.

또한, 상기 원본자료 내에 배경 이미지가 존재하고, 상기 배경 이미지 상에 텍스트가 포함된 영역에서 상기 텍스트를 삭제한 빈 공간을 문자공백영역(310)으로 정의할 수 있다.In addition, an empty space in which a background image exists in the original data and the text is deleted in an area including text on the background image may be defined as the character blank area 310 .

이때, 상기 문자공백영역(310)을 상기 배경 이미지에 부합하는 색상을 채우는 경우, 상기 배경 이미지에 부합하는 색상으로 채울 수 있다.In this case, when the text blank area 310 is filled with a color matching the background image, the text blank area 310 may be filled with a color matching the background image.

일례로, 상기 문자공백영역(310)에 채워질 상기 배경 이미지에 부합하는 색상은, 텍스트가 포함된 단위 블록 내의 색상이 단색인 경우, 상기 단색의 RGB 색상코드값을 상기 배경 이미지에 부합하는 색상으로 결정할 수 있다. For example, the color corresponding to the background image to be filled in the character blank area 310 is a color corresponding to the background image when the color in the unit block including text is a single color. can decide

즉, 상기 도 6과 같이, '자'라는 텍스트를 삭제한 문자공백영역(310)에 대한 빈 공간인 주위의 배경 이미지 색상이 전부 RGB 색상코드값이 (0, 0, 0)인 단색인 경우, 상기 문자공백영역(310)을 RGB 색상코드값이 (0, 0, 0)의 단색으로 결정하여 상기 문자공백영역(310)에 (0, 0, 0)의 RGB 색상코드값을 입력할 수 있다.That is, as shown in FIG. 6, when the background image color around the empty space for the character blank area 310 from which the text 'ruler' is deleted is a single color with RGB color code values of (0, 0, 0) , it is possible to input the RGB color code value of (0, 0, 0) to the character blank region 310 by determining the character blank region 310 as a single color having an RGB color code value of (0, 0, 0). have.

한편, 다시 도 4 내지 도 5를 참고하면, 상기 텍스트가 포함된 블록 내 폐영역이 존재하고, 상기 폐영역 내부에 텍스트가 지나는지 판단한 후, 폐영역 내부에 포함되는 텍스트 삭제 공간은 폐영역 내부의 색상으로 결정할 수 있다.Meanwhile, again referring to FIGS. 4 to 5 , after determining whether a closed area exists in the block including the text and text passes within the closed area, the text deletion space included in the closed area is located inside the closed area. can be determined by the color of

여기서, 상기 폐영역은 상기 문자공백영역(310)이 포함된 단위블록 1개의 영역을 의미할 수 있다.Here, the closed area may mean an area of one unit block including the character blank area 310 .

이때, 상기 폐영역에서 문자공백영역(310)의 배경 이미지가 단색이 아닌 경우, 상기 문자공백영역(310)과 인접한 배경이미지의 색상을 이용하여 상기 문자공백영역(310)의 색상을 입력할 수 있다.At this time, if the background image of the text blank area 310 in the closed area is not a single color, the color of the text blank area 310 may be input using the color of the background image adjacent to the text blank area 310 . have.

일례로, 상기 텍스트가 포함된 영역을 다수의 단위블록으로 분할하고, 상기 분할된 단위블록 중에 포함된 문자공백영역(310)이 사각형상인 경우, 상기 사각형상의 꼭지점(1픽셀) 중 상기 단위블록의 경계와 접하지 않는 꼭지점을 기준 꼭지점(710)으로 설정하여 상기 기준 꼭지점을 중심으로 상기 배경 이미지에 부합하는 색상을 입력할 수 있다.For example, if the text area is divided into a plurality of unit blocks, and the character blank area 310 included in the divided unit blocks has a rectangular shape, one of the vertices (1 pixel) of the rectangular unit block By setting a vertex not in contact with the boundary as the reference vertex 710 , a color matching the background image may be input with the reference vertex as the center.

여기서, 상기 텍스트처리부(122)는, 기준 꼭지점과 인접한 4개의 픽셀 중 배경 이미지가 포함되어 색상을 가지는 2개의 픽셀에 대한 RGB 색상코드값을 수집할 수 있다.Here, the text processing unit 122 may collect RGB color code values for two pixels having a color by including a background image among four pixels adjacent to the reference vertex.

이때, 상기 수집된 RGB 색상코드값의 평균값을 상기 기준 꼭지점(710)의 RGB 색상코드값으로 입력하여 상기 기준 꼭지점(710)의 색상을 결정할 수 있다.In this case, the color of the reference vertex 710 may be determined by inputting the average value of the collected RGB color code values as the RGB color code value of the reference vertex 710 .

즉, 상기 기준 꼭지점(710)과 인접한 4개의 픽셀 중 2개의 픽셀이 배경 이미지가 포함되어 (46,46,46) 및 (50,50,50)의 RGB 색상코드값을 가지고 있는 경우, 상기 기준 꼭지점의 RGB 색상코드값은 배경 이미지가 포함된 상기 2개 픽셀의 RGB 색상코드값의 평균인 (48,48,48)로 입력할 수 있다.That is, when two of the four pixels adjacent to the reference vertex 710 have RGB color code values of (46,46,46) and (50,50,50) because the background image is included, the reference The RGB color code value of the vertex may be input as (48, 48, 48), which is the average of the RGB color code values of the two pixels including the background image.

또한, 상기 RGB 색상코드값이 채워진 기준 꼭지점(710)과 가장 인접한 문자공백영역(310)의 픽셀을 색상산출필요픽셀으로 결정할 수 있다.Also, a pixel in the character blank area 310 closest to the reference vertex 710 filled with the RGB color code value may be determined as a color calculation required pixel.

이때, 상기 결정된 색상산출필요픽셀과 인접한 4개의 픽셀 중 2개 이상의 픽셀에서 RGB 색상코드값이 존재하는 경우, 상기 RGB 색상코드값이 존재하는 픽셀의 평균 RGB 색상코드값을 산출한 후, 상기 색상산출필요픽셀은 상기 문자공백영역(310)의 픽셀 중 RGB 색상코드값이 산출된 픽셀과 가장 인접한 픽셀으로 재결정될 수 있다.In this case, when RGB color code values exist in two or more of the four pixels adjacent to the determined color calculation required pixel, the average RGB color code value of the pixels in which the RGB color code values exist is calculated, and then the color The calculation required pixel may be re-determined as a pixel closest to the pixel from which the RGB color code value is calculated among the pixels of the character blank area 310 .

여기서, 상기 기준 꼭지점(710)을 중심으로 인접한 색상산출필요픽셀의 RGB 색상코드값을 입력하여 문자공백영역의 RGB 색상코드값을 입력하는 과정을 상기 도 7을 참고하여 더욱 자세히 설명한다.Here, the process of inputting the RGB color code value of the character blank area by inputting the RGB color code value of the pixel required for color calculation adjacent to the reference vertex 710 will be described in more detail with reference to FIG. 7 .

도 7을 참고하면, 상기 기준 꼭지점(710)을 시작으로 상기 기준 꼭지점(710)과 인접하되 배경 이미지가 포함된 제1 픽셀(741)과 배경 이미지가 포함된 제2 픽셀(742)의 RGB 색상코드값의 평균을 입력할 수 있다.Referring to FIG. 7 , starting with the reference vertex 710 , the RGB color of a first pixel 741 including a background image and a second pixel 742 adjacent to the reference vertex 710 and a background image is included. You can input the average of the code values.

이때, 상기 기준 꼭지점(710)의 RGB 색상코드값이 입력되었으므로, 기준 꼭지점과 인접한 제1 색상산출필요픽셀(721)과 제2 색상산출필요픽셀(722)의 인접한 2개의 픽셀이 RGB 색상코드값이 입력되어져있으므로 상기 인접한 2개 픽셀의 RGB 색상코드값의 평균을 상기 제1 색상산출필요픽셀(721) 및 상기 제2 색상산출필요픽셀(72)에 각각 산출하여 입력할 수 있다. 상기 기준 꼭지점(710)과 인접한 제1 색상산출필요픽셀(721)과 제2 색상산출필요픽셀(722)의 RGB 색상코드값이 입력된 경우, 제3-1 색상산출필요픽셀(731), 제3-2 색상산출필요픽셀(732) 및 제3-3 색상산출필요픽셀(733)과 인접한 4개의 픽셀 중 2개의 픽셀이 RGB 색상코드값이 입력되어 있으므로 상기 제3-1 색상산출필요픽셀(731), 제3-2 색상산출필요픽셀(732) 및 제3-3 색상산출필요픽셀(733)의 RGB 색상코드값을 입력할 수 있다. 이러한 과정을 통해 상기 문자공백영역(310)의 RGB 색상코드값을 전부 입력할 수 있다.At this time, since the RGB color code value of the reference vertex 710 is input, the two adjacent pixels of the first color calculation required pixel 721 and the second color calculation required pixel 722 adjacent to the reference vertex are RGB color code values. is inputted, the average of the RGB color code values of the two adjacent pixels may be calculated and inputted to the first color calculation required pixel 721 and the second color calculation required pixel 72 , respectively. When RGB color code values of the first and second color calculation required pixels 721 and 722 adjacent to the reference vertex 710 are input, the 3-1th color calculation required pixel 731, Since RGB color code values are input to 2 of the 4 pixels adjacent to the 3-2 color calculation required pixel 732 and the 3-3 color calculation required pixel 733, the 3-1 color calculation required pixel ( 731), the RGB color code values of the 3-2 color calculation required pixel 732 and 3-3 color calculation required pixel 733 may be input. Through this process, all RGB color code values of the character blank area 310 can be input.

즉, 상기 기준 꼭지점(710)의 색상이 결정되기 전에는 상기 기준 꼭지점(710)을 제외한 문자공백영역(310)의 픽셀에 대한 인접한 4개의 픽셀 중 배경 이미지가 포함되어 RGB 색상코드값을 가지는 픽셀이 1개였으나, 상기 기준 꼭지점(710)의 색상이 채워진 이후에는 인접한 4개의 픽셀 중 2개의 픽셀이 RGB 색상코드값이 존재하기 때문에, 상기 2개의 픽셀에 적용된 RGB 색상코드값의 평균값을 적용하여 상기 픽셀의 색상을 결정하여 적용할 수 있다.That is, before the color of the reference vertex 710 is determined, the background image is included among the four pixels adjacent to the pixel of the character blank area 310 except for the reference vertex 710, so that the pixel having an RGB color code value is However, after the color of the reference vertex 710 is filled, two pixels among the four adjacent pixels have RGB color code values, so the average value of the RGB color code values applied to the two pixels is applied to the pixel. It can be applied by determining the color of

또한, 상기 문자공백영역(310)의 픽셀의 RGB 색상코드값의 평균을 산출하는데 있어서, 상기 기준 꼭지점(710) 바로 아래 위치한 픽셀의 경우, 기준 꼭지점(710)의 색상이 입력되기 전 인접한 4개의 픽셀 중 1개의 픽셀만이 RGB 색상코드값인 (50,50,50)을 가지고 있었으나, 상기 기준 꼭지점(710)의 색상이 (48, 48, 48)로 입력된 경우, 인접한 2개의 픽셀의 RGB 색상코드값의 평균값인 (49, 49, 49)로 입력될 수 있다.In addition, in calculating the average of the RGB color code values of the pixels of the character blank area 310 , in the case of a pixel located immediately below the reference vertex 710 , the four adjacent pixels before the color of the reference vertex 710 are inputted. Although only one pixel among the pixels had the RGB color code value (50, 50, 50), when the color of the reference vertex 710 is input as (48, 48, 48), the RGB values of two adjacent pixels It may be input as (49, 49, 49), which is the average value of the color code values.

이와 같은 과정을 통해, 상기 문자공백영역(310)의 픽셀 중 RGB 색상코드값이 결정되지 않은 픽셀의 RGB 색상코드값을 결정하고 입력할 수 있다.Through this process, it is possible to determine and input the RGB color code value of a pixel whose RGB color code value is not determined among the pixels of the character blank area 310 .

한편, 상기 문자공백부분(310)의 RGB 색상코드값은 최소 2개의 인접한 픽셀의 평균값이 입력될 수 있고, 최대 인접한 4개의 픽셀 모두 RGB 색상코드값을 가지는 경우, 상기 4개의 픽셀 RGB 색상코드값의 평균을 입력할 수 있다.On the other hand, as the RGB color code value of the character blank portion 310, the average value of at least two adjacent pixels may be input, and when all four adjacent pixels have RGB color code values, the RGB color code value of the four pixels You can enter the average of

또 다른 일례로, 상기 문자공백부분(310)의 텍스트를 포함할 수 있는 최소 크기의 사각 블록을 임의로 지정하여 상기 사각 블록의 4개 꼭지점의 색상에 대한 평균 RGB 색상코드값을 상기 문자공백부분(310)의 색상으로 결정되어 입력할 수 있다.As another example, the average RGB color code value for the colors of the four vertices of the square block by arbitrarily designating a rectangular block of the minimum size that can contain the text of the character blank part 310 is set to the character blank part ( 310) and can be input.

한편, 배경 이미지가 없는 텍스트인 경우, 텍스트를 단순히 잘라내기 처리할 수 있다.Meanwhile, in the case of text without a background image, the text may be simply cut out.

상기 이미지 추출부(123)는, 상기 원본자료에서 도형, 사진 및 그림을 포함하는 이미지를 추출할 수 있다.The image extraction unit 123 may extract an image including a figure, a photograph, and a figure from the original data.

여기서, 상기 도형, 사진 및 그림을 추출한 후, 상기 도형, 사진 및 그림의 카테고리를 자동인식한 후 인식된 카테고리별로 별도 저장할 수 있다.Here, after extracting the figure, photo, and figure, categories of the figure, photo, and figure are automatically recognized and stored separately for each recognized category.

상기 템플릿추천부(130)는, 상기 추출된 템플릿을 사용자 정보에 기초하여 추천할 수 있다.The template recommendation unit 130 may recommend the extracted template based on user information.

즉, 상기 사용자가 원본자료를 이용하여 재구성 또는 수정하는 형식이 아닌 원본자료 없이 템플릿을 생성하는 경우에 상기 템플릿추천부(130)를 통해 템플릿을 추천받을 수 있다.That is, when the user creates a template without original data, not in a format that is reconstructed or modified by using the original data, the template may be recommended through the template recommendation unit 130 .

여기서, 상기 사용자 정보는, 보고서형식, 발표형식, 광고형식, 일기형식, 자유형식 등으로 분류한 템플릿 중에서 상기 사용자가 선택한 템플릿 형식정보를 의미할 수 있다.Here, the user information may refer to template format information selected by the user from among templates classified into a report format, a presentation format, an advertisement format, a diary format, a freeform format, and the like.

또한, 상기 사용자가 선택한 템플릿 형식에 대응하여 사진, 도형, 그래프, 텍스트 상자(텍스트를 입력할 수 있는 범위를 직사각형 형태의 테두리로 제한하여 구성), 레이아웃 등의 예시를 포함하는 템플릿을 추천할 수 있다.In addition, in response to the template format selected by the user, a template including examples such as photos, figures, graphs, text boxes (configured by limiting the text input range to a rectangular border), layouts, etc. can be recommended. have.

상기 템플릿편집부(140)는, 도형, 색상, 구도, 회전, 크기 및 비율 중 적어도 하나를 편집하도록 제어할 수 있다.The template editing unit 140 may control to edit at least one of a figure, a color, a composition, a rotation, a size, and a ratio.

보다 상세하게는, 상기 템플릿편집부(140)는, 필터, 크기조정, 자르기, 회전, 그리기, 텍스트, 도형, 스티커, 프레임, 모서리, 배경색 및 합치기 기능을 제공할 수 있다.More specifically, the template editing unit 140 may provide a filter, resizing, cropping, rotation, drawing, text, figure, sticker, frame, corner, background color and merging function.

여기서, 상기 필터는, 그레이스케일, 블랙&화이트, 선명하게, 반전, 빈티지, 폴라로이드, 필름, 색강조, 브라운, 세피아, 색지움, 밝음, 감마 등 템플릿 전체 색상이나 질감을 편집하는 필터기능을 상기 템플릿에 적용할 수 있다. Here, the filter includes a filter function that edits the entire color or texture of the template, such as grayscale, black & white, vivid, invert, vintage, polaroid, film, color enhancement, brown, sepia, suppression, bright, gamma, etc. can be applied to

또한, 상기 크기조정은, 길이 및 높이를 상기 사용자가 직접 입력하여 크기를 조정하되, 종횡비 유지 및 백분율 사용 옵션 적용 유무를 선택하여 단순 크기조정부터 원본 비율에 맞는 크기 조정을 수행하여 상기 템플릿을 편집할 수 있다.In addition, in the resizing, the user directly inputs the length and height to adjust the size, but by selecting whether to apply the option to maintain the aspect ratio and use a percentage, the template is edited by adjusting the size from simple resizing to the original ratio can do.

또한, 상기 자르기는, 길이 및 높이를 직접 입력하거나, 마우스를 이용한 자유설정, 정사각형, 4:3비율, 16:9비율, 5:3비율, 5:4비율, 6:4비율, 7:5비율, 10:8비율 중 적어도 하나를 선택하여 도형, 사진 및 그림의 일부분을 잘라내는 동작을 수행하여 상기 템플릿을 편집할 수 있다.In addition, the cropping is performed by directly inputting the length and height, or freely setting using a mouse, square, 4:3 ratio, 16:9 ratio, 5:3 ratio, 5:4 ratio, 6:4 ratio, 7:5 The template may be edited by selecting at least one of a ratio and a ratio of 10:8 to cut out a figure, a photo, and a part of the picture.

또한, 상기 회전은, 상측의 드래그바를 이용하여 도형, 사진 및 그림의 일부분을 -44° ~ 44°까지 1°씩 미세조정, 시계방향으로 90°회전, 반시계방향으로 90°회전, 상하대칭 및 좌우 대칭을 선택하여 회전하는 동작을 수행하여 상기 템플릿을 편집할 수 있다.In addition, the rotation uses the upper drag bar to fine-tune parts of figures, photos and pictures from -44° to 44° in 1° increments, clockwise 90° rotation, counterclockwise 90° rotation, vertical symmetry and selecting left-right symmetry to rotate the template to edit the template.

또한, 상기 그리기는, (0,0,0) ~ (256,256,256) 사이의 RGB 색상코드값을 선택하고 브러쉬 타입을 원형, 스프레이형식, 원형스프레이형식, 모자이크형식, 가로채색형식, 세로채색형식, 격자무늬채색형식 중 적어도 하나를 선택하고, 1 ~ 5단계로 나누어진 브러쉬 크기를 선택한 후 상기 템플릿에 그리기를 수행하여 상기 템플릿을 편집할 수 있다.In addition, the drawing is performed by selecting an RGB color code value between (0,0,0) and (256,256,256) and selecting the brush type as circular, spraying, circular spraying, mosaic, horizontal coloring, vertical coloring, grid. The template can be edited by selecting at least one of the pattern coloring formats, selecting a brush size divided into steps 1 to 5, and then drawing on the template.

또한, 상기 텍스트는, 상기 그리기와 마찬가지로 RGB 색상코드값를 이용하여 텍스트 색상을 선택하고, 글꼴과 텍스트 크기를 설정하여 상기 템플릿에 텍스트를 추가하여 상기 템플릿을 편집할 수 있다. 여기서, 상기 글꼴은 디스플레이(Display) 360종, 손글씨(Hand Writing) 180종, 고정너비(Mono Space) 30종, 산세리프체(Sans Serif) 510종 및 세리프체(Serif) 270종을 제공할 수 있다.Also, as with the drawing, the template can be edited by selecting a text color using an RGB color code value, setting a font and text size, and adding text to the template. Here, the font may provide 360 types of Display, 180 types of Hand Writing, 30 types of fixed width (Mono Space), 510 types of Sans Serif and 270 types of Serif.

또한, 상기 도형은, 기본 제공되는 원, 정사각형, 삼각형, 타원, 화살표 1, 화살표 2, 화살표 3, 선, 별, 다각형 및 뱃지를 추가하여 상기 템플릿을 편집할 수 있다. 이때, 상기 도형은 상기 템플릿추출부(120)에서 추출한 사진, 그림 및 도형을 추가하여 상기 템플릿의 편집에 사용할 수 있다.In addition, the template can be edited by adding a circle, a square, a triangle, an ellipse, an arrow 1, an arrow 2, an arrow 3, a line, a star, a polygon, and a badge provided by default to the figure. In this case, the figure can be used for editing the template by adding photos, pictures, and figures extracted by the template extraction unit 120 .

또한, 상기 스티커는, 이모티콘형식, 낙서형식, 랜드마크 형식, 별 형식, 구름 형식, 말풍선 형식, 교통 형식, 해변 형식으로 나누어 각기 주제에 맞는 스티커를 상기 템플릿에 추가하여 편집을 수행할 수 있다.In addition, the sticker can be divided into emoticon type, graffiti type, landmark type, star type, cloud type, speech bubble type, traffic type, and beach type, and edit can be performed by adding stickers suitable for each theme to the template.

또한, 상기 프레임은, 상기 템플릿의 외곽에 마련되어 기본액자, 소나무 액자, 오크 액자, 무지개, 그런지 1, 그런지 2, 흑단, 아트 1 및 아트 2로 제공되며, 상기 사용자가 선택하여 상기 템플릿의 외곽에 추가할 수 있다.In addition, the frame is provided on the outside of the template and provided as a basic picture frame, a pine picture frame, an oak picture frame, a rainbow, a grunge 1, a grunge 2, an ebony, an art 1 and an art 2, can be added

또한, 상기 모서리는, 상기 템플릿이 직사각형의 형태로 각져있는 경우 4개의 꼭지점을 기준으로 동일하게 모깍기를 수행하되, 마우스를 이용한 드래그바를 통해 모깎기의 반지름을 조정하여 상기 템플릿을 편집할 수 있다.In addition, the corners, if the template is angled in the form of a rectangle, filleting is performed in the same way based on the four vertices, but the template can be edited by adjusting the radius of the fillet through a drag bar using a mouse. .

또한, 상기 배경색은, 상기 템플릿 내용을 포함하지 않는 외곽의 배경색을 RGB 색상코드를 이용하여 선택한 색상으로 배경색을 채색하여 상기 템플릿을 편집할 수 있다.Also, as for the background color, the template may be edited by coloring the background color of the outer side that does not include the template content with a color selected using an RGB color code.

또한, 상기 합치기는, 상기 템플릿편집부(140)에서 편집하여 적용한 모든 요소가 합쳐진 템플릿을 하나의 고유한 템플릿으로 저장할 수 있다.Also, in the merge, a template in which all elements edited and applied by the template editing unit 140 are combined may be stored as one unique template.

한편, 상기 템플릿 제공 시스템은, 원본자료, 도형, 그림, 텍스트, 레이아웃 및 상기 언급된 모든 템플릿 구성 요소를 점자 또는 음성을 통해 시각장애인에게 이미지 데이터의 형상과 크기를 전달할 수 있다.On the other hand, the template providing system, the original data, figures, pictures, texts, layouts, and all the above-mentioned template components can deliver the shape and size of image data to the visually impaired through Braille or voice.

여기서, 상기 템플릿 제공 시스템은 점자 키패드를 통해 템플릿 정보를 송수신하는 점자 수신부 및 점자 송신부를 마련하여 시각장애인에게 템플릿 데이터를 신호를 송수신할 수 있다.Here, the template providing system may provide a Braille receiver and a Braille transmitter for transmitting and receiving template information through a Braille keypad to transmit/receive template data to/from the visually impaired.

또한, 상기 점자 키패드 간 거리를 통해 선 두께 등 치수와 관련된 정보를 제공하고, 점자 키패드 간 거리보다 작은 범위의 치수는 점자 키패드의 키 눌림깊이로 상기 치수를 표현하여 상기 시각장애인에게 치수 정보를 제공할 수 있다.In addition, information related to dimensions such as line thickness is provided through the distance between the braille keypads, and dimension information in a range smaller than the distance between the braille keypads is expressed as the depth of the key press of the braille keypad to provide dimension information to the visually impaired. can do.

여기서, 상기 점자 키패드는 6개의 원기둥의 형상으로 가로 2개, 세로 3개의배열을 하나의 점자 키패드로 마련되어 상기 점자 키패드는 가로 8개, 세로 5개의 점자 키패드로 구성될 수 있다.Here, the braille keypad has a shape of six cylinders, and two horizontal and three vertical arrays are provided as one braille keypad, and the braille keypad may be composed of eight horizontal and five vertical braille keypads.

일례로, 상기 점자 키패드 내 원기둥형상의 버튼간 거리가 하나의 키패드간 4mm, 점자 키패드간 가장 인접한 버튼간 거리가 7mm이고, 상기 하나의 원기둥형상 버튼이 입력될 시 키 눌림깊이는 0~3mm인 경우, 상기 3mm이하의 길이는 상기 원기둥형상 버튼의 키 눌림깊이를 제어하여 시각장애인에게 길이를 표현할 수 있다. 또한, 3mm를 초과하는 길이에 대하여 상기 점자 키패드 내 버튼간 거리를 조합하여 표현할 수 있다. 여기서, 상기 길이를 표현하는 대상은 상기 템플릿의 선 두께, 도형의 형상, 문자기호 등이 될 수 있다. For example, the distance between the cylindrical buttons in the braille keypad is 4 mm between one keypad, the distance between the closest buttons between the braille keypads is 7 mm, and the key pressing depth is 0 to 3 mm when the one cylindrical button is input. In this case, the length of 3 mm or less can express the length to the visually impaired by controlling the depth of the key press of the cylindrical button. In addition, for a length exceeding 3 mm, it can be expressed by combining the distance between buttons in the braille keypad. Here, the object for expressing the length may be a line thickness of the template, a shape of a figure, a character symbol, or the like.

한편, 상기 음성제공기능은, 텍스트의 발음, 띄어쓰기, 문장부호, 특수기호의 음성을 제공하고, AI를 이용한 도형, 그림, 사진 및 선의 형태를 음성으로 출력하여 상기 시각장애인에게 제공할 수 있다.On the other hand, the voice providing function can provide the voice of pronunciation, spacing, punctuation marks, and special symbols of text, and output the shapes of figures, pictures, photos and lines using AI as voices to provide them to the visually impaired.

상기와 같은 과정을 통해, 상기 시각장애인 대상 이미지 데이터는 제공 시스템은 원본자료로부터 사진, 이미지, 레이아웃, 표, 텍스트 등을 추출하여 사용자의 의도에 따라 템플릿으로 편집하되, 원본자료 내 배경 이미지와 혼재된 텍스트의 구성을 변경하는 경우, 텍스트처리부를 통해 배경 이미지의 단색 여부에 따라 픽셀별 RGB 색상코드를 적용하여 문자공백영역(310)을 자연스럽게 채워넣고, 템플릿편집부를 이용하여 템플릿 요소마다 편집을 수행하여 저장하며, 시각장애인을 위한 음성 및 점자 키패드를 통한 템플릿의 정보를 제공하여 템플릿의 생성과 편집의 편의성을 증대시킬 수 있다.Through the above process, the image data for the visually impaired is provided by the system extracting photos, images, layouts, tables, texts, etc. from the original data and editing them as templates according to the user's intention, but mixed with the background image in the original data When changing the composition of the text, the text processing unit applies the RGB color code for each pixel depending on whether the background image is a single color to naturally fill the character blank area 310, and edits each template element using the template editing unit. It is possible to increase the convenience of template creation and editing by providing template information through voice and braille keypads for the visually impaired.

본 발명의 일실시례에 따르면, 원본 문서 양식 자료에서 사진, 이미지, 레이아웃, 표, 텍스트 등을 추출함으로써, 동일하거나 유사한 형태의 템플릿을 용이하게 구성하는 시스템을 제공할 수 있다.According to an embodiment of the present invention, it is possible to provide a system for easily composing a template of the same or similar form by extracting a photo, an image, a layout, a table, text, etc. from an original document form material.

또한, 추출되거나 수집된 템플릿을 사용자 정보에 기초하여 추천함으로써, 사용자가 주로 사용하는 템플릿의 기호와 용도에 따라 빠르게 생성할 수 있다.In addition, by recommending the extracted or collected templates based on user information, it is possible to quickly generate the templates according to the preferences and uses of the templates mainly used by the user.

또한, 템플릿 또는 원본자료 내 배경 이미지 상에 마련된 텍스트를 배경 이미지의 색상의 반영하여 편집함으로써, 텍스트의 삭제, 편집 및 입력을 자연스럽고 사용자가 편리하게 편집할 수 있다.In addition, by editing the text provided on the background image in the template or original material by reflecting the color of the background image, deletion, editing, and input of text can be naturally and conveniently edited by the user.

또한, 템플릿을 추출하거나 편집하면서 템플릿의 구성에 포함된 구성요소들을 음성 또는 점자로 출력하여 표시함으로써, 시각장애인들도 템플릿을 추출하고 편집하는 시스템을 제공할 수 있다.In addition, by outputting and displaying the components included in the configuration of the template in voice or Braille while extracting or editing the template, it is possible to provide a system for extracting and editing the template even for the visually impaired.

이상과 같이 본 발명의 일실시례는 비록 한정된 실시례와 도면에 의해 설명되었으나, 본 발명의 일실시례는 상기 설명된 실시례에 한정되는 것은 아니며, 이는 본 발명이 속하는 분야에서 통상의 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다. 따라서 본 발명의 일실시례는 아래에 기재된 특허청구범위에 의해서만 파악되어야 하고, 이의 균등 또는 등가적 변형 모두는 본 발명 사상의 범주에 속한다고 할 것이다.As described above, although one embodiment of the present invention has been described with reference to the limited examples and drawings, one embodiment of the present invention is not limited to the above-described embodiment, which is common knowledge in the field to which the present invention pertains. Various modifications and variations are possible from such a base material. Therefore, one embodiment of the present invention should be understood only by the claims described below, and all equivalents or equivalent modifications thereof will fall within the scope of the spirit of the present invention.

100 : 이미지 데이터 추출 기반의 템플릿 제공 시스템
110 : 원본자료 수신부
120 : 템플릿추출부
121 : 외곽선추출부
122 : 텍스트처리부
123 : 이미지 추출부
130 : 템플릿추천부
140 : 템플릿편집부
310 : 문자공백영역
710 : 기준 꼭지점
721 : 기준 꼭지점과 인접한 제1 문자공백영역의 픽셀
722 : 기준 꼭지점과 인접한 제2 문자공백영역의 픽셀
731 : 제3-1 문자공백영역의 픽셀
732 : 제3-2 문자공백영역의 픽셀
733 : 제3-3 문자공백영역의 픽셀
741 : 배경 이미지가 포함된 제1 픽셀
742 : 배경 이미지가 포함된 제2 픽셀
100: Template providing system based on image data extraction
110: original data receiving unit
120: template extraction unit
121: outline extraction unit
122: text processing unit
123: image extraction unit
130: template recommendation unit
140: template editing unit
310: character space
710: reference vertex
721: pixel of the first character blank area adjacent to the reference vertex
722: pixel of the second character blank area adjacent to the reference vertex
731: pixel of 3-1 character blank area
732: pixel of 3-2 character blank area
733: pixel of 3-3 character blank area
741: the first pixel containing the background image
742: second pixel containing the background image

Claims (7)

사진, 이미지, 레이아웃, 표, 텍스트 중 적어도 하나를 포함하는 원본 문서 양식 자료를 수신하는 원본자료 수신부;
상기 수신된 원본자료로부터 템플릿을 추출하는 템플릿추출부;
상기 추출된 템플릿을 사용자 정보에 기초하여 추천하는 템플릿추천부; 및
도형, 색상, 구도, 회전, 크기 및 비율 중 적어도 하나를 편집하도록 제어하는 템플릿편집부;
를 포함하고,
상기 템플릿추출부는,
상기 원본자료에서 레이아웃 및 표의 외곽선을 추출하는 외곽선추출부;
상기 원본자료 내에 포함된 텍스트를 삭제처리하되, 상기 텍스트가 배경 이미지 상의 텍스트인지 또는 배경 이미지가 없는 텍스트인지를 구분하여 배경 이미지 상의 텍스트인 경우, 텍스트를 잘라내고 상기 잘라낸 공간에 배경 이미지에 부합하는 색상을 채우며,
배경 이미지가 없는 텍스트인 경우, 텍스트를 잘라내는 텍스트처리부; 및
상기 원본자료에서 도형, 사진 및 그림을 포함하는 이미지를 추출하는 이미지 추출부;
를 포함하며,
상기 배경 이미지에 부합하는 색상은,
텍스트가 포함된 영역을 다수의 단위블록으로 분할하고, 상기 분할된 단위블록 중 텍스트가 포함된 블록 내의 색상이 단색인 경우, 상기 단색을 상기 배경 이미지에 부합하는 색상으로 결정하고,
텍스트가 포함된 블록 내 폐영역이 존재하고, 상기 폐영역 내부에 텍스트가 지나는지 판단한 후, 폐영역 내부에 포함되는 텍스트 삭제 공간은 폐영역 내부의 색상으로 결정되는 것을 특징으로 하는 이미지 데이터 추출 기반의 템플릿 제공 시스템.
an original data receiving unit for receiving original document form data including at least one of a photo, an image, a layout, a table, and a text;
a template extraction unit for extracting a template from the received original data;
a template recommendation unit for recommending the extracted template based on user information; and
a template editing unit that controls to edit at least one of a figure, a color, a composition, a rotation, a size, and a ratio;
including,
The template extraction unit,
an outline extraction unit for extracting outlines of layouts and tables from the original data;
Deleting the text included in the original material, but distinguishing whether the text is text on a background image or text without a background image, cuts the text and matches the background image in the cut space if it is text on the background image fill color,
In case of text without a background image, a text processing unit for cutting the text; and
an image extraction unit for extracting an image including a figure, a photograph, and a drawing from the original data;
includes,
The color matching the background image is,
dividing an area including text into a plurality of unit blocks, and when a color in a block including text among the divided unit blocks is a single color, determining the solid color as a color matching the background image;
Image data extraction base, characterized in that after determining whether a closed area exists in a block containing text and text passes inside the closed area, the text deletion space included in the closed area is determined by the color inside the closed area of the template providing system.
삭제delete 삭제delete 제1항에 있어서,
상기 텍스트처리부는,
텍스트가 포함된 영역을 다수의 단위블록으로 분할하고, 상기 분할된 단위블록 중에 포함된 문자공백영역이 사각형상인 경우, 상기 사각형상의 꼭지점 중 상기 단위블록의 경계와 접하지 않는 꼭지점을 기준 꼭지점으로 설정하여 상기 기준 꼭지점을 중심으로 상기 배경 이미지에 부합하는 색상을 채우는 것을 특징으로 하는 이미지 데이터 추출 기반의 템플릿 제공 시스템.
According to claim 1,
The text processing unit,
A text area is divided into a plurality of unit blocks, and when a character blank area included in the divided unit blocks is in the shape of a rectangle, a vertex of the rectangle that does not come into contact with the boundary of the unit block is set as a reference vertex to fill a color matching the background image with the reference vertex as the center.
제4항에 있어서,
상기 텍스트처리부는,
상기 기준 꼭지점과 인접한 4개의 픽셀 중 배경 이미지가 포함된 2개의 픽셀 RGB 색상코드값을 수집하고,
상기 수집된 RGB 색상코드값의 평균값을 상기 기준 꼭지점의 RGB 색상코드값으로 입력하며,
상기 RGB 색상코드값이 채워진 기준 꼭지점과 가장 인접한 문자공백영역의 픽셀을 색상산출필요픽셀으로 결정하고, 상기 결정된 색상산출필요픽셀과 인접한 4개의 픽셀 중 2개 이상의 픽셀에서 RGB 색상코드값이 존재하는 경우, 상기 RGB 색상코드값이 존재하는 픽셀의 평균 RGB 색상코드값을 산출한 후,
상기 색상산출필요픽셀은 상기 문자공백영역의 픽셀 중 RGB 색상코드값이 산출된 픽셀과 가장 인접한 픽셀으로 재결정되고 상기 평균 RGB 색상코드값을 산출하는 과정을 상기 문자공백영역의 픽셀에 대한 RGB 색상코드값이 모두 산출될 때까지 반복하는 것을 특징으로 하는 이미지 데이터 추출 기반의 템플릿 제공 시스템.
5. The method of claim 4,
The text processing unit,
Collecting RGB color code values of two pixels including a background image among the four pixels adjacent to the reference vertex,
inputting the average value of the collected RGB color code values as the RGB color code values of the reference vertices;
A pixel in a character blank area closest to the reference vertex filled with the RGB color code value is determined as a color calculation required pixel, and an RGB color code value exists in two or more of the four pixels adjacent to the determined color calculation required pixel. In this case, after calculating the average RGB color code value of the pixels in which the RGB color code value exists,
The color calculation required pixel is recrystallized to be the pixel closest to the pixel from which the RGB color code value is calculated among the pixels in the character blank area, and the process of calculating the average RGB color code value is the RGB color code for the pixel in the character blank area. A template providing system based on image data extraction, characterized in that it is repeated until all values are calculated.
제1항에 있어서,
상기 외곽선추출부는,
문서 내 경계를 표시한 선 및 레이아웃 객체의 경계선을 추출하는 경계선 추출부; 및
표 또는 그림의 테두리를 추출하는 테두리추출부;
를 포함하는 것을 특징으로 하는 이미지 데이터 추출 기반의 템플릿 제공 시스템.
According to claim 1,
The outline extraction unit,
a boundary line extracting unit for extracting a boundary line of a line indicating a boundary within a document and a boundary line of a layout object; and
a border extracting unit for extracting the border of a table or figure;
An image data extraction-based template providing system comprising a.
제1항에 있어서,
상기 템플릿편집부는,
필터, 크기조정, 자르기, 회전, 그리기, 텍스트, 도형, 스티커, 프레임, 모서리, 배경색 및 합치기 기능을 제공하는 것을 특징으로 하는 이미지 데이터 추출 기반의 템플릿 제공 시스템.
According to claim 1,
The template editing unit,
A template providing system based on image data extraction, characterized in that it provides filter, resizing, cropping, rotation, drawing, text, shape, sticker, frame, corner, background color and merging functions.
KR1020210170493A 2021-12-02 2021-12-02 Template providing system based on image data extraction KR102435844B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020210170493A KR102435844B1 (en) 2021-12-02 2021-12-02 Template providing system based on image data extraction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210170493A KR102435844B1 (en) 2021-12-02 2021-12-02 Template providing system based on image data extraction

Publications (1)

Publication Number Publication Date
KR102435844B1 true KR102435844B1 (en) 2022-08-24

Family

ID=83111833

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210170493A KR102435844B1 (en) 2021-12-02 2021-12-02 Template providing system based on image data extraction

Country Status (1)

Country Link
KR (1) KR102435844B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102572130B1 (en) * 2022-09-30 2023-08-28 에스케이 주식회사 Method and system for extracting document form from document image
KR102581936B1 (en) * 2022-09-30 2023-09-21 에스케이 주식회사 Method and system for creating web document by applying drag-and-drop input type
KR102614043B1 (en) * 2022-09-30 2023-12-13 에스케이 주식회사 Web document matching workflow management method and system for customized business process

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3712966B2 (en) * 2001-08-31 2005-11-02 株式会社ジャストシステム Presentation material generating apparatus, presentation material generating method, and presentation material generating program
KR102002974B1 (en) * 2018-01-31 2019-07-23 (주)브랜뉴테크 Automatic logo creating system on basis of artificial intelligence and method for logo creating service using the same
KR102119730B1 (en) 2018-09-07 2020-06-05 주식회사 한글과컴퓨터 Electronic device for extracting template applicable to electronic document from image and operating method thereof
US20200184960A1 (en) * 2018-12-10 2020-06-11 International Business Machines Corporation Rnnlm-based generation of templates for class-based text generation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3712966B2 (en) * 2001-08-31 2005-11-02 株式会社ジャストシステム Presentation material generating apparatus, presentation material generating method, and presentation material generating program
KR102002974B1 (en) * 2018-01-31 2019-07-23 (주)브랜뉴테크 Automatic logo creating system on basis of artificial intelligence and method for logo creating service using the same
KR102119730B1 (en) 2018-09-07 2020-06-05 주식회사 한글과컴퓨터 Electronic device for extracting template applicable to electronic document from image and operating method thereof
US20200184960A1 (en) * 2018-12-10 2020-06-11 International Business Machines Corporation Rnnlm-based generation of templates for class-based text generation

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
DALL·E: Creating Images form Text, OpenAI, https://openai.com/blog/dall-e/ (2021.01.05.) 1부. *
https://crazymind.net C#에서 PPT 슬라이드 파일 생성하기 (2013.4.23) *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102572130B1 (en) * 2022-09-30 2023-08-28 에스케이 주식회사 Method and system for extracting document form from document image
KR102581936B1 (en) * 2022-09-30 2023-09-21 에스케이 주식회사 Method and system for creating web document by applying drag-and-drop input type
KR102614043B1 (en) * 2022-09-30 2023-12-13 에스케이 주식회사 Web document matching workflow management method and system for customized business process

Similar Documents

Publication Publication Date Title
KR102435844B1 (en) Template providing system based on image data extraction
CA2634494C (en) Methods and files for delivering imagery with embedded data
US5960099A (en) System and method for creating a digitized likeness of persons
Reichinger et al. High-quality tactile paintings
US6731302B1 (en) Method and apparatus for creating facial images
Pettersson Image design
US6005972A (en) Method for adding personalized text and/or graphics to composite digital image products
US8952989B2 (en) Viewer unit, server unit, display control method, digital comic editing method and non-transitory computer-readable medium
US9491318B2 (en) Automatically generated visual annotated graphic legend
TW201531919A (en) Adding, deleting digital notes from a group of digital notes
Galer Photography Foundations for Art and Design: The creative photography handbook
CN110248207B (en) Image reality display server, image reality display method, recording medium and image reality display system
KR20200006384A (en) Method for Printing Braille of Image for Visually Handicapped Person
JP2009205474A (en) Design system, and device, program, recording medium, and method used for design system
US20200311998A1 (en) Image processing method, program, and image processing system
US20130104014A1 (en) Viewer unit, server unit, display control method, digital comic editing method and non-transitory computer-readable medium
JP5553423B1 (en) Calendar, its creation method, and calendar creation system
JP2001292300A (en) Image processing method
JPH0584549B2 (en)
JP3076428B2 (en) 3D shape modeling method
JPH0916714A (en) Multicolor character image reader
US20050270291A1 (en) Method and system for creating, modifying, and storing photographic fonts
Naqvi et al. Digital Imaging
CN115908110A (en) Portrait logo generation method, portrait logo generation device, terminal and storage medium
CN113066008A (en) Jigsaw generating method and equipment

Legal Events

Date Code Title Description
GRNT Written decision to grant