Drawing processing device and drawing processing method
The drawing processing device and method address the lack of tabular information extraction in existing systems by using machine learning to identify and extract table data from drawings, improving the management and understanding of complex drawings.
Patent Information
- Application Number
- JP2024059906
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2024-04-03
- Publication Date
- 2024-08-20
- Estimated Expiration
- 2044-04-03
AI Technical Summary
Existing drawing processing systems fail to effectively acquire and utilize information from tables within drawing data, such as those found in machinery, architecture, and civil engineering drawings, as they primarily focus on dimension lines and neglect tabular information.
A drawing processing device and method that includes a drawing reception unit, character recognition unit, and a drawing processing unit to identify and extract table information from drawing data by using machine learning models to detect candidate areas and attributes within tables, enabling the acquisition of supplementary information from tables.
Enables the acquisition and utilization of tabular information from drawing data, enhancing the understanding and management of complex drawings by extracting and registering table information in a database for further reference and editing.
Smart Images

Figure 0007536269000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a drawing processing device and a drawing processing method. [Background technology]
[0002] Drawings used in various fields such as machinery, architecture, civil engineering, electricity, and apparel contain, for example, lines (external lines, dimension lines, etc.) for expressing shapes and structures, as well as various types of information written in text. Since the text written on drawings is important information for understanding the contents of the drawings, systems have been developed for utilizing this information. For example, Patent Document 1 discloses a support system that obtains text representing dimensional quantities written in association with the dimension lines of a figure, and creates a list showing the dimensional quantities of the figure. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Application Publication No. 10-293777 Summary of the Invention [Problem to be solved by the invention]
[0004] As described above, in addition to characters representing dimensional quantities, various information is written in a table format on the drawing. In the table format information, attributes are defined for each box separated by ruled lines, and characters corresponding to each attribute are written in each box. However, in the support system disclosed in Patent Document 1, the characters to be acquired from the drawing are only characters representing dimensional quantities that are written in association with the dimension lines of the figures, and characters written in a table format are not acquired, so important information for understanding the contents of the drawing cannot be appropriately acquired.
[0005] The present invention has been made in response to the above-mentioned problems, and aims to provide a drawing processing device and a drawing processing method capable of acquiring information contained in tables included in drawing data. [Means for solving the problem]
[0006] In order to achieve the above object, a drawing processing apparatus according to one aspect of the present invention comprises: a drawing receiving unit that receives drawing data in which characters are written in boxes separated by ruled lines and the boxes contain one or more tables in which attributes of the characters are defined; The system further includes a drawing processing unit that acquires table information regarding the table of the detection target from a candidate area in which the table of the detection target having characteristics of the detection target is located, among the drawing areas of the drawing data accepted by the drawing accepting unit. Effect of the Invention
[0007] According to a drawing processing apparatus according to an aspect of the present invention, it is possible to obtain information written in a table included in drawing data.
[0008] Other objects, configurations and effects will become apparent from the detailed description of the invention described below. [Brief description of the drawings]
[0009] [Figure 1] 1 is an overall configuration diagram showing an example of a drawing management system 1. FIG. [Diagram 2] FIG. 13 is a diagram showing an example of drawing data D10. [Diagram 3] FIG. 2 is a diagram showing an example of a drawing database 210. [Figure 4] FIG. 1 is a block diagram showing an example of a drawing processing apparatus 2A according to a first embodiment. [Diagram 5] FIG. 2 is a functional explanatory diagram showing an example of a learning model generation unit 201A according to the first embodiment. [Figure 6]2 is a functional explanatory diagram showing an example of a drawing receiving unit 202, a character recognition unit 203, and a drawing processing unit 204A according to the first embodiment. FIG. [Figure 7] FIG. 9 is a hardware configuration diagram showing an example of a computer 900. [Figure 8] 1 is a flowchart showing an example of the operation (drawing processing method) of a drawing processing apparatus 2A according to the first embodiment. [Figure 9] FIG. 11 is a block diagram showing an example of a drawing processing apparatus 2B according to a second embodiment. [Figure 10] FIG. 11 is a functional explanatory diagram showing an example of a learning model generation unit 201B according to the second embodiment. [Figure 11] 11 is a functional explanatory diagram showing an example of a drawing receiving unit 202, a character recognition unit 203, and a drawing processing unit 204B according to the second embodiment. FIG. [Figure 12] 13 is a flowchart showing an example of the operation (drawing processing method) of a drawing processing apparatus 2B according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, an embodiment for carrying out the present invention will be described with reference to the drawings. In the following, the scope necessary for the explanation to achieve the object of the present invention will be shown in a schematic manner, and the scope necessary for the explanation of the relevant part of the present invention will be mainly explained, and the parts that are omitted will be explained as being related to the publicly known technology.
[0011] (First embodiment) 1 is a diagram showing an overall configuration of an example of a drawing management system 1. The drawing management system 1 functions as a system for managing drawing data D10.
[0012] The drawing data D10 handled by the drawing management system 1 is, for example, any drawing such as mechanical drawings such as assembly drawings and parts drawings, architectural drawings, electric circuit drawings, pneumatic circuit drawings, hydraulic circuit drawings, apparel drawings, etc., recorded as digital data. In this case, the drawing data D10 may be vector format data or raster format data. For example, the drawing data D10 may be CAD data (an example of vector format) output by various CAD software, or image data (an example of raster format) output by reading a drawing printed on a paper medium with a scanner or the like. The drawing data D10 may be drawn by any projection method, or may be a three-dimensional drawing. In addition, the drawing data D10 may be any data including a table, and may be, for example, a document such as a slip recorded as digital data.
[0013] As shown in Fig. 1, the drawing management system 1 includes a drawing processing device 2A and a user terminal device 3. The drawing processing device 2A and the user terminal device 3 are connected to a wired or wireless network 4, and are configured to be able to transmit and receive various data to and from each other. Note that the numbers of the drawing processing devices 2A and the user terminal devices 3 and the connection configuration of the network 4 are not limited to the example in Fig. 1, and may be changed as appropriate.
[0014] The drawing processing device 2A is a server-type computer or a cloud-type computer, and is configured as a general-purpose or dedicated computer (see FIG. 7 described later), etc. The drawing processing device 2A includes a drawing database 210 that can register drawing data D10 and additional information (described in detail later) included in the drawing data D10 in association with each other.
[0015] The drawing processing device 2A receives new drawing data D10 from the user terminal device 3, acquires additional information contained in the drawing data D10, and registers the data in the drawing database 210. In addition, the drawing processing device 2A also acquires additional information from the drawing data D10 that has already been registered (existing) in the drawing database 210. Also, display information for referring to and editing the supplementary information is provided to the user terminal device 3.
[0016] The user terminal device 3 is a client-type computer, and is composed of a general-purpose or dedicated computer (see FIG. 7 described later), etc. The user terminal device 3 accepts various input operations via a display screen such as an application or a browser, and outputs various information via the display screen or voice, in order to register new drawing data D10, refer to and edit existing drawing data D10, etc.
[0017] 2 is a diagram showing an example of the drawing data D10. In this embodiment, the drawing data D10 will be described mainly in the case where the drawing data D10 is an assembly drawing as shown in FIG.
[0018] A drawing area 10 of the drawing data D10 includes a shape area 11, a title block 12, and a parts list 13. The drawing area 10 corresponds to the entire area of the paper when the drawing data D10 is printed on a paper medium.
[0019] The shape area 11 is an area where the shape and structure of an assembly or part are described. Lines that define the shape and structure of an assembly or part, such as outline lines, dimension lines, hidden lines, center lines, imaginary lines, etc., are described in the shape area 11. Characters indicating dimensions, tolerances, part numbers, etc. are also described in the shape area 11.
[0020] The title block 12 and the parts list 13 are a type of table included in the drawing data D10. A table has a combination of vertical and horizontal lines and boxes separated by the lines. Characters are written in the boxes, and attributes of the characters written in the box are defined for each box. Boxes are also classified by properties that indicate the type of box. Examples of properties include an attribute heading property, a serial number heading property, a non-attribute field property, and an attributed field property.
[0021] As shown in FIG. 2, the attributes of the title block 12 include, for example, the item name, drawing number, scale, date, designer, approver, etc. Each box in the title block 12 is classified into an attributed field property, an attribute header property, and an attributeless field property. In the box classified as the attributed field property, field characters (in the example of FIG. 2, "1:2", "2024 / 1 / 11", "ASSY A", "F1-222-33-A") as the contents of the title block 12 and attribute characters (in the example of FIG. 2, "scale", "date", "item name", "drawing number") that define the attributes of the field characters are described. In the box classified as the attribute header property, attribute characters (in the example of FIG. 2, "designer", "approver") that define the attributes of the field characters are described. In the box classified as the attributeless field property, field characters (in the example of FIG. 2, "AAA", "BBB") as the contents of the title block 12 are described.
[0022] 2, the attributes of the parts table 13 include, for example, number, item name, material, and quantity. The boxes in the first row from the top of the parts table 13 are classified as attribute header properties, and attribute header characters (in the example of FIG. 2, "number", "item name", "material", and "quantity") that define the attributes of each column of the parts table 13 as headers are entered. The boxes in this example are classified as serial number header properties, and serial number header characters ("1", "2", "3" in the example of FIG. 2) that define the serial numbers of each row of the bill of materials 13 as headers are entered. The other boxes in the bill of materials 13 are classified as attributeless field properties that do not have attribute characters entered in the box, and field characters ("COVER", "PPP", "1", "BODY", "QQQ", "1", "LEG", "RRR", "4" in the example of FIG. 2) that represent the contents of the bill of materials 13 are entered.
[0023] The types of tables included in the drawing data D10 are not limited to the title block 12 and the parts list 13, but may be other types of tables. The arrangement and number of boxes constituting a table may be changed as appropriate depending on the type of table, and the attributes defined for each box are not limited to the above examples.
[0024] 3 is a diagram showing an example of the drawing database 210. In the drawing database 210, for each piece of drawing data D10 in an image data format, shape information D11 included in the drawing data D10 and additional information D12 included in the drawing data D10 are registered in association with each other.
[0025] The shape information D11 is registered in the drawing database 210 by extracting the shape area 11 included in the drawing area 10.
[0026] The additional information D12 is registered in the drawing database 210 by acquiring the characters (mainly field characters) written in the drawing area 10 as text data by attribute. Fig. 3 shows a case where the text data by attribute acquired from the title block 12 and the parts list 13 included in the drawing data D10 shown in Fig. 2 is registered in the drawing database 210 as the additional information D12.
[0027] In the drawing database 210, the supplementary information D12 associated with the drawing data D10 and registered is not limited to the contents of the title block 12 and the parts list 13, and any information can be associated as necessary. For example, the drawing database 210 may be configured to be able to register information based on the shape region 11 (dimensions, tolerances, surface treatment, heat treatment, etc.) and information regarding a request for quotation (user name, date and time of quotation, estimated price, etc.), but is not limited thereto.
[0028] (Configuration of drawing processing device 2A) Fig. 4 is a block diagram showing an example of a drawing processing device 2A according to the first embodiment. Fig. 5 is a functional explanatory diagram showing an example of a learning model generation unit 201A according to the first embodiment. Fig. 6 is a functional explanatory diagram showing an example of a drawing reception unit 202, a character recognition unit 203, and a drawing processing unit 204A according to the first embodiment.
[0029] The drawing processing device 2A includes a control unit 20, a data storage unit 21, a trained model storage unit 22, a communication unit 23, an input unit 24, and an output unit 25.
[0030] The communication unit 23 is connected to an external device (e.g., the user terminal device 3, etc.) via the network 4, and functions as a communication interface for transmitting and receiving various data. The input unit 24 accepts various input operations, and the output unit 25 functions as a user interface by outputting various information via a display screen or sound. Note that the input unit 24 and the output unit 25 may be omitted.
[0031] The data storage unit 21 stores a drawing database 210 and an information processing program 211A. As shown in Fig. 3, the drawing database 210 stores a plurality of pieces of various information included in the drawing data D10 in association with each other. The specific configuration of the drawing database 210 is not limited to the example in Fig. 3 and may be designed as appropriate.
[0032] The trained model storage unit 22 stores trained learning models 220. The trained learning models 220 stored in the trained model storage unit 22 may be provided to other devices via the network 4, a recording medium, or the like. The number of training models 220 stored in the trained model storage unit 22 is not limited to one each, and multiple inference models with different conditions, such as differences in machine learning methods or data, may be stored and used selectively or in parallel. It can also be used as Noh.
[0033] 3, the data storage unit 21 and the trained model storage unit 22 are shown as two storage units, but they may be configured as a single storage unit or three or more storage units. At least one of the data storage unit 21 and the trained model storage unit 22 may be configured as a storage unit of an external computer (for example, a server-type computer or a cloud-type computer).
[0034] The control unit 20 functions as a transmission / reception control unit 200, a learning model generation unit 201A, a drawing reception unit 202, a character recognition unit 203, a drawing processing unit 204A, and a database management unit 205 by executing the information processing program 211A recorded in the data memory unit 21.
[0035] (Transmission / reception control unit 200) The transmission / reception control unit 200 transmits and receives various data to and from an external device (such as the user terminal device 3). For example, the transmission / reception control unit 200 transmits display information for outputting various display screens to the user terminal device 3 to the user terminal device 3, and receives operation information for accepting an input operation performed on the display screen of the user terminal device 3 from the user terminal device 3. In this case, the transmission / reception control unit 200 cooperates with each unit 201 to 205 to transmit display information to the user terminal device 3 and receive operation information from the user terminal device 3.
[0036] (Learning model generation unit 201A) As shown in FIGS. 4 and 5, the learning model generation unit 201A includes a learning data acquisition unit 2010A and a machine learning unit 2011A.
[0037] The learning data acquisition unit 2010A refers to the drawing database 210 and acquires learning data D13 consisting of input data and output data. The learning data D13 is data used as teacher data (training data), verification data, and test data in supervised learning. The output data constituting the learning data D13 is data used as a correct answer label in supervised learning.
[0038] The input data constituting the learning data D13 is the drawing data D10. Note that the input data constituting the learning data D13 may include, as a recognition result of the character recognition unit 203, text data indicating a character written in the drawing area 10 and position data indicating a position where the character is written.
[0039] The output data constituting the learning data D13 is a candidate area 14 surrounding a table to be detected within the drawing area 10 of the drawing data D10. The table to be detected corresponds to the title block 12 and the parts list 13 in the drawing data D10 shown in FIG. 2, but in this embodiment, the case where the table to be detected is the parts list 13 will be mainly described.
[0040] The learning data acquisition unit 2010A acquires learning data D13 by annotating drawing data D10 registered in the drawing database 210. For example, the learning data acquisition unit 2010A acquires learning data D13 by displaying the drawing data D10 on a display screen of the drawing processing device 2A or the user terminal device 3 and accepting an input operation of a candidate area 14 as an annotation so as to surround a table to be detected in the drawing area 10 on the display screen. The learning data acquisition unit 2010A may acquire the learning data D13 in cooperation with an external device connected via the network 4.
[0041] The machine learning unit 2011A uses a plurality of sets of learning data D13 acquired by the learning data acquisition unit 2010A to obtain a correlation between input data and output data in the learning model 220. Machine learning is performed to train the model 220. Examples of the learning model 220 that can be used include neural network types (including deep learning) such as convolutional neural networks, recurrent neural networks, and vision transformers, tree types such as decision trees and regression trees, ensemble learning such as bagging and boosting, clustering types such as hierarchical clustering, non-hierarchical clustering, k-nearest neighbors, and k-means, multivariate analyses such as principal component analysis, factor analysis, and logistic regression, and support vector machines.
[0042] The timing at which the machine learning unit 2011A performs machine learning on the learning model generation unit 201A may be when the number of pieces of drawing data D10 registered in the drawing database 210 exceeds a predetermined number, or when instructions are received from the user, but is not limited to these.
[0043] (Drawing reception unit 202) The drawing accepting unit 202 receives the drawing data D10 from the user terminal device 3 via the transmission / reception control unit 200, for example, to accept new drawing data D10.
[0044] (Character recognition unit 203) The character recognition unit 203 recognizes characters included in the new drawing data D10 accepted by the drawing acceptance unit 202. The character recognition unit 203 recognizes characters included in the drawing data D10, for example, by performing optical character recognition (OCR) and reading the characters as text data. As the character recognition result, text data indicating the character and position data indicating the position where the character is written are obtained. At this time, the character recognition result may be displayed on the display screen of the user terminal device 3, and an editing operation may be performed by the user. Note that, when text data is embedded in the drawing data D10, the character recognition unit 203 may recognize characters included in the drawing data D10 by reading the text data.
[0045] (Drawing processing unit 204A) As shown in Figure 6, the drawing processing unit 204A acquires table information regarding the table to be detected from a candidate area 14 in which the table to be detected having the characteristics of the detection target is located within the drawing area 10 of new drawing data D10 accepted by the drawing accepting unit 202.
[0046] Specifically, the drawing processing unit 204A performs a candidate area identification process to identify a candidate area 14 in which the table to be detected is located within the drawing area 10 of the new drawing data D10, and a table information acquisition process to acquire table information from the candidate area 14 identified by the candidate area identification process.
[0047] As the candidate area identification process, the drawing processing unit 204A inputs new drawing data D10 to the learning model 220, thereby identifying the candidate area 14 included in the drawing area 10 of the drawing data D10. When inputting text data indicating characters written in the drawing area 10 and position data indicating the position where the characters are written to the learning model 220 in addition to inputting the drawing data D10, it is sufficient to input the recognition result of the character recognition unit 203 for the drawing data D10.
[0048] As a table information acquisition process, the drawing processing unit 204A acquires table information based on the characters in boxes arranged in the candidate area 14 among the characters recognized by the character recognition unit 203 and the attributes defined for the boxes. At that time, the drawing processing unit 204A acquires table information by recognizing the table format configuration based on the arrangement and properties of each box, for example, and treating the characters in the boxes as characters for each attribute.
[0049] (Database Management Department 205) The database management unit 205 performs the processing of the drawing processing unit 204A for the new drawing data D10. The table information acquired as a processing result is registered as auxiliary information D12 in the drawing database 210 in association with the drawing data D10. Then, the database management unit 205 transmits display information for displaying the processing result of the drawing processing unit 204A to the user terminal device 3 via the transmission / reception control unit 200.
[0050] Furthermore, the database management unit 205 reads out drawing data D10 registered in the drawing database 210, and transmits display information for displaying the registered drawing data D10 to the user terminal device 3 via the transmission / reception control unit 200. Then, when the database management unit 205 receives operation information for editing the drawing data D10 from the user terminal device 3 via the transmission / reception control unit 200, it modifies the drawing data D10 registered in the drawing database 210.
[0051] (Hardware configuration of each device) 7 is a hardware configuration diagram showing an example of a computer 900. The drawing processing device 2A and the user terminal device 3 in the drawing management system 1 are configured by a general-purpose or dedicated computer 900.
[0052] 7, the computer 900 includes, as its main components, a bus 910, a processor 912, a memory 914, an input device 916, an output device 917, a display device 918, a storage device 920, a communication I / F (interface) unit 922, an external device I / F unit 924, an I / O (input / output) device I / F unit 926, and a media input / output unit 928. Note that the above components may be omitted as appropriate depending on the application of the computer 900.
[0053] The processor 912 is composed of one or more arithmetic processing devices (such as a central processing unit (CPU), a micro-processing unit (MPU), a digital signal processor (DSP), or a graphics processing unit (GPU)) and operates as a control unit that controls the entire computer 900. The memory 914 stores various data and programs 930, and is composed of, for example, a volatile memory (DRAM, SRAM, etc.) that functions as a main memory, a non-volatile memory (ROM), a flash memory, etc.
[0054] The input device 916 is composed of, for example, a keyboard, a mouse, a numeric keypad, an electronic pen, a microphone, etc., and functions as an input unit. The output device 917 is composed of, for example, a sound (audio) output device, a vibration device, etc., and functions as an output unit. The display device 918 is composed of, for example, a liquid crystal display, an organic EL display, electronic paper, a projector, etc., and functions as an output unit. The input device 916 and the display device 918 may be integrally configured, such as a touch panel display. The storage device 920 is composed of, for example, a HDD, an SSD, etc., and functions as a storage unit. The storage device 920 stores various data necessary for the execution of the operating system and the program 930.
[0055] The communication I / F unit 922 is connected by wire or wireless to a network 940 (which may be the same as the network 4 in FIG. 1) such as the Internet or an intranet, and functions as a communication unit that transmits and receives data to and from other computers in accordance with a predetermined communication standard. The external device I / F unit 924 is connected by wire or wireless to an external device 950 such as a camera, printer, scanner, reader / writer, and functions as a communication unit that transmits and receives data to and from the external device 950 in accordance with a predetermined communication standard. The I / O device I / F unit 926 is connected to an I / O device 960 such as various sensors and actuators, and functions as a communication unit that transmits and receives various signals and data, such as detection signals from sensors and control signals to actuators, to and from the I / O device 960. The media input / output unit 928 is connected by wire or wireless to and from a network 940 (which may be the same as the network 4 in FIG. 1) such as the Internet or an intranet, and functions as a communication unit that transmits and receives data to and from the external device 950 in accordance with a predetermined communication standard. The data read / write unit 970 is made up of a drive device such as a DVD or CD, and reads / writes data from / to media (non-transitory storage media) 970 such as DVDs or CDs.
[0056] In the computer 900 having the above configuration, the processor 912 calls up the program 930 stored in the storage device 920 into the memory 914, executes the program, and controls each unit of the computer 900 via the bus 910. The program 930 may be stored in the memory 914 instead of the storage device 920. The program 930 may be recorded in the medium 970 in an installable file format or an executable file format, and provided to the computer 900 via the media input / output unit 928. The program 930 may be provided to the computer 900 by downloading the program 930 via the communication I / F unit 922 over the network 940. In addition, the computer 900 may realize various functions realized by the processor 912 executing the program 930, for example, with hardware such as an FPGA or an ASIC.
[0057] The computer 900 is, for example, a desktop computer or a portable computer, and is an electronic device of any type. The computer 900 may be a client computer, a server computer, or a cloud computer, or may be, for example, an embedded computer called a control panel, a controller (including a microcomputer, a programmable logic controller, and a sequencer), etc.
[0058] (Operation of drawing processing device 2A) Fig. 8 is a flowchart showing an example of the operation (drawing processing method) of the drawing processing device 2A according to the first embodiment. Note that the series of drawing processing methods by the drawing processing device 2A shown in Fig. 8 will be described as being executed when the drawing processing device 2A receives new drawing data D10 from a user terminal device 3 operated by a user. Also, the description will be given on the assumption that the trained learning model 220 is stored in the trained model storage unit 22 by the trained data acquisition step, machine learning step, and trained model storage step performed by the trained model generation unit 201A as shown in Fig. 5.
[0059] First, in step S100 (drawing reception step), the drawing reception unit 202 receives new drawing data D10 by receiving the drawing data D10 from the user terminal device 3. At that time, the drawing reception unit 202 may receive a plurality of pieces of drawing data D10.
[0060] Next, in step S110 (character recognition step), the character recognition unit 203 recognizes characters included in the drawing data D10 accepted in step S100.
[0061] Next, in step S120 (drawing processing step), the drawing processing unit 204A inputs new drawing data D10 into the learning model 220, thereby performing a candidate area identification process to identify the candidate area 14 of the parts list 13 included in the drawing area 10 of the drawing data D10.
[0062] Then, in step S130, the drawing processing unit 204A performs a table information acquisition process to acquire table information of the parts table 13 based on the characters in the boxes placed in the candidate area 14 of the parts table 13, among the characters recognized in step S110, and the attributes defined for the boxes.
[0063] Next, in step S140 (database management process), the database management unit 205 registers the table information acquired as a result of the processing of steps S120 and S130 as auxiliary information D12 in the drawing database 210 in association with the drawing data D10 accepted in step S100.
[0064] Then, in step S141, the database management unit 205 transmits display information for displaying the processing results of steps S120 and S130 to the user terminal device 3. As a result, the auxiliary information D12 registered for the new drawing data D10 is displayed on the display screen of the user terminal device 3.
[0065] As described above, according to the drawing processing device 2A and drawing processing method of this embodiment, the drawing processing unit 204A specifies the candidate area 14 in which the table to be detected is located, and obtains table information from the specified candidate area 14. Therefore, even if the position in which the table is located with respect to the drawing area 10 of the drawing data D10, the number of rows and columns of the table, the attributes of each box constituting the table, etc. vary depending on the drawing data D10, it is possible to obtain information written in the table included in the drawing data D10 as table information.
[0066] In this case, the drawing processing unit 204A uses a learning model 220 that has already learned the correlation between the drawing data D10 and the candidate area 14, thereby being able to identify the candidate area 14 and obtain table information without performing complex image processing.
[0067] Second Embodiment Fig. 9 is a block diagram showing an example of a drawing processing device 2B according to the second embodiment. Fig. 10 is a functional explanatory diagram showing an example of a learning model generation unit 201B according to the second embodiment. Fig. 11 is a functional explanatory diagram showing an example of a drawing reception unit 202, a character recognition unit 203, and a drawing processing unit 204B according to the second embodiment.
[0068] The second embodiment differs from the first embodiment in that the drawing processing device 2B acquires table information using two learning models 220A and 220B. The following describes the drawing processing device 2B according to the second embodiment, focusing on the differences from the first embodiment.
[0069] The trained model storage unit 22 stores a trained first training model 220A and a trained second training model 220B.
[0070] The control unit 20 functions as a transmission / reception control unit 200, a learning model generation unit 201B, a drawing reception unit 202, a character recognition unit 203, a drawing processing unit 204B, and a database management unit 205 by executing the information processing program 211B recorded in the data memory unit 21.
[0071] (Learning model generation unit 201B) As shown in FIGS. 9 and 10, the learning model generation unit 201B includes a learning data acquisition unit 2010B and a machine learning unit 2011B.
[0072] The learning data acquisition unit 2010B refers to the drawing database 210 and acquires the first learning data D14 and the second learning data D15.
[0073] The input data constituting the first learning data D14 is the drawing data D10. Note that the input data constituting the first learning data D14 may include, as a recognition result of the character recognition unit 203, text data indicating a character written in the drawing area 10 and position data indicating a position where the character is written.
[0074] The output data constituting the first learning data D14 is a table area 15A surrounding a table in the drawing area 10 of the drawing data D10. When the drawing data D10 includes multiple tables, multiple table areas 15A are specified to surround each table. That is, the table area 15A corresponds to the area surrounding the title block 12 and the area surrounding the parts list 13 in the drawing data D10 shown in FIG. 2.
[0075] The input data constituting the second learning data D15 is the drawing data D10. Note that the input data constituting the second learning data D15 may include, as a recognition result of the character recognition unit 203, text data indicating a character written in the drawing area 10 and position data indicating a position where the character is written.
[0076] The output data constituting the second learning data D15 is a feature region 15B surrounding a box of a table to be detected in the drawing region 10 of the drawing data D10. The table to be detected corresponds to the title block 12 and the parts list 13 in the drawing data D10 shown in Fig. 2, but in this embodiment, the description will be centered on the case where the table to be detected is the parts list 13. Therefore, the feature region 15B corresponds to the region surrounding the parts list 13 in the drawing data D10 shown in Fig. 2.
[0077] The learning data acquisition unit 2010B performs annotation on the drawing data D10 registered in the drawing database 210, thereby acquiring first learning data D14 and second learning data D15.
[0078] For example, the learning data acquisition unit 2010B acquires the first learning data D14 by displaying the drawing data D10 on a display screen of the drawing processing device 2B or the user terminal device 3, and accepting an input operation on the table area 15A as an annotation so as to surround the title column 12 and the parts list 13 in the drawing area 10 on the display screen.
[0079] In addition, the learning data acquisition unit 2010B displays the drawing data D10 on the display screen of the drawing processing device 2B or the user terminal device 3, and acquires the second learning data D15 by accepting an input operation of the feature area 15B as an annotation so as to surround a box of the table to be detected in the drawing area 10 on the display screen.
[0080] The machine learning unit 2011B performs machine learning of the first learning model 220A using a plurality of sets of first learning data D14 acquired by the learning data acquisition unit 2010B. The machine learning unit 2011B also performs machine learning of the second learning model 220B using a plurality of sets of second learning data D15 acquired by the learning data acquisition unit 2010B.
[0081] (Drawing processing unit 204B) As shown in FIG. 11, the drawing processing unit 204B performs a table area identification process to identify a table area 15A in which a table is located within the drawing area 10 of the new drawing data D10, a feature area identification process to identify a feature area 15B in which a box of the table to be detected is located within the drawing area 10 of the new drawing data D10, a candidate area identification process to identify a candidate area 14 based on the table area 15A identified by the table area identification process and the feature area 15B identified by the feature area identification process, and a table information acquisition process to acquire table information related to the table to be detected from the candidate area 14 identified by the candidate area identification process.
[0082] As the table area identification process, the drawing processing unit 204B inputs new drawing data D10 into the first learning model 220A, thereby identifying a table area 15A included in the drawing area 10 of the drawing data D10. That is, in the table area identification process, a table area 15A in which a table is likely to be arranged is identified in the drawing area 10. Therefore, in the table area identification process, an area in which something that looks like a table is likely to be arranged is identified as the table area 15A without identifying the type of table, for example, whether it is a title block 12 or a parts list 13.
[0083] In the characteristic region identification process, the drawing processing unit 204B inputs new drawing data D10 to the second learning model 220B to identify a characteristic region 15B included in the drawing region 10 of the drawing data D10. A characteristic region 15B is identified that is likely to contain boxes of the target table (in this embodiment, the parts list 13). Therefore, in the characteristic region identification process, without identifying whether a table is located, a region that is likely to contain features of the table to be detected (for example, the arrangement and number of boxes) is identified as characteristic region 15B.
[0084] In the candidate area identification process, the drawing processing unit 204B identifies an area where the table area 15A identified in the table area identification process and the feature area 15B identified in the feature area identification process overlap as a candidate area 14. That is, the area where the table area 15A identified in the table area identification process as an area where a table-like thing is likely to be arranged and the feature area 15B identified in the feature area identification process as an area where a thing that seems to be a feature of the detection target table to be detected is likely to be included is an area where a thing that seems to be a table is arranged and where a thing that seems to be a feature of the detection target table to be detected is included. Therefore, in the candidate area identification process, such an area is identified as the candidate area 14 where the table to be detected (in this embodiment, the parts list 13) is located. The drawing processing unit 204B may identify an area where the table area 15A and the feature area 15B overlap as a candidate area 14, or may identify the table area 15 as a candidate area 14 when at least a part of the table area 15 overlaps the feature area 15B.
[0085] As the table information acquisition process, the drawing processing unit 204B acquires table information based on the characters in the boxes arranged in the candidate area 14 among the characters recognized by the character recognition unit 203 and the attributes defined for the boxes.
[0086] (Operation of drawing processing device 2B) Fig. 12 is a flowchart showing an example of the operation (drawing processing method) of the drawing processing device 2B according to the second embodiment. Note that the steps having the same step numbers as those in the flowchart shown in Fig. 8 are the same as those in the first embodiment, so the following description will focus on the parts that are different from the first embodiment.
[0087] First, in step S100 (drawing reception step), the drawing reception unit 202 receives new drawing data D10, and in step S110 (character recognition step), the character recognition unit 203 recognizes characters included in the drawing data D10 received in step S100.
[0088] Next, in step S121 (drawing processing step), the drawing processing unit 204B inputs new drawing data D10 into the first learning model 220A, thereby performing a table area identification process to identify the table area 15A included in the drawing area 10 of the drawing data D10.
[0089] Next, in step S122, the drawing processing unit 204B inputs new drawing data D10 into the second learning model 220B, thereby performing a feature region identification process to identify the feature region 15B included in the drawing region 10 of the drawing data D10.
[0090] Next, in step S123, the drawing processing unit 204B performs a candidate region identification process to identify, as a candidate region 14, a region in which the table region 15A identified in step S121 and the feature region 15B identified in step S122 overlap.
[0091] Then, in step S130, the drawing processing unit 204B performs a table information acquisition process to acquire table information of the parts table 13 based on the characters in the boxes placed in the candidate area 14 of the parts table 13, among the characters recognized in step S110, and the attributes defined for the boxes.
[0092] Next, in step S140 (database management step), the database management unit 205 registers the table information acquired as the processing results of steps S120 and S130 as auxiliary information D12 in the drawing database 210. Then, in step S141, the database management unit 205 transmits display information for displaying the processing results of steps S120 and S130 to the user terminal device 3.
[0093] As described above, according to the drawing processing device 2B and drawing processing method of this embodiment, the drawing processing unit 204B specifies the candidate area 14 in which the table to be detected is located, and obtains table information from the specified candidate area 14. Therefore, even if the position in which the table is located with respect to the drawing area 10 of the drawing data D10, the number of rows and columns of the table, the attributes of each box constituting the table, etc. vary depending on the drawing data D10, it is possible to obtain information written in the table included in the drawing data D10 as table information.
[0094] At this time, the drawing processing unit 204B uses a first learning model 220A that has learned the correlation between the drawing data D10 and the table region 15A, and a second learning model 220B that has learned the correlation between the drawing data D10 and the feature region 15B, thereby being able to identify the candidate region 14 and obtain table information without performing complex image processing.
[0095] (Other embodiments) The present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the spirit and scope of the present invention. All such modifications are included in the technical concept of the present invention.
[0096] In the above embodiment, the drawing processing apparatuses 2A and 2B are described as being configured as a single device, but may be configured as a plurality of devices. For example, the drawing management system 1 may be configured as a character recognition device that includes a character recognition unit 203 and performs a character recognition process, and a machine learning device that includes learning model generation units 201A and 201B and performs a machine learning process, in addition to the drawing processing apparatuses 2A and 2B, by distributing the units 200 to 205 of the drawing processing apparatuses 2A and 2B to a plurality of devices. In this case, each unit (each process) of each of the above devices may be realized by a program executable by the computer 900.
[0097] In the above embodiment, the drawing processing devices 2A and 2B receive new drawing data D10 from the user terminal device 3 and obtain table information related to a table included in the drawing data D10. Alternatively, the user terminal device 3 may function as the drawing processing devices 2A and 2B.
[0098] In the above embodiment, the drawing processing apparatus 2A, 2B is described as having the character recognition unit 203 in addition to the drawing processing units 204A, 204B. In contrast, the drawing processing units 204A, 204B may realize a function of recognizing characters included in the drawing data D10, similar to the character recognition unit 203. For example, the learning models 220, 220A, 220B may include a function of recognizing characters included in the drawing data D10, and in that case, the drawing processing units 204A, 204B may input new drawing data D10 to the learning models 220, 220A, 220B to recognize characters included in the drawing data D10. [Explanation of symbols]
[0099] 1...Drawing management system, 2A, 2B...Drawing processing device, 3...User terminal device, 10...Drawing area, 11...Shape area, 12...Title block, 13...Bill of materials, 14...candidate region, 15A...table region, 15B...feature region, 20: control unit, 21: data storage unit, 22: trained model storage unit, 23: communication unit, 24: input unit, 25: output unit, 200: Transmission and reception control unit, 201A, 201B: Learning model generation unit, 202: drawing reception unit, 203: character recognition unit, 204A, 204B: drawing processing unit, 205...database management unit, 210...drawing database, 211A, 211B…Information processing programs, 220…Learning models, 220A...first learning model, 220B...second learning model
Claims
1. a drawing receiving unit that receives drawing data in which characters are written in boxes separated by lines and the boxes contain one or more tables in which attributes of the characters are defined; a drawing processing unit that acquires table information related to the table of the detection target from a candidate area in which the table of the detection target having the characteristic of the detection target is arranged, from among the drawing areas of the drawing data accepted by the drawing accepting unit, The drawing processing unit includes: a table area specification process for specifying a table area in which the table is arranged within the drawing area; a feature region identification process for identifying a feature region in which the box of the table to be detected is located within the drawing region; a candidate region identifying process for identifying the candidate region based on the table region identified in the table region identifying process and the feature region identified in the feature region identifying process; a table information acquisition process for acquiring the table information from the candidate area identified in the candidate area identification process; Drawing processing equipment.
2. The drawing processing unit includes: performing a table area identification process for identifying the table area included in the drawing area of the drawing data by inputting the drawing data into a first learning model; performing a characteristic region identification process for identifying the characteristic region included in the drawing region of the drawing data by inputting the drawing data into a second learning model; The first learning model is A correlation between the drawing data and a table region surrounding the table included in the drawing data is learned by machine learning; The second learning model is A correlation between the drawing data and a feature region surrounding the box of the table to be detected included in the drawing data is learned by machine learning. The drawing processing apparatus according to claim 1 .
3. a character recognition unit that recognizes the characters included in the drawing area, The drawing processing unit includes: performing a table information acquisition process to acquire the table information based on the characters in the boxes arranged in the candidate area among the characters recognized by the character recognition unit and the attributes defined for the boxes; 3. The drawing processing apparatus according to claim 1 or 2.
4. 1. A computer-implemented method for processing drawings, comprising the steps of: a drawing receiving step of receiving drawing data in which characters are written in boxes separated by lines and one or more tables in which attributes of the characters are defined are included in the boxes; a drawing processing step of acquiring table information on the table of the detection target from a candidate area in which the table of the detection target having the characteristic of the detection target is located, among the drawing areas of the drawing data accepted by the drawing accepting step; The drawing processing step includes: a table area specification process for specifying a table area in which the table is arranged within the drawing area; a feature region identification process for identifying a feature region in which the box of the table to be detected is located within the drawing region; a candidate region identifying process for identifying the candidate region based on the table region identified in the table region identifying process and the feature region identified in the feature region identifying process; a table information acquisition process for acquiring the table information from the candidate area identified in the candidate area identification process; How to process drawings.
Citation Information
Patent Citations
Drawing table area detection method and device, storage medium and electronic equipment
CN117218675A
Cad system
JP1995036955A
Operation management support system
JP1998293777A
Data integration device, data integration method and program, and digital city creation system
WO2022168681A1
Cited By
Digitalization system for construction drawings and digitalization method for construction drawings
KR102894656B1
