CN111062921A - Tile inspection method used in planar design drawing - Google Patents

Tile inspection method used in planar design drawing Download PDF

Info

Publication number
CN111062921A
CN111062921A CN201911283483.XA CN201911283483A CN111062921A CN 111062921 A CN111062921 A CN 111062921A CN 201911283483 A CN201911283483 A CN 201911283483A CN 111062921 A CN111062921 A CN 111062921A
Authority
CN
China
Prior art keywords
size
tile
minimum
picture
ceramic tile
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.)
Granted
Application number
CN201911283483.XA
Other languages
Chinese (zh)
Other versions
CN111062921B (en
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.)
Central South University
Original Assignee
Central South University
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 Central South University filed Critical Central South University
Priority to CN201911283483.XA priority Critical patent/CN111062921B/en
Publication of CN111062921A publication Critical patent/CN111062921A/en
Application granted granted Critical
Publication of CN111062921B publication Critical patent/CN111062921B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/02Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Geometry (AREA)
  • Image Analysis (AREA)

Abstract

The invention discloses a tile inspection method used in a plane design drawing, which comprises the following steps: step A: acquiring a size digital area and size digital thereof in a planar design drawing, a distance between adjacent short line segments on a size marking line, a tile sample picture and tile type thereof, a minimum envelope rectangle and a corresponding picture thereof; and B: and D, calculating a scale according to the size digital area obtained in the step A, the size digital of the size digital area and the distance between adjacent short line segments on the size marking line, respectively performing optimal matching and cutting matching according to the original size of the ceramic tile, and calculating the number of each type of ceramic tile. The method provided by the invention combines CorelDRAW software VBA preprocessing and third-party computer programming language to carry out matching statistics, realizes the statistics of the type and the number of the home decoration tile with the planar design drawing, solves the problems of manual counting, low efficiency and easy error generation, and realizes the automatic and accurate statistics of the type and the number of the tiles.

Description

Tile inspection method used in planar design drawing
Technical Field
The invention belongs to the field of image information processing, and particularly relates to a tile inspection method for a plane design drawing.
Background
At present, the detection of the type and the number of the home decoration flat design drawing tiles is mainly completed manually, and a tile dealer calculates the number of each type of tiles according to the observation of human eyes and personal experience according to the requirements of customers. The manual counting is not only inefficient, but also prone to errors, causing unnecessary losses. In other fields, most of the existing methods for detecting types and numbers are on common images, and image processing technologies such as image segmentation are adopted, so that the problems of large computational resources, low precision and the like are also caused.
Under the background, it is important to research a method which is efficient, accurate and capable of automatically detecting the types and the number of the ceramic tiles.
Disclosure of Invention
The invention aims to solve the technical problem of providing a tile inspection method for a plane design drawing, which is used for realizing the automatic detection of tiles in the plane design drawing, particularly for indoor home decoration design.
The technical scheme adopted by the invention is as follows:
a tile inspection method for use in a floor plan, comprising the steps of, if a tile type is detected:
step S1: acquiring each tile sample picture and tile type thereof, and a minimum envelope rectangle in which an accurate clipping curve represented by each tile boundary is located and a picture thereof in a planar design drawing;
step S2: respectively reading the pictures corresponding to the minimum enveloping rectangles, and sequentially matching the pictures with the tile sample pictures based on the pixel length and the pixel width, wherein if the pictures are matched, the type of the tile corresponding to the minimum enveloping rectangle is the tile type of the matched tile sample pictures;
if the number of the ceramic tiles is detected, the method comprises the following steps:
acquiring a size digital area in the planar design drawing, size numbers of the area and the distance between adjacent short line segments on a size marking line, and calculating a scale according to the size numbers and the distance between the adjacent short line segments on the size marking line, wherein the scale is the size ratio of the size of a ceramic tile on the planar design drawing to the actual size of the ceramic tile;
executing the step S1 and the step S2 to obtain the type of the ceramic tile corresponding to each minimum enveloping rectangle in the planar design drawing;
calculating the actual size of each minimum envelope rectangle based on a scale, wherein the size comprises the length and the width;
matching the actual size of each minimum enveloping rectangle with the actual size of the corresponding ceramic tile according to the actual size of the minimum enveloping rectangle and the type of the corresponding ceramic tile to obtain the number of the ceramic tiles of each type;
the size matching is realized based on the principles of optimal matching, minimum envelope rectangle cutting matching and tile cutting matching.
The concept of realizing automatic detection is obtained according to the characteristics of the plane design drawing, wherein the picture for representing the minimum enveloping rectangular area is matched with the tile sample picture to identify the tile type according to the characteristics that the tile sample picture, the tile type name and the minimum enveloping rectangular area are arranged in the plane design drawing and the tile sample picture is a tile; meanwhile, the scale is skillfully calculated by utilizing the dimension marking characteristics, so that the actual dimension of the ceramic tile area corresponding to the minimum enveloping rectangular area is obtained, a foundation is laid for counting the actual number of the required ceramic tiles, and meanwhile, the invention also considers that part of the ceramic tiles are not complete in practical application, so that the cutting statistics is carried out.
Further preferably, the optimal matching is that the error between the actual size of the minimum envelope rectangle and the actual size of the corresponding tile is within a preset allowable range, and the statistical number of the corresponding tile types is increased by one;
when the minimum enveloping rectangle is cut and matched to be the minimum enveloping rectangle with the actual size larger than the actual size of the corresponding ceramic tile and not meet the optimal matching, cutting the minimum enveloping rectangle to obtain a newly generated minimum enveloping rectangle, wherein at least one newly generated minimum enveloping rectangle is optimally matched with the actual size of the corresponding ceramic tile, and the statistical number of the types of the corresponding ceramic tiles is increased by one; the actual size of the residual newly generated minimum enveloping rectangle is smaller than the actual size of the corresponding ceramic tile;
when the ceramic tile cutting matching is that the actual size of the minimum enveloping rectangle is smaller than the actual size of the corresponding ceramic tile and the optimal matching is not met, the ceramic tile cutting, the construction of the selectable ceramic tile size array and the cutting of the selectable ceramic tile are counted;
firstly, searching whether the best match exists in the selectable array, and if so, deleting the selectable size corresponding to the best match in the selectable tile size array and carrying out next minimum envelope rectangle detection; if the size of the optional ceramic tile does not exist, searching a cuttable ceramic tile in the optional ceramic tile size array, cutting to obtain a new optional ceramic tile size, enabling at least one new optional ceramic tile size to be optimally matched with the actual size of the minimum envelope rectangle, deleting the optional size corresponding to the optimal matching in the optional ceramic tile size array, detecting the next minimum envelope rectangle, and adding the remaining new optional ceramic tile sizes to the optional ceramic tile size array; if the cuttable tiles do not exist in the selectable tile size array, cutting the original tiles to obtain a new selectable tile size, adding one to the statistical number of the corresponding tile types and adding the new selectable tile size to the selectable tile size array.
Further preferably, the process of obtaining the size number area and the size number thereof in the planar design drawing is as follows:
identifying a dimension marking line in the horizontal direction, and determining corresponding dimension digital area coordinates based on the dimension marking line in the horizontal direction, wherein the dimension digital area coordinates corresponding to the horizontal direction are calculated according to the following formula:
XROImin=XLL-LLL/2-CLL1,XROImax=XLL+LLL/2+CLL1,YROImin=YLL-CLL2,YROImax=YLL+CLL3in which C isLL1、CLL2、CLL3Are all continuation constants;
identifying a dimension marking line in the vertical direction, and determining a corresponding dimension digital area coordinate based on the dimension marking line in the vertical direction, wherein the dimension digital area coordinate corresponding to the vertical direction is calculated according to the following formula:
XROImin=XLL-CLL1,XROImax=XLL+CLL2,YROImin=YLL-LLL/2-CLL3,YROImax=YLL+LLL/2+CLL3in which C isLL1、CLL2、CLL3Are all continuation constants;
in the formula, XROImin、XROImax、YROIminAnd YROImaxX, Y coordinate range, X, representing a size number regionLL、YLLThe central coordinates of the dimension-marking lines, L, in the horizontal or vertical direction, respectivelyLLMarking the length of the line for the dimension in the horizontal or vertical direction;
and cutting the digital area picture based on the size digital area coordinate to obtain a picture corresponding to the size digital area, and recognizing the picture by utilizing an OCR image character recognition technology to obtain the size digital.
Further preferably, the process of obtaining the distance between adjacent short line segments on the dimension marking line is as follows:
extracting all short line segments which are vertical to the corresponding dimension marking lines in the dimension digital area;
extracting short line segments intersected with the corresponding dimension marking lines from all the vertical short line segments;
wherein, the short line segment that intersects with the size marking line of horizontal direction satisfies: xLmin<XSmin、XLImax>XSImax、YLmin>YSmin、YLmax<YSmax(ii) a The short line segment intersecting the dimension marking line in the vertical direction satisfies: xLmin>XSmin、XLImax<XSImax、YLmin<YSmin、YLmax>YSmax
In the formula, XLmin、XLImax、YLminAnd YLmaxIndicates the range of the size-marked line, XSmin、XSImax、YSminAnd YSmaxIndicating the extent of the short line segment.
And finally, calculating the distance between every two adjacent short line segments.
Further preferably, the scale is obtained as follows:
firstly, dividing each dimension number corresponding to a dimension marking line by the distance of each adjacent short line segment corresponding to the same dimension marking line, and keeping the distance in an array R;
then, extracting elements of the numerical value in the interval [100,1000] in the array R, searching a value in the extracted elements, making the value of the rest elements be different from the value, and taking the absolute value, so that the number of the rest elements with the absolute value smaller than 1 is the maximum;
and finally, calculating the average value of the value and the rest elements with the absolute value less than 1, wherein the average value is a scale.
Further preferably, the process of acquiring each tile sample picture and its tile type in the floor plan is as follows:
searching pictures and extracting phrases in the plane design drawing, and acquiring the center coordinate of each picture and the center coordinate of each phrase;
wherein the phrase is the type name of the tile sample picture;
and then carrying out association matching according to the coordinates to obtain a corresponding relation of the picture and the phrase, wherein the association matching is carried out according to the following formula:
Figure BDA0002317384680000031
in the formula (X)Pi,YPi) Each representing the central coordinates of a picture, (X)Wi,YWi) Respectively representing the center coordinates of a phrase.
Further preferably, the process of obtaining the minimum envelope rectangle in which the precise clipping curve represented by the tile boundary is located and the picture thereof is as follows:
extracting an accurate cutting curve from the planar design drawing, and determining the range of the minimum envelope rectangle according to the maximum value and the minimum value of X, Y coordinates on the accurate cutting curve;
extracting pictures from the planar design drawing;
constructing a corresponding relation between the picture and the minimum envelope rectangle according to the coordinates, wherein the minimum envelope rectangle meeting the following formula has a corresponding relation with the picture:
Figure BDA0002317384680000032
in the formula, XLimin、XLimax、YLiminAnd YLimaxX-coordinate minimum, X-coordinate maximum, Y-coordinate minimum and Y-coordinate maximum representing a minimum envelope rectangle, XPimin、XPimax、YPiminAnd YPimaxThe minimum value of the X coordinate, the maximum value of the X coordinate, the minimum value of the Y coordinate and the maximum value of the Y coordinate of the picture are represented.
Further preferably, the planform includes a BMP format and a CDR format.
Advantageous effects
The invention discloses a tile checking method used in a plane design drawing, which is used for detecting the type and the number of tiles, in particular to the indoor home decoration plane design, improves the defect that the detection of the type and the number of the tiles of the existing home decoration plane design drawing is mainly finished manually, and improves the method for detecting the type and the number of the tiles: on a normal image, image processing techniques such as image segmentation are employed. Not only can extract more comprehensive information according to the requirement to improve the precision, but also saves a large amount of calculation resources.
The method of the invention can realize digital area cutting, digital identification, scale calculation, ceramic tile type matching and ceramic tile size matching by compiling third-party computer programming language codes. The method is applied to CorelDRAW software design, and then the defect that the detection of the type and the number of the ceramic tiles cannot be realized because the existing CorelDRAW plug-in is only used for calling an internal function library singly is overcome. The method can be widely applied to detection of the types and the number of the ceramic tiles of the indoor home decoration plane design drawing designed by CorelDRAW software.
The invention can use VBA to compile codes, stores CDR files as BMP files, extracts digital area coordinates, sample pictures and corresponding names thereof, minimum envelope rectangles and corresponding pictures thereof from the CDR files, and calculates the length between short line segments at two ends of the dimension marking line.
Drawings
FIG. 1 is a flow chart of a method of detecting tile type and number in an embodiment of the present invention;
FIG. 2 is a flow chart of extracting key information from an indoor home decoration floor plan in an embodiment of the present invention;
FIG. 3 is a flow chart of the detection of the type and quantity of tiles based on the extracted information and the original size in an embodiment of the present invention;
FIG. 4 is a plan view of indoor decoration in BMP format converted from a plan view of indoor decoration in CDR format according to example 1;
FIG. 5 is a sample picture extracted from the indoor home decoration plan in CDR format according to example 1; wherein the name corresponding to the graph a is blue Beilu, and the name corresponding to the graph b is rainbow wood grain;
FIG. 6 is a digital region cut out from a BMP file in example 1; wherein, the figure a is a digital area which is rotated clockwise by 90 degrees in the vertical direction, and the figure b is a digital area in the horizontal direction;
FIG. 7 is a plan view of indoor decoration in BMP format converted from a plan view of indoor decoration in CDR format according to example 2;
FIG. 8 is a sample picture extracted from the CDR format interior home decoration plan of embodiment 2; wherein the name corresponding to the graph a is Russian gold, the name corresponding to the graph b is Kalatatabai, and the name corresponding to the graph c is cloud Lagrey;
FIG. 9 is a digital region cut out from a BMP file in example 2; wherein, the figure a is a dimension number area which is rotated clockwise by 90 degrees in the vertical direction, and the figure b is a dimension number area in the horizontal direction.
Detailed Description
The invention is further illustrated by the following description in conjunction with the accompanying drawings:
CorelDRAW is a drawing software based on vector graphics, and is widely used in the plane design work in the south China. VBA is integrated in CorelDRAW software, and a user can realize certain operations by using a VBA design plug-in, so that the workload is reduced. However, the coreldaw VBA can only call the function library inside the software, cannot directly call the external function library, and cannot directly detect the type and number of the ceramic tiles. The third-party computer programming language (such as Python, C + +, JavaScript and the like) has the characteristics of portability, expandability, open source and the like, and is widely applied to the fields of system programming, graphic processing, mathematical processing, text processing and the like. And an external function library can be called by calling a third-party computer programming language through the CorelDRAW VBA, so that more complex plug-in functions are realized. The invention realizes the statistics of the type and the number of the home decoration tile with the planar design drawing by combining the VBA preprocessing of CorelDRAW software and the third-party computer programming language for matching statistics. Specifically, the tile inspection method for a flat design drawing provided by the present invention is used for implementing automatic detection of tiles in the flat design drawing, especially for indoor home decoration design, and therefore, an embodiment of the present invention takes indoor home decoration as an example, and takes simultaneous acquisition of tile types and numbers as an example for explanation, and a finishing implementation flow thereof is shown in fig. 1, and includes the following steps:
step A: the implementation flow of the dimensional digital area and the dimensional digital thereof, the distance between adjacent short line segments on the dimensional marking line, the tile sample picture and the tile type thereof, the minimum envelope rectangle and the corresponding picture thereof in the indoor home decoration plan design drawing is shown in fig. 2;
and B: and D, calculating a scale according to the size digital area obtained in the step A, the size digital of the size digital area and the distance between adjacent short line segments on the size marking line, respectively performing optimal matching and cutting matching according to the original size of the ceramic tile, and calculating the number of each type of ceramic tile.
The specific treatment process of the step A is as follows:
1) saved as BMP format file
Because the number used for marking the size is stored in a curve form in the indoor home decoration plan to be detected in the CDR format, the invention adopts the file format conversion to store the original file as the file in the BMP format to realize the number identification.
In order to improve the accuracy of digital identification and the operation efficiency of a system, the invention takes the larger value of L and W as 10000, the smaller value is scaled according to the original proportion of the CDR file, and is rounded up to take an integer value, and a high-resolution picture with the pixel length or the pixel width as 10000 is obtained. As shown in fig. 4, the pixel length of the picture is 10000, and the pixel width is 6102.
It should be understood that the above-mentioned size adjustment is a specific implementation manner of the embodiment, and other values may be set in other possible embodiments, which are not specifically limited by the present invention.
2) Size digital region coordinate extraction
In the CDR format indoor home decoration plane design drawing, the storage form of the line segment is an accurate cutting curve, and the accurate cutting curve has the attributes of length, width, coordinate values and the like. Below each dimension number used to mark the dimension, there is a dimension marking line. The present invention extracts coordinates of a digital region (ROI region) using the line segment. For the horizontal direction, the ratio of the length to the width is larger than 100000, the value of the Y coordinate is minimum, the corresponding horizontal size marking line is extracted, and then the central coordinate (X) of the line segment is used for marking the line segmentLL,YLL) And a length attribute LLLDetermining coordinates of the digital area by XROImin、XROImax、YROIminAnd YROImaxRange of the indicated size number region, XROImin=XLL-LLL/2-CLL1,XROImax=XLL+LLL/2+CLL1,YROImin=YLL-CLL2,YROImax=YLL+CLL3In which C isLL1、CLL2、CLL3Are all continuation constants; for the vertical direction, the ratio of the width to the length is madeIs more than 100000, and the value of the X coordinate is minimum, extracts the corresponding vertical dimension marking line, and then according to the central coordinate (X) of the line segmentLL,YLL) And a length attribute LLLDetermining the coordinates of the size digital area by XROImin、XROImax、YROIminAnd YROImaxRange of the indicated size number region, XROImin=XLL-CLL1,XROImax=XLL+CLL2,YROImin=YLL-LLL/2-CLL3,YROImax=YLL+LLL/2+CLL3In which C isLL1、CLL2、CLL3Are all continuation constants. In order to directly cut the size digital area in the file in the BMP format, the above digital area coordinate needs to be normalized, that is, the digital area coordinate range of the indoor home decoration plan design drawing in the CDR format is scaled to [0,1]. The present invention saves the digital region coordinates to the first TXT formatted file and notes the horizontal or vertical direction at the beginning of each line. The coordinates of the size digital area are obtained after expansion and normalization, and the horizontal direction: [0,0.65,1.9e-2,0.97 ]]Vertical direction [0.34,5.0e-3,0.79,6.2e-2]. In this embodiment, the horizontal size notation line and the numerical size notation line are size notation lines whose outermost peripheries represent the horizontal and vertical directions.
3) Cut size digital area
The first TXT file of the digital region coordinates of the file and the normalized size after BMP format is obtained. Reading a BMP file and a first TXT file by adopting a third party computer programming language; then obtaining the pixel length and the pixel width of the picture from the BMP file, and obtaining the coordinate of the size digital area range from the first TXT file; further utilizing the pixel length and the pixel width to enlarge the range of the size digital area to be consistent with the BMP file; and finally, cutting the BMP file according to the numerical region range obtained by rounding. After the cutting is completed, the picture needs to be rotated according to the label of the first TXT file. If the first TXT file is marked as horizontal, no rotation is required; if the first TXT file is marked as vertical, the picture needs to be rotated 90 degrees clockwise. After the rotation is finished, the pictures of the size digital area are saved to files in a PNG format, the naming sequence of the files is the same as the clipping sequence, namely the files saved by clipping for the first time are named as 1; the file which is cut and stored for the second time is named as 2; and repeating the steps until all the cutting is finished. The clipping result in the vertical direction is saved as a file in the BMP format, as shown in fig. 6 (a); the horizontal clipping result is saved as a file in the BMP format, as shown in fig. 6 (b).
4) Number identification
The invention adopts OCR image character recognition technology to recognize the numbers of the cutting area; then screening the identification result to only keep the number; finally, storing the result obtained by screening into a fifth TXT format file, wherein the storage sequence is the same as the identification sequence, namely the identification result of the first cutting area picture is written into the first line of the fifth TXT file; writing the recognition result of the second cutting area picture into a second line of a fifth TXT file; and repeating the steps until all the identification is finished. The recognition result in fig. 6(a) is 2400, and the recognition results in fig. 6(b) are 880, 1070, 880, 1070.
5) Calculation of the length between short sections at the two ends of the dimension marking line
The invention comprises four steps of extracting, distance calculating and storing short line segments at two ends of a dimension marking line, namely (i) extracting all short line segments vertical to the dimension marking line in a digital area; (ii) further extracting short line segments intersected with the dimension marking lines; (iii) calculating the distance between any two adjacent short line segments; (iv) saving to a file according to the format. The method comprises the following specific steps:
(i) and extracting all short line segments perpendicular to the dimension marking line in the dimension digital area.
By XROImin、XROImax、YROIminAnd YROImaxThe range of the size number area is shown, and the search range of the X coordinate of the precise cutting curve is in the interval [ X ]ROImin,XROImax]Within, the search range of the Y coordinate is in the interval [ YROImin,YROImax]And (4) the following steps. For horizontal dimension marking lines, let width and lengthExtracting a corresponding vertical short line segment when the ratio of the degrees is more than 1000; for the vertical dimension marking line, the ratio of the length to the width is larger than 1000, and a corresponding horizontal short line segment is extracted.
(ii) And extracting short line segments intersected with the dimension marking lines. In CDR files, with XLmin、XLImax、YLminAnd YLmaxIndicating the extent of the dimension marking line by XSmin、XSImax、YSminAnd YSmaxIndicating the extent of the short line segment perpendicular thereto. For the horizontal dimension marking line, the short line segment intersected with the horizontal dimension marking line satisfies the following conditions: xLmin<XSmin、XLImax>XSImax、YLmin>YSmin、YLmax<YSmax(ii) a For the vertical dimension marking line, the short line segment intersected with the vertical dimension marking line satisfies the following conditions: xLmin>XSmin、XLImax<XSImax、YLmin<YSmin、YLmax>YSmax. And extracting corresponding short line segments according to the conditions.
(iii) And calculating the distance between any two adjacent short line segments. (iii) deriving from said (ii) sets of exact clipping curves using (X)r,Yr) Representing the coordinates of the center of the exact clipping curve. For vertical short segments, save all xsrTaking the value to an array A; for horizontal short segments, save all YrValue to array B. The invention adopts bubble sorting to sort the array A and the array B in ascending order respectively, then makes difference on the adjacent elements of the array respectively, namely the second element subtracts the first element, the third element subtracts the second element, and so on until the last element of the array. The operation result of the array A is stored in the array C, and the operation result of the array B is stored in the array D.
(iv) And (5) saving the file. The invention saves the calculated length of the line segment to a second TXT format file. When writing array C to the file, the horizontal direction is noted at the beginning of the row; when writing array D to the file, the vertical direction is noted at the beginning of the row.
4) Tile sample picture and type name extraction
The method comprises four steps of extracting and storing the tile sample picture and the corresponding type name, namely (i) extracting the picture from the indoor home decoration planar design drawing in the whole CDR format; (ii) extracting phrases from the indoor home decoration plane design drawing of the whole CDR format; (iii) performing association matching according to the picture coordinates and the phrase coordinates; (iv) saving to a file according to the format. The method comprises the following specific steps:
(i) and extracting pictures from the whole indoor home decoration plan design drawing. By XAmin、XAmax、YAminAnd YAmaxRepresenting the range of the whole design drawing, and the search range of the X coordinate of the picture is in the interval [ XAmin,XAmax]Within, the search range of the Y coordinate is in the interval [ YAmin,YAmax]And (4) the following steps.
(ii) And extracting phrases from the whole indoor home decoration plan design drawing. In the CDR file, the name of the sample picture is stored in a text form, and corresponding coordinate values can be directly extracted and obtained. From the (i), the search range of the phrase X coordinate is in the interval [ XAmin,XAmax]Within, the search range of the Y coordinate is in the interval [ YAmin,YAmax]And (4) the following steps.
(iii) And performing association matching according to the coordinates. Obtaining a plurality of pictures and a plurality of phrases from (i) and (ii), respectively, using (X)Pi,YPi) Each representing the central coordinates of a picture by (X)Wi,YWi) Respectively representing the center coordinates of a phrase. The invention adopts the Europe geometric distance to measure the distance from the picture center coordinate to the phrase center coordinate, and the picture and the phrase which meet the following formula accord with the correlation condition:
Figure BDA0002317384680000071
finally, the one-to-one corresponding relation of the pictures and the phrases is obtained.
(iv) And (5) saving the file. The invention stores the picture in the file with BMP format, and stores the phrase in the file with the third TXT format. When the first picture is saved as a BMP file, the first picture is named as S1, and a corresponding phrase is written in the first line of the third TXT file; when the second picture is saved as a BMP file, the second picture is named as S2, and a corresponding phrase is written in a second row of a third TXT file; and repeating the steps until all the pictures and the phrases are stored.
5) Accurately cutting a curve minimum envelope rectangle and extracting an image:
the method comprises five steps of extracting and storing the minimum enveloping rectangle of the accurate cutting curve and the corresponding picture, namely (i) extracting the accurate cutting curve from the indoor home decoration plane design drawing in the whole CDR format; (ii) extracting a minimum enveloping rectangle of the accurately cut curve; (iii) extracting pictures from the indoor home decoration plane design drawing in the whole CDR format; (iv) performing association matching according to the minimum enveloping rectangular coordinate and the picture coordinate; (v) saving to a file according to the format. The method comprises the following specific steps:
(i) and extracting an accurate clipping curve in the whole design drawing. In the CDR format indoor home decoration plane design drawing, the accurate cutting curve and the picture are distributed in different layers, the boundary of the ceramic tile is represented by the accurate cutting curve, the pattern of the ceramic tile is represented by the picture, and the size of each tile can be obtained by extracting the accurate cutting curve. By XAmin、XAmax、YAminAnd YAmaxThe range of the whole area is shown, and the search range of the X coordinate of the precise cutting curve is in the interval [ X ]Amin,XAmax]Within, the search range of the Y coordinate is in the interval [ YAmin,YAmax]And (4) the following steps.
(ii) And extracting the minimum enveloping rectangle of the accurate cutting curve. (ii) deriving from said (i) a set of exact clipping curves using XLijAnd YLijCoordinates of a node representing a precisely cut curve, by XLimin、XLimax、YLiminAnd YLimaxRespectively representing the X coordinate minimum value, the X coordinate maximum value, the Y coordinate minimum value and the Y coordinate maximum value of the precise cutting curve, namely the range of the minimum envelope rectangle of the precise cutting curve.
(ii i) extracting pictures in the whole design drawing. From the (i), the search range of the picture X coordinate is in the interval [ XAmin,XAmax]Within, the search range of the Y coordinate isInterval [ Y ]Amin,YAmax]And (4) the following steps.
(iv) And performing association matching according to the coordinates. In the indoor home decoration planar design drawing in the CDR format, the accurate cutting curve and the picture are distributed in different layers, and whether the accurate cutting curve and the picture are related or not can be judged according to the coordinates of the accurate cutting curve and the picture. (iii) from said (ii), the extent of the minimum envelope rectangle is XLimin、XLimax、YLiminAnd YLimax. By XPimin、XPimax、YPiminAnd YPimaxAnd respectively representing the minimum value of the X coordinate, the maximum value of the X coordinate, the minimum value of the Y coordinate and the maximum value of the Y coordinate of a picture, namely the range of the picture. The minimum envelope rectangle and the picture which satisfy the following formula meet the association condition:
Figure BDA0002317384680000081
the picture-minimum envelope rectangle obtained by the above formula follows a one-to-one or one-to-many relationship, and further the relationship between the tile type and the minimum envelope rectangle can be obtained by the corresponding relationship between the picture and the minimum envelope rectangle.
(v) And (5) saving the file. The invention saves the picture in the file of BMP format, and saves the coordinate of the minimum envelope rectangle in the second place
Four TXT formatted files. When the first picture is saved as the BMP file, the first picture is named as 1, and the picture corresponds to n1Envelope rectangle, writing n in the fourth TXT file1Row minimum envelope rectangle coordinates and noted 1 at the beginning of each row; when the second picture is saved as the BMP file, the second picture is named as 2, and the picture corresponds to n2Envelope rectangle, writing n in the fourth TXT file2Row minimum envelope rectangle coordinates, and 2 is noted at the beginning of each row; and repeating the steps until all the pictures and the minimum enveloping rectangular coordinate are stored.
The specific treatment process of the step B is as follows:
1) scale calculation
The calculation of the scale according to the invention comprises four steps, namely (i) reading the second TXT file and the fifth TXT file, (ii) calculating all possible scales (iii) extracting the correct scale (iv) saving the scale to the file. The method comprises the following specific steps:
(i) the second TXT file and the fifth TXT file are read. The length between the short line segments and the result of the digital identification are corresponding in the corresponding TXT file according to lines, namely the length between the first group of short line segments is stored in the first line of the second TXT file, and the identification result of the first cutting area picture is stored in the first line of the fifth TXT file; the length between the second group of short line segments is stored in a second line of a second TXT file, and the identification result of the second cutting area picture is stored in a second line of a fifth TXT file; and so on. The invention stores the read content of the second TXT file with the length corresponding to the length between the short line segments in a two-dimensional array PijIn the method, the read content of the fifth TXT file corresponding to the digital identification result is stored in a two-dimensional array QijIn (1).
(ii) Possible scales are calculated. (ii) obtaining two-dimensional arrays P from (i)ijAnd QijBy QijEach element of each row is divided by PijCorresponding to each element of the row and storing the operation result in an array R. By miAnd niRespectively represent PijNumber of elements per line and QijThe number of elements in each row and the number of elements contained in the array R are sigma mini
(iii) The correct scale is extracted. Obtaining an array R containing all possible scales from (ii), and extracting elements of the numerical values in the array R within the interval [100,1000 ]; then, searching a value in the extracted elements, making the difference between the values of the other elements and the value, and taking the absolute value to ensure that the number of the other elements with the absolute value less than 1 is the maximum; and finally, extracting the value and the rest element values of which the absolute value of the difference value is less than 1, calculating the average value of the value and the rest element values, and taking the average value as a correct scale. The result was 254.14.
(iv) And (5) saving the file. The invention saves the calculated scale to the sixth TXT format file.
2) Ceramic tile type matching
The invention comprises three steps of matching ceramic tile types, namely (i) reading a third TXT file and a fourth TXT file; (ii) reading a picture corresponding to each envelope rectangle; (iii) and matching the picture corresponding to the envelope rectangle with the sample picture.
The method comprises the following specific steps:
(i) a third TXT file and a fourth TXT file are read. The third TXT file holds the name of the picture and the number of the picture is noted at the beginning of each line of the fourth TXT file. The content is read and saved into variables using a third party computer programming language.
(ii) And reading the picture corresponding to the envelope rectangle. And (e) obtaining the tile number corresponding to each minimum enveloping rectangle, reading the corresponding BMP file according to the number, and storing the BMP file into a variable.
(iii) And carrying out picture matching.
Reading and storing all sample pictures into variables, and in the step (ii), firstly, performing size matching with all sample pictures when reading each picture, namely comparing the pixel length and the pixel width of the read picture and the sample pictures, and extracting the sample pictures with consistent pixel length and pixel width; then, the difference is made between the read-in picture and the extracted sample picture, namely the pixel values of the corresponding coordinates are subtracted; and finally, matching a sample picture consistent with the input picture if the value of each pixel point is zero, wherein the name corresponding to the sample picture is the name of the input picture.
3) Ceramic tile size matching
The matching of tile sizes according to the invention comprises four steps, respectively (i) reading the fourth and fifth TXT files (ii) best matching (iii) cutting the envelope rectangle and matching (iv) cutting the original tile and matching. The method comprises the following specific steps:
(i) the fifth TXT file is read and the scale is saved to the variable scale. The fourth TXT file is read. The minimal envelope rectangular coordinate of each precise cutting curve obtained in the step A comprises four values XLimin、XLimax、YLiminAnd YLimax. In the process of matching the size of the ceramic tile, only the actual length value of the envelope rectangle is neededAnd width value, using XLiAnd XWiRespectively representing the actual length value and the width value of the envelope rectangle, and calculating the actual length value and the width value of each envelope rectangle according to the following formulas:
Figure BDA0002317384680000101
the invention stores the length value and the width value into an array according to the principle that the length value is not less than the width value, and if the length value is less than the width value, the values of the length value and the width value are exchanged. After the principle is met, the variables are stored in the form of length value-width value-length value-width value … …, and all the length values and the width values of the same ceramic tile are stored in the same array.
(ii) And (4) best matching. And (f) obtaining all length and width value arrays of each ceramic tile from (i), finding all elements with the length and width values which are the same as the original size or slightly smaller than the original size in the arrays, adding one to the number of the ceramic tiles of the type when finding one set of length and width values, and deleting the set of length and width values from the arrays.
(iii) And matching envelope rectangle cutting. The length and width values of the ceramic tiles can be larger than the original size, and the invention adopts a mode of cutting the enveloping rectangle to ensure that the length and width values of the ceramic tiles in the array are smaller than the original size. Each cut produces three new enveloping rectangles, one of which best matches the original size, the number of tiles of that kind is incremented by one, the length and width values of the remaining two are added to the array, and the length and width values before cutting are deleted from the array.
(iv) The original tiles are cut to match (the original dimensions of the tiles in this example are all 900mm x 600 mm). (iv) upon completion of (ii) (iii), only elements smaller than the original size remain in the length and width value array. The invention adopts the modes of cutting the original ceramic tile, establishing an array with optional sizes and cutting the optional ceramic tile to match the length and width values. When the length and the width values are matched, the optimal matching with the length and the width values is firstly found in the selectable size array, and if the length and the width values are met, the length and the width values and the selectable size are deleted from the corresponding array; then if the best match cannot be met, searching selectable tiles capable of being cut in the selectable size array, generating three new selectable sizes each time when the tiles are cut, wherein one of the three new selectable sizes is best matched with the length and width value, adding the rest two selectable sizes into the selectable size array, and deleting the length and width value and the selectable size from the corresponding array; finally, if the alternative tile cut match cannot be met, cutting the original tile, adding one to the number of tiles of the category, and generating three new alternative sizes simultaneously, wherein one of the three new alternative sizes is best matched with the length and width value, the other two are added to the alternative size array, and the length and width value is deleted from the corresponding array. The final calculation results obtained were: 9 blue beilu tiles and 48 rainbow wood grain tiles.
In other possible embodiments, the tile type or the number of tiles can be detected individually, and the invention is not limited thereto.
Example 2:
and detecting the type and the number of the tiles of the indoor home decoration plan. Firstly, reading an indoor home decoration plan in a CDR format in CorelDRAW software, and then storing the content in the file as a picture in a BMP format [ as shown in FIG. 7 ], wherein the pixel length of the picture is 10000, and the pixel width is 4852. Respectively extracting a horizontal dimension marking line and a vertical dimension marking line in the horizontal direction and the vertical direction, determining and normalizing the range of the digital region, wherein the horizontal direction is as follows: [0,0.64,5.3e-3,0.95], vertical [0.23,5.0e-3,0.84,6.2e-2 ]. And respectively calculating the distance between any two adjacent vertical short line segments and horizontal short line segments. Sample pictures and names were extracted and matched, with fig. 8(a) being russian gold tiles, fig. 8(b) being kara-ta white tiles, and fig. 8(c) being cloud-lark tiles. And extracting the minimum envelope rectangle and the picture of the accurate cutting curve, and matching.
Secondly, cutting a digital area in the vertical direction and rotating the digital area clockwise by 90 degrees, wherein the result is shown in fig. 9 (a); the horizontal digital area is clipped, and the result is shown in fig. 9 (b). The number recognition result in fig. 9(a) is 2400, and the number recognition results in fig. 9(b) are 2230, 870, 920, 2230, 870, and 920. All possible scales are calculated, and the scale obtained through a series of operations such as filtering, screening and the like is 253.96. Carrying out ceramic tile type matching on the picture corresponding to the envelope rectangle, carrying out ceramic tile size matching on the length and width values of the envelope rectangle (the original sizes of the ceramic tiles are all 900mm multiplied by 600mm), and finally obtaining a calculation result as follows: 3 Russian gold tiles, 8 Kalata white tiles and 68 cloud Lai tiles.
It should be noted that the above disclosure is only specific examples of the present invention, and those skilled in the art can devise various modifications according to the spirit and scope of the present invention.

Claims (8)

1. A tile inspection method for use in a floor plan, comprising the steps of, if a tile type is detected:
step S1: acquiring each tile sample picture and tile type thereof, and a minimum envelope rectangle in which an accurate clipping curve represented by each tile boundary is located and a picture thereof in a planar design drawing;
step S2: respectively reading the pictures corresponding to the minimum enveloping rectangles, and sequentially matching the pictures with the tile sample pictures based on the pixel length and the pixel width, wherein if the pictures are matched, the type of the tile corresponding to the minimum enveloping rectangle is the tile type of the matched tile sample pictures;
if the number of the ceramic tiles is detected, the method comprises the following steps:
acquiring a size digital area in the planar design drawing, size numbers of the area and the distance between adjacent short line segments on a size marking line, and calculating a scale according to the size numbers and the distance between the adjacent short line segments on the size marking line, wherein the scale is the size ratio of the size of a ceramic tile on the planar design drawing to the actual size of the ceramic tile;
executing the step S1 and the step S2 to obtain the type of the ceramic tile corresponding to each minimum enveloping rectangle in the planar design drawing;
calculating the actual size of each minimum envelope rectangle based on a scale, wherein the size comprises the length and the width;
matching the actual size of each minimum enveloping rectangle with the actual size of the corresponding ceramic tile according to the actual size of the minimum enveloping rectangle and the type of the corresponding ceramic tile to obtain the number of the ceramic tiles of each type;
the size matching is realized based on the principles of optimal matching, minimum envelope rectangle cutting matching and tile cutting matching.
2. The method of claim 1, wherein: the optimal matching is that the error between the actual size of the minimum envelope rectangle and the actual size of the corresponding ceramic tile is within a preset allowable range, and the statistical number of the corresponding ceramic tile types is increased by one;
when the minimum enveloping rectangle is cut and matched to be the minimum enveloping rectangle with the actual size larger than the actual size of the corresponding ceramic tile and not meet the optimal matching, cutting the minimum enveloping rectangle to obtain a newly generated minimum enveloping rectangle, wherein at least one newly generated minimum enveloping rectangle is optimally matched with the actual size of the corresponding ceramic tile, and the statistical number of the types of the corresponding ceramic tiles is increased by one; the actual size of the residual newly generated minimum enveloping rectangle is smaller than the actual size of the corresponding ceramic tile;
when the ceramic tile cutting matching is that the actual size of the minimum enveloping rectangle is smaller than the actual size of the corresponding ceramic tile and the optimal matching is not met, the ceramic tile cutting, the construction of the selectable ceramic tile size array and the cutting of the selectable ceramic tile are counted;
firstly, searching whether the best match exists in the selectable array, and if so, deleting the selectable size corresponding to the best match in the selectable tile size array and carrying out next minimum envelope rectangle detection; if the size of the optional ceramic tile does not exist, searching a cuttable ceramic tile in the optional ceramic tile size array, cutting to obtain a new optional ceramic tile size, enabling at least one new optional ceramic tile size to be optimally matched with the actual size of the minimum envelope rectangle, deleting the optional size corresponding to the optimal matching in the optional ceramic tile size array, detecting the next minimum envelope rectangle, and adding the remaining new optional ceramic tile sizes to the optional ceramic tile size array; if the cuttable tiles do not exist in the selectable tile size array, cutting the original tiles to obtain a new selectable tile size, adding one to the statistical number of the corresponding tile types and adding the new selectable tile size to the selectable tile size array.
3. The method of claim 1, wherein the process of obtaining the dimension number area and the dimension number thereof in the floor plan is as follows:
identifying a dimension marking line in the horizontal direction, and determining corresponding dimension digital area coordinates based on the dimension marking line in the horizontal direction, wherein the dimension digital area coordinates corresponding to the horizontal direction are calculated according to the following formula:
XROImin=XLL-LLL/2-CLL1,XROImax=XLL+LLL/2+CLL1,YROImin=YLL-CLL2,YROImax=YLL+CLL3in which C isLL1、CLL2、CLL3Are all continuation constants;
identifying a dimension marking line in the vertical direction, and determining a corresponding dimension digital area coordinate based on the dimension marking line in the vertical direction, wherein the dimension digital area coordinate corresponding to the vertical direction is calculated according to the following formula:
XROImin=XLL-CLL1,XROImax=XLL+CLL2,YROImin=YLL-LLL/2-CLL3,YROImax=YLL+LLL/2+CLL3in which C isLL1、CLL2、CLL3Are all continuation constants;
in the formula, XROImin、XROImax、YROIminAnd YROImaxX, Y coordinate range, X, representing a size number regionLL、YLLThe central coordinates of the dimension-marking lines, L, in the horizontal or vertical direction, respectivelyLLMarking the length of the line for the dimension in the horizontal or vertical direction;
and cutting the digital area picture based on the size digital area coordinate to obtain a picture corresponding to the size digital area, and recognizing the picture by utilizing an OCR image character recognition technology to obtain the size digital.
4. The method of claim 3, wherein: the process of obtaining the distance between adjacent short line segments on each dimension marking line of the ruler is as follows:
extracting all short line segments which are vertical to the corresponding dimension marking lines in the dimension digital area;
extracting short line segments intersected with the corresponding dimension marking lines from all the vertical short line segments;
wherein, the short line segment that intersects with the size marking line of horizontal direction satisfies: xLmin<XSmin、XLImax>XSImax、YLmin>YSmin、YLmax<YSmax(ii) a The short line segment intersecting the dimension marking line in the vertical direction satisfies: xLmin>XSmin、XLImax<XSImax、YLmin<YSmin、YLmax>YSmax
In the formula, XLmin、XLImax、YLminAnd YLmaxIndicates the range of the size-marked line, XSmin、XSImax、YSminAnd YSmaxIndicating the extent of the short line segment.
And finally, calculating the distance between every two adjacent short line segments.
5. The method of claim 1, wherein: the scale is obtained as follows:
firstly, dividing each dimension number corresponding to a dimension marking line by the distance of each adjacent short line segment corresponding to the same dimension marking line, and keeping the distance in an array R;
then, extracting elements of the numerical value in the interval [100,1000] in the array R, searching a value in the extracted elements, making the value of the rest elements be different from the value, and taking the absolute value, so that the number of the rest elements with the absolute value smaller than 1 is the maximum;
and finally, calculating the average value of the value and the rest elements with the absolute value less than 1, wherein the average value is a scale.
6. The method of claim 1, wherein: the process of obtaining each tile sample picture and its tile type in the floor plan is as follows:
searching pictures and extracting phrases in the plane design drawing, and acquiring the center coordinate of each picture and the center coordinate of each phrase;
wherein the phrase is the type name of the tile sample picture;
and then carrying out association matching according to the coordinates to obtain a corresponding relation of the picture and the phrase, wherein the association matching is carried out according to the following formula:
Figure FDA0002317384670000031
in the formula (X)Pi,YPi) Each representing the central coordinates of a picture, (X)Wi,YWi) Respectively representing the center coordinates of a phrase.
7. The method of claim 1, wherein: the process of obtaining the minimum envelope rectangle where the precise clipping curve represented by the tile boundary is located and the picture thereof is as follows:
extracting an accurate cutting curve from the planar design drawing, and determining the range of the minimum envelope rectangle according to the maximum value and the minimum value of X, Y coordinates on the accurate cutting curve;
extracting pictures from the planar design drawing;
constructing a corresponding relation between the picture and the minimum envelope rectangle according to the coordinates, wherein the minimum envelope rectangle meeting the following formula has a corresponding relation with the picture:
Figure FDA0002317384670000032
in the formula, XLimin、XLimax、YLiminAnd YLimaxX-coordinate minimum, X-coordinate maximum, Y-coordinate minimum and Y-coordinate maximum representing a minimum envelope rectangle, XPimin、XPimax、YPiminAnd YPimaxThe minimum value of the X coordinate, the maximum value of the X coordinate, the minimum value of the Y coordinate and the maximum value of the Y coordinate of the picture are represented.
8. The method of claim 1, wherein: the planform design includes the BMP format and the CDR format.
CN201911283483.XA 2019-12-13 2019-12-13 Ceramic tile inspection method for plane design drawing Active CN111062921B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911283483.XA CN111062921B (en) 2019-12-13 2019-12-13 Ceramic tile inspection method for plane design drawing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911283483.XA CN111062921B (en) 2019-12-13 2019-12-13 Ceramic tile inspection method for plane design drawing

Publications (2)

Publication Number Publication Date
CN111062921A true CN111062921A (en) 2020-04-24
CN111062921B CN111062921B (en) 2023-05-05

Family

ID=70301533

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911283483.XA Active CN111062921B (en) 2019-12-13 2019-12-13 Ceramic tile inspection method for plane design drawing

Country Status (1)

Country Link
CN (1) CN111062921B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002342386A (en) * 2001-05-17 2002-11-29 Sumitomo Forestry Co Ltd Method for calculating the total number of regular- shaped members
CN105488304A (en) * 2015-12-31 2016-04-13 中民筑友有限公司 Ceramic tile paving scheme generation method and system
CN107122544A (en) * 2017-04-27 2017-09-01 广州铭瀚建筑科技有限公司 The method and device of row's brick and statistics output based on revit platforms
CN108763606A (en) * 2018-03-12 2018-11-06 江苏艾佳家居用品有限公司 A kind of floor plan element extraction method and system based on machine vision

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002342386A (en) * 2001-05-17 2002-11-29 Sumitomo Forestry Co Ltd Method for calculating the total number of regular- shaped members
CN105488304A (en) * 2015-12-31 2016-04-13 中民筑友有限公司 Ceramic tile paving scheme generation method and system
CN107122544A (en) * 2017-04-27 2017-09-01 广州铭瀚建筑科技有限公司 The method and device of row's brick and statistics output based on revit platforms
CN108763606A (en) * 2018-03-12 2018-11-06 江苏艾佳家居用品有限公司 A kind of floor plan element extraction method and system based on machine vision

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
TOMISLAV MATIC: "《Real-time biscuit tile image segmentation method based on edge detection》" *
段春梅 等: "《基于机器视觉的瓷砖素坯表面缺陷无损检测算法研究》" *

Also Published As

Publication number Publication date
CN111062921B (en) 2023-05-05

Similar Documents

Publication Publication Date Title
CN111507251B (en) Method and device for positioning answering area in test question image, electronic equipment and computer storage medium
CN107862303B (en) Information identifying method, electronic device and the readable storage medium storing program for executing of form class diagram picture
US10496695B2 (en) Automated data extraction from scatter plot images
CN111626146B (en) Merging cell table segmentation recognition method based on template matching
CN109446369A (en) The exchange method and system of the semi-automatic mark of image
CN114641753A (en) Composite data generation and Building Information Model (BIM) element extraction from floor plan drawings using machine learning
CN112115774A (en) Character recognition method and device combining RPA and AI, electronic equipment and storage medium
CN105574161B (en) A kind of brand logo key element recognition methods, device and system
CN110427853B (en) Intelligent bill information extraction processing method
CN112990183B (en) Method, system and device for extracting homonymous strokes of offline handwritten Chinese characters
Chen et al. Perfecting vectorized mechanical drawings
CN113158895A (en) Bill identification method and device, electronic equipment and storage medium
CN112541922A (en) Test paper layout segmentation method based on digital image, electronic equipment and storage medium
CN110503051B (en) Precious wood identification system and method based on image identification technology
CN116092231A (en) Ticket identification method, ticket identification device, terminal equipment and storage medium
CN109657728B (en) Sample production method and model training method
CN113657377A (en) Structured recognition method for airplane ticket printing data image
CN111611935B (en) Automatic identification method for similar vector diagrams in CAD drawing
CN111062921A (en) Tile inspection method used in planar design drawing
CN109784236B (en) Method for identifying table contents in railway drawing
CN115186347B (en) Building CityGML modeling method combining house type plan view and inclination model
CN102706326B (en) Processing method of light beam method aerial triangulation file data
CN113837166B (en) Automatic pointer instrument reading method based on deep learning
CN111382749B (en) Bronze ware inscription image automatic identification method based on two-dimensional structural features
CN115035032A (en) Neural network training method, related method, device, terminal and storage medium

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
GR01 Patent grant
GR01 Patent grant