Three-dimensional laser engraving method and device, computer equipment and storage medium
Through the three-dimensional image standardization processing, deep learning model analysis and material parameter matching of three-dimensional laser engraving technology, combined with dynamic modeling and path optimization, the inefficiency and unstable quality of traditional three-dimensional laser engraving technology in complex image and surface processing is solved. The problem is to achieve more efficient and accurate engraving effect.
Patent Information
- Application Number
- CN202411200209.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-11-08
AI Technical Summary
Traditional three-dimensional laser engraving technology is inefficient when processing complex images and curved surfaces, and the engraving quality is unstable, mainly due to insufficient precise control of the recognition of roughness of stereo image and the depth of engraving, and the large differences in responses between different materials.
By obtaining the three-dimensional image of the object to be engraved for standardization, the characteristics of the area to be engraved are analyzed and extracted using deep learning models, and parameter information is obtained from the preset database based on the engraving material information, and the engraving path is constructed in combination with dynamic modeling and path optimization algorithms to ensure that Accuracy and quality of the engraving process.
It improves the accuracy and consistency of three-dimensional laser engraving, adjusts the engraving parameters according to material characteristics, enhances the engraving efficiency and quality, avoids engraving defects caused by improper parameter settings, and ensures fine control of complex surfaces.
Smart Images

Figure CN118905459A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of laser engraving, and in particular to a three-dimensional laser engraving method, device, computer equipment and storage medium. Background Art
[0002] At present, with the rapid development of science and technology, laser engraving technology has also developed rapidly, gradually becoming an important technology in the field of modern precision machining, and gradually developing into other industries.
[0003] Currently, 3D laser engraving is a processing technology that uses a high-energy laser beam to instantly heat the surface of a material to a high temperature, causing the surface of the material to melt, vaporize or change color, thereby achieving the purpose of engraving, cutting or marking. However, traditional 3D laser engraving technology has problems such as rough recognition of stereoscopic images, insufficient ability to accurately control engraving depth, and large differences in response to different materials, resulting in low efficiency when processing complex images and curved surfaces and unstable engraving quality.
[0004] The above-mentioned prior art solutions have the following defects: the engraving quality of the traditional three-dimensional laser engraving technology is unstable, so there is room for improvement. Summary of the invention
[0005] In order to improve the engraving quality of three-dimensional laser engraving technology, the present application provides a three-dimensional laser engraving method, device, computer equipment and storage medium.
[0006] The above-mentioned invention objective of the present application is achieved through the following technical solutions: A three-dimensional laser engraving method, the three-dimensional laser engraving method comprising: Acquire a three-dimensional image of the object to be engraved, and perform standardization processing on the three-dimensional image to obtain a corresponding standard three-dimensional image; Analyze the standard three-dimensional image through a deep learning model, extract features of the area to be engraved from the analysis results according to the engraving blueprint, and perform data conversion on the features of the area to be engraved to obtain engraving standard data; Obtaining engraving material information of the object to be engraved, and comparing the engraving material information with a preset engraving database to extract corresponding engraving parameter information; The object to be engraved is dynamically modeled according to the engraving standard data to obtain corresponding real-time surface data, and the engraving parameter information and the real-time surface data are path constructed according to a path optimization algorithm to obtain corresponding engraving path information, and the object to be engraved is engraved according to the engraving path information.
[0007] By adopting the above technical scheme, by obtaining a three-dimensional image of the object to be engraved and standardizing it, the consistency and standardization of the input image can be ensured, providing a reliable basis for subsequent processing; by analyzing the standard three-dimensional image through a deep learning model, the advantages of deep learning in feature extraction and pattern recognition can be fully utilized, thereby improving the accuracy of feature extraction of the area to be engraved; by extracting the features of the area to be engraved according to the engraving blueprint and performing data conversion to obtain engraving standard data, the accuracy and consistency of the engraving process can be ensured, and by obtaining the engraving material information and extracting the corresponding engraving parameter information from a preset engraving database, the engraving parameters can be adjusted according to the characteristics of different materials, thereby improving the engraving effect and quality; by dynamically modeling the object to be engraved according to the engraving standard data and obtaining real-time surface data, it is possible to achieve an accurate description of the complex surface of the object surface, and by constructing the path of the engraving parameter information and the real-time surface data through a path optimization algorithm to obtain the engraving path information, the engraving efficiency can be improved and the engraving quality can be ensured.
[0008] In one example, the present application may be further configured as follows: analyzing the standard three-dimensional image by a deep learning model, and extracting features of the area to be engraved from the analysis results according to the engraving blueprint, specifically including: Extracting features from the standard three-dimensional image and the engraving blueprint in sequence according to the deep learning model to obtain object features and engraving features; The object features and the engraving features are compared and analyzed to obtain the features of the area to be engraved.
[0009] By adopting the above technical solution, by using the deep learning model to extract features from standard three-dimensional images and engraving blueprints, the advantages of deep learning in image processing can be fully utilized to effectively extract the features of the area to be engraved; by comparing and analyzing the object features and engraving features, the area to be engraved can be accurately located, thereby improving the accuracy and consistency of the engraving.
[0010] In one example, the present application may be further configured as follows: the step of obtaining the engraving material information of the object to be engraved specifically includes: Performing spectrum detection, thermal conductivity detection and mechanical property detection on the object to be engraved respectively, and obtaining the material optical characteristics, material thermal characteristics and material mechanical characteristics corresponding to the object to be engraved; The material information of the material to be engraved is determined according to the optical characteristics of the material, the thermal characteristics of the material and the mechanical characteristics of the material.
[0011] By adopting the above technical solution, through spectral detection, thermal conductivity detection and mechanical property detection of the object to be engraved, the optical, thermal and mechanical properties of the material can be fully acquired, so as to determine the information of the engraving material, accurately reflect the true properties of the material, and ensure that the engraving parameters can be adjusted according to the material characteristics during the engraving process, thereby improving the engraving quality and efficiency.
[0012] In one example, the present application may be further configured as follows: comparing the engraving material information with a preset engraving database to extract corresponding engraving parameter information, specifically including: Performing a comparison from the engraving database according to the engraving material information, and obtaining the engraving parameter information corresponding to the current engraving material information when the comparison result shows that the materials are the same; The engraving parameter information includes laser engraving frequency, laser engraving power and laser scanning speed.
[0013] By adopting the above technical solution, by comparing the engraving material information with the preset engraving database, the engraving parameter information matching the current material can be quickly and accurately obtained, including laser engraving frequency, power and scanning speed, etc., and the key parameters in the engraving process can be adjusted according to the material characteristics, thereby improving the accuracy and quality of engraving and avoiding engraving defects caused by improper parameter settings.
[0014] In one example, the present application may be further configured as follows: dynamically modeling the object to be engraved according to the engraving standard data to obtain corresponding real-time surface data specifically includes: Performing regional grid processing on the object to be engraved according to the engraving standard data to obtain a corresponding three-dimensional model of the object; The three-dimensional model of the object is layered to obtain multiple layers of real-time surface data.
[0015] By adopting the above technical solution, by performing regional gridding processing on the object to be engraved according to the engraving standard data, a high-precision three-dimensional model of the object can be generated, providing an accurate geometric basis for engraving; by layering the three-dimensional model and generating multiple layers of real-time surface data, fine control of complex surfaces can be achieved, thereby improving the accuracy and effect of engraving.
[0016] In one example, the present application may be further configured as follows: performing path construction on the engraving parameter information and the real-time surface data according to the path optimization algorithm to obtain corresponding engraving path information specifically includes: Acquire engraving texture information from the engraving standard data, and obtain basic path data corresponding to each layer of the real-time curved surface data according to the engraving texture information; The shortest path algorithm is used to optimize the paths of the multiple layers of real-time curved surface data to obtain the engraving path information.
[0017] By adopting the above technical solution, by obtaining the engraving texture information from the engraving standard data and generating the basic path data of each layer of real-time surface data based on this information, it is possible to ensure that the path planning in the engraving process is scientific and reasonable; by adopting the shortest path algorithm to optimize the path of multiple layers of real-time surface data, it is possible to effectively reduce the engraving time and improve the engraving efficiency, while ensuring the smoothness and continuity of the engraving path, thereby improving the engraving quality.
[0018] The second object of the invention is achieved by the following technical solutions: A three-dimensional laser engraving device, the three-dimensional laser engraving device comprising: An image acquisition module is used to acquire a three-dimensional image of the object to be engraved, and perform standardization processing on the three-dimensional image to obtain a corresponding standard three-dimensional image; A region analysis module is used to analyze the standard three-dimensional image through a deep learning model, extract features of the area to be engraved from the analysis results according to the engraving blueprint, and perform data conversion on the features of the area to be engraved to obtain engraving standard data; A parameter analysis module, used to obtain the engraving material information of the object to be engraved, and compare the engraving material information with a preset engraving database to extract corresponding engraving parameter information; The path confirmation module is used to dynamically model the object to be engraved according to the engraving standard data to obtain corresponding real-time surface data, and to construct a path for the engraving parameter information and the real-time surface data according to a path optimization algorithm to obtain corresponding engraving path information, and to engrave the object to be engraved according to the engraving path information.
[0019] By adopting the above technical scheme, by obtaining a three-dimensional image of the object to be engraved and standardizing it, the consistency and standardization of the input image can be ensured, providing a reliable basis for subsequent processing; by analyzing the standard three-dimensional image through a deep learning model, the advantages of deep learning in feature extraction and pattern recognition can be fully utilized, thereby improving the accuracy of feature extraction of the area to be engraved; by extracting the features of the area to be engraved according to the engraving blueprint and performing data conversion to obtain engraving standard data, the accuracy and consistency of the engraving process can be ensured, and by obtaining the engraving material information and extracting the corresponding engraving parameter information from a preset engraving database, the engraving parameters can be adjusted according to the characteristics of different materials, thereby improving the engraving effect and quality; by dynamically modeling the object to be engraved according to the engraving standard data and obtaining real-time surface data, it is possible to achieve an accurate description of the complex surface of the object surface, and by constructing the path of the engraving parameter information and the real-time surface data through a path optimization algorithm to obtain the engraving path information, the engraving efficiency can be improved and the engraving quality can be ensured.
[0020] The third objective of the present application is achieved through the following technical solutions: A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above three-dimensional laser engraving method when executing the computer program.
[0021] The fourth objective of the present application is achieved through the following technical solutions: A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the three-dimensional laser engraving method are implemented.
[0022] In summary, this application includes the following beneficial technical effects: 1. By acquiring the three-dimensional image of the object to be engraved and standardizing it, the consistency and standardization of the input image can be ensured, providing a reliable basis for subsequent processing; by analyzing the standard three-dimensional image through the deep learning model, the advantages of deep learning in feature extraction and pattern recognition can be fully utilized, thereby improving the accuracy of feature extraction of the area to be engraved; extracting the features of the area to be engraved according to the engraving blueprint and performing data conversion to obtain engraving standard data can ensure the accuracy and consistency of the engraving process; by obtaining the engraving material information and extracting the corresponding engraving parameter information from the preset engraving database, the engraving parameters can be adjusted according to the characteristics of different materials, thereby improving the engraving effect and quality; dynamically modeling the object to be engraved according to the engraving standard data and obtaining real-time surface data can achieve accurate description of the complex surface of the object surface; the path optimization algorithm is used to construct the path of the engraving parameter information and real-time surface data to obtain the engraving path information, which can improve the engraving efficiency and ensure the engraving quality; 2. By comparing the engraving material information with the preset engraving database, the engraving parameter information matching the current material can be quickly and accurately obtained, including laser engraving frequency, power and scanning speed, etc. The key parameters in the engraving process can be adjusted according to the material characteristics, thereby improving the accuracy and quality of engraving and avoiding engraving defects caused by improper parameter settings; 3. By obtaining the engraving texture information from the engraving standard data and generating the basic path data of each layer of real-time surface data based on this information, it can ensure that the path planning in the engraving process is scientific and reasonable; by using the shortest path algorithm to optimize the path of multiple layers of real-time surface data, it can effectively reduce the engraving time and improve the engraving efficiency, while ensuring the smoothness and continuity of the engraving path, thereby improving the engraving quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 is a flow chart of a three-dimensional laser engraving method in one embodiment of the present application; Figure 2 is a flowchart for implementing step S20 in the three-dimensional laser engraving method in one embodiment of the present application; Figure 3 is a flowchart for implementing step S30 in the three-dimensional laser engraving method in one embodiment of the present application; Figure 4 is another implementation flow chart of step S30 in the three-dimensional laser engraving method in one embodiment of the present application; Figure 5 is a flowchart for implementing step S40 in the three-dimensional laser engraving method in one embodiment of the present application; Figure 6 is another implementation flow chart of step S40 in the three-dimensional laser engraving method in one embodiment of the present application; Figure 7 is a principle block diagram of a three-dimensional laser engraving device in one embodiment of the present application; Figure 8 It is a schematic diagram of a device in an embodiment of the present application. DETAILED DESCRIPTION
[0024] The present application is further described in detail below in conjunction with the accompanying drawings.
[0025] In one embodiment, if Figure 1 As shown, the present application discloses a three-dimensional laser engraving method, which specifically includes the following steps: S10: Acquire a three-dimensional image of the object to be engraved, and perform standardization processing on the three-dimensional image to obtain a corresponding standard three-dimensional image.
[0026] Specifically, a high-resolution camera or a three-dimensional scanning device is used to collect multi-perspective images of the object to be engraved, and then denoising is performed through an image processing algorithm to remove noise and impurities in the image. Grayscale adjustment is then performed to balance the contrast and brightness of the image. Finally, geometric correction is performed to correct the distortion and distortion in the image to obtain a standard three-dimensional image of uniform scale and standard format.
[0027] S20: Analyze the standard three-dimensional image through a deep learning model, extract features of the area to be engraved from the analysis results according to the engraving blueprint, and perform data conversion on the features of the area to be engraved to obtain engraving standard data.
[0028] Specifically, a pre-trained convolutional neural network is used to perform multi-level feature extraction on standard three-dimensional images. First, low-level features such as edges and textures are extracted through the convolution layer, and then the data dimension and computational complexity are reduced through the pooling layer. Subsequently, high-level features such as shape and structure are extracted, and all extracted features are integrated using the fully connected layer. Finally, according to the target features in the engraving blueprint, the area to be engraved is matched and identified, and these features are converted into data to generate a standard data format suitable for laser engraving, such as G code or other control instructions.
[0029] S30: Obtaining engraving material information of the object to be engraved, and performing a comparison from a preset engraving database according to the engraving material information to extract corresponding engraving parameter information.
[0030] Specifically, a spectral sensor is used to optically detect the material of the object to be engraved, and the reflection spectrum and absorption spectrum of the material are obtained. A thermal conductivity sensor is used to measure the thermal properties of the material, such as thermal conductivity and thermal diffusivity. A mechanical property testing instrument is used to detect the mechanical properties of the material, such as hardness, elastic modulus and tensile strength. These characteristic data are integrated into engraving material information, and then compared with the preset engraving database based on this information to determine the most matching material type, and extract the corresponding engraving parameter information, such as laser power, frequency and scanning speed.
[0031] S40: dynamically modeling the object to be engraved according to the engraving standard data to obtain corresponding real-time surface data, and constructing a path for the engraving parameter information and the real-time surface data according to the path optimization algorithm to obtain corresponding engraving path information, and engraving the object to be engraved according to the engraving path information.
[0032] Specifically, firstly, the object to be engraved is processed into regional grids according to the engraving standard data, and the whole object is divided into several small three-dimensional grid units, each grid unit contains the corresponding engraving features and parameter information, and then the three-dimensional model of the object is layered, and the whole three-dimensional model is divided into several layers, each layer contains a group of grid units and corresponding engraving information, and the basic engraving path of each layer of grid is determined according to the engraving pattern information contained in the engraving standard data, and these paths are optimized using the shortest path algorithm to reduce the engraving time and the total length of the laser path, and finally generate complete engraving path information. According to these optimized engraving path information, the motion trajectory and laser parameters of the laser engraving machine are controlled, and engraving is performed layer by layer to ensure the efficiency and accuracy of the engraving process.
[0033] In one embodiment, if Figure 2 As shown, in step S20, the standard three-dimensional image is analyzed by a deep learning model, and the features of the area to be engraved are extracted from the analysis results according to the engraving blueprint, specifically including: S21: Extract features of the standard 3D image and the engraving blueprint in turn according to the deep learning model to obtain object features and engraving features.
[0034] Specifically, using the pre-trained convolutional neural network model, the standard 3D image is first processed to extract basic features in the image, such as edges, corners, and texture information. Then, through multi-layer convolution and pooling operations, advanced features such as shape and structure are further extracted. While extracting object features, the same feature extraction operation is performed on the engraving blueprint to generate engraving feature data. By comparing and matching object features and engraving features, the area to be engraved is identified and converted into the data format required for engraving.
[0035] S22: Compare and analyze the object features and the engraving features to obtain features of the area to be engraved.
[0036] Specifically, by calculating the similarity between the object features and the engraving features, the feature matching algorithm is used to compare and analyze the two feature sets to find the area with the highest overlap. The cross-validation method is used to ensure the accuracy of the matching results, and the clustering algorithm is used to perform cluster analysis on the matched features to determine the final features of the area to be engraved. These features of the area to be engraved are converted into data and standardized engraving instructions and parameters are generated to ensure the accuracy and consistency of the engraving process.
[0037] In one embodiment, if Figure 3 As shown, in step S30, the engraving material information of the object to be engraved is obtained, which specifically includes: S31: Performing spectrum detection, thermal conductivity detection and mechanical property detection on the object to be engraved respectively, and obtaining material optical characteristics, material thermal characteristics and material mechanical characteristics corresponding to the object to be engraved.
[0038] Specifically, a spectral sensor is used to perform spectral detection on the object to be engraved, measuring the reflection and absorption spectra of the material under different wavelengths of light to determine the optical characteristics of the material, such as reflectivity, absorptivity and transmittance; a thermal conductivity sensor is used to perform thermal detection to measure the thermal conductivity, thermal diffusivity and specific heat capacity of the material to determine the thermal properties of the material; a mechanical property tester is used to perform mechanical detection on the material to measure the hardness, elastic modulus, tensile strength and fracture toughness of the material to determine the mechanical properties of the material; these detection data are integrated into complete material property information as the basis for subsequent engraving parameter matching.
[0039] S32: Determine material information of the material to be engraved according to the optical characteristics, thermal characteristics and mechanical characteristics of the material.
[0040] Specifically, by analyzing the material characteristic data obtained by spectral detection, thermal conductivity detection and mechanical property detection, these characteristic data are integrated into complete material information using data fusion algorithm. By comparing the correlation between different material characteristics, the specific material type of the object to be engraved is determined, and the corresponding material information is generated, including the material name, physical properties and chemical properties, etc. This material information will be used in the subsequent engraving parameter matching and optimization process to ensure that the laser parameter settings during the engraving process are in line with the material characteristics.
[0041] In one embodiment, if Figure 4 As shown, in step S30, the engraving material information is compared with the preset engraving database to extract the corresponding engraving parameter information, which specifically includes: S33: performing a comparison from an engraving database according to the engraving material information, and obtaining engraving parameter information corresponding to the current engraving material information when the comparison result shows that the materials are the same.
[0042] Specifically, the acquired engraving material information is input into a preset engraving database, and the material comparison algorithm in the database is used to find the material record that best matches the current material information. After finding the matching material, the corresponding engraving parameter information is extracted, including laser power, laser frequency, scanning speed and other related parameters. If a completely matching material cannot be found, the similarity matching algorithm is used to select the material record with the highest similarity, and necessary parameter adjustments are made to ensure that the extracted engraving parameters can meet the engraving requirements of the current material.
[0043] S34: The engraving parameter information includes laser engraving frequency, laser engraving power and laser scanning speed.
[0044] Specifically, the engraving parameter information extracted from the engraving database includes in detail the frequency of laser engraving, that is, the repetition rate of laser pulses, the power of laser engraving, that is, the energy output of the laser beam, and the laser scanning speed, that is, the speed at which the laser head moves on the surface of the object. After these parameter information are optimized and adjusted, they are used as key control parameters in the laser engraving process to ensure the efficiency and accuracy of the engraving process.
[0045] In one embodiment, if Figure 5 As shown, in step S40, the object to be engraved is dynamically modeled according to the engraving standard data to obtain corresponding real-time surface data, which specifically includes: S41: performing regional meshing processing on the object to be engraved according to the engraving standard data to obtain a corresponding three-dimensional model of the object.
[0046] Specifically, 3D modeling software is used to partition the object to be engraved according to the engraving standard data, and the entire object surface is divided into several small grid units. Each unit contains corresponding engraving features and parameters. Through fine gridding processing, a 3D model of the object is generated to ensure that the size and shape of each grid unit meets the engraving requirements.
[0047] S42: performing layer processing on the three-dimensional model of the object to obtain multiple layers of real-time surface data.
[0048] Specifically, according to the three-dimensional model of the object, the layering algorithm is used to divide the entire model into several layers. The thickness of each layer is set according to the engraving requirements and material properties. During the layering process, the grid units of each layer are further refined and optimized to generate multiple layers of real-time surface data. Each layer of surface data contains corresponding engraving features and path information, ensuring precise control and adjustment layer by layer during the actual engraving process.
[0049] In one embodiment, if Figure 6 As shown, in step S40, the path is constructed for the engraving parameter information and the real-time surface data according to the path optimization algorithm to obtain the corresponding engraving path information, which specifically includes: S43: Obtaining engraving texture information from the engraving standard data, and obtaining basic path data corresponding to each layer of real-time curved surface data according to the engraving texture information.
[0050] Specifically, the preset engraving pattern information is first extracted from the engraving standard data, which includes the engraving direction, starting point and ending point of each layer. Then, the basic path planning algorithm is used to perform path planning on the real-time surface data of each layer according to the extracted engraving pattern information to generate basic engraving path data.
[0051] S44: Using the shortest path algorithm to optimize the path of the multi-layer real-time surface data to obtain engraving path information.
[0052] Specifically, the shortest path algorithm is used to optimize the basic path data of each layer. First, the distance between all path points in each layer is calculated to establish a path matrix. Then, the shortest path algorithm, such as the Dijkstra algorithm or the A* algorithm, is used to calculate the path matrix to find the optimal path for each layer, reduce the path length and engraving time, and generate the final engraving path information by globally optimizing multiple layers of real-time surface data to ensure the efficiency and accuracy of the engraving process.
[0053] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0054] In one embodiment, a three-dimensional laser engraving device is provided, and the three-dimensional laser engraving device corresponds one-to-one with the three-dimensional laser engraving method in the above embodiment. Figure 7 As shown, the three-dimensional laser engraving device includes an image acquisition module, a region analysis module, a parameter analysis module, and a path confirmation module. The detailed description of each functional module is as follows: An image acquisition module is used to acquire a three-dimensional image of the object to be engraved, and perform standardization processing on the three-dimensional image to obtain a corresponding standard three-dimensional image; The regional analysis module is used to analyze the standard three-dimensional image through a deep learning model, extract the features of the area to be engraved from the analysis results according to the engraving blueprint, and perform data conversion on the features of the area to be engraved to obtain engraving standard data; The parameter analysis module is used to obtain the engraving material information of the object to be engraved, and compare it with the preset engraving database according to the engraving material information to extract the corresponding engraving parameter information; The path confirmation module is used to dynamically model the object to be engraved according to the engraving standard data, obtain the corresponding real-time surface data, and construct the path of the engraving parameter information and the real-time surface data according to the path optimization algorithm to obtain the corresponding engraving path information, and engrave the object to be engraved according to the engraving path information.
[0055] Optionally, the regional analysis module specifically includes: A feature extraction submodule is used to extract features from the standard three-dimensional image and the engraving blueprint in turn according to the deep learning model to obtain object features and engraving features; The area screening submodule is used to compare and analyze the object features and the engraving features to obtain the features of the area to be engraved.
[0056] Optionally, the parameter analysis module includes: The material property detection submodule is used to perform spectrum detection, thermal conductivity detection and mechanical property detection on the object to be engraved, and obtain the material optical characteristics, material thermal characteristics and material mechanical characteristics corresponding to the object to be engraved; The material property confirmation submodule is used to determine the material information of the material to be engraved based on the material's optical characteristics, material's thermal characteristics and material's mechanical characteristics.
[0057] Optionally, the parameter analysis module also includes: The engraving parameter confirmation submodule is used to compare the engraving material information from the engraving database, and if the comparison result is that the materials are the same, obtain the engraving parameter information corresponding to the current engraving material information; The engraving parameter encapsulation submodule is used for engraving parameter information including laser engraving frequency, laser engraving power and laser scanning speed.
[0058] Optionally, the path confirmation module includes: A 3D model generation submodule is used to perform regional meshing processing on the object to be engraved according to the engraving standard data to obtain the corresponding 3D model of the object; The surface data generation submodule is used to perform layered processing on the three-dimensional model of the object to obtain multiple layers of real-time surface data.
[0059] Optionally, the path confirmation module further includes: The surface path generation submodule is used to obtain engraving texture information from the engraving standard data, and obtain basic path data corresponding to each layer of real-time surface data according to the engraving texture information; The surface path optimization submodule is used to optimize the path of multi-layer real-time surface data using the shortest path algorithm to obtain carving path information.
[0060] The specific definition of the three-dimensional laser engraving device can be found in the definition of the three-dimensional laser engraving method above, which will not be repeated here. Each module in the above-mentioned three-dimensional laser engraving device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0061] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 8 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a three-dimensional laser engraving method is implemented.
[0062] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program: Acquire a three-dimensional image of the object to be engraved, and perform standardization processing on the three-dimensional image to obtain a corresponding standard three-dimensional image; The standard three-dimensional image is analyzed through a deep learning model, and the features of the area to be engraved are extracted from the analysis results according to the engraving blueprint, and the features of the area to be engraved are converted into data to obtain engraving standard data; Obtaining engraving material information of the object to be engraved, and comparing it with a preset engraving database according to the engraving material information to extract corresponding engraving parameter information; The object to be engraved is dynamically modeled according to the engraving standard data to obtain the corresponding real-time surface data, and the engraving parameter information and the real-time surface data are path constructed according to the path optimization algorithm to obtain the corresponding engraving path information, and the object to be engraved is engraved according to the engraving path information.
[0063] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: Acquire a three-dimensional image of the object to be engraved, and perform standardization processing on the three-dimensional image to obtain a corresponding standard three-dimensional image; The standard three-dimensional image is analyzed through a deep learning model, and the features of the area to be engraved are extracted from the analysis results according to the engraving blueprint, and the features of the area to be engraved are converted into data to obtain engraving standard data; Obtaining engraving material information of the object to be engraved, and comparing it with a preset engraving database according to the engraving material information to extract corresponding engraving parameter information; The object to be engraved is dynamically modeled according to the engraving standard data to obtain the corresponding real-time surface data, and the engraving parameter information and the real-time surface data are path constructed according to the path optimization algorithm to obtain the corresponding engraving path information, and the object to be engraved is engraved according to the engraving path information.
[0064] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0065] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0066] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A three-dimensional laser engraving method, characterized in that: The three-dimensional laser engraving method comprises: Acquire a three-dimensional image of the object to be engraved, and perform standardization processing on the three-dimensional image to obtain a corresponding standard three-dimensional image; Analyze the standard three-dimensional image through a deep learning model, extract features of the area to be engraved from the analysis results according to the engraving blueprint, and perform data conversion on the features of the area to be engraved to obtain engraving standard data; Obtaining engraving material information of the object to be engraved, and comparing the engraving material information with a preset engraving database to extract corresponding engraving parameter information; The object to be engraved is dynamically modeled according to the engraving standard data to obtain corresponding real-time surface data, and the engraving parameter information and the real-time surface data are path constructed according to a path optimization algorithm to obtain corresponding engraving path information, and the object to be engraved is engraved according to the engraving path information.
2. The three-dimensional laser engraving method according to claim 1, characterized in that: The method of analyzing the standard three-dimensional image by a deep learning model and extracting features of the area to be engraved from the analysis results according to the engraving blueprint specifically includes: Extracting features from the standard three-dimensional image and the engraving blueprint in sequence according to the deep learning model to obtain object features and engraving features; The object features and the engraving features are compared and analyzed to obtain the features of the area to be engraved.
3. The three-dimensional laser engraving method according to claim 1, characterized in that: The obtaining of the engraving material information of the object to be engraved specifically includes: Performing spectrum detection, thermal conductivity detection and mechanical property detection on the object to be engraved respectively, and obtaining the material optical characteristics, material thermal characteristics and material mechanical characteristics corresponding to the object to be engraved; The material information of the material to be engraved is determined according to the optical characteristics of the material, the thermal characteristics of the material and the mechanical characteristics of the material.
4. The three-dimensional laser engraving method according to claim 1, characterized in that: The step of comparing the engraving material information with a preset engraving database to extract corresponding engraving parameter information specifically includes: Performing a comparison from the engraving database according to the engraving material information, and obtaining the engraving parameter information corresponding to the current engraving material information when the comparison result shows that the materials are the same; The engraving parameter information includes laser engraving frequency, laser engraving power and laser scanning speed.
5. The three-dimensional laser engraving method according to claim 1, characterized in that: The dynamically modeling the object to be engraved according to the engraving standard data to obtain corresponding real-time curved surface data specifically includes: Performing regional grid processing on the object to be engraved according to the engraving standard data to obtain a corresponding three-dimensional model of the object; The three-dimensional model of the object is layered to obtain multiple layers of real-time surface data.
6. The three-dimensional laser engraving method according to claim 5, characterized in that: The path construction is performed on the engraving parameter information and the real-time surface data according to the path optimization algorithm to obtain the corresponding engraving path information, specifically including: Acquire engraving texture information from the engraving standard data, and obtain basic path data corresponding to each layer of the real-time curved surface data according to the engraving texture information; The shortest path algorithm is used to optimize the paths of the multiple layers of real-time surface data to obtain the engraving path information.
7. A three-dimensional laser engraving device, characterized in that: The three-dimensional laser engraving device comprises: An image acquisition module is used to acquire a three-dimensional image of the object to be engraved, and perform standardization processing on the three-dimensional image to obtain a corresponding standard three-dimensional image; A region analysis module is used to analyze the standard three-dimensional image through a deep learning model, extract features of the area to be engraved from the analysis results according to the engraving blueprint, and perform data conversion on the features of the area to be engraved to obtain engraving standard data; A parameter analysis module, used to obtain the engraving material information of the object to be engraved, and compare the engraving material information with a preset engraving database to extract corresponding engraving parameter information; The path confirmation module is used to dynamically model the object to be engraved according to the engraving standard data to obtain corresponding real-time surface data, and to construct a path for the engraving parameter information and the real-time surface data according to a path optimization algorithm to obtain corresponding engraving path information, and to engrave the object to be engraved according to the engraving path information.
8. The three-dimensional laser engraving device according to claim 7, characterized in that: The regional analysis module specifically includes: A feature extraction submodule, used to extract features from the standard three-dimensional image and the engraving blueprint in sequence according to the deep learning model to obtain object features and engraving features; The area screening submodule is used to compare and analyze the object features and the engraving features to obtain the features of the area to be engraved.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the three-dimensional laser engraving method according to any one of claims 1 to 6 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the three-dimensional laser engraving method according to any one of claims 1 to 6 are implemented.
Citation Information
Cited By
Metal surface engraving method and device, electronic equipment and storage medium
CN119328317A
Engraving control method and system
CN119536128A
Curved surface engraving control method based on laser engraving machine
CN120885883A
A curved surface engraving control method based on a laser engraving machine
CN120885883B
Visual perception enhancement method based on multilayer laser microscopic carving and surface texture reconstruction
CN121616603A
