Welding seam parameter calculation method and device based on human-computer interaction and storage medium
Through the welding seam parameter calculation method based on human-computer interaction, welding seam parameters are automatically calculated, which solves the problem of tedious manual parameter setting during the welding process and improves welding efficiency and accuracy.
Patent Information
- Application Number
- CN202410743904.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-09-06
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
During the welding process, users need to manually set parameters according to the weld type, shape, and size of different workpieces, resulting in cumbersome and error-prone operations.
The welding seam parameter calculation method based on human-computer interaction is used to obtain the target image, mark the welding seam type and target box, respond to the user's click operation, display the welding seam image editing area and parameter editing area, and input the point cloud data into the feature point editing area , calculate weld parameters based on weld type and feature point algorithm.
It reduces the tediousness of welding parameter setting, automatically calculates welding parameters through human-computer interaction, and improves the efficiency and accuracy of the welding process.
Smart Images

Figure CN118605731A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of welding, and in particular relates to a welding seam parameter calculation method, device and storage medium based on human-computer interaction. Background Art
[0002] Welding is a common process for joining metal parts in manufacturing, construction, aerospace, energy and other fields. The quality of welds directly affects the structural strength, safety and service life of products. Therefore, it is crucial to accurately and efficiently detect and classify welds.
[0003] Before processing a weld each time, the weld parameters need to be set first. Since the weld types, shapes, and sizes of different workpieces vary greatly, users need to set different parameters based on actual conditions each time, which is cumbersome and prone to errors. Summary of the invention
[0004] In view of this, the present invention provides a weld parameter calculation method, device and storage medium based on human-computer interaction, aiming to solve the problem in the prior art that the user needs to set different parameters based on actual conditions each time, which makes the operation cumbersome and prone to errors.
[0005] A first aspect of an embodiment of the present invention provides a method for calculating weld parameters based on human-computer interaction, comprising:
[0006] Acquire a target image; wherein the target image is marked with target frames of each weld and weld types corresponding to each weld;
[0007] In response to a user's click operation on any weld in the target image, a weld image editing area and a weld parameter editing area corresponding to the first weld selected by the user are displayed on the display interface, and a portion of the first weld in the target image is processed into point cloud data; wherein the weld image editing area is used to display the point cloud data of the first weld; and the weld parameter editing area is used to display at least one feature point editing area corresponding to the first weld type;
[0008] When the user selects a feature point editing area corresponding to the weld type of the first weld in the weld parameter editing area, in response to the user's point selection operation in the weld image editing area, the point cloud data of the first weld selected by the user is input into the feature point editing area;
[0009] In response to a click operation by the user, the weld parameters of the first weld are calculated according to the point cloud data of each feature point editing area of the first weld and an algorithm corresponding to the weld type of the first weld.
[0010] A second aspect of an embodiment of the present invention provides a welding seam parameter calculation device based on human-computer interaction, comprising:
[0011] An acquisition module is used to acquire a point cloud image of a target image and display the point cloud image on a display interface; wherein the point cloud image is marked with a target frame of each weld and a weld type corresponding to each weld;
[0012] A display module, in response to a user's click operation on any weld in the target image, displays a weld image editing area and a weld parameter editing area corresponding to a first weld selected by the user on a display interface; wherein the weld image editing area is used to display point cloud data of the first weld; and the weld parameter editing area is used to display at least one feature point editing area corresponding to the first weld type;
[0013] A point selection module, for inputting the point cloud data of the first weld selected by the user into the feature point editing area in response to the point selection operation of the user in the weld image editing area after the user selects the feature point editing area corresponding to the weld type of the first weld in the weld parameter editing area;
[0014] The calculation module is used to calculate the weld parameters of the first weld according to the point cloud data of each feature point editing area of the first weld and the algorithm corresponding to the weld type of the first weld in response to the user's click operation.
[0015] A third aspect of an embodiment of the present invention provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the weld parameter calculation method based on human-computer interaction according to the first aspect above are implemented.
[0016] A fourth aspect of an embodiment of the present invention provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps of the weld parameter calculation method based on human-computer interaction as described in the first aspect above are implemented.
[0017] The method for calculating weld parameters based on human-computer interaction provided by an embodiment of the present invention first acquires a target image; wherein, the target image is marked with target frames of various welds and weld types corresponding to various welds; then, in response to a user's click operation on any weld in the target image, a weld image editing area and a weld parameter editing area corresponding to a first weld selected by the user are displayed on a display interface, and a portion of the first weld in the target image is processed into point cloud data; wherein, the weld image editing area is used to display the point cloud data of the first weld; and the weld parameter editing area is used to display at least one feature point editing area corresponding to the first weld type; then, when the user selects a feature point editing area corresponding to the weld type of the first weld in the weld parameter editing area, in response to the user's point selection operation in the weld image editing area, the point cloud data of the first weld selected by the user is input into the feature point editing area; finally, in response to the user's click operation, the weld parameters of the first weld are calculated according to the point cloud data of each feature point editing area of the first weld and the algorithm corresponding to the weld type of the first weld. Through human-computer interaction, the relevant parameters of the weld are automatically calculated based on the points selected by the user on the display interface, without the need for manual setting by the user, effectively reducing the tediousness of welding parameter setting. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0019] Figure 1 It is the target inspection point of the external fillet weld;
[0020] Figure 2 are other weld parameters of external fillet weld;
[0021] Figure 3 is a flow chart of an implementation method of a weld parameter calculation method based on human-computer interaction provided in an embodiment of the present invention;
[0022] Figure 4 It is a schematic diagram of the image of the external fillet weld;
[0023] Figure 5 It is a schematic diagram of the point cloud image of the external fillet weld;
[0024] Figure 6 is a schematic diagram showing a weld according to an embodiment of the present invention;
[0025] Figure 7 is a schematic diagram of a display interface for setting welding seam parameters according to an embodiment of the present invention;
[0026] Figure 8 is a structural schematic diagram of a welding seam parameter calculation device based on human-computer interaction provided by an embodiment of the present invention;
[0027] Fig. 9 It is a schematic diagram of the structure of a terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0028] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.
[0029] Before processing a weld each time, the weld parameters need to be set first. Since the weld types, shapes, and sizes of different workpieces vary greatly, users need to set different parameters based on actual conditions each time, which is cumbersome and prone to errors.
[0030] Take the fillet weld as an example. Figure 1 It is the target inspection point for the outside fillet weld. Figure 2 are other weld parameters for external fillet welds. Figure 1 and Figure 2 As shown, when detecting an external fillet weld, it is usually necessary to detect three feature points, namely the left corner point, the right corner point and the intersection point, and at the same time, it is necessary to detect the left start and end angle θ1+ and the right start and end angle θr+. The left start and end angle refers to the angle range between the left plate imaging of the external fillet weld in the pixel coordinate system and the x-axis; the right start and end angle refers to the angle range between the right plate imaging of the external fillet weld in the pixel coordinate system and the x-axis.
[0031] In addition, the weld parameters of the external fillet weld also include the left straight line threshold, right straight line threshold, local limit, etc. Among them, the left straight line threshold refers to the number of contour points (i.e. point cloud) that strictly fall on the extracted left straight line. If the actual number of contour points falling on the left straight line is less than this value, an error is reported. The right straight line threshold refers to the number of contour points (i.e. point cloud) that strictly fall on the extracted right straight line. If the actual number of contour points falling on the right straight line is less than this value, an error is reported. The local limit refers to the distance threshold between the contour point and the left straight line or the right straight line in the pixel coordinate system. If the actual value is greater than the threshold, the surface point cloud needs to be optimized.
[0032] It can be seen from the above content that the actual setting of welding seam parameters is relatively complicated, and the parameters of different types of welding seams are often different. On this basis, the present invention has made the following improvements.
[0033] Figure 3FIG. 1 is a flow chart of a method for calculating weld parameters based on human-computer interaction provided by an embodiment of the present invention. Figure 3 As shown, in some embodiments, a method for calculating weld parameters based on human-computer interaction includes:
[0034] S310, acquiring a target image; wherein the target image is marked with a target frame of each weld and a weld type corresponding to each weld;
[0035] In an embodiment of the present invention, the types of welds may include butt welds, lap welds, internal fillet welds, flat plate welds, V-grooves, external fillet welds, inclined semi-V-grooves, round pipe welds, round pipe butt welds, end welds, double-rolled butt welds, fillet arc welds, single-rolled butt welds, etc.
[0036] Figure 4 is a schematic diagram of the external fillet weld. Figure 4 As shown, in the laser detection image taken by the camera, the workpiece is in the shape of white stripes, for example, the outer corner weld is composed of two rectangular white stripes. S320, in response to the user's click operation on any weld in the target image, the weld image editing area and weld parameter editing area corresponding to the first weld selected by the user are displayed on the display interface, and the part of the first weld in the target image is processed into point cloud data; wherein the weld image editing area is used to display the point cloud data of the first weld; the weld parameter editing area is used to display at least one feature point editing area corresponding to the first weld type;
[0037] Figure 5 is a schematic diagram of the point cloud image of the external fillet weld. Figure 5 As shown, in an embodiment of the present invention, two rectangular white stripes can be extracted from the outer fillet weld, the white stripe area is extracted, and then the centers of the two rectangles are extracted to obtain two linear point cloud images. In some embodiments, S310 includes: extracting the weldment area in the target image; extracting the center point of the weldment area as a point cloud image.
[0038] Figure 6 Schematic diagram of the weld seam display of the embodiment of the present invention. Figure 6 As shown, in an embodiment of the present invention, one or more welds, as well as corresponding target boxes and weld types can be displayed on the display interface. When the user clicks on any weld, the parameter setting page of the corresponding weld can be opened.
[0039] S330, when the user selects a feature point editing area corresponding to the weld type of the first weld in the weld parameter editing area, in response to the user's point selection operation in the weld image editing area, inputting the point cloud data of the first weld selected by the user into the feature point editing area;
[0040] Figure 7Schematic diagram of the display interface for setting weld parameters in an embodiment of the present invention. Figure 7 As shown in the figure, the left side is the point cloud image of the external fillet weld in the pixel coordinate system, and the area where it is located is the weld image editing area. The lower right side is the weld parameter editing area, in which the feature point editing area corresponding to the feature points P1 and P2 on the left straight line and the feature point editing area corresponding to the feature points P3 and P4 on the right straight line are respectively displayed.
[0041] In some embodiments, after the user selects the feature point editing area corresponding to the weld type of the first weld in the weld parameter editing area, in response to the user's point selection operation in the weld image editing area, the point cloud data of the first weld selected by the user is input into the feature point editing area, including: in response to the user's point selection operation, displaying the feature point selected by the user and the corresponding feature point name on the point cloud data in the weld image editing area; and inputting the horizontal coordinate and vertical coordinate of the feature point selected by the user into the feature point editing area corresponding to the feature point.
[0042] In the embodiment of the present invention, the user first clicks P1 on the right, which is the feature point editing area. At this time, the user clicks any point in the point cloud image on the left, which is the point selection operation. After the user selects a point, the coordinates of the point are displayed in the feature point editing area of P1. According to the above process, the settings of P1-P4 are completed in sequence to complete the entire parameter setting process.
[0043] In some embodiments, in response to a user clicking operation on any weld in the target image, a weld image editing area and a weld parameter editing area corresponding to the first weld selected by the user are displayed on a display interface, including: in response to a user clicking operation on any weld in the target image, a weld image editing area, a weld parameter editing area and a weld reference area corresponding to the first weld selected by the user are displayed on a display interface; wherein the weld reference area is used to display a standard image of the first weld; and at least one standard feature point is displayed on the standard image.
[0044] In the embodiment of the present invention, a weld reference area can be set in the upper right corner of the display interface, in which a standard weld point cloud image in a pixel coordinate system is displayed, and four standard feature points P1-P4 are marked. The user can select points in the weld image editing area on the left side with reference to the positions of the standard feature points, thereby improving the user experience.
[0045] In some embodiments, the method further includes: determining a reference point corresponding to each standard feature point in the point cloud data within the weld image editing area; and displaying all reference points on the point cloud data within the weld image editing area.
[0046] In the embodiment of the present invention, different point selection logics can be set for different types of welds, and reference points can be selected and displayed in the seam image editing area on the left to provide further reference for the user. For example, for an external fillet weld, the two points with the largest ordinates on the left and right sides can be defined as reference points corresponding to P2 and P3, and the contour point along the left straight line with a standard distance from P2 (the distance between standard feature points) is the reference point corresponding to P1; the contour point along the right straight line with a standard distance from P3 is the reference point corresponding to P4. The reference points only provide some point selection references for the user, and do not design actual weld parameter calculations.
[0047] In some embodiments, determining the reference point corresponding to each standard feature point in the point cloud data within the weld image editing area includes: determining the reference point feature based on the feature of each standard feature point; and selecting the corresponding reference point in the point cloud data within the weld image editing area based on the reference point feature.
[0048] In some embodiments, the method also includes: in response to the user's point selection operation, determining a first reference point closest to the feature point selected by the user from various reference points according to the horizontal and vertical coordinates of the feature point selected by the user; displaying the feature point selected by the user on the point cloud data within the weld image editing area, and displaying the name of the standard feature point corresponding to the first reference point.
[0049] In the embodiment of the present invention, the user can omit the process of selecting the feature point editing area on the right side. For example, if the user clicks a contour point near the peak on the left side, which is closest to the reference point of P2, the feature point editing area of P2 is automatically selected and the coordinate value of the user-selected point is entered therein. Therefore, the user only needs to select points four times on the left side to complete parameter input and calculation, which is simpler to operate.
[0050] S340, in response to a click operation by the user, calculating weld parameters of the first weld according to the point cloud data of each feature point editing area of the first weld and an algorithm corresponding to the weld type of the first weld.
[0051] In an embodiment of the present invention, after the user has selected P1-P4, the coordinate values of each point have been entered in the weld parameter editing area on the right. Click Calculate or OK to calculate the weld parameters of the first weld according to the algorithm corresponding to the weld type. For example, for an external fillet weld, calculate the equation of the left straight line where P1 and P2 are located, and then calculate the equation of the right straight line where P3 and P4 are located, and solve them together to obtain the coordinates of the intersection. The equation can also be used to derive the angle between the straight line and the horizontal axis, that is, the left starting and ending angle θ1+ and the right starting and ending angle θr+. Other parameters can also be calculated accordingly. Different types of welds use different calculation methods when calculating parameters, which will not be described here.
[0052] In some embodiments, after calculating the weld parameters of the first weld, the method further includes:
[0053] Display weld parameters on the point cloud data in the weld image editing area.
[0054] It should be understood that the order of execution of the steps in the above embodiment does not necessarily 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 embodiment of the present invention.
[0055] Figure 8 Schematic diagram of the structure of the device for calculating welding seam parameters based on human-computer interaction provided by an embodiment of the present invention. Figure 8 As shown, in some embodiments, the welding seam parameter calculation device 8 based on human-computer interaction includes:
[0056] The acquisition module 810 is used to acquire a target image, wherein the target image is marked with a target frame of each weld and a weld type corresponding to each weld;
[0057] The display module 820 is used to respond to the user's click operation on any weld in the target image, display the weld image editing area and weld parameter editing area corresponding to the first weld selected by the user on the display interface, and process the part of the first weld in the target image into point cloud data; wherein the weld image editing area is used to display the point cloud data of the first weld; and the weld parameter editing area is used to display at least one feature point editing area corresponding to the first weld type;
[0058] The point selection module 830 is used for inputting the point cloud data of the first weld selected by the user into the feature point editing area in response to the point selection operation of the user in the weld image editing area after the user selects the feature point editing area corresponding to the weld type of the first weld in the weld parameter editing area;
[0059] The calculation module 840 is used to calculate the weld parameters of the first weld according to the point cloud data of each feature point editing area of the first weld and the algorithm corresponding to the weld type of the first weld in response to the user's click operation.
[0060] Optionally, the point selection module 830 is used to: in response to the user's point selection operation, display the feature points selected by the user and the corresponding feature point names on the point cloud data within the weld image editing area; and input the horizontal and vertical coordinates of the feature points selected by the user into the feature point editing area corresponding to the feature point.
[0061] Optionally, display module 820 is used to: in response to a user clicking operation on any weld in the target image, display on the display interface a weld image editing area, a weld parameter editing area and a weld reference area corresponding to the first weld selected by the user; wherein the weld reference area is used to display a standard image of the first weld; and at least one standard feature point is displayed on the standard image.
[0062] Optionally, the display module 820 is further used to determine the reference point corresponding to each standard feature point in the point cloud data within the weld image editing area; and display all reference points on the point cloud data within the weld image editing area.
[0063] Optionally, the display module 820 is specifically used to: determine the reference point feature according to the feature of each standard feature point; and select the corresponding reference point in the point cloud data within the weld image editing area according to the reference point feature.
[0064] Optionally, the point selection module 830 is also used to: respond to the user's point selection operation, determine the first reference point closest to the feature point selected by the user from various reference points according to the horizontal and vertical coordinates of the feature point selected by the user; display the feature point selected by the user on the point cloud data within the weld image editing area, and display the name of the standard feature point corresponding to the first reference point.
[0065] Optionally, the acquisition module 810 is used to: extract the weldment area in the target image; and extract the center point of the weldment area as a point cloud image.
[0066] Optionally, the display module 820 is further used to: after calculating the weld parameters of the first weld, display the weld parameters on the point cloud data in the weld image editing area.
[0067] The welding seam parameter calculation device based on human-computer interaction provided in this embodiment can be used to execute the above method embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be repeated here.
[0068] Fig. 9 Schematic diagram of the structure of the terminal provided by the embodiment of the present invention. Fig. 9 As shown, a terminal 9 provided in one embodiment of the present invention includes: a processor 90, a memory 91, and a computer program 92 stored in the memory 91 and executable on the processor 90. When the processor 90 executes the computer program 92, the steps in the above-mentioned various gesture recognition method embodiments are implemented, for example Figure 3 Alternatively, when the processor 90 executes the computer program 92, the functions of each module / unit in the above-mentioned system embodiments are implemented, for example Figure 8 The functions of each module are shown.
[0069] Exemplarily, the computer program 92 may be divided into one or more modules / units, one or more modules / units are stored in the memory 91, and are executed by the processor 90 to implement the present invention. One or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, and the instruction segments are used to describe the execution process of the computer program 92 in the terminal 9.
[0070] The terminal 9 may include, but is not limited to, a processor 90 and a memory 91. Those skilled in the art will appreciate that Fig. 9 It is only an example of terminal 9 and does not constitute a limitation on terminal 9. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal may also include input and output devices, network access devices, buses, etc.
[0071] The processor 90 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0072] The memory 91 may be an internal storage unit of the terminal 9, such as a hard disk or memory of the terminal 9. The memory 91 may also be an external storage device of the terminal 9, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the terminal 9. Further, the memory 91 may also include both an internal storage unit of the terminal 9 and an external storage device. The memory 91 is used to store computer programs and other programs and data required by the terminal. The memory 91 may also be used to temporarily store data that has been output or is to be output.
[0073] An embodiment of the present invention provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned gesture recognition method embodiment are implemented.
[0074] The computer readable storage medium stores a computer program 92, which includes program instructions. When the program instructions are executed by the processor 90, all or part of the processes in the above-mentioned embodiment method are implemented. The computer program 92 can also be used to instruct related hardware to complete. The computer program 92 can be stored in a computer readable storage medium. When the computer program 92 is executed by the processor 90, the steps of each of the above-mentioned method embodiments can be implemented. Among them, the computer program 92 includes computer program code, which can be in source code form, object code form, executable file or some intermediate form. The computer readable medium can include: any entity or device capable of carrying computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium.
[0075] The computer-readable storage medium may be an internal storage unit of the terminal of any of the foregoing embodiments, such as a hard disk or memory of the terminal. The computer-readable storage medium may also be an external storage device of the terminal, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the terminal. Further, the computer-readable storage medium may also include both an internal storage unit of the terminal and an external storage device. The computer-readable storage medium is used to store computer programs and other programs and data required by the terminal. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.
[0076] It should be understood that the order of execution of the steps in the above embodiment does not necessarily 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 embodiment of the present invention.
[0077] The technicians in the relevant field 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 for illustration. In practical applications, the above-mentioned function allocation can be 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. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0078] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0079] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0080] In the embodiments provided by the present invention, it should be understood that the disclosed devices / terminals and methods can be implemented in other ways. For example, the device / terminal embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0081] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0082] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0083] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. Computer-readable media may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium, etc.
[0084] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those 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 invention, and should be included in the protection scope of the present invention.
Claims
1. A method for calculating weld parameters based on human-computer interaction, characterized in that: include: Acquire a target image, wherein the target image is marked with a target frame of each weld and a weld type corresponding to each weld; In response to a user's click operation on any weld in the target image, a weld image editing area and a weld parameter editing area corresponding to the first weld selected by the user are displayed on the display interface, and a portion of the first weld in the target image is processed into point cloud data; wherein the weld image editing area is used to display the point cloud data of the first weld; and the weld parameter editing area is used to display at least one feature point editing area corresponding to the first weld type; When the user selects a feature point editing area corresponding to the weld type of the first weld in the weld parameter editing area, in response to the user's point selection operation in the weld image editing area, the point cloud data of the first weld selected by the user is input into the feature point editing area; In response to a click operation by the user, the weld parameters of the first weld are calculated according to the point cloud data of each feature point editing area of the first weld and an algorithm corresponding to the weld type of the first weld.
2. The method for calculating weld parameters based on human-computer interaction according to claim 1, characterized in that: When the user selects the feature point editing area corresponding to the weld type of the first weld in the weld parameter editing area, in response to the user's point selection operation in the weld image editing area, the point cloud data of the first weld selected by the user is input into the feature point editing area, including: In response to the user's point selection operation, the feature point selected by the user and the corresponding feature point name are displayed on the point cloud data in the weld image editing area; The horizontal coordinate and the vertical coordinate of the feature point selected by the user are input into the feature point editing area corresponding to the feature point.
3. The method for calculating weld parameters based on human-computer interaction according to claim 1, characterized in that: In response to a user's click operation on any weld in the target image, a weld image editing area and a weld parameter editing area corresponding to the first weld selected by the user are displayed on the display interface, including: In response to a user clicking operation on any weld in the target image, a weld image editing area, a weld parameter editing area and a weld reference area corresponding to the first weld selected by the user are displayed on the display interface; wherein the weld reference area is used to display a standard image of the first weld; and at least one standard feature point is displayed on the standard image.
4. The method for calculating weld parameters based on human-computer interaction according to claim 3, characterized in that: The method further comprises: Determine the reference point corresponding to each standard feature point in the point cloud data within the weld image editing area; All reference points are displayed on the point cloud data within the weld image editing area.
5. The method for calculating weld parameters based on human-computer interaction according to claim 4, characterized in that: Determine the reference point corresponding to each standard feature point in the point cloud data within the weld image editing area, including: According to the characteristics of each standard feature point, the reference point characteristics are determined; According to the reference point features, corresponding reference points are selected from the point cloud data within the weld image editing area.
6. The method for calculating weld parameters based on human-computer interaction according to claim 4, characterized in that: The method further comprises: In response to the user's point selection operation, determining a first reference point closest to the feature point selected by the user from among the reference points according to the horizontal coordinate and the vertical coordinate of the feature point selected by the user; The feature points selected by the user are displayed on the point cloud data within the weld image editing area, and the names of the standard feature points corresponding to the first reference points are displayed.
7. The method for calculating weld parameters based on human-computer interaction according to claim 4, characterized in that: Processing a portion of the first weld in the target image into point cloud data includes: Extracting a region of the first weld in the target image; The center point of the area of the first weld in the target image is extracted as the point cloud image.
8. The method for calculating weld parameters based on human-computer interaction according to claim 4, characterized in that: After calculating the weld parameters of the first weld, the method further includes: The weld parameters are displayed on the point cloud data in the weld image editing area.
9. A terminal 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 weld parameter calculation method based on human-computer interaction as described in any one of claims 1 to 8 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for calculating weld parameters based on human-computer interaction as described in any one of claims 1 to 8 above are implemented.
Citation Information
Patent Citations
Weld joint positioning and size calculation method and device, storage medium and electronic equipment
CN116839473A
Welding seam size detection method and system based on point cloud matching, medium and equipment
CN116858102A
3D point cloud intelligent sensing weld joint pose extraction method, system and equipment
CN117576094A
Welding seam extraction method and welding seam tracking method based on three-dimensional point cloud
CN117765180A
