Table generation method and system
The table generation method and system accurately reproduce table structures and relationships from images, addressing the limitations of existing technologies by enabling user-driven extraction and conversion of paper documents into digital data.
Patent Information
- Application Number
- JP2022023364
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-02-22
- Filing Date
- 2022-02-18
- Publication Date
- 2024-08-14
- Estimated Expiration
- 2042-02-18
AI Technical Summary
Existing applications struggle to accurately reproduce the structure and relationships of tables contained in images, failing to effectively convert paper documents into digital data.
A table generation method and system that includes outputting an image to a task area, selecting functional icons, and using guide information to generate a table with a structure corresponding to the image, allowing for the extraction of table components and relationships between data based on user input.
The system enables the extraction of table components and relationships, reproducing tables with identical data and relational characteristics, facilitating organic data analysis.
Smart Images

Figure 0007534016000006 
Figure 0007534016000012 
Figure 0007534016000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a method and system for generating tables using a table generating application. [Background technology]
[0002] The dictionary definition of artificial intelligence is a technology that realizes human learning abilities, reasoning abilities, perception abilities, natural language understanding abilities, etc. through computer programs. This type of artificial intelligence has made great strides through deep learning, which adds neural networks that mimic the human brain to machine learning.
[0003] Deep learning is a technology that enables computers to make judgments and learn like humans, thereby clustering or classifying things or data. In recent years, it has become possible to analyze not only text data but also image data, and it is being actively used in a wide variety of industrial fields.
[0004] With the development of such artificial intelligence, various automations are also being made in the field of office automation. In particular, in the field of office automation, a lot of effort is being made to digitize the contents printed on paper based on image data analysis technology using artificial intelligence. As part of this, in the field of office automation, the contents contained in the document are digitized by image analysis technology (or image data analysis technology) that images the paper document and analyzes the contents contained in the image, and in this case, technology that analyzes the image based on the characteristics of the contents contained in the document is required.
[0005] For example, when digitizing a document that contains a table, a precise analysis of various elements related to the table is required, such as the format of the table, the content of the text contained in the table, and the position of the text contained in the table.
[0006] Therefore, various applications that analyze data contained in images have been developed to reproduce tables contained in images. For example, the "ROSSUM (https: / / rossum.ai / )" application provides a function to extract and label text data of tables contained in images.
[0007] However, the applications developed so far are only capable of extracting the table structure and text data contained in an image, so there is a continuing demand for the development of applications that can accurately reproduce the table structure and relationships between the text data contained in an image. Summary of the Invention [Problem to be solved by the invention]
[0008] The present invention provides a method and system for generating a table that can generate a table having the same structure as a table contained in an image.
[0009] The present invention also provides a user environment that allows a user to more easily and intuitively generate a table having the same structure as a table contained in an image, taking into account non-visual characteristics that do not appear in the image.
[0010] Furthermore, the present invention is intended to provide a table generation method and system that can provide relationships between data contained in a table. [Means for solving the problem]
[0011] In order to solve the above problems, a table generation method of a table generation application according to the present invention may include the steps of: outputting an image including a table in a task area provided by the application; accepting selection of one of a plurality of functional icons included in one area of the task area; after one of the functional icons is selected, outputting guide information corresponding to a table component matched to the functional icon based on an input in a preset manner added to the image; and generating a table having a structure corresponding to the table included in the image using the guide information.
[0012] In addition, a control unit of the system for generating a table in a task area output to a display unit of an electronic device according to the present invention may output an image including a table in the task area, accept selection of one of a plurality of functional icons included in one area of the task area from a user, and after the one functional icon is selected, output guide information corresponding to table components matched to the functional icon based on input in a preset manner added to the image, and generate a table having a structure corresponding to the table included in the image using the guide information.
[0013] Furthermore, a computer program which is implemented by one or more processes in an electronic device according to the present invention and can be stored in a computer-readable recording medium may include commands to execute the steps of: outputting an image including a table in a task area provided by the application; accepting selection of any one of a plurality of functional icons included in one area of the task area; after any one of the functional icons is selected, outputting guide information corresponding to a table component matched to the functional icon based on an input in a preset manner added to the image; and generating a table having a structure corresponding to the table included in the image using the guide information. Effect of the Invention
[0014] As described above, the table generating method and system according to the present invention can provide a user environment in which elements of a table included in an image can be extracted based on user input. Thus, the table generating method and system according to the present invention can extract not only text data included in a table but also elements constituting the structure of the table, thereby generating a table having the same structure and data as the table included in the image.
[0015] In addition, the table generation method and system according to the present invention can provide a user environment in which the data contained in each cell can be organically analyzed by identifying cells defined by the components of a table contained in an image and assigning relationships between the cells based on user input.
[0016] Therefore, the table generation method using the table generation application of the present invention provides a function for extracting the components of a table contained in an image and a function for assigning relationships between the data contained in the table, thereby reproducing not only the visual characteristics of the table contained in the image but also the relational characteristics between the data. [Brief description of the drawings]
[0017] [Figure 1] FIG. 1 is a conceptual diagram for explaining a table generating system according to the present invention. [Diagram 2] FIG. 2 is a conceptual diagram for explaining components of a table. [Figure 3A] FIG. 2 is a conceptual diagram for explaining a table generation application according to the present invention. [Figure 3B] FIG. 2 is a conceptual diagram for explaining a table generation application according to the present invention. [Figure 4] 4 is a flowchart illustrating a table generating method according to the present invention. [Diagram 5] FIG. 13 is a conceptual diagram for explaining a method for generating a table in a user environment provided by the application. [Figure 6] FIG. 13 is a conceptual diagram for explaining a method for generating a table in a user environment provided by the application. [Figure 7] FIG. 13 is a conceptual diagram for explaining a method for generating a table in a user environment provided by the application. [Figure 8] FIG. 13 is a conceptual diagram for explaining a method for generating a table in a user environment provided by the application. [Figure 9] FIG. 13 is a conceptual diagram for explaining a method for generating a table in a user environment provided by the application. [Figure 10] FIG. 13 is a conceptual diagram for explaining a method for generating a table in a user environment provided by the application. [Figure 11] FIG. 13 is a conceptual diagram for explaining a method for generating a table in a user environment provided by the application. [Figure 12] FIG. 13 is a conceptual diagram for explaining a method for generating a table in a user environment provided by the application. [Figure 13] FIG. 13 is a conceptual diagram for explaining a method for generating a table in a user environment provided by the application. [Figure 14] FIG. 13 is a conceptual diagram for explaining a method for generating a table in a user environment provided by the application. [Figure 15] FIG. 13 is a conceptual diagram for explaining a method for generating a table in a user environment provided by the application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0018] Hereinafter, the embodiments of the present invention will be described in detail with reference to the accompanying drawings. Regardless of the drawing number, the same or similar components are given the same reference numerals, and the duplicated description thereof will be omitted. The suffixes "module" and "part" of components used in the following description are given or mixed to facilitate the preparation of the specification, and do not have any significance or usefulness in themselves. In addition, when describing the embodiments of the present invention, if a detailed description of related publicly known technologies is determined to make the gist of the embodiments of the present invention unclear, the detailed description will be omitted. Furthermore, the accompanying drawings are merely intended to aid in the understanding of the embodiments of the present invention, and the technical idea of the present invention is not limited by the accompanying drawings, and it should be understood that the accompanying drawings include all modifications, equivalents, and alternatives included in the idea and technical scope of the present invention.
[0019] Terms including ordinal numbers such as "first", "second", etc. are used to describe various components, but the components are not limited to the terms. The terms are used only to distinguish one component from another.
[0020] When a component is said to be "coupled" or "connected" to another component, it should be understood that the component may be directly coupled or connected to the other component, and that there may be additional components in between. In contrast, when a component is said to be "directly coupled" or "directly connected" to another component, it should be understood that there are no additional components in between.
[0021] Singular expressions include plural expressions unless otherwise specified.
[0022] As used herein, terms such as "comprise" and "have" are intended to specify the presence of features, numbers, steps, operations, components, parts, or combinations thereof described herein, but should not be understood to preclude the presence or possible addition of one or more other features, numbers, steps, operations, components, parts, or combinations thereof.
[0023] As mentioned above, with the development of artificial intelligence, various forms of office automation are being carried out, and for the sake of business efficiency, there is an increasing need to digitize (convert into data) tables contained in paper documents while keeping them in the table format contained in the paper documents.
[0024] For example, documents such as various types of receipts contain tables, and insurance companies, hospitals, and other organizations need to process the tables contained in large volumes of paper documents as digitized data and convert them into computers.
[0025] Therefore, the present invention provides a table generation application capable of generating a table having the same structure as a table contained in an image, and in particular, a table generation method using the table generation application and a table generation system constituting the table generation application.
[0026] The table generation method and system according to the present invention using a table generation application provides the functionality of extracting the components of a table contained in an image and of assigning relationships between the data contained in the table, thereby making it possible to reproduce not only the visual characteristics of a table contained in an image, but also the relational characteristics between the data.
[0027] Hereinafter, a method and system for generating a table having the same structure as a table included in a paper document using a table generation application will be specifically described with reference to the accompanying drawings.
[0028] Fig. 1 is a conceptual diagram for explaining a table generating system according to the present invention, and Fig. 2 is a conceptual diagram for explaining components of a table. Also, Figs. 3A and 3B are conceptual diagrams for explaining a table generating application according to the present invention, and Fig. 4 is a flow chart for explaining a table generating method according to the present invention. Furthermore, Figs. 5 to 15 are conceptual diagrams for explaining a method of generating a table in a user environment provided by the application.
[0029] The table generation application according to the present invention can provide a user environment that allows the generation of tables having the same or corresponding structure as the tables 1100, 1200 contained in the image 1000 shown in FIG.
[0030] That is, the table generating system 100 according to the present invention can be realized in the form of an application or software. According to the software realization of the table generating system 100 according to the present invention, the embodiments such as the procedures and functions described in this specification can be realized in separate software modules. Each of the software modules can perform one or more functions and operations described in this specification.
[0031] Such a table generating application is realized by a table generating system 100 shown in Fig. 1. The configuration of the table generating system 100 will be described in more detail below.
[0032] The table generation system 100 according to the present invention can recognize table components (or constituent elements) that make up the tables 1100 and 1200 from the image 1000, and generate tables identical to the tables 1100 and 1200 contained in the image 1000 based on the recognized components.
[0033] Such a table generating system 100 can generate tables having the same or corresponding components as the tables 1100 , 1200 included in the image 1000 , regardless of the number of tables 1100 , 1200 included in the image 1000 .
[0034] Here, image 1000 may be an image obtained by scanning a paper document, or an image obtained by a variety of other methods.
[0035] The table generated by table generation system 100 according to the present invention can be called by various names, such as a reproduced table or a restored table.
[0036] In the present invention, a "table" is also referred to as a table, and means something that shows certain contents in a predetermined format or procedure. Referring to FIG. 2, components of a table will be described. A table 200 may include at least one cell (or space, area) 210. That is, the table 200 includes at least one cell 210, and is configured to include information in the cell 210.
[0037] Here, the cell 210 means a space partitioned by the components of the table 200. The components of the table 200 include at least one of a frame element 201, a row element 202, and a column element 203.
[0038] The outer frame element 201 is an element that determines the size and shape of the table 200, and does not necessarily need to be visually indicated.
[0039] Row element 202 is a horizontal line (or a horizontal line segment, a horizontal line) included in outer frame element 201, and one or more horizontal lines may be provided in table 200 depending on the configuration of table 200. Row element 202 may include at least a part of outer frame element 201 (a frame corresponding to the horizontal line).
[0040] The column elements 203 are vertical lines (or vertical line segments, vertical lines) included in the outer frame element 201, and one or more vertical lines may be provided in the table 200 depending on the configuration of the table 200. The column elements 203 may include at least a portion of the outer frame element 201 (a frame corresponding to the vertical line).
[0041] The number, size, and position of the cells included in table 200 can be modified in various ways based on the number and arrangement of horizontal and vertical lines, and can also be modified in various ways by combining cells.
[0042] The table 200 and the cells 210 contained in the table 200 have a square shape.
[0043] A cell 210 included in the table 200 may be defined by at least four lines. That is, a cell 210 included in the table 200 may be formed as a rectangle surrounded by four lines (a, b, c, d). In this way, at least four lines are required to form one rectangular cell 210, and the cell may be formed of two horizontal lines (b, d) and two vertical lines (a, c).
[0044] The term "line" is also called a "line segment" or an "edge."
[0045] In this manner, the rectangular cell 210 may be formed by at least partially intersecting the two horizontal lines (b, d) and the two vertical lines (a, c).
[0046] Therefore, the table includes at least four lines, and the number of cells, the size of the cells, the positions of the cells, etc. are defined according to the number of horizontal lines, the number of vertical lines, the spacing between the lines, and the arrangement positions of the lines.
[0047] In addition, the components that make up a table in the present invention may include lines (horizontal lines and vertical lines) that make up the table and corners (or angles, vertices) (e, f, g, h) formed by the intersection of the lines that make up the table.
[0048] All tables have at least four corners, which may be corners included in the outermost border of the table, and the number of corners a table has depends on the number of cells it contains.
[0049] Meanwhile, a table generating system 100 according to the present invention includes at least one of a receiving unit 110, a storage unit 120, an OCR (Optical Character Reader) unit 130, and a control unit 140, as shown in FIG.
[0050] First, the receiving unit 110 is a means for receiving an image 1000 including a table 1100, and may include at least one of a communication unit, a scanning unit, and an input unit, or may be composed of other means for receiving the image 1000.
[0051] The table generating system 100 can analyze and generate tables identical to the tables 1100 and 1200 included in the image 1000 received via the receiving unit 110 , based on the tables 1100 and 1200 included in the image 1000 .
[0052] Next, the storage unit 120 may store various information according to the present invention. The storage unit 120 may be of various types, and at least a part of the storage unit 120 may be an external server 150 (at least one of a cloud server 151 and a database (DB) 152). In other words, the storage unit 120 may be a space in which information related to the present invention is stored, and there is no physical space restriction.
[0053] The storage unit 120 stores at least one of: i) an image 1000 including tables 1100, 1200 and associated data; ii) components (e.g., outlines, lines, corners, etc.) identified for reconstructing tables 1100, 1200 and associated data; and iii) content (e.g., text, images, etc.) data included in tables 1100, 1200.
[0054] Next, the OCR unit 130 is a means for recognizing the content included in the image 1000, and can recognize the content included in the image 1000 using at least one of various content recognition algorithms. The OCR unit 130 can recognize the content using an algorithm based on artificial intelligence. Here, the content may include text (characters).
[0055] The OCR unit 130 may extract text and text position information included in the image. Here, the text position information may include information regarding the position of the text in the image 1000 input via the receiving unit 110 or the position of the text in the table 1100 or 1200.
[0056] Next, the control unit 140 controls the overall operation of the table generating system 100 related to the present invention. The control unit 140 may include a processor (or an artificial intelligence processor) that processes an artificial intelligence algorithm. The control unit 140 can recognize the tables 1100 and 1200 from the image 1000 based on a deep learning algorithm and generate tables having the same cell configuration as the tables 1100 and 1200 included in the image 1000.
[0057] Moreover, as shown in FIGS. 3A and 3B, the control unit 140 provides a task area 300 for generating a table, and the task area 300 is also called a “user environment” or a “user interface” for generating a table.
[0058] Such a task area 300 may be output (or provided) to a display unit of the electronic device. Furthermore, the control unit 140 may generate the table based on a user input received via a user input unit (e.g., a touch screen, a mouse, etc.) provided in or linked to the electronic device.
[0059] In the present invention, there is no particular limitation on the type of electronic device to which the task area 300 is output, as long as the electronic device can start the table generation application according to the present invention. For example, the electronic device includes at least one of a smartphone, a mobile phone, a tablet PC, a computer, a notebook computer, a digital broadcasting terminal, a PDA (Personal Digital Assistant), a PMP (Portable Multimedia Player), a smart mirror, and a smart TV.
[0060] In the present invention, no reference numerals are attached to the electronic device or the display unit and user input unit provided in the electronic device, but it is obvious to those skilled in the art that in the present invention, the task area 300 is output to the display unit of the electronic device, and the user input is received via a user input unit provided in the electronic device or linked to the electronic device.
[0061] Meanwhile, the table generation method and system according to the present invention can generate a table based on a user environment (or user interface) provided by a table generation application. That is, the table generation application can provide a user interface that can generate a table having the same or corresponding structure as tables 1100, 1200 included in image 1000. Such a user interface is also called a "table generation tool."
[0062] The table generation application may provide a task area 300 in which table generation tasks may be performed based on user input provided by a user via an electronic device, as shown in FIGS. 3A and 3B.
[0063] The task area 300 may be divided into a number of areas, and various information for generating the table may be output.
[0064] The areas and information contained in task area 300 disappear or change depending on the user's selections and the current task state.
[0065] First, the task area 300 may include a header area 310. The header area 310 is also called a menu area and includes at least one function icon. The header area 310 may include at least one function icon assigned with a login function for logging in to a user account, and function icons respectively matched to a plurality of table generation task processes (or tasks).
[0066] Here, the multiple table generation task processes (or tasks) may include: i) a task process of identifying components of tables 1100, 1200 contained in image 1000; ii) a process of verifying the identification of components of tables 1100, 1200 contained in image 1000; and iii) a process of identifying relationships between cells contained in tables 1100, 1200 contained in image 1000.
[0067] The header area 310 may include at least one of the following functional icons: i) a functional icon corresponding to a task process of identifying components of the tables 1100, 1200 contained in the image 1000 (the "Table" icon in the header area 310 of FIG. 3A); ii) a functional icon corresponding to a process of verifying the identification of components of the tables 1100, 1200 contained in the image 1000 (the "Table Inspection" icon in the header area 310 of FIG. 3A); and iii) a functional icon corresponding to a process of identifying relationships between cells contained in the tables 1100, 1200 contained in the image 1000 (the "Labeling" icon in the header area 310 of FIG. 3A).
[0068] A user can select any one of the function icons corresponding to different task processes in the header area 310 and execute the task process corresponding to the selected function icon.
[0069] The task area 300 may then include toolbar areas 320, 370 containing functional icons that are assigned functions to identify components of the table or to identify relationships between the data contained in the table.
[0070] The types of function icons included in the toolbar areas 320 and 370 vary depending on which of the above-mentioned multiple table generation task processes the current task process is.
[0071] As an example, as shown in FIG. 3A , if the current task step is a task step of identifying components of tables 1100, 1200 contained in image 1000, toolbar area 320 may include at least one functional icon 321, 322, 323, 324, 325, 326 matched with functions for identifying components of tables 1100, 1200 (e.g., border elements, row elements, column elements, etc.).
[0072] As another example, as shown in FIG. 3B , if the current task process is a task process of identifying relationships between cells contained in tables 1100, 1200 contained in image 1000, toolbar area 370 may include at least one functional icon 371, 372, 373 matched with a function for identifying relationships between cells contained in tables 1100, 1200.
[0073] In the present invention, "identifying the relationship between cells" can be said to be a process of identifying (or grouping) a plurality of cells that contain data related to each other, among a plurality of cells contained in a table.
[0074] Here, among the multiple cells containing mutually related data, at least one may be a category cell and at least one other may be a data cell.
[0075] Here, a category is a classification based on the same or similar properties or meanings, and is also called a category. Data belonging to the same category may be data with the same meaning, the same type, or the same affiliation. In other words, data included in a data cell may be data that falls into a category corresponding to a category cell.
[0076] In this case, the meaning of the text contained in the data cell may be a subconcept of the meaning of the text contained in the category cell.
[0077] A category cell includes a category name or data related to the category name, and a data cell may include data belonging to the category name included in the category cell. Here, the category name may also be called a category name.
[0078] Meanwhile, the functional icons included in the toolbar area 320 may be changed based on which functional icon is selected from among the functional icons corresponding to the task processes in the header area 310 described above.
[0079] For example, when a functional icon corresponding to a task process for identifying components of tables 1100, 1200 included in image 1000 (the “Table” icon in header area 310 of FIG. 3A ) is selected in header area 310, at least one functional icon 321, 322, 323, 324, 325, 326 with matching functions for identifying components of tables 1100, 1200 (e.g., border elements, row elements, column elements, etc.) may be output in toolbar area 320.
[0080] In addition, when a functional icon corresponding to the process of identifying the relationship between cells contained in tables 1100 and 1200 included in image 1000 (the “Labeling” icon in header area 310 in FIG. 3B ) is selected in header area 310, at least one functional icon 371, 372, 373 matching the function of identifying the relationship between cells contained in tables 1100 and 1200 may be output in toolbar area 370.
[0081] Next, the task area 300 may further include a function icon area 330 including at least one function icon for controlling the size, orientation, etc. of the image 1000, as shown in FIGS. 3A and 3B.
[0082] Next, the task area 300 includes an image 1000, as shown in Figures 3A and 3B, and may further include an editor pane 340 in which the results (or work) of the task process are visually presented.
[0083] Next, the task area 300 may further include a property pane 350 in which information about the tables 1100, 1200 identified during the task process or information about content (or text) extracted from the tables 1100, 1200 is output, as shown in Figures 3A and 3B.
[0084] For convenience, the areas included in task area 300 have been described above using names such as header area 310, toolbar areas 320 and 370, editor area 340, and attribute area 350. However, these are merely examples, and it goes without saying that the names of the areas included in task area 300 can be changed in various ways, and may be given general names such as "first area" and "second area."
[0085] A method for generating a table using the table generation application will be described in more detail below with reference to the above-mentioned description of task area 300. First, a method for identifying components of a table will be described with reference to a flowchart.
[0086] In the table generating method according to the present invention, a step of outputting an image 1000 (see FIG. 1) including tables 1100 and 1200 is performed (S410).
[0087] As previously mentioned, the image 1000 containing the tables 1100, 1200 can be received by a variety of routes.
[0088] More specifically, the image 1000 may be output to a task area 300 provided in a table generation application, as shown in FIGS. 3A and 3B.
[0089] In particular, the image 1000 can be output to the editor area 340 of the task area 300. In the following, without making a clear distinction, it will be expressed that the image 1000 is output to (or included in) the task area 300.
[0090] 5, the control unit 140 may rotate the image 1000 based on a user input applied to the image 1000 after a specific functional icon 321 is selected while the image 1000 is output to the task area 300. Here, the specific functional icon 321 may be an icon matching a function of rotating the image 1000. In addition, the user input may be a click input for selecting a region of the image 1000, or a drag input applied while the click input is maintained.
[0091] The control unit 140 may rotate the image 1000 according to the extent of the drag input. In addition, the control unit 140 may appropriately rotate the image 1000 so that the tables 1100 and 1200 are displayed in the forward direction when the drag input is applied.
[0092] In this case, the control unit 140 can recognize the tables 1100 and 1200 included in the image 1000, and rotate the image 1000 so that the rectangles corresponding to the recognized tables are not displayed tilted.
[0093] Such a process of rotating the image 1000 is not essential, but is carried out as necessary.
[0094] Next, in the present invention, when the image 1000 including the tables 1100 and 1200 is output to the task area 300 as described above, a process of accepting the selection of one of a plurality of functional icons included in one area of the task area 300 is performed (S420).
[0095] As shown in FIG. 6, multiple functional icons 321 to 326 are functional icons that are each matched to a function of identifying components (or table components) of tables 1100 and 1200, or combining cells partitioned based on the identified components.
[0096] For example, among the multiple functional icons 321 to 326, the first functional icon 322 may be an icon that is matched with a function that specifies the outer frame elements of the tables 1100 and 1200 included in the image 1000, among the table components.
[0097] Furthermore, among the plurality of functional icons 321 to 326, the second functional icon 323 may be an icon that is matched to a function that identifies row elements of the tables 1100 and 1200 included in the image 1000, among the table components.
[0098] Furthermore, among the plurality of functional icons 321 to 326, the third functional icon 324 may be an icon that matches a function that identifies column elements of the tables 1100 and 1200 included in the image 1000, among the table components.
[0099] Furthermore, among the multiple functional icons 321 to 326, the fourth to sixth functional icons 324, 325, and 326 may be icons matched with a combining function that combines cells partitioned by the identified table components in at least one of the horizontal and vertical directions.
[0100] In the present invention, when any one of the functional icons is selected based on a user input, the control unit 140 can execute a process of identifying an element corresponding to the selected functional icon from tables 1100 and 1200 included in the image 1000.
[0101] As an example, when the first functional icon 322 is selected from among the plurality of functional icons 321 to 326, the control unit 140 may specify the outer frame elements of the tables 1100 and 1200 included in the image 1000 from among the table components.
[0102] As another example, when the second function icon 323 is selected from among the plurality of function icons 321 to 326, the control unit 140 may specify row elements of the tables 1100 and 1200 included in the image 1000 from among the table components.
[0103] As yet another example, when the third function icon 324 is selected from among the plurality of function icons 321 to 326, the control unit 140 may specify the column elements of the tables 1100 and 1200 included in the image 1000 from among the table components.
[0104] Next, in the present invention, when any one of the above-mentioned functional icons is selected, a process of outputting guide information corresponding to a table component matched to the selected functional icon based on a preset input method added to the image 1000 is performed (S430).
[0105] Here, the input in the preset manner may be various and may include at least one of a drag input and a click applied to the image 1000. For example, the input in the preset manner may be a drag input in which a click is held down and then dragged.
[0106] When an input (or user input) in the preset manner is applied to the image 1000 after any one of the functional icons is selected, the control unit 140 can process the applied user input as an input for identifying or recognizing an element corresponding to the selected functional icon.
[0107] At this time, the controller 140 may recognize a component corresponding to the selected functional icon based on an image recognition algorithm.
[0108] Shape information corresponding to each component may be stored in the storage unit 120. The control unit 140 can recognize the component corresponding to the selected functional icon from the tables 1100 and 1200 based on the shape information.
[0109] For example, when a first function icon for identifying a component corresponding to an outer frame element is selected, the control unit 140 may recognize or identify the outer frame element included in the area where the user input is applied in the image 1000. In addition, the control unit 140 may output guide information (e.g., a box image) corresponding to the identified component to indicate that the component corresponding to the outer frame element has been identified.
[0110] Alternatively, the control unit 140 may be configured to output guide information indicating the outer frame element so as to correspond to the area in the image 1000 where the user input was applied when a first function icon identifying a component corresponding to the outer frame element is selected.
[0111] The guide information is visual information and differs depending on each component. For example, when a component corresponds to an outer frame element of a table, the guide information may be a box image. The area where the box image is output may be an area in the image 1000 corresponding to the table area where the tables 1100 and 1200 are arranged.
[0112] As another example, when a component corresponds to a row element, the guide information may be an image of a horizontal line (or a horizontal line segment) extending horizontally.
[0113] As yet another example, when the component corresponds to a column element, the guide information may be an image of a vertical line (or a vertical line segment) extending vertically.
[0114] The method of identifying each of the components and outputting the guide information will be described in more detail below.
[0115] In the present invention, as a result of the process of identifying components (outer frame elements, row elements, column elements), it is possible to render a table having the same table structure as tables 1100, 1200 contained in image 1000. A table having the same structure as tables 1100, 1200 contained in image 1000 is called a "reproduced table." The process of Figures 6 to 8 described below is a process for generating a reproduced table having the same structure as tables 1100, 1200 contained in image 1000, and the table rendered in this process is also called a "reproduced table."
[0116] That is, even before the reconstructed tables having the same structure as the tables 1100 and 1200 included in the image 1000 are completed, all the tables drawn in the above process are called "reconstructed tables".
[0117] First, a method for identifying outer frame elements and outputting guide information will be described with reference to FIG.
[0118] For example, as shown in FIG. 6, when the first functional icon 322 is selected from among the plurality of functional icons 321 to 326, the control unit 140 can identify the outer frame elements of the tables 1100 and 1200 included in the image 1000 from among the table components.
[0119] When the first function icon 322 is selected, the control unit 140 can receive specification of a table area in which the tables 1100 and 1200 included in the image 1000 are to be placed, through inputs 401, 402, 403, and 404 in a preset manner.
[0120] The preset input methods include drag inputs from one area of each table 1100, 1200 to another area.
[0121] The user can select the table area containing the tables 1100 and 1200 in the image 1000 by dragging.
[0122] Based on the drag input, the control unit 140 can identify the table area in the image 1000 that includes the tables 1100 and 1200, and output guide information to the identified table area.
[0123] Such a table area corresponds to the outer frame of the tables 1100 and 1200, and the control unit 140 can output box images 610 and 620 indicating the outer frame of the tables 1100 and 1200 included in the image 1000 as guide information. The box images 610 and 620 may have an appearance in which the interior is made of a blank space and the border is made of a solid or dotted line so that the user can recognize the tables 1100 and 1200 included in the image 1000.
[0124] The control unit 140 can display such guide information by overlapping it with the image 1000. That is, the guide information can be output by overlapping it with the image 1000.
[0125] On the other hand, in the present invention, the control unit 140 can output box images 610, 620 in a size corresponding to the size of the tables 1100, 1200 included in the image 1000, even if the user input for identifying the outer frame elements is not applied in a manner that exactly matches the size of the tables 1100, 1200 included in the image 1000.
[0126] This is because, as described above, the controller 140 can recognize the component corresponding to the selected functional icon based on the image recognition algorithm.
[0127] The storage unit 120 may store shape information corresponding to each component. The control unit 140 can recognize a component (e.g., an outer frame) corresponding to the selected functional icon from the tables 1100 and 1200 based on the shape information. The control unit 140 can recognize or identify an outer frame element included in the area in the image 1000 where the user input is applied, using an image recognition algorithm.
[0128] As shown in the figure, when an image 1000 includes multiple tables 1100, 1200, the control unit 140 can identify the outer frame elements of the first table 1100 based on input in a preset manner into the table area including the first table 1100.
[0129] Similarly, the control unit 140 can identify the outer frame elements of the second table 1200 based on input in a preset manner to the table area in which the second table 1200 is included.
[0130] In this way, in the present invention, even if the image 1000 includes a plurality of tables 1100 and 1200, the components of each of the tables 1100 and 1200 can be identified.
[0131] Meanwhile, when a plurality of outer frame elements are identified in the image 1000, the control unit 140 can determine that the image 1000 includes a plurality of tables 1100, 1200.
[0132] On the other hand, when the outer frame elements of the tables 1100 and 1200 are specified in this way, the control unit 140 can determine that the table to be generated has been recognized.
[0133] In this case, the control unit 140 can output the information of the table reproduced up to now to one area of the task area 300 (for example, the attribute area 350).
[0134] Information may be output in different table units in the attribute area 350. The control unit 140 may recognize each outer frame element as a different table, and may provide attribute information 351 and 352 of the tables corresponding to the recognized outer frame elements to the attribute area 350.
[0135] As shown in the figure, the attribute information 351, 352 includes information on each attribute of the recognized table (or the reproduced table (the table corresponding to the outer frame element)), and the attribute may include information on at least one of the number of rows (Rows), the number of columns (Cols), and the number of merged cells (Merges). Here, the recognized table (or reproduced table) is distinct from the tables 1100, 1200 included in the image 1000, and refers to a table corresponding to the box images 610, 620.
[0136] Meanwhile, the attribute information 351, 352 outputted to the attribute area 350 can be updated by executing a process of identifying the components included in the tables 1100, 1200.
[0137] For example, as described above, if only the table border elements are specified for each of the first and second tables 1100, 1200, the reproduced tables based on the first and second tables 1100, 1200 will each contain one row and one column, and there will be no merged cells.
[0138] Next, a method for identifying row elements and outputting guide information will be described with reference to FIG.
[0139] For example, as shown in FIG. 7, when the second function icon 323 is selected from among the plurality of function icons 321 to 326, the control unit 140 can identify the row elements of the tables 1100 and 1200 included in the image 1000 from among the table components.
[0140] A row element is a line (or a line segment) that extends horizontally. There may be one or more row elements depending on the table structure.
[0141] When the second function icon 323 is selected, the control unit 140 may receive a preset input 601 to specify horizontal lines constituting the tables 1100 and 1200 included in the image 1000. The preset input may be a click input.
[0142] That is, when the second function icon 323 is selected and a row element of a table included in the image 1000 is identified by inputting the preset method, the control unit 140 can output guide information 1101, 1102, 1103, 1104, 1201, 1202, 1203, 1204, 1205, 1206, 1207, 1208 corresponding to at least one horizontal line constituting the row element of the table included in the image 1000 into the box images 610, 620.
[0143] The guide information 1101, 1102, 1103, 1104, 1201, 1202, 1203, 1204, 1205, 1206, 1207, and 1208 may be visually indicated by solid or dotted lines as shown in the figure, and may extend from one side of the box image 610, 620 to the opposite side opposite to the one side. Here, the extending direction may be the lateral direction (or horizontal direction). By such guide information 1101, 1102, 1103, 1104, 1201, 1202, 1203, 1204, 1205, 1206, 1207, and 1208, the box image 610, 620 is divided into at least two cells in the row direction.
[0144] For example, the first box image 610 corresponding to the first table 1100 is partitioned into five rows based on the horizontal lines extracted from the first table 1100 and the corresponding guide information 1101, 1102, 1103, and 1104.
[0145] Based on such partitions, the attribute information output to the attribute area 350 is updated. As a result of the update, the attribute information 351 corresponding to the first table 1100 indicates that the reproduced first table (the table corresponding to the first box image 610) includes five rows, and the information about the rows ("Rows: 5") is updated.
[0146] Similarly, the second box image 620 corresponding to the second table 1200 is partitioned into nine rows based on the horizontal lines extracted from the second table 1200 and the corresponding guide information 1201, 1202, 1203, 1204, 1205, 1206, 1207, and 1208.
[0147] Based on such partitions, the attribute information output to attribute area 350 is updated. As a result of the update, attribute information 352 corresponding to second table 1200 indicates that the reproduced second table (the table corresponding to second box image 620) includes nine rows, and the information about rows ("Rows: 9") is updated.
[0148] Meanwhile, the control unit 140 may extract horizontal lines included in the area where the user input is applied in the preset manner based on an image recognition algorithm. "Extracting horizontal lines" from the tables 1100 and 1200 means recognizing elements corresponding to horizontal lines from the tables 1100 and 1200 and determining the elements as horizontal lines.
[0149] Next, a method for identifying column elements and outputting guide information will be described with reference to FIG.
[0150] For example, as shown in FIG. 8, when the third function icon 324 is selected from among the plurality of function icons 321 to 326, the control unit 140 can identify the column elements of the tables 1100 and 1200 included in the image 1000 from among the table components.
[0151] A column element means a line (or a line segment) that extends in the vertical direction (or the vertical direction). There may be one or more such column elements depending on the structure of the table.
[0152] When the third function icon 324 is selected, the control unit 140 may receive a predetermined input 701 to specify vertical lines constituting the tables 1100 and 1200 included in the image 1000. The predetermined input may be a click input.
[0153] That is, when the third function icon 324 is selected and a column element of a table included in the image 1000 is identified by input in the preset manner, the control unit 140 can output guide information 1111, 1112, 1113, 1211, 1221, 1222, 1223, 1224, 1225 corresponding to at least one vertical line constituting the column element of the table included in the image 1000 within the box images 610, 620.
[0154] The guide information 1111, 1112, 1113, 1211, 1221, 1222, 1223, 1224, and 1225 may be visually indicated by solid or dotted lines as shown in the figure, and may extend from one side of the box image 610, 620 to the opposite side opposite to the one side. Here, the extending direction may be the vertical direction. By such guide information 1111, 1112, 1113, 1211, 1221, 1222, 1223, 1224, and 1225, the box image 610, 620 is divided into at least two cells in the column direction.
[0155] For example, the first box image 610 corresponding to the first table 1100 is partitioned into four columns based on the vertical lines extracted from the first table 1100 and the corresponding guide information 1111, 1112, and 1113.
[0156] Based on such partitions, the attribute information output to the attribute area 350 is updated. As a result of the update, the attribute information 351 corresponding to the first table 1100 indicates that the reproduced first table (the table corresponding to the first box image 610) includes four columns, and the information regarding the columns ("Cols: 4") is updated.
[0157] Similarly, the second box image 620 corresponding to the second table 1200 is partitioned into seven columns based on the vertical lines extracted from the second table 1200 and the corresponding guide information 1211, 1221, 1222, 1223, 1224, and 1225.
[0158] Based on such partitions, the attribute information output to the attribute area 350 is updated. As a result of the update, the attribute information 352 corresponding to the second table 1200 indicates that the reproduced second table (the table corresponding to the second box image 620) includes seven columns, and the information about the columns ("Cols: 7") is updated.
[0159] Meanwhile, the control unit 140 may extract vertical lines included in the area where the user input is applied in the preset manner based on an image recognition algorithm. "Extracting vertical lines" from the tables 1100 and 1200 means recognizing elements corresponding to vertical lines from the tables 1100 and 1200 and determining the elements as vertical lines.
[0160] The order in which the components are identified from the tables 1100 and 1200 can be freely changed.
[0161] As described above, in the present invention, the components (outer frame elements, row elements, column elements) of the tables 1100 and 1200 included in the image 1000 are identified based on the selection of a functional icon and user input. By such identification, guide information corresponding to each component is output, and thus the guide information corresponds to a table that reproduces the tables 1100 and 1200 included in the image 1000.
[0162] On the other hand, as shown in FIG. 8, box images 610, 620 which identify the outer frame elements of tables 1100, 1200 are partitioned to include multiple cells by guide information 1101, 1102, 1103, 1104, 1201, 1202, 1203, 1204, 1205, 1206, 1207, 1208, 1111, 1112, 1113, 1211, 1221, 1222, 1223, 1224, 1225 which correspond to the horizontal lines and vertical lines output by identifying row elements and column elements.
[0163] That is, the box images 610 and 620 are partitioned to include a plurality of cells by horizontal and vertical lines specified by the functional icons.
[0164] The plurality of cells may be divided into sub-cell units that are partitioned based on all lines present in the tables, regardless of the actual cells present in the tables 1100 and 1200 contained in the image 1000.
[0165] As an example, the first table 1100 is divided into 20 sub-cells by four horizontal lines 1101, 1102, 1103, and 1104 (see FIG. 7) and three vertical lines 1111, 1112, and 1113 (see FIG. 8). The number of sub-cells is calculated by (number of horizontal lines + 1) x (number of vertical lines + 1).
[0166] As another example, the second table 1200 is divided into 63 subcells by eight horizontal lines 1201, 1202, 1203, 1204, 1205, 1206, 1207, and 1208 (see FIG. 7) and six vertical lines 1211, 1221, 1222, 1223, 1224, and 1225 (see FIG. 8).
[0167] In this way, when cells are partitioned based on the components of the tables 1100 and 1200 contained in the image 1000 , the structure of the box images 610 and 620 may differ from the structure of the tables 1100 and 1200 contained in the image 1000 .
[0168] This is because the box images 610 and 620 have cells divided into the smallest units based on all the lines (horizontal lines and vertical lines) included in each table 1100 and 1200 .
[0169] Therefore, in the present invention, in order to generate a table (or a reproduced table) having the same structure as the tables 1100 and 1200 included in the image 1000, a process of merging cells can be performed.
[0170] That is, in the table generating method according to the present invention, a step of generating a table having a structure corresponding to a table included in an image using guide information may be performed (S440).
[0171] This process is a process for removing at least a portion of the horizontal and vertical lines, and is performed only when necessary.
[0172] That is, if a reproduction table having the same structure as tables 1100 and 1200 included in image 1000 is generated by steps S410 to S430 described above, step S440 does not need to be performed. Note that the reproduction table may be a table including guide information corresponding to the box image, horizontal lines, and vertical lines drawn in the process of identifying the components described above.
[0173] On the other hand, the process of removing at least a portion of a horizontal line and a vertical line means a process of combining at least two adjacent cells by removing at least a portion of a horizontal line and a vertical line contained between the at least two adjacent cells.
[0174] This combining process may be performed based on a user input added to the guide information after a functional icon that matches a function of deleting at least a portion of the horizontal and vertical lines (or a combining function) is selected from among a plurality of functional icons included in the toolbar area 320.
[0175] The number of functional icons to which the combining function is matched may be more than one. The functional icons to which the combining function is matched include i) a fourth functional icon 325 to which a function of removing all horizontal and vertical lines existing between at least two cells specified by user input, regardless of the horizontal and vertical directions, and ii) a fourth functional icon 325 to which a function of removing all horizontal and vertical lines existing between multiple cells 921, 922, 923, 924, 925, 926, 927, 928, 929, 930, 931, 932 included in an area specified by user input (an area including the cells indicated by the symbols 921, 922, 923, 924, 925, 926, 927, 928, 929, 930, 931, 932) included in the area indicated by user input, as shown in FIG. The icon may include at least one of the following: a fifth functional icon 326 assigned with the function of removing vertical line 911 and horizontally combining multiple cells 921, 922, 923, 924, 925, 926, 927, 928, 929, 930, 931, 932; and iii) a sixth functional icon 327 assigned with the function of removing horizontal lines 941, 942, 943 existing between multiple cells 951, 952, 953, 954 included in an area specified by user input (an area including cells indicated by symbols 951, 952, 953, 954) as shown in FIG. 11, and combining adjacent cells vertically.
[0176] 9, after the fourth function icon 325 is selected, the control unit 140 may remove (delete) all horizontal and vertical lines between a plurality of cells included in the area where the user input is applied, and generate one cell, based on the user input applied to the image 1000. For example, when four cells including information of "Patient No.," "Patient Name," "12345678," and "Hong Gil-dong" are selected from the first table 1100 by the user input in a preset manner, the control unit 140 may remove all horizontal and vertical lines between the four cells and generate the four cells into one cell.
[0177] 10, i) as shown in FIG. 10(a), after the fifth function icon 326 is selected, ii) as shown in FIG. 10(b), when a user input of a preset user method is applied to a plurality of cells 921, 922, 923, 924, 925, 926, 927, 928, 929, 930, 931, and 932, iii) as shown in FIG. 10(b) and (c), the control unit 140 , vertical lines 911 existing between multiple cells 921, 922, 923, 924, 925, 926, 927, 928, 929, 930, 931, 932 can be removed, and merged cells 921', 923', 925', 927', 929', 931' can be generated in which multiple cells 921, 922, 923, 924, 925, 926, 927, 928, 929, 930, 931, 932 are merged horizontally.
[0178] Further, referring to FIG. 11, i) after the sixth function icon 327 is selected as shown in FIG. 11(a), ii) as shown in FIG. 11(b), a user input of a pre-defined user method is applied to a plurality of cells 951, 952, 953, 954, and iii) as shown in FIG. 11(b) and (c), the control unit 140 can remove the horizontal lines 941, 942, 943 existing between the plurality of cells 951, 952, 953, 954 and generate a merged cell 950 in which the plurality of cells 951, 952, 953, 954 are vertically merged.
[0179] In this manner, the control unit 140 can combine at least two cells based on user input, so that the box images 610, 620 have the same cell structure as the tables 1100, 1200 contained in the image 1000, as shown in FIG. 9.
[0180] Meanwhile, based on this merging process, the attribute information output to the attribute area 350 is updated. As a result of the update, the attribute information 351 corresponding to the first table 1100 indicates that the reproduced first table (the table corresponding to the first box image 610) includes one merged cell 1121, and the information regarding the merged cell ("Merges:1") is updated.
[0181] Also, as a result of the update, the attribute information 352 corresponding to the second table 1200 indicates that the reproduced second table (the table corresponding to the second box image 620) includes eight merged cells 1221, 1222, 1223, 1224, 1225, 1226, 1227, 1228, and the information regarding the merged cells ("Merges:8") is updated.
[0182] 12, when this combination is completed, the box images 610 and 620 become reproduced tables having the same cell structures as the tables 1100 and 1200 included in the image 1000. In other words, the control unit 140 can generate reproduced tables.
[0183] In the above process, the function of extracting components corresponding to the structures of tables 1100 and 1200 included in image 1000 has been described without considering the relevance between cells. Hereinafter, a method of assigning the relevance between cells of tables 1100 and 1200 included in image 1000, i.e., the relationship between data, will be described in more detail.
[0184] As described with reference to FIG. 3B, “identifying relationships between cells” refers to the process of identifying (or grouping) a plurality of cells that contain data related to each other among a plurality of cells included in a table, and functional icons 371, 372, 373 in a toolbar area 370 may be provided for this process.
[0185] In addition, the step of identifying the relationship between cells may be a step of identifying cells by classifying texts of a superordinate concept and texts of a subordinate concept in terms of semantics. For example, the step of identifying the relationship between cells may be a step of designating whether a corresponding text belongs to a superordinate concept or a subordinate concept, and linking and grouping the text designated as the superordinate concept with the text of the related subordinate concept.
[0186] More specifically, the cell in which the text of the superordinate concept is placed may be a category cell, and the cell in which the text of the subordinate concept is placed may be a data cell belonging to the category cell. As described with reference to FIG. 3B, a category is a classification based on the same or similar properties or meanings, and is also called a category. Data belonging to the same category may be data with the same meaning, the same type, or the same affiliation.
[0187] A category cell includes a category name or data related to the category name, and a data cell may include data belonging to the category name included in the category cell. Here, the category name may also be called a category name.
[0188] Referring to FIG. 13, first, a step of identifying a category cell that includes a category name of a table included in the image from among the plurality of cells is performed.
[0189] The step of identifying the category cell may be started when a first functional icon 371 for specifying a category is selected from among the functional icons 371, 372, and 373 in the toolbar area 370. In this case, based on the category cell being identified, the category name included in the category cell may be output together with identification information of the category cell in another area of the task area.
[0190] For example, when the first function icon 371 is selected by selecting the first function icon 371, a Keys item may become active and a list of the selected category data may be output in the attribute area 350 of the task area 300. In the list of category data, the category name included in the category cell may be output together with identification information (e.g., a serial number) of the category cell.
[0191] At this time, a cell may be selected by clicking or dragging in the tables 1100 and 1200 output to the task area 300, and the selected cell may be designated as a category cell. For example, when cells 1301, 1302, 1303, 1304, and 1305 are selected in the tables 1100 and 1200 by clicking and dragging, they may be designated as category cells.
[0192] In the category data list, the category names and the identification information may be output in sequence in a procedure in which the category cells are selected. In this case, the selected cells may be displayed as selected by highlighting or the like.
[0193] Meanwhile, in the attribute area 350, list areas of category names corresponding to the tables 1100 and 1200 output in the task area 300 may be formed. For example, a first list area 1330 corresponding to the first table 1100 and a second list area 1340 corresponding to the second table 1200 may be displayed in the output area 1320 of the Keys item. Here, the order in which the category names are output in the first list area 1330 may be independent of the second table 1200, and may be determined by the procedure in which the cells 1301, 1302, 1303, 1304, and 1305 are selected in the first table 1100. Also, the order in which the category names are output in the second list area 1340 may be independent of the first table 1100, and may be determined by the procedure in which the cell 1311 is selected in the second table 1200.
[0194] Next, in the table generating method according to the present invention, a step of identifying data cells related to the category cell among the plurality of cells is performed. For example, when a category cell is selected as a key item in the tables 1100 and 1200 output to the task area 300, a step of selecting data cells according to rows and columns may be performed.
[0195] The identification of data cells related to the category cell may be based on a predefined input method starting from the category cell, which will be described in more detail below.
[0196] For example, when the second function icon 372 is selected, a function for selecting data cells according to rows may be activated as shown in FIG. 14, and when the third function icon 373 is selected, a function for selecting data cells according to columns may be activated as shown in FIG. 15.
[0197] First, as shown in FIG. 14, when the second function icon 372 is selected, the Rows item becomes active in the attribute region 350, and a cell group list grouped in the row direction may be output.
[0198] In the tables 1100 and 1200 output to the task area 300, any one of the category cells 1402 is selected, and the data cells 1403 and 1404 selected following the category cell 1402 are designated as data cells belonging to the category cell 1402. The selection of the cells may be performed by a click input, a drag input, or a click-and-drag input. For example, when the category cell 1402 is touched and then a drag is input passing through the data cells 1403 and 1404 adjacent in the row direction, a cell group is formed in which the category name of the category cell 1402 is a superordinate concept and the contents of the data cells 1403 and 1404 are subordinate concepts.
[0199] A list 1420 of cell group data grouped by the cell selected in the task area 300 may be output in the attribute area 350. The list 1420 may be configured so that a category name is output at the top, and the contents of the selected data cells are output sequentially below the category name.
[0200] Meanwhile, in the process of identifying the relationship between cells in the row direction, the start and end of one cell group may be specified based on the selection of cells of different categories.
[0201] For example, when a plurality of category cells are identified from the plurality of cells, and a second category cell different from the first category cell is selected from the plurality of category cells by inputting in a preset manner starting from a first category cell, the control unit 140 may identify the selected data cell as a data cell related to the first category cell until the second category cell is selected.
[0202] 14, such determination is performed when a first category cell 1402 corresponding to "examination fee" is touched, a data cell corresponding to the last data "38,040" is selected through adjacent data cells 1403 and 1404 in the row direction, and then a second category cell 1405 corresponding to "hospitalization fee" is selected. A cell selected between the first category cell and the second category cell is determined as a data cell related to the first category cell. Also, a data cell selected after the second category cell is selected is determined as a data cell related to the second category cell.
[0203] Furthermore, some of the cells in the table may be cells that have both the attributes of the category cells and the attributes of the data cells. For example, "medical examination fee" is a category cell for "7,608" and "30,432", which are data cells 1403 and 1404, but is a data cell for "basic item", which is category cell 1401. In this case, the cell corresponding to "medical examination fee" is defined as an intermediate category cell.
[0204] In this example, a category cell 1401, an intermediate category cell 1402, and data cells 1403 and 1404 are selected in the row direction. In this case, the superordinate concept (category name), the intermediate concept (intermediate category name), and the subordinate concept (data) are output in the list 1420 in this order, forming one cell group.
[0205] Next, as shown in FIG. 15, when the third function icon 373 is selected, the column (Clos) item becomes active in the attribute region 350, and a cell group list grouped in the column direction may be output.
[0206] In the tables 1100 and 1200 output to the task area 300, any one of the category cells 1501 may be selected, and an intermediate category cell 1502 selected following the category cell 1501 may form one cell group. In this case, a cell designated with a certain attribute in the process of identifying relationships between cells in the row direction described above is designated with a different attribute in the process of identifying relationships between cells in the column direction in this example. As an example, a "basic item" is identified as a category cell in the row direction, but is identified as an intermediate category cell 1502, which is a subordinate concept of "item", which is the category cell 1501, in the column direction.
[0207] On the other hand, in the process of identifying the relationships between cells in the column direction in this example, a data cell may be designated as a data cell belonging to the category cell or the intermediate category cell. The selection of the cell may be performed by a click input, a drag input, or a click-and-drag input.
[0208] Also, the cells selected in the process of identifying relationships between cells in the row direction described with reference to Fig. 14 and the process of identifying relationships between cells in the column direction described with reference to Fig. 15 may be highlighted to indicate that they have been selected. Furthermore, the shape of the highlight for cells that are selected in duplicate may be changed according to the number of times they are selected. For example, the color of the highlight may become darker as the number of times the cells are selected increases.
[0209] As described above, in the table generation method and system according to the present invention, not only are the tables 1100 and 1200 contained in the image 1000 visually reproduced identically, but also the relationships between the cells that make up the tables 1100 and 1200 are reproduced identically, thereby making it possible to generate a reproduced table that is more usable.
[0210] Meanwhile, the reproduction tables 2100 and 2200 can be provided as data in various formats, not just data in an Excel (xlsx) structure. When the reproduction tables are provided as data in an Excel structure, the control unit 140 can reflect the relationships between a plurality of cells in the Excel data, and in this case, the operation relationships between the cells can also be included in the Excel data. The control unit 140 can estimate the mutual operation relationships between the texts included in the cells, and apply the estimated operation relationships as functions to the cells corresponding to the Excel data.
[0211] As described above, the table generating method and system according to the present invention can provide a user environment in which table components included in an image can be extracted based on user input. Thus, the table generating method and system according to the present invention can extract not only text data included in a table but also components constituting the structure of the table, thereby generating a table having the same structure and data as the table included in the image.
[0212] In addition, the table generation method and system according to the present invention can provide a user environment in which the data contained in each cell can be organically analyzed by identifying cells defined by the components of a table contained in an image and assigning relationships between the cells based on user input.
[0213] Therefore, the table generation method using the table generation application of the present invention provides a function for extracting the components of a table contained in an image and a function for assigning relationships between the data contained in the table, thereby reproducing not only the visual characteristics of the table contained in the image but also the relational characteristics between the data.
[0214] Meanwhile, the present invention described above can be realized as a program that is executed by one or more processes on a computer and can be stored in a computer-readable medium (or a recording medium).
[0215] Furthermore, the present invention can be realized as computer readable codes or commands on a program recording medium, i.e., the present invention can be provided in the form of a computer program.
[0216] On the other hand, the computer-readable medium includes any kind of storage device in which data that can be read by a computer system is stored. Examples of the computer-readable medium include a hard disk drive (HDD), a solid state disk (SSD), a silicon disk drive (SDD), a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
[0217] The computer-readable medium may be a server or cloud storage that includes a storage and can be accessed by the electronic device through communication. In this case, the computer can download the program according to the present invention from the server or cloud storage through wired or wireless communication.
[0218] Furthermore, in the present invention, the above-mentioned computer is an electronic device equipped with a processor, that is, a central processing unit (CPU), and the type of the computer is not particularly limited.
[0219] On the other hand, the detailed description of the present invention is illustrative and should not be construed as limiting in any respect. The scope of the present invention should be determined by reasonable interpretation of the appended claims, and all modifications within the equivalent scope of the present invention are included in the scope of the present invention. [Explanation of symbols]
[0220] 100 Table Generation System 110 Receiving unit 120 Preservation Department 130 OCR section 140 Control section 150 External Servers 151 Cloud Server 152 Database (DB) 200 Tables 201 Outer frame elements 202 Row elements 203 Column elements 210 Cells 300 Task Area 310 Header Area 320, 370 Toolbar area 330 Function Icon Area 340 Editor Area 350 attribute area 1000 Images 1100, 1200 Tables
Claims
1. 1. A method for generating a table for a table generation application, comprising: outputting an image including a table in a task area provided by the application; receiving a selection of one of a plurality of function icons included in one area of the task area; and when an input in a preset manner including at least one of a drag input and a click is applied to the image after any one of the functional icons is selected, processing the input in the preset manner as an input for recognizing or identifying a table component corresponding to the selected functional icon, and outputting guide information corresponding to the recognized or identified table component based on the input in the preset manner. and using the recognized or identified table components to generate a table having a structure corresponding to a table contained in the image; The table components include: At least one of a frame element, a row element, and a column element; The guide information includes: The image includes at least one of a box image showing an outer frame element of a table included in the image, a horizontal line constituting a row element of a table included in the image, and a vertical line constituting a column element of a table included in the image. A method comprising:
2. In the step of outputting the guide information, identifying a unit element corresponding to a table component matched with the functional icon from a table included in the image based on the input of the preset format, and outputting the guide information corresponding to the identified unit element.
2. The method according to claim 1 .
3. In the step of outputting the guide information, Recognizing at least one unit element included in an area to which the input of the preset type is added, among unit elements constituting a table included in the image; 3. The method according to claim 2 .
4. A first function icon of the plurality of function icons is matched to a function that identifies an outer frame element of a table included in the image among the table components; a second function icon of the plurality of function icons is matched to a function that identifies a row element of a table included in the image among the table components; a third function icon among the plurality of function icons is matched to a function of outputting guide information corresponding to a column element of a table included in the image among the table components; 2. The method according to claim 1 .
5. In the step of outputting the guide information, When the first function icon is selected and a table area in which a table included in the image is arranged is specified by inputting the preset method, outputting the box image indicating an outer frame of a table included in the image as guide information to the table area; 5. The method according to claim 4 .
6. In the step of outputting the guide information, When the second function icon is selected and a row element of a table included in the image is specified by inputting the preset method, outputting guide information corresponding to at least one of the horizontal lines constituting a row element of a table included in the image into the box image; When the third function icon is selected and a column element of a table included in the image is specified by inputting the preset method, outputting, into the box image, guide information corresponding to at least one of the vertical lines constituting a column element of a table included in the image; 6. The method according to claim 5 .
7. the horizontal line and the vertical line are output so as to extend from one side of the box image to an opposite side opposite to the one side, 7. The method according to claim 6 .
8. The box image is The horizontal lines and the vertical lines partition the screen so as to include a plurality of cells.
8. The method according to claim 7 .
9. The plurality of function icons further include a fourth function icon matching a function of deleting at least a part of the horizontal line and the vertical line; In the step of generating the table, after the fourth functional icon is selected, combining at least two of the plurality of cells by removing at least a portion of the horizontal and vertical lines based on user input applied to the image.
9. The method according to claim 8.
10. The method further comprises: identifying a category cell, among the plurality of cells, that includes a category name of a table included in the image, in order to identify a relationship between the plurality of cells; In the step of identifying the category cells, When at least one cell is selected from among the plurality of cells by a click or drag input, the selected cell is identified as the category cell; 9. The method according to claim 8.
11. Another area of the task area includes: Based on the identification of the category cell, a category name included in the category cell is output together with identification information of the category cell.
11. The method according to claim 10.
12. The method further comprises: identifying data cells among said plurality of cells that are related to said category cell to identify relationships between said plurality of cells; Identifying a data cell associated with the category cell includes: Based on a preset input method starting from the category cell, the identified data cell is designated as a data cell belonging to the category cell.
11. The method according to claim 10.
13. A plurality of category cells are identified from the plurality of cells, and a second category cell different from the first category cell is selected from the plurality of category cells by inputting in a preset manner starting from a first category cell, identifying selected data cells as data cells associated with the first category cell until the second category cell is selected; 13. The method according to claim 12.
14. A system for generating a table in a task area output to a display unit of an electronic device, comprising: The control unit of the system outputting an image including a table in the task area; receiving, from a user, a selection of one of a plurality of function icons included in one area of the task area; and when an input in a preset manner including at least one of a drag input and a click is applied to the image after any one of the functional icons is selected, the input in the preset manner is processed as an input for recognizing or identifying a table component corresponding to the selected functional icon, and guide information corresponding to the recognized or identified table component is output based on the input in the preset manner. generating a table using the recognized or identified table components having a structure corresponding to a table contained in the image; The table components include: At least one of a frame element, a row element, and a column element; The guide information includes: The information visually indicates a box image showing an outer frame element of a table included in the image, horizontal lines constituting row elements of the table included in the image, and vertical lines constituting column elements of the table included in the image. A system characterized in that
15. A computer program comprising a plurality of instructions which, when executed, outputting an image including the table in a task area provided by the application; receiving a selection of one of a plurality of function icons included in one area of the task area; and when an input in a preset manner including at least one of a drag input and a click is applied to the image after any one of the functional icons is selected, processing the input in the preset manner as an input for recognizing or identifying a table component corresponding to the selected functional icon, and outputting guide information corresponding to the recognized or identified table component based on the input in the preset manner. generating a table using the recognized or identified table components having a structure corresponding to a table contained in the image; The computer executes the above. The table components include: At least one of a frame element, a row element, and a column element; The guide information includes: The image includes at least one of a box image showing an outer frame element of a table included in the image, a horizontal line constituting a row element of a table included in the image, and a vertical line constituting a column element of a table included in the image. A computer program comprising:
Citation Information
Patent Citations
Document reader
JP1996329187A
Table closing line intersection correcting device
JP1999003433A
Information processing apparatus, information processing method, and program
JP2016027444A
