CN115482552A - Intelligent copying method and system for vector reinforcing steel bar drawing - Google Patents

Intelligent copying method and system for vector reinforcing steel bar drawing Download PDF

Info

Publication number
CN115482552A
CN115482552A CN202211209970.3A CN202211209970A CN115482552A CN 115482552 A CN115482552 A CN 115482552A CN 202211209970 A CN202211209970 A CN 202211209970A CN 115482552 A CN115482552 A CN 115482552A
Authority
CN
China
Prior art keywords
steel bar
reinforcing
characters
vector
bar
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211209970.3A
Other languages
Chinese (zh)
Inventor
朱明清
程茂林
李建强
涂同珩
夏昊
李冬冬
潘道辉
张晓平
吴中正
陈斌
严双桥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CCCC Second Harbor Engineering Co
Original Assignee
CCCC Second Harbor Engineering Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CCCC Second Harbor Engineering Co filed Critical CCCC Second Harbor Engineering Co
Priority to CN202211209970.3A priority Critical patent/CN115482552A/en
Publication of CN115482552A publication Critical patent/CN115482552A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition
    • G06V30/42Document-oriented image-based pattern recognition based on the type of document
    • G06V30/422Technical drawings; Geographical maps
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/19Recognition using electronic means
    • G06V30/19007Matching; Proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition
    • G06V30/41Analysis of document content
    • G06V30/416Extracting the logical structure, e.g. chapters, sections or page numbers; Identifying elements of the document, e.g. authors

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Reinforcement Elements For Buildings (AREA)

Abstract

The invention discloses an intelligent copying method and system for a vector reinforcing steel bar drawing. Sorting the heights of all vector characters in a vector reinforcing steel bar drawing, taking a median value as a characteristic value hc, and finishing extraction and association of reinforcing steel bar basic data items in a reinforcing steel bar detail table according to the characteristic value hc; obtaining a steel bar expression of a steel bar thumbnail in the vector steel bar drawing through a regular matching rule; extracting basic data in the steel bar big sample drawing through the steel bar expression, finishing extraction and association of the steel bar big sample drawing data, associating the steel bar detail list with the data in the steel bar big sample drawing through the steel bar number, and summarizing to obtain a steel bar blanking list. According to the invention, the reinforcing steel bars and parameters in the vector reinforcing steel bar drawing are intelligently identified, and data are converted into the data model with clear classification, so that the problems of low working efficiency and high possibility of errors in manual drawing and copying are solved.

Description

Intelligent copying method and system for vector reinforcing steel bar drawing
Technical Field
The invention belongs to the field of reinforcing steel bar duplication, and particularly relates to an intelligent duplication method and system for vector reinforcing steel bar drawings.
Background
Need carry out the reinforcing bar in the engineering construction drawing and turn over the appearance, generally with artifical mode to reinforcing bar big appearance picture in the vector format drawing, the reinforcing bar table is known the picture and is counted, adopt professional software to open the drawing, find the reinforcing bar serial number in reinforcing bar table or the reinforcing bar big appearance picture in the picture, turn over relevant drawing and find the reinforcing bar information relevant with this serial number, through gathering and carding reinforcing bar specification diameter, length, every section length, type reinforcing bar form, choose the reinforcing bar shape legend unanimous with the numbered reinforcing bar for use, input each section reinforcing bar length of legend, form reinforcing bar unloading list, thereby accomplish the work of turning over the appearance. The working process is complicated and easy to make mistakes, thereby causing on-site processing errors and reworking of the reinforcing steel bars.
Disclosure of Invention
In order to solve the problems of low working efficiency and easy error of manual image recognition and sample duplication, the invention provides an intelligent sample duplication method and system for a vector reinforcing steel bar drawing, which can intelligently recognize reinforcing steel bar specification parameters and reinforcing steel bar geometric data in the vector drawing, and associate the specification, shape, size and quantity of reinforcing steel bars with reinforcing steel bar serial numbers based on the recognized reinforcing steel bar specification parameters and reinforcing steel bar geometric data, so that a reinforcing steel bar blanking list is automatically generated.
The invention discloses an intelligent copying method of a vector reinforcing steel drawing, which realizes one of the purposes of the invention and comprises the following steps:
s1, sorting the heights of all vector characters in a vector reinforcing steel bar drawing, taking a median value as a characteristic value hc, and finishing extraction and association of reinforcing steel bar basic data items in a reinforcing steel bar detail list according to the characteristic value hc; the rebar expression includes, but is not limited to, parameters composed of letters, symbols and numbers and used for representing the rebar, and the parameters include: number, specification, diameter, spacing, specification, number;
s2, obtaining a steel bar expression of a steel bar big sample graph in the vector steel bar drawing through a regular matching rule;
s3, extracting basic data in the steel bar master pattern through the steel bar expression to complete extraction and correlation of the steel bar master pattern data; the basic data comprises the number, specification, diameter, spacing and serial number of the reinforcing steel bars.
Further, the method for completing the duplication of the steel bar basic data item in the steel bar detail list according to the characteristic value hc in the step S1 comprises the following steps:
s101, obtaining the range of a reinforcing steel bar detailed list according to a horizontal line in a vector reinforcing steel bar drawing;
s102, traversing all vector characters, and regarding the characters of which the difference value of the top or bottom longitudinal coordinate values is less than or equal to a first set multiple of the characteristic value hc as the data in the same row, so as to obtain a data set in the same row;
s103, traversing each same-row data in the same-row data set to obtain characters containing the steel bar symbols, wherein the characters are in the steel bar specification; the characters on the left side of the specification of the steel bar are the number of the steel bar; the characters on the right side of the specification of the steel bars are the length and the number of the single steel bars in sequence.
Furthermore, in the common form, the left-right sequence of the reinforcement number column and the reinforcement length column is not fixed, sometimes the left length column of the number column is right, sometimes the left length column of the length column is right, so that the identified value is further analyzed, and based on the feature test that the number columns are all integers, the step S103 further includes the step S104:
s104, counting the number of all the steel bars extracted in the step S103, and if the number of the values containing the decimal point exceeds a set proportion, or the number of the values larger than a set numerical value exceeds the set proportion, interchanging the length and the number of the extracted single steel bar.
Further, in step S2, the method for obtaining the steel bar expression of the steel bar rough pattern in the vector steel bar drawing by the regular matching rule includes:
s201, traversing vector characters in the steel bar big sample graph, finding characters containing steel bar symbols, and obtaining a steel bar expression through a regular matching rule;
the regular expression in the regular matching rule is as follows:
Figure BDA0003874809360000031
further, in step S3, the method for extracting and associating the data of the steel bar thumbnail includes:
s301, obtaining the number, specification, diameter and spacing of the steel bars through a steel bar expression;
s302, acquiring the number and the geometric data of the steel bar according to the steel bar expression, wherein the geometric data comprises a steel bar graph, the total length and the side length of each section.
Furthermore, because some characters on the left side of the bar symbol represent numbers and some characters represent numbers on drawings, the step S301 further includes performing data inspection on the number of bars, traversing all the data of the same row and extracting the number of bars therein, and modifying the number of bars into a bar number if the number of data containing non-numbers exceeds a set ratio.
Further, in step S302, the method for obtaining geometric data of the steel bar according to the steel bar expression includes the following steps:
s302.1, finding out a marked line in the steel bar massive pattern drawing according to set conditions:
the setting conditions are as follows: the line is a horizontal line below the rebar expression at a vertical distance h from the rebar expression 1 A second set multiple less than the characteristic value hc; the left end point is positioned at the left side or the right side of the positioning coordinate point of the steel bar expression and is horizontally away from the positioning coordinate point of the steel bar expression 1 A third set multiple less than the characteristic value hc;
the reinforcing steel bar expression positioning coordinate point is a coordinate point at the upper left position of the reinforcing steel bar expression;
s302.2, searching characters at the two side end points of the marked line respectively, and if the distance is less than 2 × hc × f, numbering the reinforcing steel bars;
below the marking line, a vertical distance h 2 And searching for characters in the height range of the fourth set multiple smaller than or equal to the characteristic value hc, wherein the abscissa of the characters is on the right side of the left point of the marked line and on the left side of the right point of the marked line, and the characters are the length of the steel bar.
S302.3, respectively obtaining the distances between two end points of a marked line and the end points of all straight lines, finding a connecting line, when the distance between the straight line and a certain end point of a certain straight line L1 is smaller than the sixth set multiple of the characteristic value hc, taking the straight line L1 as the connecting line of the marked line, taking the other end point of the straight line L1 as the far end point, and finding the connecting line by adopting the same method according to the far end point until all the connecting lines are found;
s302.4, finding out the distance h of the foot according to the far end point of the connecting line 3 A reinforcement wire less than a seventh set multiple of the characteristic value hc; respectively finding connecting lines at two end points of the reinforcing steel bar line, and combining the reinforcing steel bar line with all the found connecting lines to obtain a reinforcing steel bar line combination body; traversing the upper side and the lower side of each section of line of each reinforcing steel bar line assembly to find out the vertical distance h 4 Characters smaller than the eighth set multiple of the characteristic value hc and with the character positioning coordinate in the line segment, finding the character length of the steel bar segment, comparing the steel bar line assembly with the steel bar line type library to obtain the line type knitting in the data itemNumber, line type parameters.
The intelligent vector reinforcing steel bar drawing sample-turning system for achieving the second purpose of the invention comprises a reinforcing steel bar basic data acquisition module, a reinforcing steel bar expression acquisition module and a reinforcing steel bar geometric data acquisition module;
the reinforcement basic data acquisition module is used for sorting the heights of all vector characters in the vector reinforcement drawing, then taking a median value as a characteristic value hc, and completing extraction and association of reinforcement basic data items in the reinforcement detail table according to the characteristic value hc;
the reinforcing steel bar expression acquisition module is used for acquiring a reinforcing steel bar expression of a reinforcing steel bar pattern in the vector reinforcing steel bar drawing through a regular matching rule;
the reinforcing steel bar geometric data acquisition module is used for extracting reinforcing steel bar geometric data through a reinforcing steel bar expression to complete extraction and association of reinforcing steel bar big sample graph data.
Further, the reinforcing steel bar basic data acquisition module further comprises a reinforcing steel bar detail table range acquisition module, a peer data acquisition module and a reinforcing steel bar basic data extraction module;
the reinforcing steel bar detail table range acquisition module is used for acquiring the range of the reinforcing steel bar detail table according to a horizontal line in a vector reinforcing steel bar drawing;
the syntype data acquisition module is used for traversing all vector characters, and regarding characters of which the difference value of the top or bottom longitudinal coordinate values is less than or equal to a first set multiple of the characteristic value hc as syntype data so as to obtain a syntype data set;
the reinforcing steel bar basic data extraction module is used for traversing each same-row data in the same-row data set to obtain a character containing a reinforcing steel bar symbol, wherein the character is in a reinforcing steel bar specification; the characters on the left side of the specification of the steel bar are the number of the steel bar; the characters on the right side of the specification of the steel bars are the length and the number of the single steel bars in sequence.
By utilizing the system and the method, the reinforcing steel bar basic data items in the reinforcing steel bar detail table are obtained through the character height characteristic value hc, the reinforcing steel bar expression is identified from the reinforcing steel bar big sample graph through the regular matching mode, and the basic data in the reinforcing steel bar big sample graph is obtained through the reinforcing steel bar expression, so that the reinforcing steel bar related data in the reinforcing steel bar detail table and the reinforcing steel bar big sample graph are automatically converted into the reinforcing steel bar data with clear classification, and the problems of low working efficiency and easy error of reinforcing steel bar sample turning caused by statistics errors in the manual graph identifying process are solved.
Drawings
FIG. 1 is a flow chart of an embodiment of the method of the present invention;
FIG. 2 illustrates a reinforcement blanking sheet according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a method for obtaining geometric data of a rebar according to a rebar expression of the present invention;
fig. 4 is a schematic view of a detailed form area and a steel bar thumbnail area of the present invention.
Detailed Description
The following detailed description is provided for the purpose of explaining the claimed embodiments of the present invention so that those skilled in the art can understand the claims. The scope of the invention is not limited to the following specific implementation configurations. It is intended that the scope of the invention be determined by those skilled in the art from the following detailed description, which includes claims that are directed to this invention.
In the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not intended to indicate or imply relative importance.
An embodiment of the method according to the invention will be described below with reference to figures 1 to 4.
S1, sorting the heights of all vector characters in a vector reinforcing steel bar drawing, taking a median value as a characteristic value hc, and finishing extraction and association of reinforcing steel bar basic data items in a reinforcing steel bar detail table according to the characteristic value hc; the method specifically comprises the following steps:
1. uploading a vector PDF drawing, wherein the vector PDF drawing in the embodiment is a white paper black character bottom; extracting LTCurve line vectors and LTTextBox character vectors by adopting a PDFMINER component, detecting the authenticity of the lines by the following method, and deleting lines which do not exist actually:
and storing the pdf as a png format bitmap by adopting a fit component, and verifying that two 1/3 points and a middle point of the line are black pixels in the bitmap to obtain the real line.
And (5) sequencing the vector characters according to the height, and taking a median value as a characteristic value hc.
2. And finding an upper line and a lower line in the identified line set, wherein the upper line and the lower line meet the following conditions:
the two lines are horizontal lines, the distance between the two lines is within [0.8hc,8hc ], the horizontal distance of the left end points of the two lines is less than hc, the length difference of the two lines is less than hc, and no horizontal line with the length more than 1.5hc exists between the two lines;
after finding the upper line and the lower line which meet the conditions, finding a third line below the lower line according to the conditions, if the third line can be found, determining that the drawing contains a steel bar table, and continuously finding a fourth line, a fifth line and an nth line downwards according to the conditions until the line meeting the conditions cannot be found; in the same way, lines meeting the requirements are searched above the upper line until the lines cannot be found, the obtained lines are concentrated, and the range included by the uppermost line and the lowermost line is the range of the reinforcing bar list, as shown in fig. 4.
3. Characters in the range of the reinforcing steel bar list are obtained through screening, the content of the characters is identified and converted into the following basic data items for storage.
TABLE 1 basic data items
Encoding Name(s) Encoding Name (R)
Id Numbering Diameter Diameter of
Model Specification of Number Number of
Length Length of single piece Spacing Distance between each other
Category Line type numbering ParameterList Linear parameter
StartJointCode Starting point process coding EndJointCode Endpoint process coding
The method comprises the following specific steps:
3.1, traversing character sets in the range of the reinforcing bar list, recording characters with the difference value of the vertical coordinates of the characters within the distance of 0.25hc together to form same-row data, traversing the same-row data, finding out the characters containing reinforcing bar symbols shown in the following table 2, and storing the characters as specifications into a data item;
TABLE 2 Reinforcement symbol
Figure BDA0003874809360000081
3.2, when the characters except the characters representing the specification in the table 2 have other characters, the other characters are stored in the data item as the diameters of the steel bars;
3.3, the characters in the same row are stored in the data item as the serial number of the steel bar if the characters exist before the diameter of the steel bar through the left and right sequence of the abscissa; characters read sequentially behind the diameter of the steel bar are respectively used as the length and the number of the single steel bar and stored into data items; and traversing the next row after the completion to obtain all the numbers of the steel bars, the lengths and the number of the single steel bars in the graph.
In another embodiment, the method further comprises the following steps of checking the number of the identified reinforcing steel bars: if the number of the decimal point exceeds 10% of the total number or the number more than 1000 exceeds 10% of the total number, the number of the reinforcing steel bars and the length of the single steel bar are interchanged.
S2, obtaining a steel bar expression of a steel bar big sample graph in the vector steel bar drawing through a regular matching rule; the method comprises the following steps:
traversing all characters in the steel bar thumbnail, starting from the character containing the steel bar symbol shown in the table 2, finding and then analyzing the steel bar expression, wherein the definition is shown in the table 3, n represents the number of the steel bars, and n is not displayed when the value range is 1-9999 and n = 1; phi represents a steel bar symbol and the diameter of the heel; @ stands for pitch and the value of the last is in the range of 10 to 9999, as exemplified by the following table:
TABLE 3 Rebar expressions
Figure BDA0003874809360000091
The general regular expression for designing the key words of the reinforcing steel bars is as follows:
Figure BDA0003874809360000092
and S3, extracting the number, specification, diameter, serial number and geometric data of the steel bars through the steel bar expression, and finishing the extraction and association of the data in the range of the steel bar big sample graph.
S301, obtaining the number, specification, diameter and spacing of the steel bars through a steel bar expression;
and identifying the number, specification, diameter and interval of basic steel bars according to the steel bar symbols and the @ split steel bar expression, and carrying out data inspection on the number. Because some characters on the left side of the steel bar symbol represent the number on drawings and some represent numbers, the following method is adopted for distinguishing the characters based on the fact that the numbers are integers: if the amount of data containing non-numbers exceeds 10% of the total number, the number is changed to a number.
S302, acquiring the number and the geometric data of the steel bar according to the steel bar expression, wherein the geometric data comprises a steel bar graph, the total length and the side length of each section;
the following steps of finding the number of the steel bars, the steel bar graph and the length of each section of the steel bars based on the identified steel bar expression are described by combining the following steps with the attached figure 3:
s302.1, finding out a marked line in the steel bar thumbnail according to the following set conditions:
setting conditions: the line is a horizontal line below the bar expression and at a vertical distance h from the bar expression 1 Less than 0.5hc, and the left end point is positioned on the left side or the right side of the expression positioning coordinate point of the steel bar and meets the horizontal distance S from the expression positioning coordinate point 1 Less than 3hc;
s302.2, searching characters at two end points of the marking line meeting the set conditions, and if the characters are found, storing the characters as numbers in a data item;
vertical distance h below marking line 2 And searching for characters in the height range of less than or equal to 1.5hc, wherein the abscissa of the character is positioned on the right side of the left point of the marked line and on the left side of the right point of the marked line, and the characters are stored in the data item as the length of the steel bar.
S302.3, respectively obtaining the distances between two end points of a marked line and the end points of all straight lines, finding a connecting line, when the distance between the connecting line and a certain end point of a certain straight line L1 is smaller than the sixth set multiple of the characteristic value hc, taking the straight line L1 as the connecting line of the marked line, taking the other end point of the straight line L1 as the far end point, and finding the connecting line by adopting the same method according to the far end point until all the connecting lines are found;
s302.4 of the connecting wire obtained in the previous stepFinding the distance h of the foot from the far end point 3 Finding all connecting lines by a steel bar line smaller than 0.2hc according to the algorithm of the previous step, and combining the steel bar line with all the found connecting lines to obtain a steel bar line assembly; traversing the upper side and the lower side of each section of line in each reinforcing steel bar line assembly to find out the vertical distance h 4 The characters are smaller than 0.5hc, and the hanging of the characters to the line is in the line segment, so that the characters are the length of the steel bar segment; and comparing the steel bar line assembly with the steel bar line type library to obtain a line type number and a line type parameter, and storing the line type number and the line type parameter into the data item.
Thus, the intelligent sample turning work of the reinforcing steel bars is completed.
The found geometric data and parameter definitions of the steel bars such as points, lines and the like are stored in a steel bar library according to the format of the following table 4, as shown in table 4.
Table 4 steel bar storehouse data structure
Figure BDA0003874809360000111
According to the reinforcing steel bar library, the reinforcing steel bar blanking list shown in fig. 2 can be obtained through a software programming method, the reinforcing steel bar list is displayed in a graphic mode, a certain row in the list is clicked, and the left side graph automatically navigates to the corresponding source position.
Clicking the end of the steel bar, popping up a following box to select an end connection process, and determining that a connection process thumbnail appears at the end of the steel bar in the upper drawing, wherein the connection process is shown in table 5.
TABLE 5 joining Process
Figure BDA0003874809360000121
Figure BDA0003874809360000131
Through the various items of data of the reinforcing steel bars extracted in the steps, the overlong broken reinforcing steel bar sample turning can be realized in the reinforcing steel bar form shown in fig. 2, so that the reinforcing steel bars are cut and split into a plurality of construction reinforcing steel bars. The method comprises the following implementation steps:
firstly, a user selects a row of steel bars, inputs the length of a segment, the breakpoint staggered joint mode and the connection process, then performs segment calculation according to the input, determines the line type and the length of the segment of the steel bars of each segment, and the breakpoint process is used as sub-level data of the selected steel bars to be filled in a table, for example, the steel bars in the following table 6, and three types of steel bars J32-1, J32-2 and J32-3 are obtained after J32 is broken.
Table 6 example of automatic breaking of super-long reinforcing steel bar
Figure BDA0003874809360000132
Figure BDA0003874809360000141
According to the data of the reinforcing steel bars extracted in the steps, the gradual-change reinforcing steel bars can be automatically split in a reinforcing steel bar blanking list shown in fig. 2, so that the lengths of the reinforcing steel bars can be calculated one by one. The implementation steps are as follows, a user firstly fills the steel bar section where the gradual change is located, the gradual change range is gradually changed in an equidistant mode or the average gradual change of the total number of the steel bars is limited, the actual length is calculated one by one, the sub-level data is generated and is input into a table, and the concrete-length steel bars are formed by J45 sample turning in the following table 7:
TABLE 7 automatic splitting of gradual-change rebars
Figure BDA0003874809360000142
Figure BDA0003874809360000151
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
The embodiment of the application also comprises an embodiment of an intelligent sample-copying system of the vector reinforcing steel bar drawing, which comprises a reinforcing steel bar detail table basic data acquisition module, a reinforcing steel bar expression acquisition module and a reinforcing steel bar number and geometric data acquisition module;
the reinforcing steel bar detail table basic data acquisition module is used for sorting the heights of all vector characters in the vector reinforcing steel bar drawing, then taking the median value as a characteristic value hc, and completing the sample duplication of reinforcing steel bar basic data items in the reinforcing steel bar detail table according to the characteristic value hc;
the reinforcing steel bar expression acquisition module is used for acquiring a reinforcing steel bar expression of a reinforcing steel bar pattern in the vector reinforcing steel bar drawing through a regular matching rule;
the reinforcing steel bar number and geometric data acquisition module is used for extracting the reinforcing steel bar number and the geometric data through the reinforcing steel bar expression to complete extraction and association of the reinforcing steel bar big sample data.
In the reinforcing steel bar basic data acquisition module, the method for identifying the reinforcing steel bar specification data in the reinforcing steel bar list according to the characteristic value hc comprises the following steps:
s101, obtaining the range of a reinforcing steel bar detail table according to a horizontal line in a vector reinforcing steel bar drawing;
s102, traversing all vector characters, and regarding characters of which the difference value of the top or bottom longitudinal coordinate values of the characters is less than or equal to a first set multiple of the characteristic value hc as same-row data to further obtain a same-row data set;
s103, traversing each same-row data in the same-row data set to obtain a character containing a steel bar symbol, wherein the character is in a steel bar specification; the characters on the left side of the specification of the steel bar are the number of the steel bar; the characters on the right side of the specification of the steel bars are the length and the number of the single steel bars in sequence.
Those not described in detail in this specification are well within the skill of the art.

Claims (10)

1. An intelligent copying method of a vector reinforcing steel bar drawing is characterized by comprising the following steps:
s1, sorting the heights of all vector characters in a vector reinforcing steel bar drawing, taking a median value as a characteristic value hc, and finishing extraction and association of reinforcing steel bar basic data items in a reinforcing steel bar detail table according to the characteristic value hc;
s2, obtaining a steel bar expression of a steel bar big sample graph in the vector steel bar drawing through a regular matching rule;
and S3, extracting basic data in the steel bar big sample graph through the steel bar expression to finish extraction and correlation of the steel bar big sample graph data.
2. The intelligent vector reinforcing bar drawing duplication method of claim 1, wherein the method for identifying the reinforcing bar specification data in the reinforcing bar specification list according to the characteristic value hc in the step S1 comprises the following steps:
s101, obtaining the range of a reinforcing steel bar detailed list according to a horizontal line in a vector reinforcing steel bar drawing;
s102, traversing all vector characters, and regarding the characters of which the difference value of the top or bottom longitudinal coordinate values is less than or equal to a first set multiple of the characteristic value hc as the data in the same row, so as to obtain a data set in the same row;
s103, traversing each same-row data in the same-row data set to obtain a character containing a steel bar symbol, wherein the character is in a steel bar specification; the characters on the left side of the specification of the steel bar are the number of the steel bar; the characters on the right side of the specification of the steel bars are the length and the number of the single steel bars in sequence.
3. The intelligent vector reinforcing drawing doubling method as claimed in claim 2, wherein after the step S103, the method further comprises the step S104:
s104, counting the number of all the steel bars extracted in the step S103, and if the number of the values containing the decimal point exceeds a set proportion, or the number of the values larger than a set numerical value exceeds the set proportion, interchanging the length and the number of the extracted single steel bar.
4. The intelligent vector reinforcing bar drawing duplication method of claim 1, wherein in step S2, the method for identifying the reinforcing bar expression of the reinforcing bar big sample graph in the vector reinforcing bar drawing through the regular matching rule includes:
s201, traversing the vector characters in the steel bar big sample graph, finding out characters containing steel bar symbols, and obtaining a steel bar expression through a regular matching rule.
5. The intelligent vector reinforcing bar drawing duplication method of claim 1, wherein in step S3, the basic data in the reinforcing bar big sample drawing is extracted through a reinforcing bar expression, and the method for completing extraction and association of the reinforcing bar big sample drawing data comprises the following steps:
s301, obtaining the number, specification, diameter and spacing of the steel bars through a steel bar expression;
s302, acquiring the number and the geometric data of the steel bar according to the steel bar expression, wherein the geometric data comprises a steel bar graph, the total length and the side length of each section.
6. The intelligent vector reinforcing bar drawing doubling method as claimed in claim 5, wherein step S301 further comprises data inspection of the number of reinforcing bars, and if the number of data containing non-numbers exceeds a set ratio, the number of reinforcing bars is modified to be a reinforcing bar number.
7. The intelligent duplication method of vector bar drawings according to claim 5, wherein in step S302, the method for obtaining the geometric data of the steel bars according to the steel bar expressions comprises the following steps:
s302.1, finding out a marking line in the steel bar big sample drawing according to set conditions;
s302.2, characters are searched at the two side end points of the marking line, if the characters are found, the characters are numbered of the reinforcing steel bars, and the characters are vertically spaced by h below the marking line 2 Identifying characters in the height range of a fourth set multiple smaller than or equal to the characteristic value hc, wherein the abscissa of the characters is on the right side of the left point of the marking line and on the left side of the right point of the marking line, and the characters are the length of the steel bar;
s302.3, respectively obtaining the distances between two end points of a marked line and the end points of all straight lines, finding a connecting line, when the distance between the connecting line and a certain end point of a certain straight line L1 is smaller than the sixth set multiple of the characteristic value hc, taking the straight line L1 as the connecting line of the marked line, taking the other end point of the straight line L1 as the far end point, and finding the connecting line by adopting the same method according to the far end point until all the connecting lines are found;
s302.4, finding out the distance h of the foot from the far end point of the connecting line 3 A reinforcement wire less than a seventh set multiple of the characteristic value hc; respectively finding connecting lines at two end points of the reinforcing steel bar line, and combining the reinforcing steel bar line with all the found connecting lines to obtain a reinforcing steel bar line combination body; traversing the upper side and the lower side of each section of line of each reinforcing bar line assembly to find out the vertical distance h 4 And the characters are smaller than the eighth set multiple of the characteristic value hc, and the character positioning coordinates are in the line segment, so that the found characters are the length of the section of the steel bar.
8. The intelligent vector reinforcing drawing doubling method as claimed in claim 7, wherein the setting conditions in the step S302.1 are as follows: the line is the horizontal line below the rebar expression, at a vertical distance h from the rebar expression 1 A second set multiple less than the characteristic value hc; the left end point is positioned at the left side or the right side of the positioning coordinate point of the steel bar expression and is horizontally away from the positioning coordinate point of the steel bar expression 1 Less than a third set multiple of the characteristic value hc.
9. The intelligent vector reinforcing bar drawing duplication system of claim 1, comprising a reinforcing bar basic data acquisition module, a reinforcing bar expression acquisition module and a reinforcing bar geometric data acquisition module;
the reinforcing steel bar basic data acquisition module is used for sorting the heights of all vector characters in the vector reinforcing steel bar drawing, then taking the median as a characteristic value hc, and finishing the extraction and association of reinforcing steel bar basic data items in the reinforcing steel bar detail table according to the characteristic value hc;
the reinforcing steel bar expression acquisition module is used for acquiring a reinforcing steel bar expression of a reinforcing steel bar macro pattern in the vector reinforcing steel bar drawing through a regular matching rule;
the reinforcing steel bar geometric data acquisition module is used for extracting reinforcing steel bar geometric data through a reinforcing steel bar expression to complete extraction and association of reinforcing steel bar big sample graph data.
10. The intelligent vector reinforcing bar drawing duplication system of claim 9, wherein the reinforcing bar basic data acquisition module further comprises a reinforcing bar list range acquisition module, a peer data acquisition module and a reinforcing bar basic data extraction module;
the reinforcing steel bar detail table range acquisition module is used for acquiring the range of the reinforcing steel bar detail table according to a horizontal line in the vector reinforcing steel bar drawing;
the same-row data acquisition module is used for traversing all vector characters, and regarding characters of which the difference value of the top or bottom longitudinal coordinate values of the characters is less than or equal to a first set multiple of the characteristic value hc as same-row data so as to obtain a same-row data set;
the reinforcing steel bar basic data extraction module is used for traversing each same-row data in the same-row data set to obtain characters containing reinforcing steel bar symbols, and the characters are of reinforcing steel bar specifications; the characters on the left side of the specification of the steel bar are the number of the steel bar; the characters on the right side of the specification of the reinforcing steel bars are the length and the number of the single reinforcing steel bars in sequence.
CN202211209970.3A 2022-09-30 2022-09-30 Intelligent copying method and system for vector reinforcing steel bar drawing Pending CN115482552A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211209970.3A CN115482552A (en) 2022-09-30 2022-09-30 Intelligent copying method and system for vector reinforcing steel bar drawing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211209970.3A CN115482552A (en) 2022-09-30 2022-09-30 Intelligent copying method and system for vector reinforcing steel bar drawing

Publications (1)

Publication Number Publication Date
CN115482552A true CN115482552A (en) 2022-12-16

Family

ID=84394546

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211209970.3A Pending CN115482552A (en) 2022-09-30 2022-09-30 Intelligent copying method and system for vector reinforcing steel bar drawing

Country Status (1)

Country Link
CN (1) CN115482552A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117392269A (en) * 2023-12-08 2024-01-12 中交第一航务工程勘察设计院有限公司 Pipe network drawing data extraction method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020085758A1 (en) * 2000-11-22 2002-07-04 Ayshi Mohammed Abu Character recognition system and method using spatial and structural feature extraction
CN111177831A (en) * 2019-12-26 2020-05-19 沈阳工业大学 BIM technology-based steel bar three-dimensional modeling and automatic calculation method
US20210110194A1 (en) * 2019-10-14 2021-04-15 Hangzhou Dianzi University Method for automatic extraction of data from graph
CN112883799A (en) * 2021-01-20 2021-06-01 上海品览智造科技有限公司 Method for accurately identifying slope in CAD (computer-aided design) slope big sample graph
CN113658171A (en) * 2021-08-30 2021-11-16 西安理工大学 Automatic extraction method of steel bar processing information based on digital image processing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020085758A1 (en) * 2000-11-22 2002-07-04 Ayshi Mohammed Abu Character recognition system and method using spatial and structural feature extraction
US20210110194A1 (en) * 2019-10-14 2021-04-15 Hangzhou Dianzi University Method for automatic extraction of data from graph
CN111177831A (en) * 2019-12-26 2020-05-19 沈阳工业大学 BIM technology-based steel bar three-dimensional modeling and automatic calculation method
CN112883799A (en) * 2021-01-20 2021-06-01 上海品览智造科技有限公司 Method for accurately identifying slope in CAD (computer-aided design) slope big sample graph
CN113658171A (en) * 2021-08-30 2021-11-16 西安理工大学 Automatic extraction method of steel bar processing information based on digital image processing

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
洪建武等: "基于特征与知识关联的建筑图钢筋量提取方法", 计算机工程与应用, 31 December 2004 (2004-12-31), pages 219 - 221 *
辛金超;: "正则表达式技术在结构施工图中的应用", 山西建筑, no. 05, 10 February 2013 (2013-02-10), pages 33 - 34 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117392269A (en) * 2023-12-08 2024-01-12 中交第一航务工程勘察设计院有限公司 Pipe network drawing data extraction method and device
CN117392269B (en) * 2023-12-08 2024-02-27 中交第一航务工程勘察设计院有限公司 Pipe network drawing data extraction method and device

Similar Documents

Publication Publication Date Title
CN109191576B (en) Layer classification method for converting building drawings into three-dimensional BIM (building information modeling) models
US7814111B2 (en) Detection of patterns in data records
CN111753356B (en) Computer recognition analysis method for beam Ping Fa reinforcement diagram
US5267332A (en) Image recognition system
CN110633554B (en) BIM-based automatic generation method for bridge pile foundation coordinate table
AU5405201A (en) Computer automated process for analysing and interpreting engineering drawings
CN1783074A (en) Electronic document management apparatus and electronic document management program
CN106844664A (en) A kind of time series data index structuring method based on summary
CN112347533B (en) Building structure BIM forward automatic checking method based on Revit
CN115482552A (en) Intelligent copying method and system for vector reinforcing steel bar drawing
EP0829810A1 (en) Biochemical information processor, biochemical information processing method, and biochemical information recording medium
CN109062921B (en) Method and system for extracting ship tray management information
KR101030250B1 (en) Data processing method and data processing program
JP3394694B2 (en) Format information registration method and OCR system
JP4501459B2 (en) Program, method and apparatus for creating cross table
CN112241411B (en) Spreadsheet structured identification and extraction method based on CAD basic elements
US7016535B2 (en) Pattern identification apparatus, pattern identification method, and pattern identification program
JP3463009B2 (en) Medium processing method and medium processing apparatus
CN114372312A (en) Building structure steel bar data analysis and conversion method
CN100419674C (en) Report forms generating system and method
CN113791448B (en) Multidimensional data visualization method and system based on geological structure characteristics
CN115310237B (en) Automatic profile steel hole type parameterization method based on graphic file
JP3679241B2 (en) Construction drawing recognition method and recognition apparatus
EP1661038A1 (en) A method of processing data for a system model
JP5052773B2 (en) House evaluation calculation processing device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination