A system and method for correcting deviation of line data in ruler and compass drawing
By collecting and analyzing the line data of ruled drawings by drawing makers, combining intelligent search algorithms and AR technology, the precise identification and deviation of ruled drawing lines are achieved, and the problem of dependence on experience on the quality of ruled drawings in the existing technology is solved, and the applicability and quality of ruled drawings are improved.
Patent Information
- Application Number
- CN202411942285.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2044-12-27
AI Technical Summary
The existing process of placing the quality of placing the ruler completely relies on the experience of the drawing makers, and it is impossible to accurately identify and correct the size and shape of the drawing lines, resulting in a decrease in the applicability and quality of the placing the drawing.
By collecting the text data of the drawing line object of the drawing map and the actual line image data of the ruler's drawing, combined with intelligent search algorithms and AR wearable devices, the precise analysis and deviation correction of the theoretical dimension parameters, correction types, actual dimension parameters and shape problems of the ruler's drawing line.
It realizes accurate identification and correction of the lines of the ruler’s chart, improves the efficiency and quality of the ruler’s chart, and enhances the work efficiency and accuracy of the drawing makers.
Smart Images

Figure CN119359859B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of ruler and compass drawing data processing, and in particular to a system and method for ruler and compass drawing line data deviation correction processing. Background Art
[0002] Ruler and compass drawing is usually carried out with a ruler and a compass. The specific method depends on the figure to be drawn and the given conditions. Ruler and compass drawing is a method of drawing geometric figures using a ruler and a compass. It has a wide range of applications in mathematics, geometry and engineering. Ruler and compass drawing involves basic concepts, tools, principles, steps, and common drawing methods. It also involves precision control and error analysis, shares practical application cases, and provides tips for skill improvement and practice. Ruler and compass drawing requires the draftsman to accurately draw various geometric figures using these two basic tools through limited steps. Ruler and compass drawing not only tests the draftsman's geometric intuition, but also exercises his ability to control precision. It is not only an important part of mathematics learning, but also an indispensable skill for engineers, architects and other professionals in the design and drawing process. The existing ruler and compass drawing quality process is completely based on the draftsman's drafting experience. It cannot accurately identify the size and shape errors of the drawing lines in the ruler and compass drawing process, nor can it realize intelligent correction of the draftsman's drawing line errors, which reduces the applicability and quality of ruler and compass drawing.
[0003] The Chinese invention patent with announcement number CN117934976B discloses an AI-based automatic correction system and method for ruler and compass drawing operations. The coordinate value comparison is performed by comparing the compass hole object coordinate parameters of the ruler and compass drawing operation with the standard image shape and reference compass hole coordinate parameters of the ruler and compass drawing operation, accurately matching the compass hole coincidence position of the image feature parameters of the ruler and compass drawing operation and the standard image shape parameters of the ruler and compass drawing operation, using the image feature parameters of the ruler and compass drawing operation according to the image shape matching scaling parameters of the ruler and compass drawing operation to adjust the image shape ratio of the ruler and compass drawing operation and match it with the standard image shape parameters of the ruler and compass drawing operation, and intelligently and scientifically analyzing the image shape correction results of the ruler and compass drawing operation; however, the above technical scheme cannot perform online identification and correction of the size and shape errors of the drawing lines in the ruler and compass drawing stage, which reduces the efficiency and quality of ruler and compass drawing. Summary of the invention
[0004] 1. Technical issues to be resolved
[0005] In order to solve the problem that the quality of the existing ruler and gauge drawing process is completely based on the drawing experience of the cartographers, the ruler and gauge drawing process cannot accurately identify the size and shape errors of the drawing lines, nor can it realize intelligent correction of the errors of the drawing lines made by the cartographers, which reduces the applicability and quality of ruler and gauge drawing, the above purposes are achieved by accurately collecting the text information of the drawing line objects of the cartographers and the image data of the actual lines of the ruler and gauge drawing, accurately searching the theoretical size parameters of the ruler and gauge drawing lines, accurately analyzing the correction type information of the ruler and gauge drawing lines, scientifically identifying the size correction measurement instructions of the ruler and gauge drawing lines, accurately measuring the actual size measurement parameters of the ruler and gauge drawing lines, accurately measuring the correction size measurement parameters of the ruler and gauge drawing lines, scientifically analyzing the actual problem types of the shapes of the ruler and gauge drawing lines, and intuitively and visually executing the correction operation of the ruler and gauge drawing.
[0006] (II) Technical solution
[0007] The present invention is implemented by the following technical scheme: a method for correcting the deviation of line data for ruler drawing, the method comprising the following steps:
[0008] S1. Collecting text data of line objects drawn by cartographers and image data of actual lines drawn by rulers and compasses;
[0009] S2, performing search processing on theoretical size parameters of lines drawn by the draftsman based on the text data of the draftsman's drawing line object, and generating theoretical size data of lines drawn by the draftsman's ruler;
[0010] S3, performing line deviation correction type analysis processing of the cartographer's ruler and gauge drawing according to the cartographer's drawing line object text data and the ruler and gauge drawing line deviation correction type keyword data, and generating cartographer's ruler and gauge drawing line deviation correction type analysis data;
[0011] S4, performing identification processing of the line size correction measurement instruction of the ruler and gauge drawing by the cartographer according to the type analysis data of the line size correction of the ruler and gauge drawing by the cartographer and the line size correction measurement instruction data of different types of ruler and gauge drawing, and generating the line size correction measurement instruction data of the ruler and gauge drawing by the cartographer;
[0012] S5, performing measurement and collection processing of actual size parameters of the cartographer's ruler and gauge drawing lines according to the cartographer's ruler and gauge drawing line size correction measurement instruction data and the actual ruler and gauge drawing line image data, generating actual size measurement data of the cartographer's ruler and gauge drawing lines, and performing correction size measurement processing of the cartographer's ruler and gauge drawing lines with the cartographer's ruler and gauge drawing line theoretical size data, generating correction size measurement data of the cartographer's ruler and gauge drawing lines;
[0013] S6, analyzing and processing the line shape problems of ruler and compass drawing by the draftsman according to the actual line image data of ruler and compass drawing and the line shape problem image data of ruler and compass drawing, and generating the line shape problem analysis data of ruler and compass drawing by the draftsman;
[0014] S7, construct the output data of the ruler and compass drawing correction for the cartographer and execute the ruler and compass drawing correction operation.
[0015] Preferably, the operation steps of collecting the text data of the line objects drawn by the cartographer and the image data of the actual lines drawn by the ruler are as follows:
[0016] S11, collecting the size and shape feature text information of the target line object drawn by the draftsman online through the voice input module, and generating the text data of the line object drawn by the draftsman , the draftsman drawing line object text data includes the theoretical size parameter text information and shape feature text information of the ruler drawing target line;
[0017] The image scanner on the AR wearable device is used to scan and collect the line image parameters actually made by the cartographer in the ruler drawing at a 1:1 ratio, and the actual line image data of the ruler drawing is generated. The AR wearable device includes any one of ROKID Max+Station AR glasses, Thunderbird Air 3 smart AR glasses and XREAL Air 2 Pro AR glasses.
[0018] Preferably, the operation steps of searching for theoretical size parameters of lines drawn by the draftsman's ruler and compass based on the draftsman's drawn line object text data and generating theoretical size data of lines drawn by the draftsman's ruler and compass are as follows:
[0019] S21, using a depth-restricted search algorithm to search for line size keywords in the line object text data drawn by the cartographer Search out the dimension text information of the target line of the draftsman's ruler drawing, and generate the theoretical dimension data of the ruler drawing line of the draftsman through text data translation and identification processing. ,in The unit is millimeter or degree.
[0020] Preferably, the line deviation correction type analysis processing of the cartographer's ruler and gauge drawing is performed based on the cartographer's drawing line object text data and the ruler and gauge drawing line deviation correction type keyword data, and the operation steps of generating the cartographer's ruler and gauge drawing line deviation correction type analysis data are as follows:
[0021] S31. Establishing a keyword data set for line correction type in ruler drawing , ;in Indicates The ruler drawing line correction type keyword data corresponding to the line correction type, Indicates the maximum value of the number of line correction types; the line correction types include circle line correction type, arc line correction type, single straight line correction type and angle straight line correction type; the ruler drawing line correction type keyword data includes circle keyword, arc keyword, straight line keyword and angle straight line keyword;
[0022] S32, using an iterative deepening search algorithm to search the text data of the mapmaker's map line object Keyword data set related to the ruler drawing line correction type The ruler drawing line correction type keyword data Perform keyword matching of ruler and compass drawing line shape features to search for text data of the drawing line object drawn by the drawing staff Matching the ruler drawing line correction type keyword data Corresponding line correction type text information, and construct the mapmaker's ruler drawing line correction type analysis data .
[0023] Preferably, the line size correction measurement instruction identification processing of the cartographer's ruler and gauge drawing is performed according to the cartographer's ruler and gauge drawing line correction type analysis data and different types of ruler and gauge drawing line size correction measurement instruction data, and the operation steps of generating the cartographer's ruler and gauge drawing line size correction measurement instruction data are as follows:
[0024] S41. Establish different types of ruler drawing line size correction measurement instruction data sets ,in Indicates Different types of ruler drawing line size correction measurement instruction data corresponding to the line correction types, the different types of ruler drawing line size correction measurement instruction data represent the plane drawing software line size correction measurement execution instruction parameters set for different types of ruler drawing line shapes; the different types of ruler drawing line size correction measurement instruction data include ruler drawing circle line radius size measurement instructions, ruler drawing arc line radius size measurement instructions, ruler drawing single straight line line length size measurement instructions and ruler drawing angle straight line line angle size measurement instructions; the plane drawing software includes any one of AutoCAD, Pixso, and Photoshop;
[0025] S42, using a depth-restricted search algorithm to analyze the deviation type of the mapmaker's ruler and compass drawing line correction data Different types of ruler drawing line size correction measurement instruction data set Different types of ruler drawing line size correction measurement instruction data described in Perform line correction type keyword matching to search for the line correction type analysis data of the cartographer Corresponding to the different types of ruler drawing line size correction measurement instruction data , and generate the measurement instruction data for the draftsman's ruler, drawing line size correction after data identification .
[0026] Preferably, the actual size parameter measurement and collection processing of the cartographer's ruler and gauge drawing lines is performed according to the cartographer's ruler and gauge drawing line size correction measurement instruction data and the actual ruler and gauge drawing line image data, the actual size measurement data of the cartographer's ruler and gauge drawing lines is generated, and the correction size measurement processing of the cartographer's ruler and gauge drawing lines is performed with the cartographer's ruler and gauge drawing line theoretical size data, and the operation steps of generating the cartographer's ruler and gauge drawing line correction size measurement data are as follows:
[0027] S51, drawing the actual line image data of the ruler Converted into actual line plane graphic data for ruler drawing through graphic format conversion software , the graphic format conversion software includes any one of Fengyun CD Converter, Xunjie CAD Converter and Easy Converter;
[0028] S52, the actual line plane graphic data of the ruler drawing Import the plane drawing software to start running, and at the same time the plane drawing software will use the drawing line size correction measurement instruction data according to the drawing staff's ruler Measure the actual size data of the ruler and compass drawing lines, and collect and generate the actual size measurement data of the ruler and compass drawing lines of the draftsman ,in The unit is millimeter or degree;
[0029] S53, the theoretical size data of the drawing line drawn by the drawing staff The actual size measurement data of the draftsman's ruler and drawing lines Perform differential value processing on dimensional parameters to measure the dimensional measurement data of the draftsman's ruler and drawing line correction ,in ,when , indicating that the actual line size made by the draftsman with a ruler is equal to the standard size requirement. At this time, the draftsman does not need to perform size correction on the lines drawn with a ruler; when > , indicating that the actual line size drawn by the draftsman is smaller than the standard size requirement. In this case, the draftsman needs to adjust the line size according to the standard size requirement. The numerical value is used to increase the size of the ruler drawing line correction operation; when < , which means that the actual line size drawn by the draftsman is larger than the standard size requirement. In this case, the draftsman needs to adjust the line size according to the standard size requirement. The numerical value is used to reduce the deviation of the line size of the ruler drawing, The unit is millimeter or degree.
[0030] Preferably, the line shape problem analysis processing of the ruler and compass drawing by the draftsman is performed according to the ruler and compass drawing actual line image data and the ruler and compass drawing line shape problem image data, and the operation steps of generating the ruler and compass drawing line shape problem analysis data are as follows:
[0031] S61. Establishing image data set of line shape problems in ruler drawing , ;in Indicates The image data of ruler drawing line shape problem corresponding to the line shape problem type, Indicates the maximum number of line shape problem types; line shape problem types include line shape thickness inconsistency problem, line shape break problem, line shape continuous broken line problem and line shape fuzzy problem; the ruler drawing line shape problem image data indicates standard ruler drawing line image information corresponding to different types of line shape problems;
[0032] S62, drawing the actual line image data of the ruler Image data set of the ruler drawing line shape problem Image data of the line shape problem described in the ruler drawing Perform line shape image feature matching to search for actual line image data corresponding to the ruler drawing Matching the ruler drawing line shape problem image data The corresponding line shape problem text information is generated through data identification to generate the cartographer's ruler drawing line shape problem analysis data set ; Execute and generate the said cartographer's ruler and drawing line shape problem analysis data set The specific steps are as follows:
[0033] S621, initializing the algorithm iteration data and executing the ocean current simulation process; setting the maximum algorithm iteration data to N, in the ruler drawing line shape problem image data set Perform ocean current simulation in the search space and generate the image data of the ruler drawing line shape problem Nutrients, line shape search jellyfish are described ruler mapping line shape problem image data Nutrients attract, the direction of the ocean current is determined by the average of all vectors of each line shape searching jellyfish in the ocean towards the line shape searching jellyfish located in the best position;
[0034] S622, during the algorithm execution process, line shape search jellyfish group line shape search jellyfish in the ruler drawing line shape problem image data set Move around their own positions in the search space and search for all the image data of the ruler drawing line shape problem , the corresponding position update formula for each line shape search jellyfish is as follows: ,in Indicates line shape search for jellyfish individuals No. After the iterations, the image dataset of the ruler drawing line shape problem is The position in the search space, Indicates line shape search for jellyfish individuals No. After the iterations, the image dataset of the ruler drawing line shape problem is The position in the search space, Indicates value Random function data within the interval; and Represents the image data set of the ruler drawing line shape problem The upper and lower bound parameters of the search space, that is, the image data set of the ruler drawing line shape problem Searching for actual line image data related to the ruler drawing Matching the ruler drawing line shape problem image data The upper and lower bounds of the data, =0.1 indicates kinematic data;
[0035] S623, algorithm execution line shape search jellyfish group line shape search jellyfish in the ruler drawing line shape problem image data set Searching for actual line image data in the search space corresponding to the ruler drawing Matching the ruler drawing line shape problem image data The time is measured and processed by the time control formula, which is as follows: ,in Indicates After iterations, the time required for line shape to search for jellyfish individuals, Represents the maximum iteration data, Indicates value Random function data within the interval;
[0036] S624, the algorithm execution satisfies the boundary condition, when the line shape search jellyfish is in the ruler drawing line shape problem image data set When the bounded search area is moved out of the search space, the line shape search jellyfish returns to the image data set corresponding to the ruler drawing line shape problem The opposite search area in the search space, the line shape search jellyfish moving boundary condition satisfies the following formula: ,in Indicates line shape search for jellyfish individuals exist The updated position in the dimensional space, that is, in the space with the dimension Image dataset of line shape problems in ruler drawing The updated position in the search space, Indicates line shape search for jellyfish individuals exist The position before updating in the dimension space, that is, in the space dimension Image dataset of line shape problems in ruler drawing The position before the update in the search space;
[0037] S625, when the algorithm meets the maximum iteration number data, output the actual line image data of the ruler drawing Matching the ruler drawing line shape problem image data ;
[0038] S626: All the image data of the ruler drawing line shape problem output in step S625 are The corresponding line shape problem text information is generated through data identification to generate the cartographer's ruler drawing line shape problem analysis data set , ,in Indicates The line shape problem analysis data of the draftsman ruler drawing corresponding to the line shape problem type, Indicates The cartographer ruler drawing line shape problem analysis data corresponding to the type of line shape problem.
[0039] Preferably, the steps of constructing the output data of the ruler and compass drawing correction for the cartographer and performing the ruler and compass drawing correction operation are as follows:
[0040] S71, the draftsman's ruler drawing line correction dimension measurement data and the data set for analyzing the shape problems of the lines drawn by the cartographers After data combination processing, the mapmaker's ruler and mapping correction output data is constructed ,in ;
[0041] S72, outputting the mapmaker's ruler and compass map correction data The data is pushed to the AR wearable device through the IoT communication network and outputted with the display screen to perform ruler drawing and correction operations.
[0042] A system for correcting the deviation of line data for ruler and compass drawing, used to implement the method for correcting the deviation of line data for ruler and compass drawing, the system comprising a ruler and compass drawing line information acquisition module, a ruler and compass drawing line size and shape analysis module, and a ruler and compass drawing line correction module;
[0043] The ruler and gauge drawing line information acquisition module includes a cartographer's drawing line object text information acquisition unit, a ruler and gauge drawing actual line image acquisition unit, a cartographer's ruler and gauge drawing line theoretical size parameter search unit, a ruler and gauge drawing line correction type keyword storage unit, and a cartographer's ruler and gauge drawing line correction type analysis unit;
[0044] The cartographer's drawing line object text information collection unit collects cartographer's drawing line object text data through a voice input module; the ruler and compass drawing actual line image collection unit collects ruler and compass drawing actual line image data through an image scanner carried by an AR wearable device; the cartographer's ruler and compass drawing line theoretical size parameter search unit performs line theoretical size parameter search processing for cartographer's ruler and compass drawing based on the cartographer's drawing line object text data, and generates cartographer's ruler and compass drawing line theoretical size data; the ruler and compass drawing line correction type keyword storage unit is used to store ruler and compass drawing line correction type keyword data; the cartographer's ruler and compass drawing line correction type analysis unit performs line correction type analysis processing for cartographer's ruler and compass drawing based on the cartographer's drawing line object text data and ruler and compass drawing line correction type keyword data, and generates cartographer's ruler and compass drawing line correction type analysis data;
[0045] The ruler and gauge drawing line size shape analysis module includes a ruler and gauge drawing line size correction measurement instruction storage unit of different types, a ruler and gauge drawing line size correction measurement instruction recognition unit for cartographers, a ruler and gauge drawing line actual size measurement parameter acquisition unit for cartographers, a ruler and gauge drawing line correction size measurement parameter measurement unit for cartographers, a ruler and gauge drawing line shape problem image storage unit, and a ruler and gauge drawing line shape problem analysis unit for cartographers;
[0046] The different types of ruler and gauge drawing line size correction measurement instruction storage unit is used to store different types of ruler and gauge drawing line size correction measurement instruction data; the cartographer's ruler and gauge drawing line size correction measurement instruction identification unit performs a cartographer's ruler and gauge drawing line size correction measurement instruction identification process based on the cartographer's ruler and gauge drawing line correction type analysis data and different types of ruler and gauge drawing line size correction measurement instruction data to generate the cartographer's ruler and gauge drawing line size correction measurement instruction data; the cartographer's ruler and gauge drawing line actual size measurement parameter acquisition unit performs a cartographer's ruler and gauge drawing line actual size parameter measurement based on the cartographer's ruler and gauge drawing line size correction measurement instruction data and the ruler and gauge drawing actual line image data in combination with the image format conversion software and the plane mapping software. The measurement data are collected and processed to generate actual size measurement data of the lines drawn by the cartographer's ruler and gauge drawing; the deviation correction size measurement parameter measurement unit of the cartographer's ruler and gauge drawing lines performs deviation correction size measurement processing of the cartographer's ruler and gauge drawing lines according to the actual size measurement data of the cartographer's ruler and gauge drawing lines and the theoretical size data of the cartographer's ruler and gauge drawing lines to generate deviation correction size measurement data of the cartographer's ruler and gauge drawing lines; the ruler and gauge drawing line shape problem image storage unit is used to store the ruler and gauge drawing line shape problem image data; the cartographer's ruler and gauge drawing line shape problem analysis unit performs line shape problem analysis processing of the cartographer's ruler and gauge drawing according to the actual line image data of the ruler and gauge drawing and the line shape problem image data of the ruler and gauge drawing lines to generate the cartographer's ruler and gauge drawing line shape problem analysis data;
[0047] The ruler and compass drawing line correction module includes a ruler and compass drawing correction output information construction unit and a ruler and compass drawing correction operation execution unit;
[0048] The ruler and compass drawing correction output information construction unit is used to construct the ruler and compass drawing correction output data of the cartographer; the ruler and compass drawing correction operation execution unit performs the ruler and compass drawing correction operation according to the cartographer's ruler and compass drawing correction output data combined with the AR wearable device and the display screen.
[0049] (III) Beneficial effects
[0050] The present invention provides a system and method for correcting the deviation of line data in ruler and compass drawing. It has the following beneficial effects:
[0051] 1. Accurately obtain the line object information of the cartographer's drawing and the actual line image parameters of the ruler drawing through the voice input module and the image scanner equipped with the AR wearable device, so as to provide reliable data support for the subsequent accurate search of the theoretical size parameters of the lines and the line correction types of the ruler drawing; use the intelligent search algorithm to accurately search the theoretical size parameters of the lines drawn by the cartographer's ruler drawing through the text information of the cartographer's drawing lines, so as to realize the autonomous and efficient statistics of the theoretical size parameters of the lines drawn by the cartographer's ruler drawing; standard storage of the ruler drawing line correction type keywords combined with the intelligent search algorithm cartographer's drawing line object text information to accurately identify the line correction type of the ruler drawing, realize the accurate analysis of the shape type of the lines drawn based on the ruler drawing, and the line correction type of the ruler drawing, so as to improve the efficiency of the ruler drawing by the cartographer.
[0052] 2. By scientifically storing different types of ruler and gauge drawing line size correction measurement instruction parameters, combined with intelligent search algorithms and the ruler and gauge drawing line correction type analysis information of cartographers, intelligent matching of ruler and gauge drawing line size correction measurement instructions is carried out, so as to realize scientific matching of ruler and gauge drawing line size correction measurement instruction parameters based on the shape type of ruler and gauge drawing lines, and improve the intelligence and reliability of the ruler and gauge drawing line correction results of cartographers; according to the ruler and gauge drawing line size correction measurement instruction information of cartographers and the actual line image parameters of ruler and gauge drawing, combined with image format conversion software and plane mapping software, the actual size parameters of ruler and gauge drawing lines are accurately and efficiently measured, and at the same time, the correction size parameters of ruler and gauge drawing lines are accurately calculated in combination with numerical analysis, so as to realize dynamic and accurate measurement of the actual size of ruler and gauge drawing lines and the correction size of ruler and gauge drawing lines; based on the big data storage of ruler and gauge drawing line shape problem image parameters, combined with intelligent recognition algorithms and the actual line image parameters of ruler and gauge drawing, scientific and intelligent recognition of ruler and gauge drawing line shape problems is carried out, so as to realize accurate recognition of ruler and gauge drawing line shape problems and improve the quality of ruler and gauge drawing by cartographers.
[0053] 3. By combining the line correction size parameters and line shape problem analysis information based on ruler and compass drawing with data processing, the ruler and compass drawing correction output information of the cartographer is scientifically and efficiently constructed, so as to realize the accurate collection of ruler and compass drawing line correction information and improve the response rate of ruler and compass drawing line correction; the ruler and compass drawing correction output parameters of the cartographer are combined with AR wearable devices and display screens for intuitive and visual output, so that the cartographer can easily obtain the ruler and compass drawing line correction information and improve the accuracy and speed of the ruler and compass drawing of the cartographer. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 A schematic diagram of a module for a ruler drawing line data correction processing system provided by the present invention;
[0055] Figure 2A flow chart of a method for correcting deviation of line data in ruler and compass drawing provided by the present invention. DETAILED DESCRIPTION
[0056] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0057] The embodiment of the system and method for correcting the deviation of line data in ruler drawing is as follows:
[0058] Embodiment 1:
[0059] See also Figure 1 - Figure 2 A method for correcting the deviation of line data for ruler drawing, the method comprising the following steps:
[0060] S1. Collecting text data of line objects drawn by cartographers and image data of actual lines drawn by rulers and compasses;
[0061] S2, based on the cartographer's drawing line object text data, perform a search and processing of the line theoretical size parameters of the cartographer's ruler drawing, and generate the cartographer's ruler drawing line theoretical size data;
[0062] S3, analyzing and processing the line deviation correction type of the cartographer's ruler and gauge drawing according to the cartographer's drawing line object text data and the ruler and gauge drawing line deviation correction type keyword data, and generating the cartographer's ruler and gauge drawing line deviation correction type analysis data;
[0063] S4, performing identification processing of the line size correction measurement instruction of the ruler and gauge drawing by the cartographer according to the type analysis data of the line correction of the ruler and gauge drawing by the cartographer and the line size correction measurement instruction data of different types of ruler and gauge drawing, and generating the line size correction measurement instruction data of the ruler and gauge drawing by the cartographer;
[0064] S5, based on the cartographer's ruler and gauge drawing line size correction measurement instruction data and the ruler and gauge drawing actual line image data, the actual size parameter measurement and collection processing of the cartographer's ruler and gauge drawing line is performed to generate the cartographer's ruler and gauge drawing line actual size measurement data, and the cartographer's ruler and gauge drawing line theoretical size data is used to perform the cartographer's ruler and gauge drawing line correction size measurement processing to generate the cartographer's ruler and gauge drawing line correction size measurement data;
[0065] S6, analyzing and processing the line shape problems of ruler and gauge drawing by the draftsman based on the actual line image data of ruler and gauge drawing and the line shape problem image data of ruler and gauge drawing, and generating the line shape problem analysis data of ruler and gauge drawing by the draftsman;
[0066] S7, construct the output data of the ruler and compass drawing correction for the cartographer and execute the ruler and compass drawing correction operation.
[0067] For further information, see Figure 1 - Figure 2 The steps for collecting the text data of the line objects drawn by the cartographer and the image data of the actual lines drawn by the ruler are as follows:
[0068] S11, collecting the size and shape feature text information of the target line object drawn by the draftsman online through the voice input module, and generating the text data of the line object drawn by the draftsman , the text data of the drawing line object drawn by the draftsman includes the theoretical size parameter text information and shape feature text information of the ruler drawing target line;
[0069] The image scanner on the AR wearable device is used to scan and collect the line image parameters actually made by the cartographer in the ruler drawing at a 1:1 ratio, and the actual line image data of the ruler drawing is generated. , AR wearable devices include any one of ROKID Max+Station AR glasses, Thunderbird Air 3 smart AR glasses and XREAL Air 2 Pro AR glasses.
[0070] Based on the text data of the cartographer's drawing line object, the theoretical size parameters of the lines drawn by the cartographer's ruler are searched and processed, and the operation steps for generating the theoretical size data of the cartographer's ruler drawing lines are as follows:
[0071] S21. Use a depth-restricted search algorithm to search for line size keywords in the text data of the line objects drawn by the cartographer. Search out the dimension text information of the target line of the draftsman's ruler drawing, and generate the theoretical dimension data of the ruler drawing line of the draftsman through text data translation and identification processing. ,in The unit is millimeter or degree.
[0072] According to the cartographer's drawing line object text data and the ruler drawing line correction type keyword data, the line correction type analysis and processing of the cartographer's ruler drawing is performed, and the operation steps of generating the cartographer's ruler drawing line correction type analysis data are as follows:
[0073] S31. Establishing a keyword data set for line correction type in ruler drawing , ;in Indicates The ruler drawing line correction type keyword data corresponding to the line correction type, Indicates the maximum number of line correction types; line correction types include circle line correction type, arc line correction type, single straight line correction type and angle straight line correction type; ruler drawing line correction type keyword data includes circle keyword, arc keyword, straight line keyword and angle straight line keyword;
[0074] S32, using iterative deepening search algorithm to map the line object text data of the mapmaker Keywords data set of line correction types for ruler drawing Medium-scale drawing line correction type keyword data Perform keyword matching of ruler and compass drawing line shape features to search for text data of drawing line objects drawn by the cartographer Matching ruler drawing line correction type keyword data Corresponding line correction type text information, and construct the mapmaker's ruler drawing line correction type analysis data .
[0075] Through the cooperation between the cartographer's drawing line object text information collection unit and the ruler and compass drawing actual line image collection unit, the voice input module and the AR wearable device equipped with an image scanner are used to accurately obtain the cartographer's drawing line object information and the ruler and compass drawing actual line image parameters, so as to provide reliable data support for the subsequent accurate search of the line theoretical size parameters and line correction types of ruler and compass drawing; the cartographer's ruler and compass drawing line theoretical size parameter search unit uses an intelligent search algorithm to accurately search the cartographer's ruler and compass drawing line theoretical size parameters for the cartographer's drawing line object text information, so as to realize the autonomous and efficient statistics of the cartographer's ruler and compass drawing line theoretical size parameters; the ruler and compass drawing line correction type keyword storage unit and the ruler and compass drawing line correction type analysis unit cooperate with each other, and the standard storage of ruler and compass drawing line correction type keywords is combined with the intelligent search algorithm cartographer's drawing line object text information to accurately identify the line correction type of ruler and compass drawing, so as to realize the accurate analysis of the line shape type based on ruler and compass drawing and the line correction type of ruler and compass drawing, and improve the efficiency of ruler and compass drawing by cartographers.
[0076] For further information, see Figure 1 - Figure 2 According to the cartographer's ruler and gauge drawing line deviation correction type analysis data and different types of ruler and gauge drawing line deviation correction measurement instruction data, the cartographer's ruler and gauge drawing line deviation correction measurement instruction recognition processing is performed, and the operation steps for generating the cartographer's ruler and gauge drawing line deviation correction measurement instruction data are as follows:
[0077] S41. Establish different types of ruler drawing line size correction measurement instruction data sets ,in Indicates Different types of ruler drawing line size correction measurement instruction data corresponding to the line correction types, the different types of ruler drawing line size correction measurement instruction data represent the plane drawing software line size correction measurement execution instruction parameters set for different types of ruler drawing line shapes; different types of ruler drawing line size correction measurement instruction data include ruler drawing circle line radius size measurement instruction, ruler drawing arc line radius size measurement instruction, ruler drawing single straight line line length size measurement instruction and ruler drawing angle straight line line angle size measurement instruction; the plane drawing software includes any one of AutoCAD, Pixso and Photoshop;
[0078] S42, using the depth-restricted search algorithm to analyze the type of deviation analysis data of the cartographer's ruler and line correction A data set of measurement instructions for drawing line size correction with different types of rulers and gauges Different types of ruler drawing line size correction measurement instruction data Perform line correction type keyword matching to search for the line correction type analysis data of the draftsman's ruler and gauge drawing Corresponding different types of ruler drawing line size correction measurement instruction data , and generate the measurement instruction data for the draftsman's ruler, drawing line size correction after data identification .
[0079] According to the measurement instruction data of the dimension correction of the ruler and gauge drawing lines made by the draftsman, and the image data of the actual lines made by the ruler and gauge drawing, the actual dimension parameter measurement and collection processing of the ruler and gauge drawing lines made by the draftsman is performed, and the actual dimension measurement data of the ruler and gauge drawing lines made by the draftsman is generated, and the correction dimension measurement processing of the ruler and gauge drawing lines made by the draftsman is performed with the theoretical dimension data of the ruler and gauge drawing lines made by the draftsman. The operation steps for generating the correction dimension measurement data of the ruler and gauge drawing lines made by the draftsman are as follows:
[0080] S51, drawing the actual line image data with a ruler Converted into actual line plane graphic data for ruler drawing through graphic format conversion software , the graphic format conversion software includes any one of Fengyun CD Converter, Xunjie CAD Converter and Easy Converter;
[0081] S52, the actual line plane graphic data of the ruler drawing Import the plane drawing software to start running, and the plane drawing software will correct the measurement instruction data of the drawing line size according to the drawing staff's ruler. Measure the actual size data of the ruler and compass drawing lines, and collect and generate the actual size measurement data of the ruler and compass drawing lines of the draftsman ,in The unit is millimeter or degree;
[0082] S53, the theoretical size data of the drawing lines drawn by the draftsman The actual size measurement data of the draftsman's ruler and drawing lines Perform differential value processing on dimensional parameters to measure the dimensional measurement data of the draftsman's ruler and drawing line correction ,in ,when , indicating that the actual line size made by the draftsman with a ruler is equal to the standard size requirement. At this time, the draftsman does not need to perform size correction on the lines drawn with a ruler; when > , indicating that the actual line size drawn by the draftsman is smaller than the standard size requirement. In this case, the draftsman needs to adjust the line size according to the standard size requirement. The numerical value is used to increase the size of the ruler drawing line correction operation; when < , which means that the actual line size drawn by the draftsman is larger than the standard size requirement. In this case, the draftsman needs to adjust the line size according to the standard size requirement. The numerical value is used to reduce the deviation of the line size of the ruler drawing, The unit is millimeter or degree.
[0083] The following steps are used to analyze and process the line shape problems of ruler and gauge drawing by the draftsman based on the actual line image data of ruler and gauge drawing and the line shape problem image data of ruler and gauge drawing to generate the line shape problem analysis data of the draftsman's ruler and gauge drawing:
[0084] S61. Establishing image data set of line shape problems in ruler drawing , ;in Indicates The image data of ruler drawing line shape problem corresponding to the line shape problem type, Indicates the maximum number of line shape problem types; line shape problem types include line shape thickness inconsistency problem, line shape break problem, line shape continuous broken line problem and line shape fuzzy problem; ruler drawing line shape problem image data indicates standard ruler drawing line image information corresponding to different types of line shape problems;
[0085] S62, drawing the actual line image data with a ruler Image data set of line shape problems in drawing with rulers and compasses Image data of line shape problems in medium-scale drawing Perform line shape image feature matching to search for actual line image data that matches the ruler drawing Matching ruler drawing line shape problem image data The corresponding line shape problem text information is generated through data identification to generate the cartographer's ruler drawing line shape problem analysis data set ; Execute the generation of a data set for analyzing the shape problems of the draftsman's ruler and drawing lines The specific steps are as follows:
[0086] S621, initializing the algorithm iteration data and executing the ocean current simulation process; setting the maximum algorithm iteration data to N, and in the ruler drawing line shape problem image data set Simulate ocean currents in the search space and generate image data for ruler-drawn line shape problems Nutrients, line shape search jellyfish ruler drawing line shape problem image data Nutrients attract, the direction of the ocean current is determined by the average of all vectors of each line shape searching jellyfish in the ocean towards the line shape searching jellyfish located in the best position;
[0087] S622, line shape search in jellyfish group during algorithm execution, line shape search in jellyfish group, line shape problem image data set in ruler drawing Move around their own position in the search space and search all the ruler drawing line shape problem image data , the corresponding position update formula for each line shape search jellyfish is as follows: ,in Indicates line shape search for jellyfish individuals No. After iterations, the image dataset of ruler drawing line shape problem The position in the search space, Indicates line shape search for jellyfish individuals No. After iterations, the image dataset of ruler drawing line shape problem The position in the search space, Indicates value Random function data within the interval; and A collection of image data representing line shape problems in ruler drawing The upper and lower bound parameters of the search space, that is, the image data set of the ruler drawing line shape problem Search and ruler drawing actual line image data Matching ruler drawing line shape problem image data The upper and lower bounds of the data, =0.1 indicates kinematic data;
[0088] S623, algorithm execution, line shape search, line shape search in jellyfish group, jellyfish in ruler drawing, line shape problem image data set Searching and drawing actual line image data in search space Matching ruler drawing line shape problem image data The time is measured and processed by the time control formula, which is as follows: ,in Indicates After iterations, the time required for line shape to search for jellyfish individuals, Represents the maximum iteration data, Indicates value Random function data within the interval;
[0089] S624, algorithm execution meets the boundary conditions, when the line shape search jellyfish in the ruler drawing line shape problem image data set When moving out of the bounded search area in the search space, the line shape search jellyfish returns to the image data set of the ruler drawing line shape problem The opposite search area in the search space, the line shape search jellyfish moving boundary condition satisfies the following formula: ,in Indicates line shape search for jellyfish individuals exist The updated position in the dimensional space, that is, in the space with the dimension Image dataset of line shape problems in ruler drawing The updated position in the search space, Indicates line shape search for jellyfish individuals exist The position before updating in the dimension space, that is, in the space dimension Image dataset of line shape problems in ruler drawing The position before the update in the search space;
[0090] S625, when the algorithm meets the maximum iteration number data, output the actual line image data of the ruler drawing Matching ruler drawing line shape problem image data ;
[0091] S626: All the image data of the ruler drawing line shape problem output in step S625 are The corresponding line shape problem text information is generated through data identification to generate the cartographer's ruler drawing line shape problem analysis data set , ,in Indicates The line shape problem analysis data of the draftsman ruler drawing corresponding to the line shape problem type, Indicates The cartographer ruler drawing line shape problem analysis data corresponding to the type of line shape problem.
[0092] Through the cooperation of different types of ruler and gauge drawing line size correction measurement instruction storage units and the cartographer's ruler and gauge drawing line size correction measurement instruction identification unit, different types of ruler and gauge drawing line size correction measurement instruction parameters are scientifically stored, and the intelligent search algorithm is combined with the cartographer's ruler and gauge drawing line correction type analysis information to intelligently match the ruler and gauge drawing line size correction measurement instruction parameters, so as to realize scientific matching of ruler and gauge drawing line size correction measurement instruction parameters based on the ruler and gauge drawing line shape type, and improve the intelligence and reliability of the cartographer's ruler and gauge drawing line correction results; the cartographer's ruler and gauge drawing line actual size measurement parameter acquisition unit and the cartographer's ruler and gauge drawing line correction size measurement parameter measurement unit cooperate with each other, according to the cartographer's ruler and gauge drawing line size correction measurement parameter acquisition unit, the ruler and gauge drawing line size correction measurement parameter acquisition unit is combined with the ruler and gauge drawing line size correction measurement parameter acquisition unit, and the ruler and gauge drawing line size correction measurement parameter acquisition unit is combined with the ruler and gauge drawing line size correction measurement parameter acquisition unit. The actual size parameters of the ruler and gauge drawing lines are accurately and efficiently measured by combining the dimensional correction measurement instruction information and the actual line image parameters of the ruler and gauge drawing with the image format conversion software and the plane drawing software. At the same time, the correction size parameters of the ruler and gauge drawing lines are accurately calculated in combination with numerical analysis, so as to realize the dynamic and accurate measurement of the actual size of the ruler and gauge drawing lines and the correction size of the ruler and gauge drawing lines; the ruler and gauge drawing line shape problem image storage unit and the ruler and gauge drawing line shape problem analysis unit of the draftsman cooperate with each other, and the line shape problems of the ruler and gauge drawing are scientifically and intelligently identified based on the big data storage of the ruler and gauge drawing line shape problem image parameters combined with the intelligent recognition algorithm and the actual line image parameters of the ruler and gauge drawing, so as to realize the accurate recognition of the line shape problems of the ruler and gauge drawing and improve the quality of the ruler and gauge drawing of the draftsman.
[0093] For further information, see Figure 1 - Figure 2 , the steps to construct the output data of the ruler and gauge drawing correction for the cartographer and perform the ruler and gauge drawing correction operation are as follows:
[0094] S71, the draftsman's ruler drawing line correction dimension measurement data Data set for analyzing the shape problems of lines drawn by cartographers and rulers After data combination processing, the mapmaker's ruler and mapping correction output data is constructed ,in ;
[0095] S72, output data of the correction of the drawing by the drawing staff The data is pushed to the AR wearable device through the IoT communication network and outputted with the display screen to perform ruler drawing and correction operations.
[0096] Through the ruler and compass drawing correction output information construction unit, based on the line correction size parameters of ruler and compass drawing and the line shape problem analysis information combined with data processing, the ruler and compass drawing correction output information of the cartographer is scientifically and efficiently constructed, so as to realize the accurate collection of ruler and compass drawing line correction information and improve the response rate of ruler and compass drawing line correction; the ruler and compass drawing correction operation execution unit combines the ruler and compass drawing correction output parameters of the cartographer with AR wearable devices and display screens for intuitive and visual output, so as to realize the cartographer's convenient acquisition of ruler and compass drawing line correction information and improve the accuracy and speed of ruler and compass drawing by cartographers.
[0097] Embodiment 2:
[0098] See also Figure 1 - Figure 2 , a ruler and gauge drawing line data correction processing system, used to implement a ruler and gauge drawing line data correction processing method, the system includes a ruler and gauge drawing line information acquisition module, a ruler and gauge drawing line size shape analysis module, and a ruler and gauge drawing line correction module;
[0099] The ruler and gauge drawing line information acquisition module includes a drawing personnel drawing line object text information acquisition unit, a ruler and gauge drawing actual line image acquisition unit, a drawing personnel ruler and gauge drawing line theoretical size parameter search unit, a ruler and gauge drawing line correction type keyword storage unit, and a drawing personnel ruler and gauge drawing line correction type analysis unit;
[0100] A cartographer's drawing line object text information collection unit collects cartographer's drawing line object text data through a voice input module; a ruler and compass drawing actual line image collection unit collects ruler and compass drawing actual line image data through an image scanner mounted on an AR wearable device; a cartographer's ruler and compass drawing line theoretical size parameter search unit performs line theoretical size parameter search processing for cartographer's ruler and compass drawing based on cartographer's drawing line object text data, and generates cartographer's ruler and compass drawing line theoretical size data; a ruler and compass drawing line correction type keyword storage unit is used to store ruler and compass drawing line correction type keyword data; a cartographer's ruler and compass drawing line correction type analysis unit performs line correction type analysis processing for cartographer's ruler and compass drawing based on cartographer's drawing line object text data and ruler and compass drawing line correction type keyword data, and generates cartographer's ruler and compass drawing line correction type analysis data;
[0101] The ruler and gauge drawing line size shape analysis module includes a ruler and gauge drawing line size correction measurement instruction storage unit of different types, a ruler and gauge drawing line size correction measurement instruction recognition unit for cartographers, a ruler and gauge drawing line actual size measurement parameter acquisition unit for cartographers, a ruler and gauge drawing line correction size measurement parameter measurement unit for cartographers, a ruler and gauge drawing line shape problem image storage unit, and a ruler and gauge drawing line shape problem analysis unit for cartographers;
[0102] The measurement instruction storage unit for dimension correction of different types of ruler and gauge drawing lines is used to store dimension correction measurement instruction data of different types of ruler and gauge drawing lines; the measurement instruction recognition unit for dimension correction of cartographer's ruler and gauge drawing lines is used to identify and process the dimension correction measurement instruction of cartographer's ruler and gauge drawing lines according to the dimension correction type analysis data of cartographer's ruler and gauge drawing lines and the dimension correction measurement instruction data of different types of ruler and gauge drawing lines, and generate the dimension correction measurement instruction data of cartographer's ruler and gauge drawing lines; the measurement parameter acquisition unit for actual dimension of cartographer's ruler and gauge drawing lines is used to measure the actual dimension parameters of cartographer's ruler and gauge drawing lines according to the dimension correction measurement instruction data of cartographer's ruler and gauge drawing lines and the image data of actual lines of ruler and gauge drawing combined with the image format conversion software and the plane drawing software. The measurement collection and processing generates the actual size measurement data of the ruler and gauge drawing lines of the cartographer; the measurement parameter measurement unit of the correction size measurement of the ruler and gauge drawing lines of the cartographer performs the correction size measurement processing of the ruler and gauge drawing lines of the cartographer according to the actual size measurement data of the ruler and gauge drawing lines of the cartographer and the theoretical size data of the ruler and gauge drawing lines, and generates the correction size measurement data of the ruler and gauge drawing lines of the cartographer; the ruler and gauge drawing line shape problem image storage unit is used to store the ruler and gauge drawing line shape problem image data; the ruler and gauge drawing line shape problem analysis unit performs the ruler and gauge drawing line shape problem analysis processing of the cartographer according to the ruler and gauge drawing actual line image data and the ruler and gauge drawing line shape problem image data, and generates the ruler and gauge drawing line shape problem analysis data;
[0103] The ruler and compass drawing line correction module includes a ruler and compass drawing correction output information construction unit and a ruler and compass drawing correction operation execution unit;
[0104] The ruler and compass mapping correction output information construction unit is used to construct the ruler and compass mapping correction output data of the cartographer; the ruler and compass mapping correction operation execution unit performs the ruler and compass mapping correction operation according to the ruler and compass mapping correction output data of the cartographer in combination with the AR wearable device and the display screen.
[0105] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A method for correcting the deviation of line data in ruler drawing, characterized in that: The method comprises the following steps: S1. Collecting text data of line objects drawn by cartographers and image data of actual lines drawn by rulers and compasses; S2, performing search processing on theoretical size parameters of lines drawn by the draftsman based on the text data of the draftsman's drawing line object, and generating theoretical size data of lines drawn by the draftsman's ruler; S3, performing line deviation correction type analysis processing of the cartographer's ruler and gauge drawing according to the cartographer's drawing line object text data and the ruler and gauge drawing line deviation correction type keyword data, and generating cartographer's ruler and gauge drawing line deviation correction type analysis data; S4, performing identification processing of the line size correction measurement instruction of the ruler and gauge drawing by the cartographer according to the type analysis data of the line size correction of the ruler and gauge drawing by the cartographer and the line size correction measurement instruction data of different types of ruler and gauge drawing, and generating the line size correction measurement instruction data of the ruler and gauge drawing by the cartographer; S5, based on the draftsman ruler drawing line size correction measurement instruction data and the draftsman ruler drawing actual line image data, the draftsman ruler drawing actual size parameter measurement collection processing is performed to generate the draftsman ruler drawing line actual size measurement data and the draftsman ruler drawing line theoretical size data is used to perform the draftsman ruler drawing line correction size measurement processing to generate the draftsman ruler drawing line correction size measurement data, the S5 includes the following steps: S51, drawing the actual line image data of the ruler Converted into actual line plane graphic data for ruler drawing through graphic format conversion software ; S52, the Import the plane drawing software to start running, and at the same time the plane drawing software will use the drawing line size correction measurement instruction data according to the drawing staff's ruler Measure the actual size data of the ruler and compass drawing lines, and collect and generate the actual size measurement data of the ruler and compass drawing lines of the draftsman ,in The unit is millimeter or degree; S53, the theoretical size data of the drawing line drawn by the drawing staff With the Perform differential value processing on dimensional parameters to measure the dimensional measurement data of the draftsman's ruler and drawing line correction ,in The unit is millimeter or degree; S6, analyzing and processing the line shape problems of ruler and gauge drawing by the draftsman according to the actual line image data of ruler and gauge drawing and the line shape problem image data of ruler and gauge drawing, and generating the line shape problem analysis data of ruler and gauge drawing by the draftsman, wherein S6 comprises the following steps: S61. Establishing image data set of line shape problems in ruler drawing , ;in Indicates The image data of ruler drawing line shape problem corresponding to the line shape problem type, Indicates the maximum number of line shape problem types; S62, the With the As stated in Perform line shape image feature matching and search for the Matching the The corresponding line shape problem text information is generated through data identification to generate the cartographer's ruler drawing line shape problem analysis data set ; Execute and generate the said cartographer's ruler and drawing line shape problem analysis data set The specific steps are as follows: S621, initializing the algorithm iteration data and executing the ocean current simulation process; setting the maximum algorithm iteration data to N, in the The ocean currents are simulated in the search space and the Nutrients, line shapes search for jellyfish described Nutrients attract, the direction of the ocean current is determined by the average of all vectors of each line shape searching jellyfish in the ocean towards the line shape searching jellyfish located in the best position; S622, during the algorithm execution process, the line shape search jellyfish group in the line shape search jellyfish group is described in Move around their own position in the search space and search for all the ,Each line shape searches for the corresponding position of the jellyfish for update; S623, the algorithm executes the line shape search for the jellyfish group in the line shape search jellyfish group in the Search space for the Matching the The time is measured and processed by the time control formula; S624, the algorithm executes to meet the boundary conditions, when the line shape search jellyfish in the When the bounded search area is moved out of the search space, the line shape search jellyfish returns to the same The opposite search area in the search space; S625. When the algorithm meets the maximum iteration number data, the output is the same as the Matching the ; S626: All the outputs in step S625 are The corresponding line shape problem text information is generated through data identification to generate the cartographer's ruler drawing line shape problem analysis data set , ,in Indicates The line shape problem analysis data of the draftsman ruler drawing corresponding to the line shape problem type, Indicates The line shape problem analysis data of the draftsman ruler drawing corresponding to the line shape problem types; S7, constructing the ruler and compass mapping correction output data of the cartographer and performing the ruler and compass mapping correction operation, wherein S7 includes the following steps: S71, the and stated After data combination processing, the mapmaker's ruler and mapping correction output data is constructed ,in ; S72, the The data is pushed to the AR wearable device through the IoT communication network and outputted with the display screen to perform ruler drawing and correction operations.
2. A method for correcting deviation of line data for ruler drawing according to claim 1, characterized in that: The S1 comprises the following steps: S11, collecting the size and shape feature text information of the target line object drawn by the draftsman online through the voice input module, and generating the text data of the line object drawn by the draftsman ; The image scanner on the AR wearable device is used to scan and collect the line image parameters actually made by the cartographer in the ruler drawing at a 1:1 ratio online, and the actual line image data of the ruler drawing is generated. .
3. A method for correcting deviation of line data for ruler drawing according to claim 2, characterized in that: The S2 comprises the following steps: S21, using a depth-restricted search algorithm according to the line size keywords in the Search out the dimension text information of the target line of the draftsman's ruler drawing, and generate the theoretical dimension data of the ruler drawing line of the draftsman through text data translation and identification processing. ,in The unit is millimeter or degree.
4. A method for correcting deviation of line data for ruler drawing according to claim 3, characterized in that: The S3 comprises the following steps: S31. Establishing a keyword data set for line correction type in ruler drawing , ;in Indicates The ruler drawing line correction type keyword data corresponding to the line correction type, Indicates the maximum number of line correction types; S32, using iterative deepening search algorithm to With the As stated in Perform keyword matching of ruler drawing line shape features to search for the Matching the Corresponding line correction type text information, and construct the mapmaker's ruler drawing line correction type analysis data .
5. The method for correcting the deviation of line data for ruler drawing according to claim 4, characterized in that: The S4 comprises the following steps: S41. Establish different types of ruler drawing line size correction measurement instruction data sets ,in Indicates Different types of ruler drawing line size correction measurement instruction data corresponding to the line correction types; S42, using a depth-limited search algorithm to With the As stated in Perform line correction type keyword matching and search for the The corresponding , and generate the measurement instruction data for the draftsman's ruler, drawing line size correction after data identification .
6. A system for correcting the deviation of line data for ruler drawing, used to implement a method for correcting the deviation of line data for ruler drawing as claimed in any one of claims 1 to 5, characterized in that: The system comprises a ruler and compass drawing line information acquisition module, a ruler and compass drawing line size and shape analysis module, and a ruler and compass drawing line deviation correction module.
Citation Information
Patent Citations
AI-based automatic correction system and method for ruler and gauge drawing work
CN117934976B
Construction drawing correction method and system based on pattern recognition
CN114627210A
Power grid GIS graph rectification method based on unmanned aerial vehicle orthoimage
CN117094915A