A method and system for identifying and loading highly reflective automobile parts based on deep learning
Through the highly reflective automobile parts recognition method based on deep learning, using RGB-D images and improved point cloud completion technology, the problem of multi-category parts recognition and 6D pose estimation in industrial automation is solved, and efficient part segmentation and The pose output improves the accuracy and speed of robot grabbing.
Patent Information
- Application Number
- CN202311227014.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-22
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2043-09-22
AI Technical Summary
It is difficult for the existing technology to effectively identify and segment multiple different categories of parts in industrial automation, especially when there are severe occlusions and similar multi-target objects, and 6D pose estimation network training and testing requires a lot of time and cost, making it impossible to achieve Efficient grabbing of similar multi-target objects.
A highly reflective auto parts recognition method based on deep learning is adopted, and through RGB-D image input, the Mask Rcnn target detection network using multi-scale feature fusion of the attention mechanism is used for instance segmentation and target object detection, and the PF-NET network is improved for point cloud Complete the part, combine it with the FFB6D pose estimation network to output the 6D pose of the part, and grasp it through the robot's hand-eye calibration.
It improves the accuracy and speed of part recognition, achieves high-quality point cloud completion and pose estimation, and enhances the accuracy and efficiency of robot grabbing.
Smart Images

Figure CN117455837B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of material identification and feeding, and more specifically, to a method and system for identifying and feeding highly reflective automotive parts based on deep learning. Background Art
[0002] Bin-picking is an important task in industrial automation. With the increasing demand for flexible manufacturing in Industry 4.0, object pose recognition based on RGB / RGB-D images and point clouds has become a hot research field. In real applications, there are usually a bunch of parts randomly stacked in a bin. The main problem is that these parts belong to multiple categories and there are serious occlusions.
[0003] In robot grasping tasks, a scene usually contains multiple instances of different categories. If we can obtain instance-level segmentation or detection results, it will be more beneficial to the final pose estimation. Early object detection algorithms using local feature descriptors (such as SIFT and ORB) have difficulty completing this task, while deep learning-based methods perform well in segmentation and detection tasks.
[0004] In addition, most grasping methods use real data sets to train and test 6D pose estimation networks. The work of collecting real data sets is rather cumbersome and requires a lot of time. It is impossible to grasp multiple target objects of the same type, but most real environments often contain many similar objects, especially in industrial environments.
[0005] Therefore, the present invention studies a method and system for identifying and feeding highly reflective automotive parts based on deep learning. The method takes RGB-D images as input and outputs the 6D posture of the parts to guide the robot to grasp. Summary of the invention
[0006] The purpose of the embodiments of the present application is to provide a method and system for identifying and loading highly reflective automotive parts based on deep learning, which can use RGB-D images as input and output the 6D posture of the parts to guide the robot to grasp them.
[0007] The present application also provides a method for identifying and loading highly reflective automobile parts based on deep learning, comprising:
[0008] S1, obtain the data set, build an efficient physical simulation engine synthetic data set, expand the original data set, and train the data set to obtain the corresponding weight parameters;
[0009] S2, the Mask RCNN target detection network based on the multi-scale feature fusion of the attention mechanism performs instance segmentation and target object detection on the stacked parts to obtain the local RGB image and depth map;
[0010] S3, set the depth map of the reflective part of the part to zero, convert the depth map into a point cloud according to the camera internal parameters, and improve the PF-NET network to complete the point cloud of the removed reflective part of the part; in the encoder stage, use the pointmlp point cloud feature extraction module to extract features from the missing point clouds of three different scales, generate multi-dimensional feature vectors, and obtain high-quality point clouds;
[0011] S4, inputs the RGB image and high-quality point cloud into the FFB6D pose estimation network and outputs the pose;
[0012] S5, through robot hand-eye calibration, complete the conversion from the camera coordinate system to the robot base coordinate system, and send a grasping instruction to the robot for grasping.
[0013] Optionally, in the high-reflective automobile parts identification and feeding method based on deep learning described in the embodiment of the present application, step S1 includes: using the BlenderProc tool to randomly sample the light, camera and object positions, and rendering to obtain a synthetic data set. The object instance bounding box and mask image information annotated in the data set will be used for training the recognition network, and the annotated pose information will be used for training the 6D pose estimation network; in order to simulate the actual scene where objects are gathered and scattered, different numbers of workpieces are placed in the environment, and random background images are added.
[0014] Optionally, in the high-reflective automobile parts identification and feeding method based on deep learning described in the embodiment of the present application, the synthetic data set contains a total of 50,000 images, each image includes 10-20 parts of varying numbers; a depth camera is used to collect point cloud information of single, non-reflective 3D printed parts in different postures to produce a point cloud completion data set in shapenet format.
[0015] Optionally, in the high-reflective automotive parts identification and feeding method based on deep learning described in the embodiment of the present application, step S2 includes inputting an RGB image with a resolution of 1920×1200, cropping the RGB image and depth map according to the target bounding-box and mask mask of each part obtained by identification, and fitting a new plane to a size of 640×400 around the cropped image using the depth size around the bounding-box.
[0016] Optionally, in the method for identifying and loading highly reflective automobile parts based on deep learning described in the embodiment of the present application, after the Mask RCNN target detection network based on multi-scale feature fusion of the attention mechanism in step S2 performs instance segmentation and target object detection on the stacked parts, the method further includes:
[0017] ResNet-101 is used as the backbone of the network, and the fused and added features are used as the input of the semantic branch. The semantic information is fused into the mask branch to enhance the segmentation accuracy. According to the bounding-box and mask of each instance, the part with the highest score in the image is cropped to obtain the local RGB image and depth map.
[0018] Optionally, in the high-reflective automotive parts identification and feeding method based on deep learning described in the embodiment of the present application, in step S3, when training the PF-NET network, the number of point clouds for removing and completing the reflective parts of the parts is customized, and an attention mechanism is introduced to emphasize the features of the reflective parts in the point cloud to complete the point cloud coordinates; according to the position of the pixels in the 2D image, the depth of the point cloud closest to the pixel coordinates is found and assigned to obtain a complete depth map.
[0019] In a second aspect, the embodiment of the present application provides a high-reflective automobile parts recognition and feeding system based on deep learning, which is applied to a high-reflective automobile parts recognition and feeding method based on deep learning, including a data set generation module, a recognition module, a point cloud completion module, a posture estimation module and a robot motion module;
[0020] The data generation module uses virtual reality technology to create a data set and collect and expand sample data;
[0021] The recognition module is used to input an RGB image and crop the RGB image and the depth map according to the bounding-box and the mask;
[0022] The robot motion module is used for robot hand-eye calibration and completes the conversion from the camera coordinate system to the robot base coordinate system;
[0023] The point cloud completion module sets the depth map of the reflective part of the part to zero according to the mask and structure of the part, converts the depth map into a point cloud according to the camera intrinsic parameters, and improves the PF-NET network to complete the point cloud after removing the reflective part of the part;
[0024] The pose estimation module inputs the RGB image and the point cloud into the FFB6D pose estimation network to obtain pose information;
[0025] The robot motion module is used to control the robot's grasping action.
[0026] As can be seen from the above, the embodiment of the present application provides a method and system for identifying and feeding highly reflective automotive parts based on deep learning. By acquiring a data set, an efficient physical simulation engine is constructed to synthesize the data set, the original data set is expanded, and the data set is trained to obtain corresponding weight parameters; based on the improved Mask Rcnn target detection network, instance segmentation and target object detection are performed on the stacked parts to obtain a local RGB image and depth map; the depth map of the reflective part of the part is set to zero, and the depth map is converted into a point cloud according to the camera intrinsic parameter, and the PF-NET network is improved to complete the point cloud of the removed reflective part of the part; the point cloud feature extraction module is used to extract features from the missing point cloud to obtain a high-quality point cloud; the RGB image and the high-quality point cloud are input into the FFB6D pose estimation network to output the pose; the robot hand-eye calibration is performed, and a grasping instruction is sent to the robot for grasping.
[0027] Other features and advantages of the present application will be described in the subsequent description. The objects and advantages of the present application can be realized and obtained through the structures particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0029] Figure 1 A flow chart of a method for identifying and loading highly reflective automotive parts based on deep learning provided in an embodiment of the present application;
[0030] Figure 2 Block diagram of a high-reflective automobile parts recognition and feeding system based on deep learning provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0032] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0033] Please refer to Figure 1-2 The present invention discloses a method for identifying and loading highly reflective automobile parts based on deep learning, comprising the following steps:
[0034] S1, obtain the data set, build an efficient physical simulation engine synthetic data set, expand the original data set, and train the data set to obtain the corresponding weight parameters;
[0035] S2, the Mask RCNN target detection network based on the multi-scale feature fusion of the attention mechanism performs instance segmentation and target object detection on the stacked parts to obtain the local RGB image and depth map;
[0036] S3, set the depth map of the reflective part of the part to zero, convert the depth map into a point cloud according to the camera internal parameters, and improve the PF-NET network to complete the point cloud of the removed reflective part of the part; in the encoder stage, use the pointmlp point cloud feature extraction module to extract features from the missing point clouds of three different scales, generate multi-dimensional feature vectors, and obtain high-quality point clouds;
[0037] S4, inputs the RGB image and high-quality point cloud into the FFB6D pose estimation network and outputs the pose;
[0038] S5, through robot hand-eye calibration, complete the conversion from the camera coordinate system to the robot base coordinate system, and send a grasping instruction to the robot for grasping.
[0039] Specifically, the improved PF-NET network is an open source network, which aims to remove the point cloud of the reflective parts of the parts and regenerate the point cloud.
[0040] First, virtual reality technology is used to create a data set, and sample data is collected and expanded, including instance segmentation data sets, point cloud completion data sets, and BOP data sets. The BlenderProc tool is used to render a synthetic data set by randomly sampling the light, camera, and object positions. The object instance bounding box and mask image information annotated in the data set will be used for the training of the recognition network, and the annotated pose information will be used for the training of the 6D pose estimation network. In order to simulate the actual scene of object aggregation and scattering, different numbers of workpieces are placed in the environment and random background images are added. The synthetic data set contains a total of 50,000 images, each of which includes 10-20 parts of varying numbers. A depth camera is used to collect point cloud information of single 3D printed parts with different poses without reflection to create a point cloud completion data set in shapenet format. And the corresponding weight files are obtained by training them separately.
[0041] Based on the improved Mask RCNN target detection network, instance segmentation and target object detection are performed on stacked parts. ResNet-101 is used as the backbone of the network. The fused and added P2, P3, P4, and P5 features are used as the input of the semantic branch. The semantic information is fused into the mask branch to enhance the segmentation accuracy. According to the bounding-box and mask of each instance, the part with the highest score in the image is cropped to obtain the local RGB image and depth map of a single instance.
[0042] According to the mask and structure of the parts, the depth map of the reflective parts of the parts is set to zero, and the depth map is converted into point cloud according to the camera intrinsic parameters. The PF-NET network is improved to complete the point cloud of the removed reflective parts of the parts; in the encoder stage, the point cloud feature extraction module of pointmlp is used to extract features of missing point clouds of three different scales to generate multi-dimensional feature vectors V1, V2, and V3, which are then input into the feature fusion module composed of the spatial attention mechanism to finally obtain high-quality point clouds.
[0043] The obtained RGB image and point cloud are input into the FFB6D pose estimation network. The final-level data fusion in the encoding and decoding stages of the FFB6D pose estimation network improves the robustness of the model in different scenes with changing lighting. Finally, ICP is used to optimize the pose of the key points and output the pose.
[0044] Finally, the robot hand-eye calibration is used to complete the conversion from the camera coordinate system to the robot base coordinate system, and the grasping instruction is sent to the robot to achieve grasping.
[0045] The recognition module first inputs an RGB image with a resolution of 1920×1200, crops the RGB image and depth map according to the bounding-box and mask, and fits a new plane to a size of 640×400 around the cropped image using the depth size around the bounding-box.
[0046] Among them, when training the PF-NET network, the number of point clouds for removing and completing the reflective parts of the parts is customized, and the attention mechanism is introduced to emphasize the characteristics of the reflective parts in the point cloud to improve the network's completion accuracy.
[0047] Optionally, the (x, y) coordinates of the completed point cloud are not arranged evenly. According to the position of the pixel in the 2D image, the depth z of the point cloud closest to the pixel coordinate is found and assigned, and finally a complete depth map is obtained.
[0048] In a second aspect, the embodiment of the present application provides a high-reflective automobile parts recognition and feeding system based on deep learning, which is applied to a high-reflective automobile parts recognition and feeding method based on deep learning, including a data set generation module, a recognition module, a point cloud completion module, a posture estimation module and a robot motion module;
[0049] The data generation module uses virtual reality technology to create a data set and collect and expand sample data;
[0050] The recognition module is used to input an RGB image and crop the RGB image and the depth map according to the bounding-box and the mask;
[0051] The robot motion module is used for robot hand-eye calibration and completes the conversion from the camera coordinate system to the robot base coordinate system;
[0052] The point cloud completion module sets the depth map of the reflective part of the part to zero according to the mask and structure of the part, converts the depth map into a point cloud according to the camera intrinsic parameters, and improves the PF-NET network to complete the point cloud after removing the reflective part of the part;
[0053] The pose estimation module inputs the RGB image and the point cloud into the FFB6D pose estimation network to obtain pose information;
[0054] The robot motion module is used to control the robot's grasping action.
[0055] The invention discloses a method and system for identifying and feeding highly reflective automobile parts based on deep learning. The method acquires a data set, constructs an efficient physical simulation engine to synthesize the data set, expands the original data set, and trains the data set to obtain corresponding weight parameters. A Mask RCNN target detection network based on multi-scale feature fusion of an attention mechanism performs instance segmentation and target object detection on stacked parts to obtain a local RGB image and a depth map. The depth map of the reflective part of the part is set to zero, and the depth map is converted into a point cloud according to the camera internal parameter, and the PF-NET network is improved to complete the point cloud of the removed reflective part of the part. A point cloud feature extraction module is used to extract features from the missing point cloud to obtain a high-quality point cloud. The RGB image and the high-quality point cloud are input into an FFB6D pose estimation network to output the pose. The robot hand-eye calibration is performed, and a grasping instruction is sent to the robot for grasping, so that the part recognition accuracy is higher, the recognition speed is faster, and the part feeding accuracy is higher.
[0056] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0057] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; 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 present embodiment.
[0058] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0059] Those skilled in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a readable storage medium. When the program is executed, it executes the steps of the above method embodiments; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), disks or optical disks, and other media that can store program codes.
[0060] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
Claims
1. A method for identifying and loading highly reflective automobile parts based on deep learning, characterized in that: include: S1, obtain the data set, build an efficient physical simulation engine synthetic data set, expand the original data set, and train the data set to obtain the corresponding weight parameters; S2, the Mask RCNN target detection network based on the multi-scale feature fusion of the attention mechanism performs instance segmentation and target object detection on the stacked parts to obtain the local RGB image and depth map; S3, set the depth map of the reflective part of the part to zero, convert the depth map into a point cloud according to the camera intrinsic parameters, and improve the PF-NET network to complete the point cloud of the removed reflective part of the part; In the encoder stage, the point cloud feature extraction module of pointmlp is used to extract features from missing point clouds of three different scales, generate multi-dimensional feature vectors, and obtain high-quality point clouds; S4, inputs the RGB image and high-quality point cloud into the FFB6D pose estimation network and outputs the pose; S5, through robot hand-eye calibration, complete the conversion from the camera coordinate system to the robot base coordinate system, and send a grasping instruction to the robot to grasp; In step S2, the Mask RCNN target detection network based on the multi-scale feature fusion of the attention mechanism performs instance segmentation and target object detection on the stacked parts, and further includes: ResNet-101 is used as the backbone of the network. The fused and added features are used as the input of the semantic branch. The semantic information is fused into the mask branch to enhance the segmentation accuracy. According to the bounding-box and mask of each instance, the part with the highest score in the image is cropped to obtain the local RGB image and depth map. In step S3, when training the PF-NET network, the number of point clouds for removing and completing the reflective parts of the parts is customized, and an attention mechanism is introduced to emphasize the features of the reflective parts in the point cloud to complete the point cloud coordinates; according to the position of the pixels in the 2D image, the depth of the point cloud closest to the pixel coordinates is found and assigned to obtain a complete depth map.
2. The method for identifying and loading highly reflective automobile parts based on deep learning according to claim 1, characterized in that: Step S1 includes: using the BlenderProc tool to randomly sample the positions of lights, cameras, and objects, and rendering to obtain a synthetic data set. The object instance bounding boxes and mask image information annotated in the data set will be used to train the recognition network, and the annotated pose information will be used to train the 6D pose estimation network. In order to simulate the actual scene where objects are gathered and scattered, different numbers of artifacts are placed in the environment and random background images are added.
3. The method for identifying and loading highly reflective automobile parts based on deep learning according to claim 2 is characterized in that: The synthetic dataset contains a total of 50,000 images, each of which includes 10-20 parts. A depth camera is used to collect point cloud information of single, non-reflective 3D printed parts in different postures to create a point cloud completion dataset in Shapenet format.
4. The method for identifying and loading highly reflective automobile parts based on deep learning according to claim 3 is characterized in that: Step S2 includes inputting an RGB image with a resolution of 1920×1200, cropping the RGB image and depth map according to the target bounding-box and mask of each part obtained by recognition, and fitting a new plane to a size of 640×400 around the cropped image using the depth size around the bounding-box.
5. A high-reflective automobile parts recognition and feeding system based on deep learning, applied to the high-reflective automobile parts recognition and feeding method based on deep learning as described in any one of claims 1 to 4, characterized in that: It includes data set generation module, recognition module, point cloud completion module, pose estimation module and robot motion module; The data generation module uses virtual reality technology to create a data set and collect and expand sample data; The recognition module is used to input an RGB image and crop the RGB image and the depth map according to the bounding-box and the mask; The robot motion module is used for robot hand-eye calibration and completes the conversion from the camera coordinate system to the robot base coordinate system; The point cloud completion module sets the depth map of the reflective part of the part to zero according to the mask and structure of the part, converts the depth map into a point cloud according to the camera intrinsic parameters, and improves the PF-NET network to complete the point cloud after removing the reflective part of the part; The pose estimation module inputs the RGB image and the point cloud into the FFB6D pose estimation network to obtain pose information; The robot motion module is used to control the robot's grasping action.
Citation Information
Patent Citations
Method for actually compensating for geometrical errors of five-axis numerical control tooth manufacturing machine tool through inverse kinematics
CN106325207A
Workpiece pose recognition and robot feeding method based on point cloud simulation and deep learning
CN111046948A
Intelligent robot grabbing method based on 3D vision
CN111243017A
Class-level 6D pose and size estimation method and device
CN113012122A
Irregular object pose estimation method and device based on depth camera
CN113450408A
