A method, device and equipment for visual alignment of ladle based on deep learning semantic segmentation and point cloud registration
Through deep learning semantic segmentation and point cloud registration technology, the problem of inaccurate alignment between the ladle and the trolley in dimly lit environments is solved, and high-precision position estimation and rapid registration of the ladle are achieved, ensuring accurate alignment during the casting process. Bit.
Patent Information
- Application Number
- CN202111256869.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-27
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2041-10-27
AI Technical Summary
In dimly lit environments, color two-dimensional image information is difficult to provide sufficient operating information, resulting in inaccurate precise alignment of the ladle and the trolley.
The semantic segmentation method based on deep learning is used to perform pixel-level segmentation of the ladle color image using the SegNet network, and combined with the depth map collected by the RGB-D camera, the point cloud of the ladle segmentation image is extracted, and then the point cloud is extracted through a semi-supervised fast point cloud registration method. Cloud registration accurately estimates the position of the ladle.
It improves the image segmentation accuracy and point cloud registration speed, achieves precise alignment of the trolley and the ladle, and meets the real-time alignment requirements of the casting process.
Smart Images

Figure CN114092530B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image processing technology, and in particular to a ladle visual alignment method, device and equipment based on deep learning semantic segmentation and point cloud registration. Background Art
[0002] In the casting process of automotive structural parts, covers, metal products, etc., ladle acceptance and transportation have always been the most dangerous part of the casting process. Especially during casting, if the ladle is crooked, many foundries still manually control and adjust the ladle's posture, which is very dangerous for the operators. How to accurately identify the ladle's posture and the distance from the carrier trolley and accurately and perfectly place the ladle on the carrier trolley is the key to realizing casting automation.
[0003] Traditional visual positioning methods include monocular visual positioning, binocular visual positioning, RGB-D cameras, etc. Monocular visual positioning uses a camera to complete the positioning work. The main principle is to establish the corresponding projection transformation relationship between the spatial target feature points and the image feature points through the camera mathematical model, so as to determine the position information of the target feature points. Binocular vision positioning imitates the human eyes to perceive the spatial depth of the surrounding environment. Two cameras are used to shoot the same scene from different positions, match the captured image pairs, calculate the parallax, and then use the triangulation principle to achieve distance measurement. RGB-D cameras mainly use structured light and time-of-flight methods to construct three-dimensional information of the target, and can measure the depth information of the picture at the same time. In addition to traditional visual positioning methods, the more popular visual positioning and target posture recognition methods based on the combination of deep learning and RGB-D cameras are currently more popular.
[0004] With the widespread application of RGB-D cameras, people have proposed a large number of efficient and practical methods for object pose estimation. Zhao Hui, Li Hao and others proposed in "Dwarf Apple Recognition and Positioning Based on RGB-D Camera" to obtain color images and depth images of fruit trees through KinectV2 cameras, and then use the improved U-net network to perform semantic segmentation on the color images, fuse the segmented images with the depth images for filtering, obtain the point cloud of the apple area, realize the recognition of apple fruits and obtain the spatial position and shape information of the fruits. Xu Hui proposed a method combining a fully convolutional neural network (FCN) with ICP point cloud registration technology to realize robot visual perception in "Research on Robot Visual Perception and Motion Planning Methods for Human-Robot Collaboration". Xing Yuquan and Pan Jinyi proposed a gesture recognition method based on a deep learning model of semantic segmentation for gesture segmentation combined with transfer learning neural network recognition in "Gesture Recognition Based on Semantic Segmentation and Transfer Learning". In "Point Cloud Target Recognition and Registration Based on Deep Learning", Li Xinyue combined deep learning with point cloud registration algorithms, used the Point Net network to train point cloud features with high precision and high recall rate, and proposed a correspondence iteration algorithm to improve the operating efficiency and success rate of registration, and realized the automatic extraction of the parts to be tested and the positioning of objects during robot grasping.
[0005] There is an urgent need to design a ladle visual alignment method that can solve the problem that color two-dimensional image information is difficult to provide sufficient operating information for the precise alignment of the trolley and the ladle in a dim light environment, resulting in inaccurate alignment. Summary of the invention
[0006] The present invention provides a ladle visual alignment method, device and equipment based on deep learning semantic segmentation and point cloud registration, so as to solve the problem that color two-dimensional image information is difficult to provide sufficient operating information for accurate alignment of the trolley and the ladle in a dim light environment, resulting in inaccurate alignment, and realize accurate alignment of the trolley and the ladle in the casting process.
[0007] The technical solution provided by the present invention is as follows:
[0008] On the one hand, a ladle visual alignment method based on deep learning semantic segmentation and point cloud registration comprises the following steps:
[0009] Step 1, using an RGB-D camera to collect color images and depth images of the ladle at different angles;
[0010] Step 2, marking the outline of the ladle color map;
[0011] Step 3, using the ladle color image with contour annotation, training the SegNet network, so that the SegNet network performs pixel-level semantic segmentation on the ladle color image to obtain a ladle segmentation map;
[0012] Step 4, combining the ladle segmentation map with the corresponding ladle depth map collected at the same time, and extracting the point cloud of the ladle segmentation map;
[0013] Step 5, the ladle segmentation point cloud and the ladle original point cloud collected by the RGB-D camera are aligned by a semi-supervised fast point cloud alignment method, and the aligned ladle position information is output to obtain the ladle position estimation;
[0014] Step 6, move the ladle carrier trolley to the estimated position of the ladle, and then place the ladle on the ladle carrier trolley to complete the alignment of the ladle carrier trolley and the ladle.
[0015] Furthermore, the SegNet network is used to perform pixel-level semantic segmentation on the ladle color image. The specific process of obtaining the ladle segmentation image is as follows:
[0016] Step 3.1, scaling the ladle color image to a specified size;
[0017] Since the size of the original data is inconsistent with the input size of the convolutional neural network, the input image needs to be scaled. SegNet requires the input size to be 480*360;
[0018] Use the nearest neighbor interpolation scaling method to scale the image to the specified size;
[0019] Step 3.2, after normalizing the pixel values of the scaled ladle color image using a tangent function, randomly flip it;
[0020] Normalization is to speed up training, eliminate singular samples and improve model accuracy. The purpose of flipping is data enhancement. Since there are few data samples, the sample data can be increased by changing the spatial position of the image.
[0021] Step 3.3, inputting the ladle color image obtained in step 3.2 into the encoder network of the SegNet network to extract the ladle color image features;
[0022] In step 3.4, the color image features of the ladle obtained in step 3.3 are input into the decoder network of the SegNet network, the color image of the ladle is classified based on the features, and then Softmax is used to output the maximum value of different classifications to obtain the final segmentation map.
[0023] The decoder network is a process of deconvolution and upsampling. Deconvolution allows the features of the image to be reproduced after classification, and upsampling restores the image to its original size.
[0024] SegNet achieves image segmentation by classifying each pixel in the image and identifying the category of each pixel.
[0025] Furthermore, when collecting the RGB color image and depth image of the ladle through the RGB-D camera, the KinectV2RGB-D camera was selected. The RGB image resolution is 1920*1080, the depth image resolution is 512*424, and the detection range of the Kinect V2 camera is 0.5m to 4.5m.
[0026] Before the actual shooting, the RGB-D camera needs to be calibrated to obtain the internal and external parameters of the camera. Then, the Kinect V2 camera is used to shoot the ladle image data at different angles to obtain the RGB color image and depth image of the ladle.
[0027] Furthermore, the contour annotation of the ladle color image is performed by adopting a pixel-level annotation method, and the Labelme annotation tool is used to perform pixel-level annotation on the collected ladle color image, segment the shape of the ladle, and obtain the annotation label.
[0028] Furthermore, the specific process of point cloud registration of the ladle segmentation map and the original point cloud of the ladle collected by the RGB-D camera is as follows:
[0029] Step 5.1, take the original point cloud of the ladle collected by the RGB-D camera as the source point cloud P, take the point cloud of the ladle segmentation map as the target point cloud Q, take the source point cloud P and the target point cloud Q as input data, input them into the encoder network with 13 convolutional layers, and extract the features of the source point cloud P and the target point cloud Q: source point cloud feature FP and target point cloud feature FQ;
[0030] Step 5.2, input the source point cloud feature FP and the target point cloud feature FQ into the decoder network composed of 4 fully connected layers to obtain the restored point cloud information;
[0031] Step 5.3, calculating the feature projection error r between the source point cloud feature FP and the target point cloud feature FQ, and updating the decoder network parameters according to the size of the error;
[0032]
[0033] Among them, g is the rigid transformation matrix, F() is the global feature of the point cloud, p represents the source point cloud, and Q represents the target point cloud;
[0034] Step 5.4, calculate the Jacobian matrix J of the source point cloud feature FP i ;
[0035]
[0036] Step 5.5, based on the characteristic projection error and Jacobian matrix J iCalculate the increment Δθ, input the increment Δθ and the point cloud information output by the decoder obtained in step 5.2 into the loss function, back-propagate the calculated loss function value to the decoder network and the encoder network, update the parameters of the entire decoder network and the encoder network until the error of the loss function value is minimized, complete the registration of the source point cloud P and the target point cloud Q, and obtain the three-dimensional spatial position information of the ladle;
[0037] Δθ=-(J i T J i ) -1 J i r.
[0038] On the other hand, a ladle visual alignment device based on deep learning semantic segmentation and point cloud registration comprises:
[0039] An image acquisition unit, used for acquiring color images and depth images of the ladle at different angles through an RGB-D camera;
[0040] Contour marking unit, used to mark the contour of the ladle color map;
[0041] The segmentation unit uses the ladle color image with contour annotation to train the SegNet network, so that the SegNet network performs pixel-level semantic segmentation on the ladle color image to obtain the ladle segmentation image;
[0042] A segmentation map point cloud extraction unit, used for combining the ladle segmentation map with the corresponding ladle depth map collected at the same time, and extracting the ladle segmentation map point cloud;
[0043] The ladle pose estimation unit is used to perform point cloud registration on the ladle segmentation map point cloud and the original point cloud of the ladle collected by the RGB-D camera through a semi-supervised fast point cloud registration method, and output the registered ladle position information to obtain the ladle position estimation;
[0044] The alignment unit moves the ladle transport trolley to the estimated position of the ladle, and then places the ladle on the ladle transport trolley to complete the alignment of the ladle transport trolley and the ladle.
[0045] Furthermore, the ladle pose estimation unit performs point cloud registration of the ladle segmentation map point cloud and the ladle original point cloud collected by the RGB-D camera through a semi-supervised fast point cloud registration method as follows:
[0046] Step 5.1, take the original point cloud of the ladle collected by the RGB-D camera as the source point cloud P, take the point cloud of the ladle segmentation map as the target point cloud Q, take the source point cloud P and the target point cloud Q as input data, input them into the encoder network with 13 convolutional layers, and extract the features of the source point cloud P and the target point cloud Q: source point cloud feature FP and target point cloud feature FQ;
[0047] Step 5.2, input the source point cloud feature FP and the target point cloud feature FQ into the decoder network composed of 4 fully connected layers to obtain the restored point cloud information;
[0048] Step 5.3, calculating the feature projection error r between the source point cloud feature FP and the target point cloud feature FQ, and updating the decoder network parameters according to the size of the error;
[0049]
[0050] Among them, g is the rigid transformation matrix, F() is the global feature of the point cloud, p represents the source point cloud, and Q represents the target point cloud;
[0051] Step 5.4, calculate the Jacobian matrix J of the source point cloud feature FP i ;
[0052]
[0053] Step 5.5, based on the characteristic projection error and Jacobian matrix J i Calculate the increment Δθ, input the increment Δθ and the point cloud information output by the decoder obtained in step 5.2 into the loss function, back-propagate the calculated loss function value to the decoder network and the encoder network, update the parameters of the entire decoder network and the encoder network until the error of the loss function value is minimized, complete the registration of the source point cloud P and the target point cloud Q, and obtain the three-dimensional spatial position information of the ladle;
[0054] Δθ=-(J i T J i ) -1 J i r.
[0055] On the other hand, an electronic device includes a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, the above-mentioned ladle visual alignment method based on deep learning semantic segmentation and point cloud registration is implemented.
[0056] Beneficial Effects
[0057] Compared with the prior art, the advantages of the present invention are embodied in the following points:
[0058] (1) Higher image segmentation accuracy. Traditional image semantic segmentation mainly extracts relevant features such as texture, color, and shape of the image, and then feeds a series of feature information into the classifier to predict the target category in the image. This type of method often has a single feature and contains too little image information, resulting in unsatisfactory segmentation effect. The present invention adopts a deep learning semantic segmentation method, and uses the SegNet neural network to train a large amount of labeled ladle image data to extract higher-dimensional feature information of the ladle image, which can achieve pixel-level high-precision classification.
[0059] (2) The ladle point cloud registration speed is fast and can accurately locate the ladle's posture. The posture estimation results obtained by the traditional point cloud feature matching method are relatively rough and slow. The present invention adopts a semi-supervised fast point cloud registration algorithm to align the original point cloud with the ladle point cloud information segmented by SegNet, and designs a fast feature measurement point cloud registration framework, which optimizes the network parameters by minimizing the feature projection error. This method can achieve fast and accurate output of the ladle's posture information, and can meet the real-time and accurate positioning of the trolley with the ladle. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 A flowchart of the method described in the example of the present invention;
[0061] Figure 2 Flow chart for pixel-level semantic segmentation of ladle color images using SegNet network;
[0062] Figure 3 This is a flowchart of a semi-supervised fast point cloud registration method according to an example of the present invention. DETAILED DESCRIPTION
[0063] The present invention will be further described below with reference to the accompanying drawings and embodiments.
[0064] like Figure 1 As shown, a ladle visual alignment method based on deep learning semantic segmentation and point cloud registration includes the following steps:
[0065] Step 1, using an RGB-D camera to collect color images and depth images of the ladle at different angles;
[0066] Before collecting ladle image data, we need the location information of the ladle. There are many ways to obtain the target location information, such as binocular vision, lidar and RGB-D camera. Because binocular vision is sensitive to light and has a slow processing speed, and lidar is easily affected by the environment, we choose RGB-D camera to obtain the ladle location information; when collecting the RGB color image and depth image of the ladle through the RGB-D camera, the Kinect V2 RGB-D camera is selected. The RGB image resolution is 1920*1080, and the depth image resolution is 512*424. The detection range of the Kinect V2 camera is 0.5m to 4.5m.
[0067] Before the actual shooting, the RGB-D camera needs to be calibrated to obtain the internal and external parameters of the camera. Then, the Kinect V2 camera is used to shoot the ladle image data at different angles (10°, 20°, 30°, 40°, etc.) to obtain the RGB color image and depth image of the ladle.
[0068] Step 2, marking the outline of the ladle color map;
[0069] The contour annotation of the ladle color image is performed by adopting the pixel-level annotation method. The Labelme annotation tool is used to perform pixel-level annotation on the collected ladle color image, segment the shape of the ladle, and obtain the annotation label.
[0070] Step 3, using the ladle color image with contour annotation to train the SegNet network, and using the SegNet network to perform pixel-level semantic segmentation on the ladle color image to obtain a ladle segmentation map;
[0071] The SegNet network is used to perform pixel-level semantic segmentation on the ladle color image. The specific process of obtaining the ladle segmentation image is as follows:
[0072] Step 3.1, scaling the ladle color image to a specified size;
[0073] Since the size of the original data is inconsistent with the input size of the convolutional neural network, the input image needs to be scaled. SegNet requires the input size to be 480*360;
[0074] Use the nearest neighbor interpolation scaling method to scale the image to the specified size;
[0075] Step 3.2, using the tangent function to normalize the pixel values of the scaled ladle color image to the interval (-1,1), and then randomly flipping it;
[0076] Normalization is to speed up training, eliminate singular samples and improve model accuracy. Flipping is for data enhancement. By flipping the image by 90, 180, 270 degrees, etc., the sample data is increased. Since the data samples are small, the sample data is increased by changing the spatial position of the image.
[0077] Step 3.3, inputting the ladle color image obtained in step 3.2 into the encoder network of the SegNet network to extract the ladle color image features;
[0078] In step 3.4, the color image features of the ladle obtained in step 3.3 are input into the decoder network of the SegNet network, the color image of the ladle is classified based on the features, and then Softmax is used to output the maximum value of different classifications to obtain the final segmentation map.
[0079] The decoder network is a process of deconvolution and upsampling. Deconvolution allows the features of the image to be reproduced after classification, and upsampling restores the image to its original size.
[0080] SegNet achieves image segmentation by classifying each pixel in the image and identifying the category of each pixel.
[0081] Step 4, combining the ladle segmentation map with the corresponding ladle depth map collected at the same time, and extracting the point cloud of the ladle segmentation map;
[0082] Step 5, the ladle segmentation point cloud and the ladle original point cloud collected by the RGB-D camera are aligned by a semi-supervised fast point cloud alignment method, and the aligned ladle position information is output to obtain the ladle position estimation;
[0083] The specific process of point cloud registration of the ladle segmentation map point cloud and the ladle original point cloud collected by the RGB-D camera through the semi-supervised fast point cloud registration method is as follows:
[0084] Step 5.1, take the original point cloud of the ladle collected by the RGB-D camera as the source point cloud P, take the point cloud of the ladle segmentation map as the target point cloud Q, take the source point cloud P and the target point cloud Q as input data, input them into the encoder network with 13 convolutional layers, and extract the features of the source point cloud P and the target point cloud Q: source point cloud feature FP and target point cloud feature FQ;
[0085] Step 5.2, input the source point cloud feature FP and the target point cloud feature FQ into the decoder network composed of 4 fully connected layers to obtain the restored point cloud information;
[0086] Step 5.3, calculating the feature projection error r between the source point cloud feature FP and the target point cloud feature FQ, and updating the decoder network parameters according to the size of the error;
[0087]
[0088] Among them, g is the rigid transformation matrix, F() is the global feature of the point cloud, p represents the source point cloud, and Q represents the target point cloud;
[0089] Step 5.4, calculate the Jacobian matrix J of the source point cloud feature FP i ;
[0090]
[0091] Step 5.5, based on the characteristic projection error and Jacobian matrix J i Calculate the increment Δθ, input the increment Δθ and the point cloud information output by the decoder obtained in step 5.2 into the loss function, back-propagate the calculated loss function value to the decoder network and the encoder network, update the parameters of the entire decoder network and the encoder network until the error of the loss function value is minimized, complete the registration of the source point cloud P and the target point cloud Q, and obtain the three-dimensional spatial position information of the ladle;
[0092] Δθ=-(J i T J i ) -1 J i r.
[0093] Step 6, move the ladle carrier trolley to the estimated position of the ladle, and then place the ladle on the ladle carrier trolley to complete the alignment of the ladle carrier trolley and the ladle.
[0094] A ladle visual alignment device based on deep learning semantic segmentation and point cloud registration, comprising:
[0095] An image acquisition unit, used for acquiring color images and depth images of the ladle at different angles through an RGB-D camera;
[0096] Contour marking unit, used to mark the contour of the ladle color map;
[0097] The segmentation unit uses the ladle color image with contour annotation to train the SegNet network, so that the SegNet network performs pixel-level semantic segmentation on the ladle color image to obtain the ladle segmentation image;
[0098] A segmentation map point cloud extraction unit, used for combining the ladle segmentation map with the corresponding ladle depth map collected at the same time, and extracting the ladle segmentation map point cloud;
[0099] The ladle pose estimation unit is used to perform point cloud registration on the ladle segmentation map point cloud and the original point cloud of the ladle collected by the RGB-D camera through a semi-supervised fast point cloud registration method, and output the registered ladle position information to obtain the ladle position estimation;
[0100] The alignment unit moves the ladle transport trolley to the estimated position of the ladle, and then places the ladle on the ladle transport trolley to complete the alignment of the ladle transport trolley and the ladle.
[0101] An electronic device comprises a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and is characterized in that when the processor executes the computer program, the above-mentioned ladle visual alignment method based on deep learning semantic segmentation and point cloud registration is implemented.
[0102] It should be understood that the functional unit modules in various embodiments of the present invention may be concentrated in one processing unit, or each unit module may exist physically separately, or two or more unit modules may be integrated in one unit module, and may be implemented in the form of hardware or software.
[0103] 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 above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention should be included in the scope of the claims of the present invention.
Claims
1. A ladle visual alignment method based on deep learning semantic segmentation and point cloud registration, characterized in that: The following steps are involved: Step 1, using an RGB-D camera to collect color images and depth images of the ladle at different angles; Step 2, marking the outline of the ladle color map; Step 3, using the ladle color image with contour annotation, training the SegNet network, so that the SegNet network performs pixel-level semantic segmentation on the ladle color image to obtain a ladle segmentation map; Step 4, combining the ladle segmentation map with the corresponding ladle depth map collected at the same time, and extracting the point cloud of the ladle segmentation map; Step 5, the ladle segmentation point cloud and the ladle original point cloud collected by the RGB-D camera are aligned by a semi-supervised fast point cloud alignment method, and the aligned ladle position information is output to obtain the ladle position estimation; Step 6, move the ladle carrier trolley to the estimated position of the ladle, and then place the ladle on the ladle carrier trolley to complete the alignment of the ladle carrier trolley and the ladle; The specific process of point cloud registration of the ladle segmentation map point cloud and the ladle original point cloud collected by the RGB-D camera through the semi-supervised fast point cloud registration method is as follows: Step 5.1, take the original point cloud of the ladle collected by the RGB-D camera as the source point cloud P, take the point cloud of the ladle segmentation map as the target point cloud Q, take the source point cloud P and the target point cloud Q as input data, input them into the encoder network with 13 convolutional layers, and extract the features of the source point cloud P and the target point cloud Q: source point cloud feature FP and target point cloud feature FQ; Step 5.2, input the source point cloud feature FP and the target point cloud feature FQ into the decoder network composed of 4 fully connected layers to obtain the restored point cloud information; Step 5.3, calculating the feature projection error r between the source point cloud feature FP and the target point cloud feature FQ, and updating the decoder network parameters according to the size of the error; Among them, g is the rigid transformation matrix, F() is the global feature of the point cloud, p represents the source point cloud, and Q represents the target point cloud; Step 5.4, calculate the Jacobian matrix J of the source point cloud feature FP i ; Step 5.5, based on the characteristic projection error and Jacobian matrix J i Calculate the increment Δθ, input the increment Δθ and the point cloud information output by the decoder obtained in step 5.2 into the loss function, back-propagate the calculated loss function value to the decoder network and the encoder network, update the parameters of the entire decoder network and the encoder network until the error of the loss function value is minimized, complete the registration of the source point cloud P and the target point cloud Q, and obtain the three-dimensional spatial position information of the ladle; Δθ=-(J i T J i ) -1 J i r.
2. The method according to claim 1, characterized in that The SegNet network is used to perform pixel-level semantic segmentation on the ladle color image. The specific process of obtaining the ladle segmentation image is as follows: Step 3.1, scaling the ladle color image to a specified size; Step 3.2, after normalizing the pixel values of the scaled ladle color image using a tangent function, randomly flip it; Step 3.3, inputting the ladle color image obtained in step 3.2 into the encoder network of the SegNet network to extract the ladle color image features; In step 3.4, the color image features of the ladle obtained in step 3.3 are input into the decoder network of the SegNet network, the color image of the ladle is classified based on the features, and then Softmax is used to output the maximum value of different classifications to obtain the final segmentation map.
3. The method according to claim 1, characterized in that When collecting the RGB color image and depth image of the ladle through the RGB-D camera, the Kinect V2 RGB-D camera was selected. The RGB image resolution is 1920*1080, the depth image resolution is 512*424, and the detection range of the Kinect V2 camera is 0.5m to 4.5m.
4. The method according to claim 1, characterized in that: The contour annotation of the ladle color image is performed by adopting the pixel-level annotation method. The Labelme annotation tool is used to perform pixel-level annotation on the collected ladle color image, segment the shape of the ladle, and obtain the annotation label.
5. A ladle visual alignment device based on deep learning semantic segmentation and point cloud registration, characterized in that: include: An image acquisition unit, used for acquiring color images and depth images of the ladle at different angles through an RGB-D camera; Contour marking unit, used to mark the contour of the ladle color map; The segmentation unit uses the ladle color image with contour annotation to train the SegNet network, so that the SegNet network performs pixel-level semantic segmentation on the ladle color image to obtain the ladle segmentation image; A segmentation map point cloud extraction unit, used for combining the ladle segmentation map with the corresponding ladle depth map collected at the same time, and extracting the ladle segmentation map point cloud; The ladle pose estimation unit is used to perform point cloud registration on the ladle segmentation map point cloud and the original point cloud of the ladle collected by the RGB-D camera through a semi-supervised fast point cloud registration method, and output the registered ladle position information to obtain the ladle position estimation; The alignment unit moves the ladle carrier trolley to the estimated position of the ladle, and then places the ladle on the ladle carrier trolley to complete the alignment between the ladle carrier trolley and the ladle; The specific process of the ladle pose estimation unit performing point cloud registration on the ladle segmentation map point cloud and the ladle original point cloud collected by the RGB-D camera through a semi-supervised fast point cloud registration method is as follows: Step 5.1, take the original point cloud of the ladle collected by the RGB-D camera as the source point cloud P, take the point cloud of the ladle segmentation map as the target point cloud Q, take the source point cloud P and the target point cloud Q as input data, input them into the encoder network with 13 convolutional layers, and extract the features of the source point cloud P and the target point cloud Q: source point cloud feature FP and target point cloud feature FQ; Step 5.2, input the source point cloud feature FP and the target point cloud feature FQ into the decoder network composed of 4 fully connected layers to obtain the restored point cloud information; Step 5.3, calculating the feature projection error r between the source point cloud feature FP and the target point cloud feature FQ, and updating the decoder network parameters according to the size of the error; Among them, g is the rigid transformation matrix, F() is the global feature of the point cloud, p represents the source point cloud, and Q represents the target point cloud; Step 5.4, calculate the Jacobian matrix J of the source point cloud feature FP i ; Step 5.5, based on the characteristic projection error and Jacobian matrix J i Calculate the increment Δθ, input the increment Δθ and the point cloud information output by the decoder obtained in step 5.2 into the loss function, back-propagate the calculated loss function value to the decoder network and the encoder network, update the parameters of the entire decoder network and the encoder network until the error of the loss function value is minimized, complete the registration of the source point cloud P and the target point cloud Q, and obtain the three-dimensional spatial position information of the ladle; Δθ=-(J i T J i ) -1 J i r.
6. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 4 is implemented.
Citation Information
Cited By
Automatic steel ladle alignment method and device based on visual intelligent perception
CN122798860A
