Apple trunk identification and positioning method based on improved YOLOv5s and binocular vision
Through the improved YOLOv5s network model and binocular vision technology, combined with the CBAM attention mechanism and EIoU loss function, the accuracy and speed problems in fruit tree trunk detection are solved, achieving fast and accurate identification of fruit tree trunks and providing navigation coordinates, improving Orchard robot picking efficiency.
Patent Information
- Application Number
- CN202410910809.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-10-25
AI Technical Summary
The existing technology has low accuracy, slow detection speed, and large amount of calculations in detecting fruit tree trunks, which results in the inability to obtain accurate coordinate information in real time in complex field environments, affecting the efficiency of orchard robot picking.
The improved YOLOv5s network model is used, combined with binocular vision technology, to optimize target detection through the CBAM attention mechanism and EIoU loss function, improve detection accuracy and speed, and use binocular cameras to calculate three-dimensional coordinates to provide accurate information for orchard navigation.
It achieves rapid and accurate identification and positioning of fruit tree trunks, improves detection accuracy and speed, ensures that orchard robots can accurately pick in complex environments, and provides stable navigation coordinate information.
Smart Images

Figure CN118840539A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of modern agricultural intelligent equipment production, and in particular to a fruit tree trunk detection method based on improved YOLOv5s and binocular vision. Background Art
[0002] As a major fruit producer and consumer, my country has a low level of automated production and scale management, and currently relies mainly on manpower for management. Orchard operations often require a lot of manual labor. In recent years, machine vision has attracted much attention in the field of orchard machinery applications and has performed well in many aspects. With the help of machine vision technology, effective detection and identification of fruit trees has become the basis for studying path recognition in orchard environments. With the rapid development of deep learning, its performance in smart agriculture is extremely outstanding.
[0003] Traditional image processing methods are easily affected by factors such as light intensity and environment in fruit tree recognition, while deep learning has natural robustness and excellent fruit tree recognition and positioning capabilities. At the same time, it combines binocular vision information to provide more accurate coordinate information for navigation. In recent years, many excellent solutions have emerged for orchard navigation research.
[0004] The YOLOv5s network model has the disadvantages of large computational load and overly complex recognition methods for hardware facilities with weak computing power. In practical applications, the collection of fruit tree trunks is carried out in the wild with a relatively complex working environment. These can easily lead to the inability to obtain images in real time and provide accurate coordinate information for the orchard robot, which may cause the robotic arm to fail to pick fruits in a limited working space.
[0005] Therefore, in view of the existing deficiencies, designing a method for quickly and accurately identifying fruit tree trunks has become a technical problem that needs to be solved urgently. Summary of the invention
[0006] The present invention aims to solve the problems of low accuracy, slow detection speed and large amount of calculation in the existing fruit tree trunk detection, and proposes a fruit tree trunk detection and positioning method based on improved YOLOv5s and binocular vision, so that the detection and identification of fruit tree trunks is more efficient and accurate, and accurate coordinate information is provided for subsequent navigation work.
[0007] The specific technical solution adopted by the present invention is:
[0008] A method for identifying and locating an apple tree trunk based on improved YOLOv5s and binocular vision, wherein the steps of the method are as follows:
[0009] S1. Establishing a fruit tree trunk dataset: collecting apple tree trunk images, preprocessing the images to obtain an apple tree trunk dataset and dividing it into a training set, a validation set, and a test set;
[0010] S2. Build an improved YOLOv5 network model: Improve the YOLOv5 network model and train the above training set;
[0011] S3. Evaluate the obtained results: Evaluate the above obtained training results, and input the processed fruit tree trunk image into the trained network model to obtain the positioning and recognition results of the fruit tree trunk;
[0012] S4. According to the positioning and recognition results of the fruit tree trunk and the binocular depth information, the three-dimensional coordinates of the center point of the trunk are obtained.
[0013] The S1 specifically includes the following steps:
[0014] A1. Fruit tree images were taken at different distances, different lighting conditions and different angles, and 982 images with good quality were selected from the images taken;
[0015] A2. Label the tree trunk information in the image and save the labeled file as a txt file, which contains the coordinate information of the upper left corner and the upper right corner of the labeled rectangle and the type information of the label;
[0016] A3. The annotated image dataset is divided into training set, test set and validation set in the ratio of 7:2:1.
[0017] The S2 specifically includes the following steps:
[0018] B1. Network structure: YOLOv5s consists of four modules: input end, backbone network, neck network and output end;
[0019] B2. Module composition: The input module of YOLOv5s performs mosaic data addition on the image information and splices different images by random scaling, random cropping, and random arrangement. The spliced image greatly enhances the background information of the target to be detected and improves the detection effect of small targets.
[0020] The backbone network, as the main part of the network structure, adopts 6×6 Conv convolution structure, C3 structure and SPPF structure;
[0021] The C3 structure is used to build the backbone network. This module is used to divide the input feature image into two parts. One part of the feature image will be processed by a small convolutional network, and the other part will be directly processed by the next layer. The two parts of the feature image are then concatenated as the input of the next layer.
[0022] The serial SPPF is introduced on the basis of the parallel SPP. The neck network adopts the PAN and FPN structures. The FPN structure transfers the high-level feature information to the bottom-level features through the backbone network. The PAN structure introduces a bottom-up feature transfer path to transfer the bottom-level features to the high-level features, thus increasing the fusion positioning capability of the feature scale.
[0023] The output end is used to detect the target and output three feature maps of the neck network with dimensions of 20*20, 40*40 and 80*80 for the final network output;
[0024] B3. Optimization design: In actual scene applications, the features of small targets are defined by the ratio of the annotation box to the original image. In actual orchard scenes, the fruit trees are planted in a dwarf stock and densely, so the features of small targets are relatively clustered. In view of the defect of the YOLO network structure that is insensitive to small target detection, the CBAM attention mechanism is embedded in the output module of the YOLOv5s network to enhance the feature extraction capability of the target tree trunk and improve the detection accuracy. The CIoU loss function used in YOLOv5s is replaced by EIoU, which makes the regression of the target box more stable and improves the accuracy of the detected target to a certain extent.
[0025] B4. Hardware equipment: Build a PyTorch neural network training environment with Python 3.8 and CUDA 11.6; the initial image input size is 640×640, the confidence threshold is 0.5, the initial learning rate is 0.001, the weight decay coefficient is 0.0005, the model training batch size is 32, and the training iteration cycle Epoch is 300.
[0026] The method for evaluating the obtained results in step S3 is as follows:
[0027] C1. The improved YOLOv5 network model is evaluated using accuracy P, recall R, average precision mAP, and frames per second FPS. The formula is as follows:
[0028]
[0029] in,
[0030] TP is the true positive sample, indicating the number of correctly identified fruit tree trunks;
[0031] FP is the false positive sample, that is, the number of samples incorrectly identified as fruit tree trunks;
[0032] FN is the false negative sample, i.e., the number of unidentified fruit tree trunks;
[0033] M is the type of fruit tree trunk;
[0034] P(R) is the relationship between precision and recall;
[0035] C2. Use weight files to quickly and accurately identify fruit tree trunks.
[0036] The S4 specifically comprises the following steps:
[0037] D1. Use the binocular camera and the improved YOLOv5 network model to identify the trunk of the target fruit tree and obtain the two-dimensional pixel coordinates (u, v) of the center point of the fruit tree trunk, where u and v represent the number of rows and columns of pixels at that point;
[0038] D2. According to the principle of binocular camera triangulation, the depth information corresponding to the two-dimensional pixel coordinate point (u, v) is obtained, which is the distance z between the trunk of the identified fruit tree and the binocular camera. c ;
[0039] D3. First, calibrate the binocular camera, and use the calibrated binocular camera to calculate the coordinates of the two-dimensional pixel coordinate point (u, v) obtained in step D2 in the world coordinate system (x w ,y w , z w ) completes the coordinate conversion and provides coordinate reference for navigation.
[0040] The beneficial effects of the present invention are:
[0041] The present invention provides a fruit tree trunk recognition and positioning method based on improved YOLOv5s and binocular vision. First, according to the situation that the YOLOv5s model is insensitive to small target detection in actual working scenarios, a CBAM attention mechanism is introduced and the original loss function is replaced. The CBAM attention mechanism consists of a channel attention and a spatial attention mechanism. The spatial attention mechanism enables the network to pay more attention to the decisive pixel area in the image and ignore the irrelevant pixel area. It can effectively fuse features at different scales and improve the model's perception ability of features at different scales. The introduced EIOU loss function not only considers the overlapping area (IoU) between the predicted box and the real box, but also considers the center point distance between them. By minimizing the distance between the center points, the EIoU loss function can more directly optimize the position of the target box, so that the predicted box is closer to the real box. It can converge to a better result more quickly during the training process, thereby improving the target detection accuracy and speed. At the same time, the center point of the fruit tree trunk is calculated in combination with the depth information of the binocular camera, and the two-dimensional pixel points of the fruit tree trunk are converted into three-dimensional coordinate points of the camera through coordinate transformation. The present invention realizes rapid positioning of the detection target while ensuring the detection speed, and provides coordinate information for subsequent orchard navigation operations. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 A schematic diagram of a fruit tree trunk recognition and positioning process based on improved YOLOv5s and binocular vision proposed by the present invention;
[0043] Figure 2 Schematic diagram of CBAM attention mechanism;
[0044] Figure 3 Schematic diagram of the CBAM attention mechanism module;
[0045] Figure 4 Schematic diagram of CAM spatial attention module;
[0046] Figure 5 Schematic diagram of the channel attention module.
[0047] Figure 6 This is a schematic diagram of the tree trunk detection proposed by the present invention.
[0048] Figure 7 This is a schematic diagram of the binocular ranging principle proposed by the present invention.
[0049] Figure 8 This is a schematic diagram of the coordinate transformation relationship proposed by the present invention. DETAILED DESCRIPTION
[0050] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments:
[0051] The present invention is a method for identifying and locating an apple tree trunk based on improved YOLOv5s and binocular vision, wherein the steps of the method are as follows:
[0052] S1. Establishing a fruit tree trunk dataset: collecting apple tree trunk images, preprocessing the images to obtain an apple tree trunk dataset and dividing it into a training set, a validation set, and a test set;
[0053] S2. Build an improved YOLOv5s network model: Improve the YOLOv5s network model and train the above training set;
[0054] S3. Evaluate the obtained results: Evaluate the above obtained training results, and input the processed fruit tree trunk image into the trained network model to obtain the positioning and recognition results of the fruit tree trunk;
[0055] S4. According to the positioning and recognition results of the fruit tree trunk and the binocular depth information, the three-dimensional coordinates of the center point of the trunk are obtained.
[0056] The S1 specifically includes the following steps:
[0057] A1. Use the RGB camera in the binocular camera to shoot the trunks of fruit trees. In order to restore the complexity of orchard operations to the maximum extent, fruit tree images are taken from different distances, different lighting conditions and different angles. Then pre-process and filter the obtained images to remove some messy and inappropriate images, and retain data with obvious trunk features to reduce interference with training in the later stage. From the images taken, 982 images with good quality are selected, including 2,100 tree trunk information, for subsequent processing;
[0058] Use image annotation tools to annotate the fruit tree trunk data of the original data set, and use the minimum bounding box to annotate the fruit tree trunks in the image;
[0059] A2. Save the annotated tree trunk information in the image as a txt file, which contains the coordinate information of the upper left corner and the upper right corner of the rectangular box of the smallest bounding box after annotation and the type information of the label;
[0060] A3. The annotated image dataset is divided into training set, test set and validation set in the ratio of 7:2:1.
[0061] The S2 specifically includes the following steps:
[0062] B1. Network structure: YOLOv5s consists of four modules: input, backbone, neck, and head. ;
[0063] B2. Module composition: The input module of YOLOv5s performs mosaic data addition on the image information and splices different images by random scaling, random cropping, and random arrangement. The spliced image greatly enhances the background information of the target to be detected and improves the detection effect of small targets.
[0064] As the main part of the network structure, the backbone network affects the accuracy and speed of the entire network structure detection. It adopts a 6×6 Conv convolution structure, a C3 structure, and an SPPF structure. The 6×6 Conv convolution structure replaces the previous Focus slicing operation, greatly reducing the amount of calculation.
[0065] The C3 structure is used to build the backbone network. The basic function of this module is similar to the previous version of the CSP structure. It is used to divide the input feature image into two parts. One part of the feature image will be processed by a small convolutional network, and the other part will be directly processed by the next layer. The two parts of the feature image are then spliced together as the input of the next layer.
[0066] The serial SPPF is introduced on the basis of the parallel SPP, which further improves the feature expression ability and detection performance of the model. The neck network adopts the PAN and FPN structures. The FPN structure transfers the high-level feature information to the bottom-level features through the backbone network. The PAN structure introduces a bottom-up feature transfer path to transfer the bottom-level features to the high-level features, which increases the fusion positioning capability of the feature scale.
[0067] The output end is used to detect the target and output three feature maps of the neck network with dimensions of 20*20, 40*40 and 80*80 for the final network output;
[0068] B3. Optimization design: In actual scene applications, the features of small targets are defined by the ratio of the annotation box to the original image. In actual orchard scenes, the fruit trees are planted in a dwarf stock and densely, so the features of small targets are relatively clustered. In view of the defect of the YOLO network structure that is insensitive to small target detection, the CBAM attention mechanism is embedded in the output module of the YOLOv5s network to enhance the feature extraction capability of the target tree trunk and improve the detection accuracy. The CIoU loss function used in YOLOv5s is replaced by EIoU, which makes the regression of the target box more stable and improves the accuracy of the detected target to a certain extent.
[0069] The CBAM attention mechanism is embedded in the input (head) module of the YOLOv5s network to enhance the feature extraction capability of the target tree trunk and improve the detection accuracy. The CBAM attention mechanism consists of channel attention and spatial attention mechanisms. The spatial attention mechanism enables the network to pay more attention to the pixel areas with decisive information in the image and ignore irrelevant regional information. Channel attention is used to process the distribution relationship of feature map channels. At the same time, the attention distribution of two dimensions enhances the effect of the attention mechanism on improving the model performance. As shown in the attached figure, Figure 1 What I see.
[0070] CBAM is divided into CAM and SAM processes, and the feature map F∈R c×w×h First, perform global maximum pooling and global average pooling. After pooling, two vectors are obtained and then input into the shared fully connected layer, and the two vectors are added to generate a one-dimensional vector M. c , and then multiply it with the input feature map F to obtain the channel attention adjusted feature map F'.
[0071] Secondly, the feature map F' after channel attention adjustment is used as input, and the maximum pooling and average pooling are performed on the F' dimension, and then concatenated and passed through a 3×3 convolution layer to form the spatial attention M. s , and multiply it with F' to output the feature map F". Its mathematical expression is as follows:
[0072]
[0073] Aiming at improving and optimizing the CIoU loss function used in YOLOv5s, ElOU separates the influencing factors of the aspect ratio of the predicted box and the real box based on the penalty term of ClOU, and calculates the length and width of the predicted box and the real box respectively to solve the problem of CloU. This makes the target detection model significantly improved in terms of positioning accuracy, convergence speed, and processing of targets of different scales. For target detection tasks in practical applications, the EIOU loss function can provide a more stable and efficient optimization solution.
[0074] EloU consists of three parts: loU loss, distance loss, and height-width loss. The height-width loss directly minimizes the difference in height and width between the predicted target bounding box and the true bounding box, resulting in faster convergence and better positioning results.
[0075] IoU (Intersection over Union) is a metric commonly used to evaluate the performance of object detection models, especially when calculating the overlap between the predicted bounding box and the true bounding box. The IoU loss function has some limitations in learning. When two bounding boxes do not have any intersection, the IoU value is 0, which is not conducive to further learning and optimization of the model.
[0076] Considering the occurrence of the above problems, the EIoU loss function was introduced in YOLOv5s. EIoU not only considers the problem of overlapping areas between bounding boxes, but also introduces the distance between the center points of the bounding boxes, as well as the measurement method of the relative difference in the width and height of the bounding boxes. This design makes it possible for the loss function to provide effective gradients even if the two bounding boxes do not overlap, thereby promoting model training and convergence.
[0077] EIoU loss function Loss SIoU The calculation method is:
[0078] Loss EIoU =1-IoU+λ1D c +λ2(w diff +h diff )
[0079] Where λ1 and λ2 are hyperparameters that adjust the impact of center distance and width-height difference;
[0080] Among them, the calculation of IoU is to calculate the intersection area I of the two bounding boxes A and B, and calculate the union area U of the two bounding boxes. The formula for calculating IoU is: I / U; the formula for calculating the center point distance is the Euclidean distance between the center point of the predicted box and the center point of the real box. Let the coordinates of the center point of the predicted box be (x p ,y p), the coordinates of the center point of the real frame are (x g ,y g ) then the center distance D c , calculated as: Calculate the difference in aspect ratio, width w diff and height difference h diff The relative difference between the width and height of the predicted box and the real box respectively. The calculation method can be a simple difference or a proportional difference.
[0081] Table 1: Network model training parameters for this experiment
[0082]
[0083] B4. Hardware equipment: Build a PyTorch neural network training environment with Python 3.8 and CUDA 11.6; the initial image input size is 640×640, the confidence threshold is 0.5, the initial learning rate is 0.001, the weight decay coefficient is 0.0005, the model training batch size is 32, and the training iteration cycle Epoch is 300.
[0084] The method for evaluating the obtained results in step S3 is as follows:
[0085] C1. The improved YOLOv5s network model is evaluated using accuracy P, recall R, average precision mAP, and frames per second FPS. The formula is as follows:
[0086]
[0087] in,
[0088] TP is the true positive sample, indicating the number of correctly identified fruit tree trunks;
[0089] FP is the false positive sample, that is, the number of samples incorrectly identified as fruit tree trunks;
[0090] FN is the false negative sample, i.e., the number of unidentified fruit tree trunks;
[0091] M is the type of fruit tree trunk;
[0092] P(R) is the relationship between precision and recall;
[0093] C2. Use weight files to quickly and accurately identify fruit tree trunks.
[0094] After applying the improved network to the target detection task, the detection of small targets has been significantly improved, as shown in Table 2.
[0095] Table 2: Network model test results
[0096]
[0097] The S4 specifically comprises the following steps:
[0098] D1. Use the binocular camera and the improved YOLOv5s network model to identify the trunk of the target fruit tree and obtain the two-dimensional pixel coordinates (u, v) of the center point of the fruit tree trunk, where u and v represent the number of rows and columns of pixels at that point;
[0099] D2. According to the principle of binocular camera triangulation, the depth information corresponding to the two-dimensional pixel coordinate point (u, v) is obtained, which is the distance z between the trunk of the identified fruit tree and the binocular camera. c ; The specific method is as follows;
[0100]
[0101] B is the baseline distance of the binocular camera, that is, the horizontal distance between the two cameras;
[0102] f is the focal length of the camera;
[0103] d is the parallax; (The left camera and the right camera take pictures of the scene respectively, and get the left image and the right image. Find the corresponding points of the same scene point in the left image and the right image. The point (x L ,y) and the point in the right image (x R ,y) are images of the same scene point. The disparity d is the horizontal pixel difference between the corresponding points in the two images: d = x L -x R . d is the difference between the horizontal coordinates of the left and right camera pixels. )
[0104] D3. First, calibrate the binocular camera, and use the calibrated binocular camera to calculate the coordinates of the two-dimensional pixel coordinate point (u, v) obtained in step D2 in the world coordinate system (x w ,y w , z w ) completes the coordinate conversion and provides coordinate reference for navigation.
[0105] The coordinate point (x w ,y w , z w ) to complete the coordinate transformation as follows:
[0106]
[0107] Where f x 、f y , u0, v0 are the camera internal parameters, and R, T are the camera external parameters.
[0108] The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A fruit tree trunk recognition and positioning method based on improved YOLOv5s and binocular vision, characterized in that: The steps of the method are as follows: S1. Establishing a fruit tree trunk dataset: collecting apple tree trunk images, preprocessing the images to obtain an apple tree trunk dataset and dividing it into a training set, a validation set, and a test set; S2. Build an improved YOLOv5s network model: Improve the YOLOv5s network model and train the above training set; S3. Evaluate the obtained results: Evaluate the above obtained training results, and input the processed fruit tree trunk image into the trained network model to obtain the positioning and recognition results of the fruit tree trunk; S4. According to the positioning and recognition results of the fruit tree trunk and the binocular depth information, the three-dimensional coordinates of the center point of the trunk are obtained.
2. The apple tree trunk recognition and positioning method based on improved YOLOv5s and binocular vision according to claim 1 is characterized in that: The S1 specifically includes the following steps: A1. Take images of fruit trees at different distances, different lighting conditions and different angles, and select the images with better quality for subsequent processing; A2. Label the tree trunk information in the image and save the labeled file as a txt file, which contains the coordinate information of the upper left corner and the upper right corner of the labeled rectangle and the type information of the label; A3. The annotated image dataset is divided into training set, test set and validation set in the ratio of 7:2:
1.
3. The fruit tree trunk detection method based on improved YOLOv5s according to claim 1, characterized in that: The S2 specifically includes the following steps: B1. Network structure: YOLOv5s consists of four modules: input end, backbone network, neck network and output end; B2. Module composition: The input module of YOLOv5s performs mosaic data addition on the image information and splices different images by random scaling, random cropping, and random arrangement. The spliced image greatly enhances the background information of the target to be detected and improves the detection effect of small targets. The backbone network, as the main part of the network structure, adopts 6×6 Conv convolution structure, C3 structure and SPPF structure; The C3 structure is used to build the backbone network. This module is used to divide the input feature image into two parts. One part of the feature image will be processed by a small convolutional network, and the other part will be directly processed by the next layer. The two parts of the feature image are then concatenated as the input of the next layer. The serial SPPF is introduced on the basis of the parallel SPP. The neck network adopts the PAN and FPN structures. The FPN structure transfers the high-level feature information to the bottom-level features through the backbone network. The PAN structure introduces a bottom-up feature transfer path to transfer the bottom-level features to the high-level features, thus increasing the fusion positioning capability of the feature scale. The output end is used to detect the target and output three feature maps of the neck network with dimensions of 20*20, 40*40 and 80*80 for the final network output; B3. Optimization design: In actual scene applications, the features of small targets are defined by the ratio of the annotation box to the original image. In actual orchard scenes, the fruit trees are planted in a dwarf stock and densely, so the features of small targets are relatively clustered. In view of the defect of the YOLO network structure that is insensitive to small target detection, the CBAM attention mechanism is embedded in the output module of the YOLOv5s network to enhance the feature extraction capability of the target tree trunk and improve the detection accuracy. The CIoU loss function used in YOLOv5s is replaced by EIoU, which makes the regression of the target box more stable and improves the accuracy of the detected target to a certain extent. B4. Hardware equipment: Build a PyTorch neural network training environment with Python 3.8 and CUDA 11.6; the initial image input size is 640×640, the confidence threshold is 0.5, the initial learning rate is 0.001, the weight decay coefficient is 0.0005, the model training batch size is 32, and the training iteration cycle Epoch is 300.
4. The fruit tree trunk detection method based on improved YOLOv5s and binocular vision according to claim 1, characterized in that: The method for evaluating the obtained results in step S3 is as follows: C1. The improved YOLOv5 network model is evaluated using accuracy P, recall R, average precision mAP, and frames per second FPS. The formula is as follows: in, TP is the true positive sample, indicating the number of correctly identified fruit tree trunks; FP is the false positive sample, that is, the number of samples incorrectly identified as fruit tree trunks; FN is the false negative sample, i.e., the number of unidentified fruit tree trunks; M is the type of fruit tree trunk; P(R) is the relationship between precision and recall; C2. Use weight files to quickly and accurately identify fruit tree trunks.
5. The fruit tree trunk detection method based on improved YOLOv5s and binocular vision according to claim 1, characterized in that: The S4 specifically comprises the following steps: D1. Use the binocular camera and the improved YOLOv5s network model to identify the trunk of the target fruit tree and obtain the two-dimensional pixel coordinates (u, v) of the center point of the fruit tree trunk, where u and v represent the number of rows and columns of pixels at that point; D2. According to the principle of binocular camera triangulation, the depth information corresponding to the two-dimensional pixel coordinate point (u, v) is obtained, which is the distance z between the identified fruit tree trunk and the binocular camera. c ; D3. First, calibrate the binocular camera, and use the calibrated binocular camera to calculate the coordinates of the two-dimensional pixel coordinate point (u, v) obtained in step D2 in the world coordinate system (x w ,y w , z w ) completes the coordinate conversion and provides coordinate reference for navigation.
Citation Information
Cited By
Apple identification and positioning method in automatic apple picking process
CN119672706A
Power plant resin regeneration backwashing layering identification method and system based on YOLOv8 model
CN120472461A
Automatic vibration fruit shaking machine
CN224084171U
