Product assembly and disassembly state detection method, device and equipment based on three-dimensional Gaussian sputtering

The three-dimensional scene model is reconstructed through three-dimensional Gaussian sputtering technology, which solves the problem of low accuracy of machine vision when there are few training samples and uncertain environment, and achieves high-accuracy detection of product assembly and disassembly status.

CN118628446AActive Publication Date: 2024-09-10BEIJING INST OF SPACECRAFT ENVIRONMENT ENG
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410672055.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-28
Publication Date
2024-09-10
Estimated Expiration
2044-05-28

AI Technical Summary

Technical Problem

Existing machine vision has low accuracy in product assembly and disassembly status detection when there are few training samples and the surrounding working conditions of the target object are uncertain.

Method used

Using three-dimensional Gaussian sputtering technology, the product parts model in the inspection scene is converted into a triangular patch model, and the split patch model is obtained through splitting, and the initial point cloud is output. Targets are arranged in the virtual model and the real scene, and three-dimensional Gaussian sputtering is used to The camera performs three-dimensional scene reconstruction to determine the assembly and disassembly status of the product.

Benefits of technology

It realizes automatic detection of product assembly and disassembly status in small batches and uncertain environments, avoids dependence on training samples, and improves detection accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628446A
    Figure CN118628446A
Patent Text Reader

Abstract

The invention provides a product assembly and disassembly state detection method, device and equipment based on three-dimensional Gaussian sputtering. The method comprises the steps that a product part model in a detection scene is converted into a triangular patch model; splitting the triangular patch model by taking each part as a unit to obtain a split patch model in which the side length of the triangular patch is smaller than a preset side length; outputting the vertex of each triangular patch in the split patch model as an initial point cloud for three-dimensional Gaussian sputtering; arranging targets for virtual-real fusion at corresponding positions in the virtual model and the real scene; scanning around the to-be-detected product area to obtain image information and pose information containing the target for virtual-real fusion; based on the image information, the pose information and the initial point cloud, performing three-dimensional scene reconstruction by using three-dimensional Gaussian sputtering to obtain a scene model of the to-be-tested product; based on the to-be-detected product scene model, whether the assembly and disassembly state of the to-be-detected product is the installed state or the uninstalled state is determined, and the accuracy of product assembly and disassembly state detection is effectively ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of manufacturing and assembly, and in particular to a method, device and equipment for detecting the assembly and disassembly status of a product based on three-dimensional Gaussian sputtering. Background Art

[0002] In the development process of complex products such as spacecraft, the assembly and disassembly status of the assembled parts need to be repeatedly confirmed. In addition to manual inspection methods, machine vision methods are currently widely used to achieve pattern recognition of product assembly and disassembly status through a large number of sample training.

[0003] However, when there are few training samples and the surrounding conditions of the target object are uncertain, the accuracy of machine vision is relatively low. Summary of the invention

[0004] The present invention provides a product assembly and disassembly status detection method, device and equipment based on three-dimensional Gaussian sputtering, which are used to solve the defect of the prior art that machine vision relies heavily on training samples.

[0005] In a first aspect, the present invention provides a method for detecting a product assembly and disassembly status based on three-dimensional Gaussian sputtering, comprising:

[0006] Convert the product component model in the inspection scene into a triangular patch model;

[0007] The triangular patch model is split based on each component to obtain a split patch model in which the side lengths of the triangular patches are all smaller than the preset side lengths;

[0008] Outputting the vertices of each triangular facet in the split facet model as an initial point cloud for three-dimensional Gaussian sputtering;

[0009] Arrange targets for virtual-reality fusion at corresponding positions in the virtual model and the real scene;

[0010] Scanning around the product area to be tested to obtain image information and posture information including the target for virtual-real fusion;

[0011] Based on the image information, the posture information and the initial point cloud, three-dimensional scene reconstruction is performed using three-dimensional Gaussian sputtering to obtain a scene model of the product to be tested;

[0012] Based on the scenario model of the product to be tested, it is determined that the installation and disassembly state of the product to be tested is an installed state or an uninstalled state.

[0013] According to a product assembly and disassembly status detection method based on three-dimensional Gaussian sputtering provided by the present invention, the assembly and disassembly status of the product to be tested is determined to be an installed state or an uninstalled state based on the scene model of the product to be tested, including:

[0014] Constructing an envelope of the product to be tested in the real scene, and obtaining all three-dimensional Gaussian sputtering bodies in the envelope of the corresponding position in the scene model of the product to be tested;

[0015] Determining an effective observation direction of each of the three-dimensional Gaussian sputtering bodies;

[0016] Based on the product transparency and each of the effective observation directions, the installation and disassembly state of the product to be tested is determined to be an installed state or an uninstalled state.

[0017] According to a product assembly and disassembly status detection method based on three-dimensional Gaussian sputtering provided by the present invention, the determining of the effective observation direction of each three-dimensional Gaussian sputtering body comprises:

[0018] Taking the geometric center of the envelope as the sphere center, a plurality of observation viewpoints facing the sphere center are set on the virtual spherical surface;

[0019] The three-dimensional Gaussian sputtering body is rendered to the direction of the observation viewpoint to determine an effective observation direction.

[0020] According to a product assembly and disassembly status detection method based on three-dimensional Gaussian sputtering provided by the present invention, the determining of the effective observation direction includes:

[0021] Determine the proportion of the three-dimensional Gaussian sputtering body covering the envelope body;

[0022] When the proportion exceeds a preset proportion, the corresponding observation direction is determined to be a valid observation direction.

[0023] According to a product assembly and disassembly status detection method based on three-dimensional Gaussian sputtering provided by the present invention, the assembly and disassembly status of the product to be tested is determined to be an installed state or an uninstalled state based on the product transparency and each of the effective observation directions, including:

[0024] Determining an average pixel transparency of an effective rendering area in each of the effective viewing directions;

[0025] Determine the average value of the average pixel transparency corresponding to all the effective viewing directions;

[0026] The installation and disassembly state of the product to be tested is determined to be an installed state or an uninstalled state based on the size of the average value.

[0027] According to a product assembly and disassembly status detection method based on three-dimensional Gaussian sputtering provided by the present invention, the assembly and disassembly status of the product to be tested is determined to be an installed state or an uninstalled state based on the size of the average value, including:

[0028] When the average value is greater than a first preset threshold, determining that the assembly and disassembly state of the product to be tested is an installed state;

[0029] When the average value is less than a second preset threshold, determining that the product to be tested is in an uninstalled state;

[0030] Wherein, the first preset threshold is greater than the second preset threshold.

[0031] A product assembly and disassembly status detection method based on three-dimensional Gaussian sputtering provided by the present invention also includes:

[0032] When the average value is greater than the second preset threshold value and less than the first preset threshold value, the confidence level that the product is in the installed state is determined:

[0033]

[0034] Among them, D represents confidence, K represents the average value, and δ min represents the second preset threshold, δ max Indicates the first preset threshold.

[0035] According to a product assembly and disassembly status detection method based on three-dimensional Gaussian sputtering provided by the present invention, the triangular face model is split based on each component to obtain a split face model in which the side lengths of the triangular face are all less than the preset side length, including:

[0036] Determine the shape of each of the components to obtain a regular rectangular surface and an irregular rectangular surface;

[0037] The regular rectangular surface is split when half the length of the diagonal of the rectangle is less than the preset side length;

[0038] For the irregular rectangular face, the midpoint of the longest side of the triangular face that is longer than the preset side length is connected to the opposite side, and the triangular face is split until all side lengths are less than the preset side length.

[0039] In a second aspect, the present invention further provides a product assembly and disassembly status detection device based on three-dimensional Gaussian sputtering, comprising:

[0040] A conversion module, used to convert the product component model in the inspection scene into a triangular face model;

[0041] A splitting module, used for splitting the triangular face model based on each component as a unit, to obtain a split face model in which the side lengths of the triangular face are all smaller than a preset side length;

[0042] An output module, used for outputting the vertices of each triangular facet in the split facet model as an initial point cloud for three-dimensional Gaussian sputtering;

[0043] A layout module is used to arrange targets for virtual-reality fusion at corresponding positions in the virtual model and the real scene;

[0044] A scanning module, used to scan around the product area to be tested, and obtain image information and posture information containing the target for virtual-real fusion;

[0045] A reconstruction module, used to reconstruct a three-dimensional scene by using three-dimensional Gaussian sputtering based on the image information, the posture information and the initial point cloud to obtain a scene model of the product to be tested;

[0046] The determination module is used to determine whether the assembly and disassembly state of the product to be tested is an installed state or an uninstalled state based on the scenario model of the product to be tested.

[0047] In a third aspect, the present invention further provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, it implements any of the above-described methods for detecting product assembly and disassembly status based on three-dimensional Gaussian sputtering.

[0048] In a fourth aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the above-described methods for detecting the assembly and disassembly status of a product based on three-dimensional Gaussian sputtering.

[0049] In a fifth aspect, the present invention further provides a computer program product, comprising a computer program, which, when executed by a processor, implements any of the above-mentioned methods for detecting product assembly and disassembly status based on three-dimensional Gaussian sputtering.

[0050] The present invention provides a method, device and equipment for detecting the assembly and disassembly status of a product based on three-dimensional Gaussian sputtering. The method comprises converting a product component model in a detection scene into a triangular patch model; splitting the triangular patch model with each component as a unit to obtain a split patch model in which the side lengths of the triangular patches are all less than a preset side length; outputting the vertices of each triangular patch in the split patch model as an initial point cloud for three-dimensional Gaussian sputtering; arranging targets for virtual-real fusion at corresponding positions in the virtual model and the real scene; scanning around the area of ​​the product to be tested to obtain image information and posture information containing the targets for virtual-real fusion; based on the image information, the posture information and the initial point cloud, using three-dimensional Gaussian sputtering to reconstruct the three-dimensional scene to obtain a scene model of the product to be tested; based on the scene model of the product to be tested, determining that the assembly and disassembly status of the product to be tested is an installed state or an uninstalled state. Since the three-dimensional Gaussian sputtering method is used to reconstruct the three-dimensional scene model, it is not affected by the training samples, and the accuracy of the product assembly and disassembly status detection is effectively guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0052] Figure 1 It is a schematic flow chart of a method for detecting a product assembly and disassembly status based on three-dimensional Gaussian sputtering provided in an embodiment of the present invention;

[0053] Figure 2 It is a product component model diagram provided by an embodiment of the present invention;

[0054] Figure 3 is a schematic structural diagram of a triangular patch model provided by an embodiment of the present invention;

[0055] Figure 4 is a schematic diagram of a split face model provided by an embodiment of the present invention;

[0056] Figure 5 is a schematic diagram of an initial point cloud provided by an embodiment of the present invention;

[0057] Figure 6 is a schematic diagram of arranging targets provided by an embodiment of the present invention;

[0058] Figure 7 It is a schematic diagram of the principle of assembly and disassembly status identification provided by an embodiment of the present invention;

[0059] Figure 8 It is the envelope observation picture of the first observation viewpoint;

[0060] Fig. 9 It is the envelope observation picture of the second observation viewpoint;

[0061] Fig.10 It is the envelope observation picture of the third observation viewpoint;

[0062] Fig.11 It is a structural schematic diagram of a product assembly and disassembly status detection device based on three-dimensional Gaussian sputtering provided in an embodiment of the present invention;

[0063] Fig.12 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0064] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0065] Combine the following Figure 1-Figure 12 The invention describes a method, device and equipment for detecting the assembly and disassembly status of a product based on three-dimensional Gaussian sputtering.

[0066] 3D Gaussian Splatting (3DGS) is a 3D scene reconstruction and rendering technique that represents the scene by decomposing it into a set of 3D Gaussian functions, each of which has properties such as position, opacity, color, and shape, thereby capturing the geometric and appearance details of the scene. In the 3DGS process, it usually starts with a sparse 3D point cloud, and then each point cloud position is modeled as a 3DGS volume. Through the training process, the parameters of these 3DGS volumes are continuously optimized. The 3DGS volume can reconstruct the scene in a compact and efficient way, and supports the synthesis of high-quality images from new perspectives, which is suitable for real-time rendering and large-scale scene reconstruction.

[0067] Figure 1 It is a flow chart of a product assembly and disassembly status detection method based on three-dimensional Gaussian sputtering provided in an embodiment of the present invention.

[0068] like Figure 1 As shown, an embodiment of the present invention provides a product assembly and disassembly status detection method based on three-dimensional Gaussian sputtering, and the method mainly includes the following steps:

[0069] 101. Convert the product component model in the inspection scene into a triangular patch model.

[0070] In a specific implementation process, the product component model in the detection scene is first converted to obtain a triangular surface model. Figure 2 is a product component model diagram provided by an embodiment of the present invention, Figure 3 is a schematic diagram of the structure of the triangular patch model provided by an embodiment of the present invention; the product component model is as follows Figure 2 As shown in Figure 2, 21, 22 and 23 represent the parts of the product, namely the workbench, module and fastener. Figure 3 As shown, the different faces of the component are divided into triangles.

[0071] 102. The triangular patch model is split based on each component to obtain a split patch model in which the side lengths of the triangular patches are all smaller than the preset side lengths.

[0072] Figure 4 : is a schematic diagram of a split face model provided by an embodiment of the present invention. After the triangular face model is converted, the triangular face model is split based on each component, that is, the triangular face corresponding to each component is split. The basis for the splitting is to ensure that the side length of the triangular face after the split is less than the preset side length, so as to ensure that the density of the initial point cloud constructed in the subsequent steps is uniform and the distance between the point clouds is relatively close. The obtained triangular face model after the split is as follows: Figure 4 As shown, through Figure 4 It can be seen that the role of splitting is to divide the large triangle into multiple small triangles whose maximum side length is less than the preset side length.

[0073] 103. Output the vertices of each triangular face in the split face model as an initial point cloud for three-dimensional Gaussian sputtering.

[0074] Figure 5 is a schematic diagram of the initial point cloud provided by an embodiment of the present invention. After the split face model is obtained, the distances between the vertices of different triangular facets are relatively close, so the vertices of the triangular facets corresponding to each component are used as the initial point cloud of the three-dimensional Gaussian sputtering, such as Figure 5 As shown in FIG. 1 , since the side length of each triangular face in the split face model is smaller than the preset side length, the density of the initial point cloud obtained will be more uniform. At the same time, the density of the initial point cloud can be adjusted by adjusting the size of the preset side length.

[0075] 104. Place targets for virtual-reality fusion at corresponding positions in the virtual model and the real scene.

[0076] Figure 6 is a schematic diagram of arranging targets provided by an embodiment of the present invention, such as Figure 6 As shown, one or more virtual-reality fusion targets 61 are arranged in the virtual model and the real scene. The target can be in the form of a two-dimensional image target. The main function of the target is to ensure the stability and accuracy of subsequent scene tracking. It can also be understood that the target is used to ensure the existence of a reference object in the subsequent scanning and shooting process.

[0077] 105. Scan around the product area to be tested to obtain image information and posture information including the target for virtual-real fusion.

[0078] Through the augmented reality device, the product area to be tested is scanned around, and the image and depth cameras in the augmented reality device are fully scanned to ensure the integrity of the reconstructed scene. By calibrating and continuously tracking the position of the target in the actual scene, the credibility of the final constructed scene model is ensured to be higher.

[0079] 106. Based on the image information, posture information and initial point cloud, three-dimensional scene reconstruction is performed using three-dimensional Gaussian sputtering to obtain a scene model of the product to be tested.

[0080] Combining the obtained initial point cloud, image information containing depth information and camera posture information, the three-dimensional scene is reconstructed using three-dimensional Gaussian sputtering. If the obtained scene model of the product to be tested shows obvious discontinuity, it indicates that the density of the initial point cloud is small. Therefore, the preset side length is re-determined and the triangular facets are re-split to increase the density of the initial point cloud until a continuous and complete scene model of the product to be tested is obtained.

[0081] 107. Based on the scenario model of the product to be tested, determine whether the installation and disassembly state of the product to be tested is an installed state or an uninstalled state.

[0082] After obtaining the scenario model of the product to be tested, it is possible to determine whether the installation and disassembly state of the product to be tested is an installed state or an uninstalled state in combination with the product transparency characteristics.

[0083] The product assembly and disassembly status detection method based on three-dimensional Gaussian sputtering in this embodiment realizes automatic detection of the assembly and disassembly status of product objects in small batches and uncertain environments. It does not require the preparation of batched priori real-scene samples and omits the data training link. It can realize product status detection in small batches and high random disturbance scenarios. It uses the product three-dimensional model as the basis for initializing point cloud generation by the three-dimensional Gaussian sputtering method, which simplifies the three-dimensional Gaussian sputtering application process on the one hand and optimizes the continuity of the three-dimensional reconstructed scene on the other.

[0084] Figure 7 It is a schematic diagram of the principle of assembly and disassembly status identification provided by an embodiment of the present invention.

[0085] Further, on the basis of the above embodiments, the present embodiment determines the installation status of the product to be tested as an installed state or an uninstalled state based on the product scene model, including: constructing an envelope of the product to be tested in the real scene, obtaining all three-dimensional Gaussian sputtering bodies in the envelope of the corresponding position in the scene model of the product to be tested; determining the effective observation direction of each three-dimensional Gaussian sputtering body; and determining the installation status of the product to be tested as an installed state or an uninstalled state based on the product transparency and each effective observation direction.

[0086] Specifically, first construct the envelope of the product to be tested in the scene, obtain all the three-dimensional Gaussian sputtering bodies (3DGS bodies) in the envelope of the corresponding position in the three-dimensional reconstructed scene, and then remove the 3DGS bodies with high uncertainty due to occlusion and other reasons. Take the geometric center of the envelope as the center of the sphere, set multiple observation viewpoints facing the center of the sphere on the virtual sphere to ensure that all observation viewpoints can observe the complete envelope in this direction, and render the three-dimensional Gaussian sputtering body to the direction of the observation viewpoint to determine the effective observation direction. Among them, first determine the proportion of the three-dimensional Gaussian sputtering body covering the envelope; when the proportion exceeds the preset proportion (for example, 50%), determine the corresponding observation direction as the effective observation direction. Then statistically determine each effective observation direction v i The average pixel transparency K in the effective rendering area i ; Determine the average value K of the average pixel transparency corresponding to all effective observation directions; and then determine the installation and disassembly state of the product to be tested as installed state or uninstalled state based on the size of the average value.

[0087] Wherein, determining the installation and disassembly state of the product to be tested as installed or not installed based on the size of the average value includes: when the average value is greater than a first preset threshold value δ max (i.e. K>δ max ), determine that the assembly and disassembly state of the product to be tested is the installed state; when the average value is less than the second preset threshold value δ min (i.e. K<δ min ), it is determined that the product to be tested is in an uninstalled state; wherein the first preset threshold is greater than the second preset threshold.

[0088] Figure 8 The envelope observation screen of the first observation viewpoint, Fig. 9 The envelope observation screen of the second observation viewpoint, Fig.10 This is the envelope observation screen from the third observation point.

[0089] For example, Figure 7 As shown, 71 is the envelope of the product to be tested, 72 is the center of the virtual sphere, the geometric center of the product envelope, 73 is the home sphere of the virtual sphere, and 74, 75, and 76 in the figure are taken as observation viewpoints, respectively. Figure 8 , Fig. 9 and Fig.10 Three envelope observation pictures. In this embodiment, both viewing angles 74 and 76 do not have more than 50% occlusion, which are considered valid observation directions; the bottom of the product to be tested in viewing angle 75 is completely blocked by other products, which is considered an invalid observation direction. For viewing angles 74 and 76, the average pixel transparency of the effective rendering area is calculated respectively. In this embodiment, the generated effective 3DGS volume is simplified to Figure 8-Figure 10 For the viewing angle 74, the statistics Figure 7The average transparency K1 of the pixels rendered by the five 3DGS bodies 10, 11, 12, 13, and 14 at a viewing angle of 74; for a viewing angle of 75, that is, the statistical Figure 7 The average transparency K2 of the pixels rendered by the five 3DGS bodies 10, 11, 12, 13, and 15 at a viewing angle of 75.

[0090] Then, the average value of all valid observation directions is calculated as K = (K1 + K2) / 2. Finally, the judgment thresholds δmin = 20 and δmax = 230 (the pixel transparency range is [0, 255]). When K < 10, the product status is determined to be not installed; when K > 230, the product status is determined to be installed.

[0091] When the average value is greater than the second preset threshold value and less than the first preset threshold value, that is, 20≤K≤230, the confidence level that the product is in the installed state is determined, as shown in formula (1):

[0092]

[0093] Among them, D represents confidence, K represents the average value, and δ min represents the second preset threshold, δ max Indicates the first preset threshold.

[0094] Further, on the basis of the above-mentioned embodiment, the present embodiment splits the triangular patch model with each component as a unit to obtain a split patch model with triangular patch side lengths less than the preset side lengths, which is specifically used to determine the shape of each component to obtain regular rectangular faces and irregular rectangular faces; for regular rectangular faces, a rectangular meshing method is used to split the faces with half the length of the diagonal of the rectangle less than the preset side length, until half the length of the diagonal of the rectangle is less than the preset side length, thereby ensuring that the longest side of the split triangular face is less than the preset side length. For irregular rectangular faces, the longest side is selected from the triangular face with a side length greater than the preset side length, the midpoint of the longest side of the triangular face that is longer than the preset side length is connected to the opposite side, and the triangular face is split to obtain two new triangles, until all side lengths are less than the preset side length, thereby ensuring that the final generated initial point cloud has a higher density.

[0095] Based on the same general inventive concept, the present invention also protects a product assembly and disassembly status detection device based on three-dimensional Gaussian sputtering. The product assembly and disassembly status detection device based on three-dimensional Gaussian sputtering provided by the present invention is described below. The product assembly and disassembly status detection device based on three-dimensional Gaussian sputtering described below and the product assembly and disassembly status detection method based on three-dimensional Gaussian sputtering described above can be referenced to each other.

[0096] Fig.11It is a structural schematic diagram of a product assembly and disassembly status detection device based on three-dimensional Gaussian sputtering provided in an embodiment of the present invention.

[0097] like Fig.11 As shown, this embodiment provides a product assembly and disassembly status detection device based on three-dimensional Gaussian sputtering, comprising:

[0098] A conversion module 1101 is used to convert a product component model in a detection scene into a triangular patch model;

[0099] A splitting module 1102 is used to split the triangular patch model based on each component to obtain a split patch model in which the side lengths of the triangular patches are all smaller than a preset side length;

[0100] An output module 1103, used for outputting the vertices of each triangular facet in the split facet model as an initial point cloud for three-dimensional Gaussian sputtering;

[0101] Arrangement module 1104, used to arrange virtual-real fusion targets at corresponding positions in the virtual model and the real scene;

[0102] The scanning module 1105 is used to scan around the product area to be tested to obtain image information and position information including the target for virtual-real fusion;

[0103] A reconstruction module 1106 is used to reconstruct a three-dimensional scene using three-dimensional Gaussian sputtering based on the image information, the posture information and the initial point cloud to obtain a scene model of the product to be tested;

[0104] The determination module 1107 is used to determine whether the installation and disassembly state of the product to be tested is an installed state or an uninstalled state based on the scenario model of the product to be tested.

[0105] Furthermore, the determination module 1107 in this embodiment is specifically used to:

[0106] Constructing an envelope of the product to be tested in the real scene, and obtaining all three-dimensional Gaussian sputtering bodies in the envelope of the corresponding position in the scene model of the product to be tested;

[0107] Determining an effective observation direction of each of the three-dimensional Gaussian sputtering bodies;

[0108] Based on the product transparency and each of the effective observation directions, the installation and disassembly state of the product to be tested is determined to be an installed state or an uninstalled state.

[0109] Furthermore, the determination module 1107 in this embodiment is specifically used to:

[0110] Taking the geometric center of the envelope as the sphere center, a plurality of observation viewpoints facing the sphere center are set on the virtual spherical surface;

[0111] The three-dimensional Gaussian sputtering body is rendered to the direction of the observation viewpoint to determine an effective observation direction.

[0112] Furthermore, the determination module 1107 in this embodiment is specifically used to:

[0113] Determine the proportion of the three-dimensional Gaussian sputtering body covering the envelope body;

[0114] When the proportion exceeds a preset proportion, the corresponding observation direction is determined to be a valid observation direction.

[0115] Furthermore, the determination module 1107 in this embodiment is specifically used to:

[0116] Determining an average pixel transparency of an effective rendering area in each of the effective viewing directions;

[0117] Determine the average value of the average pixel transparency corresponding to all the effective viewing directions;

[0118] The installation and disassembly state of the product to be tested is determined to be an installed state or an uninstalled state based on the size of the average value.

[0119] Furthermore, the determination module 1107 in this embodiment is specifically used to:

[0120] When the average value is greater than a first preset threshold, determining that the assembly and disassembly state of the product to be tested is an installed state;

[0121] When the average value is less than a second preset threshold, determining that the product to be tested is in an uninstalled state;

[0122] Wherein, the first preset threshold is greater than the second preset threshold.

[0123] Furthermore, the determination module 1107 in this embodiment is specifically used to:

[0124] When the average value is greater than the second preset threshold value and less than the first preset threshold value, the confidence level that the product is in the installed state is determined:

[0125]

[0126] Among them, D represents confidence, K represents the average value, and δ min represents the second preset threshold, δ max Indicates the first preset threshold.

[0127] Furthermore, the splitting module 1102 in this embodiment is specifically used for:

[0128] Determine the shape of each of the components to obtain a regular rectangular surface and an irregular rectangular surface;

[0129] The regular rectangular surface is split when half the length of the diagonal of the rectangle is less than the preset side length;

[0130] For the irregular rectangular face, the midpoint of the longest side of the triangular face that is longer than the preset side length is connected to the opposite side, and the triangular face is split until all side lengths are less than the preset side length.

[0131] Fig.12 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention.

[0132] like Fig.12 As shown, the electronic device may include: a processor (processor) 1210, a communication interface (Communications Interface) 1220, a memory (memory) 1230 and a communication bus 1240, wherein the processor 1210, the communication interface 1220, and the memory 1230 communicate with each other through the communication bus 1240. The processor 1210 can call the logic instructions in the memory 1230 to execute a product assembly and disassembly status detection method based on three-dimensional Gaussian sputtering, which includes: converting a product component model in a detection scene into a triangular patch model; splitting the triangular patch model in units of each component to obtain a split patch model in which the side lengths of the triangular patches are all less than a preset side length; outputting the vertices of each triangular patch in the split patch model as an initial point cloud for three-dimensional Gaussian sputtering; arranging targets for virtual-reality fusion at corresponding positions in the virtual model and the real scene; scanning around the product area to be tested to obtain image information and posture information containing the targets for virtual-reality fusion; based on the image information, the posture information and the initial point cloud, using three-dimensional Gaussian sputtering to reconstruct the three-dimensional scene to obtain a scene model of the product to be tested; based on the scene model of the product to be tested, determining whether the assembly and disassembly status of the product to be tested is an installed state or an uninstalled state.

[0133] In addition, the logic instructions in the above-mentioned memory 1230 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0134] On the other hand, the present invention also provides a computer program product, which includes a computer program, which can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the product assembly and disassembly status detection method based on three-dimensional Gaussian sputtering provided by the above methods, the method including: converting the product component model in the detection scene into a triangular patch model; splitting the triangular patch model in units of each component to obtain a split patch model in which the side lengths of the triangular patches are all less than the preset side lengths; outputting the vertices of each triangular patch in the split patch model as an initial point cloud for three-dimensional Gaussian sputtering; arranging targets for virtual-real fusion at corresponding positions in the virtual model and the real scene; scanning around the product area to be tested to obtain image information and posture information containing the target for virtual-real fusion; based on the image information, the posture information and the initial point cloud, using three-dimensional Gaussian sputtering to reconstruct the three-dimensional scene to obtain a scene model of the product to be tested; based on the scene model of the product to be tested, determining whether the assembly and disassembly status of the product to be tested is installed or not installed.

[0135] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the product assembly and disassembly status detection method based on three-dimensional Gaussian sputtering provided by the above-mentioned methods, the method comprising: converting a product component model in a detection scene into a triangular patch model; splitting the triangular patch model in units of each component to obtain a split patch model in which the side lengths of the triangular patches are all less than a preset side length; outputting the vertices of each triangular patch in the split patch model as an initial point cloud for three-dimensional Gaussian sputtering; arranging targets for virtual-reality fusion at corresponding positions in the virtual model and the real scene; scanning around the product area to be tested to obtain image information and posture information containing the target for virtual-reality fusion; based on the image information, the posture information and the initial point cloud, using three-dimensional Gaussian sputtering to reconstruct the three-dimensional scene to obtain a scene model of the product to be tested; based on the scene model of the product to be tested, determining whether the assembly and disassembly status of the product to be tested is an installed state or an uninstalled state.

[0136] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0137] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0138] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these 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.

Claims

1. A product assembly and disassembly status detection method based on three-dimensional Gaussian sputtering, characterized in that: include: Convert the product component model in the inspection scene into a triangular patch model; The triangular patch model is split based on each component to obtain a split patch model in which the side lengths of the triangular patches are all smaller than the preset side lengths; Outputting the vertices of each triangular facet in the split facet model as an initial point cloud for three-dimensional Gaussian sputtering; Arrange targets for virtual-reality fusion at corresponding positions in the virtual model and the real scene; Scanning around the product area to be tested to obtain image information and posture information including the target for virtual-real fusion; Based on the image information, the posture information and the initial point cloud, three-dimensional scene reconstruction is performed using three-dimensional Gaussian sputtering to obtain a scene model of the product to be tested; Based on the scenario model of the product to be tested, it is determined that the installation and disassembly state of the product to be tested is an installed state or an uninstalled state.

2. The product assembly and disassembly status detection method based on three-dimensional Gaussian sputtering according to claim 1 is characterized in that: The determining, based on the scenario model of the product to be tested, that the installation and disassembly state of the product to be tested is an installed state or an uninstalled state includes: Constructing an envelope of the product to be tested in the real scene, and obtaining all three-dimensional Gaussian sputtering bodies in the envelope of the corresponding position in the scene model of the product to be tested; Determining an effective observation direction of each of the three-dimensional Gaussian sputtering bodies; Based on the product transparency and each of the effective observation directions, the installation and disassembly state of the product to be tested is determined to be an installed state or an uninstalled state.

3. The product assembly and disassembly status detection method based on three-dimensional Gaussian sputtering according to claim 2 is characterized in that: Determining the effective observation direction of each of the three-dimensional Gaussian sputtering bodies comprises: Taking the geometric center of the envelope as the sphere center, a plurality of observation viewpoints facing the sphere center are set on the virtual spherical surface; The three-dimensional Gaussian sputtering body is rendered to the direction of the observation viewpoint to determine an effective observation direction.

4. The product assembly and disassembly status detection method based on three-dimensional Gaussian sputtering according to claim 3 is characterized in that: The determining of the effective observation direction comprises: Determine the proportion of the three-dimensional Gaussian sputtering body covering the envelope; When the proportion exceeds a preset proportion, the corresponding observation direction is determined to be a valid observation direction.

5. The product assembly and disassembly status detection method based on three-dimensional Gaussian sputtering according to claim 4 is characterized in that: The step of determining the installation and disassembly state of the product to be tested as an installed state or an uninstalled state based on the product transparency and each of the effective observation directions includes: Determining an average pixel transparency of an effective rendering area in each of the effective viewing directions; Determine the average value of the average pixel transparency corresponding to all the effective viewing directions; The installation and disassembly state of the product to be tested is determined to be an installed state or an uninstalled state based on the size of the average value.

6. The product assembly and disassembly status detection method based on three-dimensional Gaussian sputtering according to claim 5 is characterized in that: The determining, based on the size of the average value, that the installation and disassembly state of the product to be tested is an installed state or an uninstalled state includes: When the average value is greater than a first preset threshold, determining that the assembly and disassembly state of the product to be tested is an installed state; When the average value is less than a second preset threshold, determining that the product to be tested is in an uninstalled state; Wherein, the first preset threshold is greater than the second preset threshold.

7. The product assembly and disassembly status detection method based on three-dimensional Gaussian sputtering according to claim 6, characterized in that: Also includes: When the average value is greater than the second preset threshold value and less than the first preset threshold value, the confidence level that the product is in the installed state is determined: Among them, D represents confidence, K represents the average value, and δ min represents the second preset threshold, δ max Indicates the first preset threshold.

8. A product assembly and disassembly status detection device based on three-dimensional Gaussian sputtering, characterized in that: include: A conversion module, used to convert the product component model in the inspection scene into a triangular face model; A splitting module, used for splitting the triangular face model based on each component as a unit, to obtain a split face model in which the side lengths of the triangular face are all smaller than a preset side length; An output module, used for outputting the vertices of each triangular facet in the split facet model as an initial point cloud for three-dimensional Gaussian sputtering; A layout module is used to arrange targets for virtual-reality fusion at corresponding positions in the virtual model and the real scene; A scanning module, used to scan around the product area to be tested, and obtain image information and posture information containing the target for virtual-real fusion; A reconstruction module, used to reconstruct a three-dimensional scene by using three-dimensional Gaussian sputtering based on the image information, the posture information and the initial point cloud to obtain a scene model of the product to be tested; The determination module is used to determine whether the assembly and disassembly state of the product to be tested is an installed state or an uninstalled state based on the scenario model of the product to be tested.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the product assembly and disassembly status detection method based on three-dimensional Gaussian sputtering as described in any one of claims 1 to 7 is implemented.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for detecting the assembly and disassembly status of a product based on three-dimensional Gaussian sputtering as claimed in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Assembly state recognition method based on three-dimensional feature points

    CN113111741A

  • Tunnel blasting quality evaluation method based on three-dimensional point cloud information

    CN115035026A

  • Digital twin modeling method and simulation test system thereof

    CN116822100A

  • Neural representation modeling method based on Gaussian splash sample

    CN117934688A

  • Method of generating datapoints representing a body part

    GB202404260D0