Exploration sketch conversion method and processing system, control device and storage medium
By analyzing and comparing the drawing elements in the exploration sketch image, generating drawing data and generating graphics in the drawing software, the problems of low efficiency and poor accuracy of hand-drawing conversion in exploration and design are solved, and the digitalization and paperlessness of exploration and design are realized , improve work efficiency and drawing quality.
Patent Information
- Application Number
- CN202411136278.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2025-01-03
AI Technical Summary
In the prior art exploration and design process, the conversion of hand-drawn exploration sketches into drawing drawings is large and inefficient, and it is prone to omissions or errors, which affects the quality of the drawings, and cannot achieve digitalization and paperlessness of engineering projects.
By obtaining exploration sketch images, analyzing drawing elements and their position information, generating drawing data, and generating corresponding graphics in the drawing software for comparison and revision, reducing the workload and error rate of manual modification.
It improves the efficiency and accuracy of exploration sketch conversion, shortens the design cycle, optimizes the convenience and quality of drawings, and realizes the digitalization and paperlessness of exploration and design.
Smart Images

Figure CN119249521A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of engineering exploration computer processing technology, and in particular to an exploration sketch conversion method and processing system, a control device, and a storage medium. Background Art
[0002] Survey and design are key links in communication engineering projects. Engineering technicians need to first draw survey sketches on site to record the actual situation, and then manually draw the corresponding drawing drawings in CAD and other drawing software based on the survey sketches. However, this process is not only labor-intensive and inefficient, but also requires a lot of manpower and time costs. Moreover, since it is done manually, there is a risk of omissions or errors in manual operations, which affects the quality of the drawings. The work intensity is high, and it is difficult to achieve standardization of drawing drawings, and it is impossible to meet strict drawing requirements. Based on paper survey sketches, it is impossible to truly realize the digitalization and paperless design of engineering projects. On-site surveys and indoor drawings are separated, which is inefficient and not portable. Summary of the invention
[0003] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention proposes a survey sketch conversion method and processing system, a control device, and a storage medium to reduce drawing time, improve work efficiency, reduce the error rate of drawing, improve accuracy, optimize the convenience of obtaining drawings during the survey process, and shorten the design cycle.
[0004] According to a first aspect of the present invention, an exploration sketch conversion method includes: acquiring an exploration sketch image; analyzing the exploration sketch image to obtain drawing elements in the exploration sketch image and orientation information of each drawing element, wherein the drawing elements include one or more combinations of lines, blocks, text and symbols, and the orientation information includes the size and position of the drawing elements; generating mapping data according to the drawing elements and the orientation information of each drawing element; generating each mapping graphic of corresponding size at a corresponding position in mapping software according to the mapping data to form a mapping drawing; comparing the content of the mapping drawing with the exploration sketch image, and adding mark information to the difference position according to the comparison result, and outputting the mapping drawing with the added mark information; acquiring revision instructions, editing and modifying the mapping graphics in the mapping drawing according to the revision instructions, and saving the modified mapping drawing.
[0005] A method for converting an exploration sketch according to an embodiment of the present invention has at least the following beneficial effects:
[0006] The exploration sketch conversion method of the present invention, after acquiring the exploration sketch image, analyzes the exploration sketch image to obtain each drawing element in the exploration sketch image and the orientation information of each drawing element, and then generates mapping data that can be used by mapping software, and can generate each mapping figure of corresponding size at the corresponding position in the mapping software according to the mapping data to form a mapping drawing, and then in order to reduce the risk of errors in the conversion process, by comparing the mapping drawing content with the exploration sketch image, and marking the difference position, and then outputting it to the user for proofreading, the user can edit and modify the difference position one by one according to the marking information, because the general mapping drawing has been completed, only a small part of the difference position needs to be modified by the user, the workload is small, and the probability of errors can also be reduced. The design reduces drawing time, improves work efficiency, reduces the error rate of mapping, improves accuracy, optimizes the convenience of obtaining drawings during exploration, and shortens the design cycle.
[0007] According to some embodiments of the present invention, the analyzing of the exploration sketch image to obtain the drawing elements in the exploration sketch image and the orientation information of each drawing element includes: analyzing the exploration sketch image using a feature extraction model to extract the drawing elements in the exploration sketch image and the orientation information of each drawing element; analyzing partially extracted drawing elements using a deep learning model to convert them into semantic information, wherein the partially extracted drawing elements include text.
[0008] According to some embodiments of the present invention, drawing elements of some blocks in the exploration sketch image correspond to drawing elements with text; generating mapping data based on the drawing elements and the orientation information of each drawing element includes: analyzing the partially extracted drawing elements using a deep learning model to convert them into semantic information, and then pairing the semantic information with the block, wherein the text analyzed to obtain the semantic information corresponds to the block.
[0009] According to some embodiments of the present invention, generating various drawing graphics of corresponding sizes at corresponding positions in drawing software according to drawing data includes: searching for corresponding device graphics in the drawing software according to blocks and semantic information; generating various drawing graphics of corresponding sizes at corresponding positions according to the device graphics and orientation information.
[0010] According to some embodiments of the present invention, after generating various drawing graphics of corresponding sizes at corresponding positions in the drawing software according to the drawing data to form a drawing sheet, it also includes: adding annotation information to at least part of the drawing graphics, wherein the annotation information includes dimension annotations obtained according to the sizes of the drawing elements, name annotations of the blocks, and legend descriptions.
[0011] According to some embodiments of the present invention, comparing the content of the cartographic drawing with the exploration sketch image and adding marking information to the difference position according to the comparison result includes: pairing the positions of the cartographic drawing and the exploration sketch image; segmenting the position-paired cartographic drawing and the exploration sketch image into multiple areas; performing feature comparison on the cartographic graphics and drawing elements in each area, identifying the difference position and adding marking information to the difference position.
[0012] According to some embodiments of the present invention, the comparing of the contents of the cartographic drawing with the exploration sketch image also includes: sorting a plurality of difference situations from high to low priority based on a priority rule; performing a priority condition judgment on the priority of each difference situation, and when the priority of the difference situation satisfies the priority condition, performing an automatic repair step on the difference situation, in which the drawing elements of the exploration sketch image in the difference position and the orientation information of the drawing elements are analyzed, and the cartographic data of the difference position is regenerated according to the drawing elements and the orientation information of the drawing elements, and the cartographic graphics of the difference position are edited and modified using the regenerated cartographic data to form a repair plan, and the repair plan is output in the output drawing to which the mark information is added; in obtaining the revision instruction, the revision instruction includes a confirmation or rejection instruction for the repair plan, and whether to edit and modify the cartographic graphics in the cartographic drawing according to the repair plan is selected according to the revision instruction.
[0013] According to a second aspect of the present invention, a processing system is used to implement a method for converting an exploration sketch map disclosed in any of the above embodiments. The processing system includes:
[0014] An image acquisition module, used for acquiring an exploration sketch image;
[0015] An image recognition module, used for analyzing the exploration sketch image to obtain drawing elements in the exploration sketch image and position information of each drawing element, wherein the drawing elements include one or more combinations of lines, blocks, texts and symbols, and the position information includes the size and position of the drawing elements;
[0016] A data generation module, used for generating mapping data according to the drawing elements and the orientation information of each drawing element;
[0017] A drawing generation module is used to generate various drawing graphics of corresponding sizes at corresponding positions in the drawing software according to the drawing data to form a drawing;
[0018] A comparison module is used to compare the content of the drawing with the exploration sketch image, and add marking information to the difference position according to the comparison result, and output the drawing with the marking information added;
[0019] The interactive revision module is used to obtain revision instructions, edit and modify the drawing graphics in the drawing sheets according to the revision instructions, and save the modified drawing sheets.
[0020] The processing system according to the embodiment of the present invention has at least the following beneficial effects:
[0021] The processing system of the present invention implements an exploration sketch conversion method disclosed in any of the above embodiments, which can reduce drawing time, improve work efficiency, reduce the error rate of mapping, improve accuracy, optimize the convenience of obtaining drawings during the exploration process, and shorten the design cycle.
[0022] According to the control device of the third aspect of the present invention, the control device includes a memory and a processor, the memory stores a computer program, and the processor implements the exploration sketch conversion method disclosed in any of the above embodiments when executing the computer program.
[0023] According to the computer-readable storage medium of the fourth aspect of the present invention, the computer-readable storage medium stores a computer program, and is characterized in that when the computer program is executed by a processor, the exploration sketch conversion method disclosed in any of the above embodiments is implemented.
[0024] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0026] Figure 1 A first flow chart of one embodiment of the method for converting an exploration sketch map of the present invention;
[0027] Figure 2 A second flow chart of one embodiment of the method for converting an exploration sketch map of the present invention;
[0028] Figure 3 A third flow chart of one embodiment of the method for converting an exploration sketch map of the present invention;
[0029] Figure 4 It is a principle structure block diagram of one embodiment of the processing system of the present invention;
[0030] Figure 5 This is a principle structural block diagram of one embodiment of the control device of the present invention.
[0031] Reference numerals:
[0032] Image acquisition module 410; image recognition module 420; data generation module 430; drawing generation module 440; comparison module 450; interactive revision module 460; processor 510; memory 520; input / output interface 530; communication interface 540; bus 550. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0034] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0035] In the description of the present invention, “several” means one or more, “more” means more than two, “greater than”, “less than”, “exceed”, etc. are understood as not including the number itself, and “above”, “below”, “within”, etc. are understood as including the number itself.
[0036] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0037] like Figure 1 As shown, a method for converting an exploration sketch according to an embodiment of the first aspect of the present invention includes:
[0038] S110, obtaining an exploration sketch image;
[0039] The user can use image acquisition devices such as scanners, digital cameras or smartphone cameras to take pictures of the on-site environment to form an exploration sketch image. The exploration sketch image can also be a hand-drawn drawing by the user and then formed by photographing;
[0040] S120, analyzing the exploration sketch image to obtain drawing elements in the exploration sketch image and orientation information of each drawing element, wherein the drawing elements include one or more combinations of lines, blocks, texts and symbols, and the orientation information includes the size and position of the drawing elements; the exploration sketch image analysis may adopt artificial intelligence recognition technology to obtain and analyze the lines, blocks, annotated texts and symbols in the exploration sketch image, and also record the orientations of these drawing elements, so as to restore the corresponding drawing graphics in the drawing drawing;
[0041] S130, generating mapping data according to the drawing elements and the orientation information of each drawing element; according to the mapping software used, the analyzed drawing elements and the orientation information of each drawing element can be converted into mapping data that can be read by the mapping software through software processing, so as to reproduce the mapping graphics in the mapping software;
[0042] S140. Generate various drawing graphics of corresponding sizes at corresponding positions in the drawing software according to the drawing data to form a drawing sheet; specifically, the drawing software can be CAD or other software suitable for graphic design, the drawing data is read by the drawing software, and then drawing graphics of corresponding sizes are generated at corresponding positions according to the instructions and content in the drawing data.
[0043] S150, comparing the contents of the cartographic drawing with the exploration sketch image, adding marking information to the different positions according to the comparison results, and outputting the cartographic drawing with the added marking information; specifically, the marking information may be a symbol mark with added highlights, such as a triangle, a cross, an arrow, etc., for easy user identification.
[0044] S160, obtaining revision instructions, editing and modifying the drawing graphics in the drawing according to the revision instructions, and saving the modified drawing; the user can view the drawing and exploration sketch images on the display, and can also view the marking information on the drawing. The user can input revision instructions in the mapping software through external devices such as mouse and keyboard to edit and modify the drawing graphics.
[0045] The exploration sketch conversion method of the present invention, after acquiring the exploration sketch image, analyzes the exploration sketch image to obtain each drawing element in the exploration sketch image and the orientation information of each drawing element, and then generates mapping data that can be used by mapping software, and can generate each mapping figure of corresponding size at the corresponding position in the mapping software according to the mapping data to form a mapping drawing, and then in order to reduce the risk of errors in the conversion process, by comparing the mapping drawing content with the exploration sketch image, and marking the difference position, and then outputting it to the user for proofreading, the user can edit and modify the difference position one by one according to the marking information, because the general mapping drawing has been completed, only a small part of the difference position needs to be modified by the user, the workload is small, and the probability of errors can also be reduced. The design reduces drawing time, improves work efficiency, reduces the error rate of mapping, improves accuracy, optimizes the convenience of obtaining drawings during exploration, and shortens the design cycle.
[0046] In some embodiments of the present invention, Figure 2 As shown, the step of analyzing the exploration sketch image to obtain the drawing elements in the exploration sketch image and the position information of each drawing element includes:
[0047] S210, analyzing the exploration sketch image using a feature extraction model to extract drawing elements in the exploration sketch image and position information of each drawing element;
[0048] S220. Analyze partially extracted drawing elements using a deep learning model to convert them into semantic information, wherein the partially extracted drawing elements include text.
[0049] First, a feature extraction model is used to quickly analyze the exploration sketch image to obtain the drawing elements in the exploration sketch image and the orientation information of each drawing element to improve processing efficiency. Then, a deep learning model is used to analyze some of the extracted drawing elements, such as text and symbols, to obtain the semantic information therein, and the semantic information can be used to form related text, symbols, blocks, etc. in the mapping software.
[0050] In some embodiments of the present invention, the drawing elements of some blocks in the exploration sketch image correspond to the drawing elements with texts. The blocks have meanings, and in the process of hand-drawing by the user, they may be displayed only by simple graphics such as triangles, rectangles, circles, etc., and annotated with texts, such as air conditioners, transformers, etc. The generating of mapping data according to the drawing elements and the orientation information of each drawing element includes:
[0051] S230. After using a deep learning model to analyze the partially extracted drawing elements and convert them into semantic information, the semantic information is paired with the block, wherein the text of the semantic information is analyzed to correspond to the block, so that in the subsequent process of generating drawing graphics by mapping software, the corresponding graphics can be selected according to the semantic information to reproduce the relevant blocks more accurately.
[0052] Specifically, the process of generating respective drawing graphics of corresponding sizes at corresponding positions in the drawing software according to the drawing data includes:
[0053] S240, searching for corresponding device graphics in the mapping software according to the image block and semantic information;
[0054] S250, generating various drawing graphics of corresponding sizes at corresponding positions according to the device graphics and orientation information.
[0055] A graphics library may be provided in the mapping software, in which a variety of blocks are stored, and each block is classified according to the type of equipment, etc. For example, air conditioners, transformers, televisions, etc. all have corresponding blocks. Therefore, in step S230, the semantic information and the blocks are paired. When the mapping software forms blocks, the corresponding device graphics can be searched in the graphics library according to the paired semantic information, and then various mapping graphics of corresponding sizes are generated at corresponding positions according to the device graphics and orientation information, so that the device graphics are more in line with the requirements of the user and the drawing.
[0056] In step S120, step S130 and step S140, artificial intelligence recognition can use computer vision and deep learning technology to intelligently recognize drawing elements such as lines, text, symbols and annotations in the exploration sketch image. This includes an artificial neural network model trained with a large number of exploration sketch images, which can detect and recognize various types of information in the image with high accuracy.
[0057] A deep learning model based on a convolutional neural network (CNN) was used to train a large amount of content data from exploration sketch images and drafting drawings (CAD), enabling the model to recognize different elements such as lines, text, symbols, and annotations with high precision.
[0058] The training dataset consists of two parts: 1. The survey sketch image dataset collects a large number of on-site hand-drawn survey sketch images from multiple engineering fields (construction, pipelines, surveying, etc.), covering various sketching styles and information representation methods. The basic information such as line trajectories, text areas, common symbols, and annotation locations in these images are manually annotated. 2. The drafting drawing (CAD) dataset includes a large number of drafting drawing examples, in which symbols, lines, annotations, text and other elements are represented by standard computer instructions and can be directly drawn and displayed using drafting software.
[0059] During the training process, the input drawing will first pass through the convolutional layer and pooling layer of CNN to extract multi-scale feature maps, and then pass through the fully connected layer to map these features into semantic-level target outputs, which correspond to the representation of various elements in the drawing.
[0060] In order to improve the applicability and generalization ability of the artificial intelligence recognition model, strategies such as data enhancement, model integration, and transfer learning were adopted during the training process. Among them, the data enhancement strategy uses rotation, translation, affine transformation, Gaussian noise scrambling, etc. to enhance the data of the original training set, expand the training samples, and enhance the environmental applicability of the model. The model integration strategy trains and builds multiple sub-models for the recognition of lines, text, symbols, and annotations, and finally obtains comprehensive recognition capabilities through model integration. The transfer learning strategy is a CNN model pre-trained on a large-scale data set.
[0061] In step S140, various drawing graphics of corresponding sizes are generated at corresponding positions in the drawing software according to the drawing data to form a drawing sheet. First, a blank drawing is created in the drawing software, and the information recognized by the artificial intelligence recognition technology is converted into drawing data that can be parsed by the drawing software (such as simple shapes such as lines, curves, circles, and complex entities such as equipment graphic symbols and frames), text data and annotation data, so as to prepare for the generation of drawing sheets.
[0062] In some embodiments of the present invention, after generating various drawing graphics of corresponding sizes at corresponding positions in the drawing software according to the drawing data to form a drawing sheet, it also includes: adding annotation information to at least part of the drawing graphics, wherein the annotation information includes dimension annotations obtained according to the sizes of the drawing elements, name annotations of the blocks, and legend descriptions.
[0063] When analyzing the exploration sketch image, the orientation information of each drawing element can be obtained, wherein the orientation information includes the size of the drawing element, thereby obtaining the dimension annotation in the orientation information. In addition, there will be corresponding text annotations or descriptions for some blocks. After semantic recognition, this text annotation or description can be reproduced in the mapping software to name the block and the legend.
[0064] In some embodiments of the present invention, Figure 3 As shown, the steps of comparing the contents of the cartographic drawing with the exploration sketch image and adding marking information to the difference positions according to the comparison results include:
[0065] S310, pairing the positions of the cartographic drawing and the exploration sketch image;
[0066] S320, dividing the mapping drawings and exploration sketch images after position pairing into multiple regions;
[0067] S330: Perform feature comparison on the cartographic graphics and drawing elements in each area, identify the difference positions and add mark information to the difference positions.
[0068] The following algorithms can be used to match the content of the cartographic drawings with the exploration sketch images: 1. Line path extraction algorithm: Through image segmentation and vectorization technology, the identified line pixel area is converted into an ordered set of points, and fit into different path forms such as broken lines, straight lines, arcs, curves, etc., to prepare for the generation of mapping graphics; 2. Text recognition and vectorization algorithm: Combined with deep learning frameworks such as Tensorflow and PyTorch, high-precision recognition, classification and extraction of machine-printed and handwritten text appearing in the exploration sketches are achieved, and text objects recognizable by mapping software are generated; 3. Professional symbol recognition algorithm: For various professional symbols commonly used in engineering drawing (such as wire arrows, equipment symbols, annotation marks, etc.), SI-based The detection and recognition algorithm of FT features and template matching can accurately extract the type, size and position of symbols; fourth, the intelligent annotation parsing algorithm, based on the context understanding algorithm of the annotation area, will associate the recognized text, symbols and other information, and automatically determine the specific content and category of the annotation (such as elevation, dimension marking, explanatory text, etc.); fifth, the annotation attribution analysis algorithm, through clues such as spatial position and context, will associate the parsed annotations with the corresponding graphic entities to determine the graphic elements described by each annotation.
[0069] In some embodiments of the present invention, comparing the content of the cartographic drawing with the exploration sketch image further includes:
[0070] Sort multiple difference situations from high to low priority based on priority rules;
[0071] A priority condition is judged for the priority of each difference situation. When the priority of the difference situation satisfies the priority condition, an automatic repair step is performed on the difference situation. In the automatic repair step, a drawing element of the exploration sketch image in the difference position and the orientation information of the drawing element are analyzed, and the mapping data of the difference position is regenerated according to the drawing element and the orientation information of the drawing element. The mapping graphics of the difference position are edited and modified using the regenerated mapping data to form a repair plan, and the repair plan is output in the output drawing sheet with added mark information;
[0072] In obtaining revision instructions, the revision instructions include confirmation or rejection instructions for the repair plan, and according to the revision instructions, it is selected whether to edit and modify the drawing graphics in the drawing sheet according to the repair plan.
[0073] In the process of comparing the contents of the cartographic drawings with the exploration sketch images, each difference situation is first graded, and the specific priority rules can be formulated by the user according to the actual situation. For example, errors in line and block shapes can be defined as higher priorities, while symbol errors are defined as lower priorities. The priority conditions can also be formulated by the user according to the actual situation. It can be formulated that higher priority difference situations execute automatic repair steps, while lower priority difference situations do not execute automatic repair steps. It can also be formulated that automatic repair steps are executed or not executed regardless of higher or lower priority difference situations.
[0074] In the automatic repair step, the system provides a repair plan and displays the repair plan and the difference position to the user. The user can choose to modify and edit it by himself, or directly adopt the repair plan provided by the system and confirm or reject the repair plan by entering revision instructions.
[0075] According to a processing system of a second aspect of the present invention, Figure 4 As shown, for implementing a method for converting an exploration sketch disclosed in any of the above embodiments, the processing system includes:
[0076] An image acquisition module 410 is used to acquire an exploration sketch image;
[0077] The image recognition module 420 is used to analyze the exploration sketch image to obtain drawing elements in the exploration sketch image and the position information of each drawing element, wherein the drawing elements include one or more combinations of lines, blocks, texts and symbols, and the position information includes the size and position of the drawing elements;
[0078] The data generation module 430 is used to generate mapping data according to the drawing elements and the position information of each drawing element;
[0079] A drawing generation module 440 is used to generate various drawing graphics of corresponding sizes at corresponding positions in the drawing software according to the drawing data to form a drawing;
[0080] A comparison module 450 is used to compare the content of the drawing with the exploration sketch image, add marking information to the difference position according to the comparison result, and output the drawing with the marking information added;
[0081] The interactive revision module 460 is used to obtain revision instructions, edit and modify the drawing graphics in the drawing sheet according to the revision instructions, and save the modified drawing sheet.
[0082] The processing system of the present invention implements an exploration sketch conversion method disclosed in any of the above embodiments, which can reduce drawing time, improve work efficiency, reduce the error rate of mapping, improve accuracy, optimize the convenience of obtaining drawings during the exploration process, and shorten the design cycle.
[0083] According to the control device of the embodiment of the third aspect of the present invention, the control device includes a memory and a processor, the memory stores a computer program, and the processor implements the exploration sketch conversion method disclosed in any of the above embodiments when executing the computer program.
[0084] The control device can be any intelligent terminal including a central computer, a remote device terminal computer, etc.
[0085] like Figure 5 As shown, Figure 5 The hardware structure of the control device of another embodiment is also illustrated, and the control device comprises:
[0086] The processor 510 may be implemented by a general-purpose central processing unit 510 (CPU), a microprocessor 510, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;
[0087] The memory 520 may be implemented in the form of a read-only memory 520 (ROM), a static storage device, a dynamic storage device, or a random access memory 520 (RAM). The memory 520 may store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 520, and the processor 510 is called to execute the exploration sketch conversion method of the embodiment of this application;
[0088] Input / output interface 530, used to implement information input and output;
[0089] Communication interface 540, used to realize communication interaction between the device and other devices, which can be realized through wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WIFI, Bluetooth, etc.);
[0090] A bus 550 , which transmits information between the various components of the device (e.g., the processor 510 , the memory 520 , the input / output interface 530 , and the communication interface 540 ), and can also be used to access the smart Internet of Things;
[0091] The processor 510 , the memory 520 , the input / output interface 530 and the communication interface 540 are connected to each other in communication within the device via the bus 550 .
[0092] According to the computer-readable storage medium of the fourth aspect of the present invention, the computer-readable storage medium stores a computer program, which is characterized in that when the computer program is executed by a processor, the exploration sketch conversion method disclosed in any of the above embodiments is implemented.
[0093] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0094] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0095] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.
[0096] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0097] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0098] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0099] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.
[0100] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0101] Although the 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 claims and their equivalents.
Claims
1. A method for converting an exploration sketch, characterized in that: include: Acquire exploration sketch images; Analyzing the exploration sketch image to obtain drawing elements in the exploration sketch image and position information of each drawing element, wherein the drawing elements include one or more combinations of lines, blocks, texts and symbols, and the position information includes the size and position of the drawing elements; Generate mapping data according to the drawing elements and the position information of each drawing element; Generate various drawing graphics of corresponding sizes at corresponding positions in the drawing software according to the drawing data to form drawing sheets; Compare the contents of the cartographic drawing with the exploration sketch image, add marking information to the different positions according to the comparison results, and output the cartographic drawing with the marking information added; Obtain revision instructions, edit and modify the drawing graphics in the drawing sheets according to the revision instructions, and save the modified drawing sheets.
2. The method for converting an exploration sketch map according to claim 1, characterized in that: The step of analyzing the exploration sketch image to obtain the drawing elements in the exploration sketch image and the position information of each drawing element includes: Analyzing the exploration sketch image using a feature extraction model to extract drawing elements in the exploration sketch image and the orientation information of each drawing element; A deep learning model is used to analyze some of the extracted drawing elements to convert them into semantic information, wherein some of the extracted drawing elements include text.
3. The method for converting an exploration sketch map according to claim 2, characterized in that: Drawing elements of some blocks in the exploration sketch image correspond to drawing elements with text; The step of generating the mapping data according to the drawing elements and the position information of each drawing element includes: After partially extracting the drawing elements using a deep learning model to convert them into semantic information, the semantic information is paired with the image block, wherein the text analyzed to obtain the semantic information corresponds to the image block.
4. The method for converting an exploration sketch map according to claim 3, characterized in that: The process of generating respective drawing graphics of corresponding sizes at corresponding positions in the drawing software according to the drawing data includes: Search for corresponding equipment graphics in the drawing software based on the blocks and semantic information; Generate various drawing graphics of corresponding sizes at corresponding positions according to the equipment graphics and orientation information.
5. The method for converting an exploration sketch map according to claim 1, characterized in that: After generating various drawing graphics of corresponding sizes at corresponding positions in the drawing software according to the drawing data to form drawing drawings, the method further includes: Adding annotation information to at least a portion of the drawing graphic, wherein the annotation information includes a dimension annotation obtained according to a dimension of a drawing element, a name annotation of a drawing block, and a legend description.
6. The method for converting an exploration sketch map according to claim 1, characterized in that: The step of comparing the contents of the cartographic drawing with the exploration sketch image and adding marking information to the difference positions according to the comparison results includes: Matching locations of cartographic drawings and survey sketch images; The mapping drawings and exploration sketch images after position matching are divided into multiple areas; the features of the mapping graphics and drawing elements in each area are compared, the different positions are identified and marking information is added to the different positions.
7. The method for converting an exploration sketch map according to claim 1, characterized in that: The step of comparing the contents of the cartographic drawing with the exploration sketch image also includes: Based on the priority rule, multiple difference situations are sorted from high to low priority; the priority of each difference situation is judged according to the priority condition, and when the priority of the difference situation meets the priority condition, an automatic repair step is performed on the difference situation. In the automatic repair step, the drawing elements of the exploration sketch image in the difference position and the orientation information of the drawing elements are analyzed, and the mapping data of the difference position is regenerated according to the drawing elements and the orientation information of the drawing elements. The mapping graphics of the difference position are edited and modified using the regenerated mapping data to form a repair plan, and the repair plan is output in the output drawing sheet with added mark information; in obtaining the revision instruction, the revision instruction includes a confirmation or rejection instruction for the repair plan, and according to the revision instruction, it is selected whether to edit and modify the mapping graphics in the drawing sheet according to the repair plan.
8. A processing system for implementing a method for converting an exploration sketch map according to any one of claims 1 to 7, characterized in that: The processing system includes: an image acquisition module for acquiring an exploration sketch image; An image recognition module, used for analyzing the exploration sketch image to obtain drawing elements in the exploration sketch image and position information of each drawing element, wherein the drawing elements include one or more combinations of lines, blocks, texts and symbols, and the position information includes the size and position of the drawing elements; A data generation module, used for generating mapping data according to the drawing elements and the orientation information of each drawing element; A drawing generation module is used to generate various drawing graphics of corresponding sizes at corresponding positions in the drawing software according to the drawing data to form a drawing; A comparison module is used to compare the content of the drawing with the exploration sketch image, and add marking information to the difference position according to the comparison result, and output the drawing with the marking information added; The interactive revision module is used to obtain revision instructions, edit and modify the drawing graphics in the drawing sheets according to the revision instructions, and save the modified drawing sheets.
9. A control device, characterized in that: The control device includes a memory and a processor, the memory stores a computer program, and the processor implements the exploration sketch conversion method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method for converting an exploration sketch map according to any one of claims 1 to 7 is implemented.
