Vision tracking correction method, device, equipment and storage medium based on pan / tilt

By improving the visual tracking correction method of the gimbal's visual tracking system and utilizing the feature fusion of images and point cloud data, the problem of low target positioning and correction accuracy in the existing technology has been solved, and high accuracy in complex environments has been achieved. Performance tracking effects.

CN118608570BActive Publication Date: 2024-10-22HOHEM TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411074041.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-07
Publication Date
2024-10-22
Estimated Expiration
2044-08-07

AI Technical Summary

Technical Problem

The visual tracking system of the existing gimbal cannot be dynamically adjusted, resulting in low accuracy of target positioning and correction, especially in complex and dynamic environments, which is difficult to meet high-performance requirements.

Method used

The visual tracking correction method based on the PTZ is used to obtain the target area image and the target point cloud data collected by the lidar module, perform multiple data enhancement and feature extraction, combine the image and point cloud data for feature fusion, and generate dynamic tracking correction parameters. Achieve fast and accurate tracking of goals.

Benefits of technology

It improves the gimbal’s dynamic adjustment and visual tracking capabilities for targets, enhances tracking performance in complex environments, and improves the accuracy of target correction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118608570B_ABST
    Figure CN118608570B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of target tracking technology, and discloses a visual tracking correction method, device, equipment and storage medium based on a gimbal. The method includes: acquiring a target area image and target point cloud data, and performing multiple data enhancements on the acquired data respectively; extracting the boundaries and categories in the target area image, and determining the target image features, and centering the gimbal image to obtain an initial visual tracking result; separating the non-ground point cloud data in the target point cloud data, and performing target clustering on the non-ground point cloud data; extracting the target point cloud features of the clustering results, and calculating the feature fusion degree of the acquired data; performing feature fusion on the acquired data, and generating a predicted target state at the next moment; generating the dynamic tracking correction parameters of the gimbal at the next moment, and performing tracking correction on the initial visual tracking result to obtain a correction result. The present application realizes the dynamic adjustment and visual tracking of the gimbal, and improves the accuracy of the correction of related targets.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of target tracking technology, and in particular to a pan-tilt-based visual tracking correction method, device, equipment and storage medium. Background Art

[0002] With the development of smart devices and mobile Internet technology, people can easily record their wonderful lives. In order to further improve the shooting quality, handheld gimbal devices are gradually being sought after as a portable device to improve shooting quality. Among them, the visual tracking system in the handheld gimbal device plays a vital role in stabilizing the target image, so as to accurately locate and track dynamic targets and maintain high stability and accuracy in a changing environment. However, due to the complexity of the external environment, such as lighting changes, occlusions, and rapid movement of targets, the existing gimbal visual tracking system faces a series of challenges. Especially in terms of tracking accuracy and real-time performance, the traditional gimbal visual tracking system often finds it difficult to meet the high performance requirements, that is, the existing gimbal visual tracking system cannot dynamically adjust the visual tracking algorithm, resulting in low accuracy in positioning and correction of related targets. Summary of the invention

[0003] The main purpose of the present invention is to solve the problem that the existing pan-tilt visual tracking system cannot be dynamically adjusted and the visual tracking algorithm cannot be dynamically adjusted, resulting in low accuracy in positioning and correcting related targets.

[0004] A first aspect of the present invention provides a gimbal-based visual tracking and correction method, which is applied to a visual tracking and correction system. The visual tracking and correction system includes a laser radar module, a perception fusion module and a tracking and correction module. The gimbal-based visual tracking and correction method includes: acquiring a target area image of the gimbal and target point cloud data collected by the laser radar module, and performing multiple data enhancements on the target area image and the target point cloud data respectively to obtain an enhanced target area image and enhanced target point cloud data; extracting a target image boundary and a target image category in the enhanced target area image, and determining target image features in the target area image based on the target image boundary and the target image category, and centering the image based on the target image features through the tracking and correction module to obtain an initial visual tracking result; based on the point cloud slope corresponding to the enhanced target point cloud data The method comprises the following steps: separating the non-ground point cloud data from the enhanced target point cloud data, and performing target clustering on the non-ground point cloud data based on the segmented clustering radius corresponding to the non-ground point cloud data to obtain clustered non-ground point cloud data; extracting target point cloud features of the clustered non-ground point cloud data, and calculating the feature fusion degree of the target image features and the target point cloud features; based on the feature fusion degree, performing feature fusion on the target image features and the target point cloud features through the perception fusion module to obtain target fusion features, and based on the target fusion features, generating a predicted target state at the next moment through the tracking and correction module; based on the predicted target state, generating dynamic tracking correction parameters of the gimbal at the next moment, and based on the dynamic tracking correction parameters, performing visual tracking correction on the captured target in the initial visual tracking result to obtain a visual tracking correction result of the gimbal.

[0005] Optionally, in a first implementation method of the first aspect of the present invention, the target area image and the target point cloud data are respectively subjected to multiple data enhancements to obtain an enhanced target area image and enhanced target point cloud data, including: performing Gaussian filtering and image grayscale on the target area image to obtain a grayscale target area image, and performing multi-exposure fusion image enhancement on the grayscale target area image to obtain an enhanced target area image; based on a preset point cloud segmentation strategy, segmenting the target point cloud data into multiple voxel grids, calculating the center point coordinates of each of the voxel grids, and downsampling the target point cloud data based on the center point coordinates to generate enhanced target point cloud data.

[0006] Optionally, in a second implementation method of the first aspect of the present invention, the target image boundary and the target image category in the enhanced target area image are extracted, and based on the target image boundary and the target image category, the target image features in the target area image are determined, and based on the target image features, the image is centered through the tracking correction module to obtain an initial visual tracking result, including: extracting the original feature map in the enhanced target area image, and calculating the global average pooling features of each position of the original feature map; using the global average pooling features to fuse the original feature map to obtain a fused original feature map, and predicting the predicted bounding box in the fused original feature map, and matching the predicted bounding box to a variety of image border parameters corresponding to the real bounding box. ; Calculate the comprehensive border loss value corresponding to the image border parameter, and based on the comprehensive border loss value, update the image border parameter until the preset border loss threshold is met, and generate the target image boundary in the enhanced target area image; Calculate the category probability of each image target within the target image boundary, and based on the category probability, determine the target image category in the enhanced target area image, and based on the target image boundary and the target image category, extract the target image features of each image target in the target area image in two-dimensional space; Based on the target image features, determine the shooting target that meets the preset relative motion target from each of the image targets, and use the tracking correction module to center the image of the shooting target to obtain an initial visual tracking result.

[0007] Optionally, in a third implementation method of the first aspect of the present invention, based on the point cloud slope corresponding to the enhanced target point cloud data, the non-ground point cloud data in the enhanced target point cloud data is separated, and based on the segmented clustering radius corresponding to the non-ground point cloud data, the non-ground point cloud data is subjected to target clustering to obtain clustered non-ground point cloud data, including: dividing the enhanced target point cloud data into multiple point cloud local areas, and calculating the local plane normal corresponding to each of the point cloud local areas; calculating the angle between the point coordinates corresponding to each of the point cloud local areas and the local plane normal to obtain the point cloud slope, and judging whether the point cloud slope is less than a preset slope threshold; if If the slope of the point cloud is not less than a preset slope threshold, the target point cloud data corresponding to the local area of ​​the point cloud is segmented as non-ground point cloud data, and the ground point cloud data in the enhanced target point cloud data is removed, and the clustering radius of the local area of ​​the point cloud corresponding to each non-ground point cloud data is calculated; based on the clustering radius, the non-ground point cloud data is initially clustered, and in the initial target clustering, the clustering radius is adjusted based on a preset segmentation threshold to obtain a segmented clustering radius, and based on the segmented clustering radius, the results of the initial target clustering are clustered and merged for the second time until the segmented clustering radius is greater than the preset radius threshold to obtain clustered non-ground point cloud data.

[0008] Optionally, in a fourth implementation method of the first aspect of the present invention, the target point cloud features of the clustered non-ground point cloud data are extracted, and the feature fusion degree of the target image features and the target point cloud features is calculated, including: extracting multiple point cloud border structure information from the clustered non-ground point cloud data, and determining the target point cloud features of the clustered non-ground point cloud data in three-dimensional space based on the point cloud border structure information; synchronously matching the time and space coordinates of the target image features and the target point cloud features, and calculating the three-dimensional bounding box projection of the three-dimensional points in the matched target point cloud features in the two-dimensional image in the matched target image features; calculating the boundary intersection area and boundary union area between the two-dimensional projection bounding box of the three-dimensional bounding box projection and the corresponding target image boundary and target image category in the target image features, and comparing the overlap between the boundary intersection area and the boundary union area to obtain the feature fusion degree.

[0009] Optionally, in a fifth implementation manner of the first aspect of the present invention, based on the feature fusion degree, the target image features and the target point cloud features are subjected to feature fusion through the perception fusion module to obtain target fusion features, and based on the target fusion features, a predicted target state at the next moment is generated through the tracking and correction module, including: based on the feature fusion degree, a plurality of bounding box parameters in the target image features and the target point cloud features are subjected to parameter consistency adjustment through the perception fusion module, and weighted bounding box parameters between the adjusted target image features and the adjusted target point cloud features are calculated; based on the weighted bounding box parameters, a target fusion feature is generated, and a process noise matrix during the gimbal visual tracking is obtained; based on the target fusion feature and the process noise matrix, the predicted target state at the next moment is mapped out through the state transition model in the tracking and correction module.

[0010] Optionally, in a sixth implementation method of the first aspect of the present invention, generating the dynamic tracking correction parameters of the gimbal at the next moment based on the predicted target state includes: extracting the predicted target features of the predicted target state, and comparing the feature similarity between the predicted target features and the target fusion features; obtaining the current position parameters of the gimbal and the historical position parameters at the previous moment, and judging whether the feature similarity is greater than a preset similarity threshold; if the feature similarity is greater than the preset similarity threshold, generating the dynamic tracking correction parameters of the gimbal at the next moment based on the position difference between the current position parameters and the historical position parameters; if the feature similarity is not greater than the preset similarity threshold, calculating the state difference value between the predicted target state and the current target state corresponding to the target fusion feature, and generating the dynamic tracking correction parameters of the gimbal at the next moment based on the state difference value.

[0011] The second aspect of the present invention provides a gimbal-based visual tracking and correction device, which is applied to a visual tracking and correction system. The visual tracking and correction system includes a laser radar module, a perception fusion module and a tracking and correction module. The gimbal-based visual tracking and correction device includes: a data enhancement module, which is used to obtain the target area image of the gimbal and the target point cloud data collected by the laser radar module, and perform multiple data enhancements on the target area image and the target point cloud data respectively to obtain an enhanced target area image and enhanced target point cloud data; a feature extraction module, which is used to extract the target image boundary and the target image category in the enhanced target area image, and determine the target image features in the target area image based on the target image boundary and the target image category, and obtain the initial visual tracking result by centering the image through the tracking and correction module based on the target image features; a target clustering module, which is used to obtain the target point cloud data corresponding to the enhanced target point cloud data; slope, separating the non-ground point cloud data in the enhanced target point cloud data, and performing target clustering on the non-ground point cloud data based on the segmented clustering radius corresponding to the non-ground point cloud data to obtain the clustered non-ground point cloud data; a calculation module, used to extract the target point cloud features of the clustered non-ground point cloud data, and calculate the feature fusion degree of the target image features and the target point cloud features; a state prediction module, used to perform feature fusion on the target image features and the target point cloud features through the perception fusion module based on the feature fusion degree to obtain the target fusion feature, and based on the target fusion feature, generate the predicted target state at the next moment through the tracking correction module; a tracking correction module, used to generate the dynamic tracking correction parameters of the gimbal at the next moment based on the predicted target state, and based on the dynamic tracking correction parameters, perform visual tracking correction on the captured target in the initial visual tracking result to obtain the visual tracking correction result of the gimbal.

[0012] The third aspect of the present invention provides a gimbal-based visual tracking and correction device, comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the gimbal-based visual tracking and correction device performs the various steps of the above-mentioned gimbal-based visual tracking and correction method.

[0013] A fourth aspect of the present invention provides a computer-readable storage medium, which stores instructions. When the computer-readable storage medium is run on a computer, it enables the computer to execute the various steps of the above-mentioned gimbal-based visual tracking correction method.

[0014] The above-mentioned gimbal-based visual tracking correction method, device, equipment and storage medium. In the embodiment of the present invention, by acquiring the target area image of the gimbal and the target point cloud data collected by the laser radar module, and performing multiple data enhancements on the target area image and the target point cloud data respectively, an enhanced target area image and enhanced target point cloud data are obtained; the target image boundary and target image category in the enhanced target area image are extracted, and based on the target image boundary and the target image category, the target image features in the target area image are determined, and based on the target image features, the image is centered through the tracking correction module to obtain the initial visual tracking result; based on the point cloud slope corresponding to the enhanced target point cloud data, the non-ground point cloud data in the enhanced target point cloud data is separated, and based on the non-ground point cloud data According to the corresponding segmented clustering radius, the non-ground point cloud data is clustered to obtain the clustered non-ground point cloud data; the target point cloud features of the clustered non-ground point cloud data are extracted, and the feature fusion degree of the target image features and the target point cloud features is calculated; based on the feature fusion degree, the target image features and the target point cloud features are fused through the perception fusion module to obtain the target fusion features, and based on the target fusion features, the predicted target state at the next moment is generated through the tracking correction module; based on the predicted target state, the dynamic tracking correction parameters of the gimbal at the next moment are generated, and based on the dynamic tracking correction parameters, the captured target in the initial visual tracking result is visually tracked and corrected to obtain the visual tracking correction result of the gimbal. Compared with the prior art, the present application extracts the target image features corresponding to the target area image collected by the camera, and extracts the target point cloud features corresponding to the target point cloud data collected by the laser radar, and then calculates the feature fusion degree between the target image features and the target point cloud features, thereby fusing the target image features and the target point cloud features to generate target fusion features, and then by predicting the predicted target state at the next moment, generates the corresponding dynamic tracking correction parameters to perform visual tracking correction on the captured target in the initial visual tracking result, and obtains the visual tracking correction result of the gimbal. The image data and point cloud data are used to achieve fast and accurate tracking of the target, and high tracking performance can be maintained even in complex and dynamically changing environments, realizing the dynamic adjustment and visual tracking of the gimbal to the relevant targets, and improving the accuracy of the correction of the relevant targets.

[0015] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.

[0016] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 It is a schematic diagram of a first embodiment of a gimbal-based visual tracking correction method in an embodiment of the present invention;

[0018] Figure 2 Schematic diagram of a second embodiment of a gimbal-based visual tracking correction method in an embodiment of the present invention;

[0019] Figure 3 Schematic diagram of an embodiment of a gimbal-based visual tracking correction device in an embodiment of the present invention;

[0020] Figure 4 It is a schematic diagram of an embodiment of a gimbal-based visual tracking and correction device in an embodiment of the present invention. DETAILED DESCRIPTION

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

[0022] The terms "including" and "having" and any variations thereof mentioned in the embodiments of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device end including a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or device ends.

[0023] To facilitate understanding of this embodiment, the specific process of the embodiment of the present invention is described below. Figure 1 The first embodiment of the visual tracking correction method based on the pan-tilt platform in the embodiment of the present invention includes:

[0024] 101. Acquire a target area image of the gimbal and target point cloud data collected by the laser radar module, and perform multiple data enhancement on the target area image and the target point cloud data respectively to obtain an enhanced target area image and enhanced target point cloud data;

[0025] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.

[0026] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.

[0027] In this embodiment, the visual tracking and correction system includes a laser radar module, a perception fusion module and a tracking and correction module, wherein the laser radar module is used to collect point cloud data of the target environment when the gimbal is working, the perception fusion module is used to fuse and perceive the feature data corresponding to the target area image and the target point cloud data, and the tracking and correction module generates the gimbal tracking correction for the captured target based on the predicted target state at the next moment. The target area image here refers to the image of the target area captured by the gimbal's built-in camera or an external camera added to the gimbal; the target point cloud data here refers to the point cloud data of the target area collected by the laser radar module on the gimbal; the multiple data enhancement here refers to the preprocessing of the target area image and the target point cloud data with multiple data enhancements to enhance the feature data of the related targets. After acquiring the target area image and target point cloud data, the target area image is subjected to Gaussian filtering and image grayscale to obtain a grayscale target area image, and the grayscale target area image is subjected to multi-exposure fusion image enhancement to obtain an enhanced target area image; based on a preset point cloud segmentation strategy, multiple voxel grids of the target point cloud data are segmented, and the coordinates of the center point of each voxel grid are calculated, and the target point cloud data is downsampled based on the coordinates of each center point to generate enhanced target point cloud data.

[0028] In practical applications, the target area image is collected through the built-in camera of the gimbal or the external camera bound to the gimbal, and the target point cloud data is collected by the laser radar module of the gimbal; then, in the processing of the target area image, Gaussian filtering technology is used to smooth the image and remove random noise in the target area image, and the color image is converted into a grayscale image through image grayscale processing, and then the grayscale image is enhanced by multi-exposure fusion to improve the image quality and make the details of the target area more clearly visible; in the processing of point cloud data, based on the preset point cloud segmentation strategy, the target point cloud data is segmented into multiple voxel grids, and the center point coordinates of each voxel grid are calculated, and then the center point coordinates are used to downsample the target point cloud data, that is, by selectively retaining the data points in the target point cloud data and removing redundant information, a more streamlined point cloud data set is generated, which improves the accuracy and robustness of target detection, tracking and correction.

[0029] 102. Extracting a target image boundary and a target image category in the enhanced target area image, and determining target image features in the target area image based on the target image boundary and the target image category, and centering the image through a tracking correction module based on the target image features to obtain an initial visual tracking result;

[0030] In this embodiment, the target image boundary here refers to the range boundary corresponding to the captured target in the target area image; the target image category here refers to the category of the captured target in the target area image; and the initial visual tracking result here is the result of shooting the current captured target with the image centered. The original feature map in the enhanced target area image is extracted, and the global average pooling features of each position of the original feature map are calculated; the original feature map is fused using the global average pooling features to obtain the fused original feature map, and the predicted bounding box in the fused original feature map is predicted, as well as a variety of image border parameters that match the predicted bounding box to the real bounding box; the border comprehensive loss value corresponding to the image border parameter is calculated, and based on the border comprehensive loss value, the image border parameter is updated until the preset border loss threshold is met to generate the target image boundary in the enhanced target area image; the category probability of each image target within the target image boundary is calculated, and based on the category probability, the target image category in the enhanced target area image is determined, and based on the target image boundary and the target image category, the target image features of each image target in the target area image in two-dimensional space are extracted; based on the target image features, the shooting target that meets the preset relative motion target is determined from each image target, and the shooting target is image-centered through the tracking correction module to obtain the initial visual tracking result.

[0031] In practical applications, the original visual features of different levels are automatically learned from the target area image through a deep learning model to obtain the original feature map, and the average value of each channel of the entire original feature map is calculated to generate a single global feature vector. The calculation formula of the global average pooling feature is as follows:

[0032]

[0033] in, represents the original feature map, and Represent the height and width of the feature map respectively, It is the first Line The element value of the column; then the obtained global average pooling feature is combined with the original feature map to enhance the expression ability of the feature map, where the fused original feature map pass Get here, It is a weight parameter used to balance the original features and the global average pooling features, which can be adjusted according to the specific shooting scene; then the object detection network is used to predict the position and size of the bounding box. The accuracy of the predicted bounding box depends on a variety of image border parameters, including the center coordinates of the bounding box. ,width ,high , and the class probabilities and confidence In order to improve the accuracy of the predicted bounding box, it is necessary to calculate the comprehensive loss value of the border , and update the image border parameters based on this loss value. The calculation of the comprehensive border loss value uses the following formula:

[0034]

[0035] in, and Represent the predicted bounding box and the true bounding box respectively, and IoU represents the intersection over union ratio between the two; and Represent the predicted and true confidence labels respectively; and Represent the predicted and true category probabilities respectively; is the weight parameter used to balance different loss items, CE() is the cross entropy, and the image border parameters are continuously updated by the gradient descent method until the comprehensive border loss value is Meet the preset border loss threshold , to ensure the accuracy of the predicted bounding box, thereby generating the target image boundary in the target area image. After obtaining the target image boundary, the softmax function is used to convert the feature vector into a probability distribution to determine the category of each target. The formula is:

[0036]

[0037] in, is the raw classification score output by the model, is the total number of categories, It corresponds to The target image features of each image target in the target area image in two-dimensional space are extracted based on the target image boundary and target image category. These features include not only the position and size of the target, but also the shape, texture and other attributes of the target. Then, through these features, the shooting target that meets the preset relative motion target is determined from the image. The tracking correction module adjusts the position and posture of the gimbal so that the target is located in the center of the image, thereby achieving stable visual tracking.

[0038] 103. Based on the point cloud slope corresponding to the enhanced target point cloud data, separate the non-ground point cloud data in the enhanced target point cloud data, and based on the segmented clustering radius corresponding to the non-ground point cloud data, perform target clustering on the non-ground point cloud data to obtain clustered non-ground point cloud data;

[0039] In this embodiment, the non-ground point cloud data here refers to the data after the ground-related data is removed from the point cloud data. By dividing the enhanced target point cloud data into multiple point cloud local areas, and calculating the local plane normal corresponding to each point cloud local area; calculating the angle between the point coordinates corresponding to each point cloud local area and the local plane normal, the point cloud slope is obtained, and it is determined whether the point cloud slope is less than the preset slope threshold; if the point cloud slope is not less than the preset slope threshold, the target point cloud data corresponding to the point cloud local area is segmented as non-ground point cloud data, and the ground point cloud data in the enhanced target point cloud data is removed, and the clustering radius of the point cloud local area corresponding to each non-ground point cloud data is calculated; based on the clustering radius, the non-ground point cloud data is initially clustered, and in the initial target clustering, the clustering radius is adjusted based on the preset segmentation threshold to obtain the segmented clustering radius, and based on the segmented clustering radius, the result of the initial target clustering is clustered and merged twice, until the segmented clustering radius is greater than the preset radius threshold, and the clustered non-ground point cloud data is obtained.

[0040] In practical applications, according to the spatial distribution characteristics of point clouds, the entire point cloud data set is decomposed into multiple local areas. Each local area contains a group of points that are adjacent in space. Then, for each local area, the corresponding local plane normal is calculated. The calculation of the local plane normal is achieved by performing the least squares plane fitting on the points in the local area. The normal calculation formula is as follows:

[0041]

[0042] in, represents the normal of the local plane, It is the first in the local area The coordinates of the points, yes Projection on the fitting plane. After obtaining the local plane normal, the angle between the coordinates of each point in the local area and the local plane normal (i.e. the point cloud slope) is calculated by vector dot multiplication and arc cosine function, where the vector dot multiplication and arc cosine function are as follows:

[0043]

[0044] Then, it is determined whether the point cloud slope is less than the preset slope threshold. If the point cloud slope is less than the preset slope threshold, the point is considered to be ground point cloud data; if it is not less than the threshold, it is considered to be non-ground point cloud data, and the ground point cloud data in the enhanced target point cloud data is removed, and the Euclidean clustering algorithm is used to perform local clustering on each non-ground point cloud data to obtain the clustering radius; then, based on the initial target clustering, the clustering radius is adjusted according to the preset segmentation threshold to obtain the segmented clustering radius, wherein this adjustment process allows the clustering algorithm to adapt to different density areas of the point cloud and improve the clustering effect. The adjustment formula is as follows: in, is the initial cluster radius, is the adjusted segment clustering radius, It is an adjustment function determined according to the segmentation threshold. Finally, based on the segmentation clustering radius, the initial target clustering results are clustered and merged for the second time, merging those clustering results with overlapping or close clustering radii until the segmentation clustering radius is larger than the preset radius threshold. The final clustered non-ground point cloud data is obtained, so that meaningful target point clouds can be effectively extracted from the enhanced target point cloud data, providing accurate three-dimensional spatial information for subsequent target tracking and visual correction.

[0045] 104. Extracting target point cloud features of the clustered non-ground point cloud data, and calculating the feature fusion degree of the target image features and the target point cloud features;

[0046] In this embodiment, by extracting multiple point cloud border structure information from the clustered non-ground point cloud data, and based on the point cloud border structure information, the target point cloud features of the clustered non-ground point cloud data in three-dimensional space are determined; then, the target image features and the target point cloud features are synchronously matched in terms of time and space coordinates, and the three-dimensional bounding box projection of the three-dimensional points in the matched target point cloud features in the two-dimensional image in the matched target image features is calculated; thereby, the boundary intersection area and boundary union area between the two-dimensional projection bounding box of the three-dimensional bounding box projection and the corresponding target image boundary and target image category in the target image features are calculated, and the overlap between the boundary intersection area and the boundary union area is compared to obtain the feature fusion degree.

[0047] 105. Based on the feature fusion degree, the target image features and the target point cloud features are fused through the perception fusion module to obtain the target fusion features, and based on the target fusion features, the predicted target state at the next moment is generated through the tracking correction module;

[0048] In this embodiment, based on the feature fusion degree, the perception fusion module is used to adjust the consistency of parameters of various bounding box parameters in the target image features and the target point cloud features, and the weighted bounding box parameters between the adjusted target image features and the adjusted target point cloud features are calculated; then based on the weighted bounding box parameters, the target fusion features are generated, and the process noise matrix during gimbal visual tracking is obtained; thus, based on the target fusion features and the process noise matrix, the predicted target state at the next moment is mapped out through the state transition model in the tracking correction module.

[0049] In practical applications, based on the above-mentioned feature fusion degree, the perception fusion module is used to dynamically adjust the bounding box parameters of various bounding box parameters in the target image features and the target point cloud features, so that the two-dimensional image features and the three-dimensional point cloud features are consistent in the representation of the bounding box, and different weights are assigned to each bounding box parameter according to the feature fusion degree. The calculation formula of the weighted bounding box parameter is as follows:

[0050]

[0051] in, represents the weighted bounding box parameters, and denote the bounding box parameters from the image and point cloud, respectively, Is a weight factor between 0 and 1, which is dynamically adjusted according to the feature fusion degree. Then, by integrating the bounding box information in the image and point cloud data, a more comprehensive and accurate target representation (i.e., target fusion feature) is obtained, and the target fusion feature not only contains the position and size information of the target, but also integrates the rich attributes from different sensors. Then, when obtaining the process noise matrix (which describes the uncertainty and random fluctuations in the tracking process) and the process noise matrix (which is estimated by analyzing the historical data of the tracking system) during the gimbal visual tracking, the state transition model (a model composed of Kalman filter) in the tracking correction module is used. The state transition model is expressed as: ,in, is the predicted state at the next moment, is the state transition matrix, is the estimated state at the current moment, is the process noise vector, which is derived from the process noise matrix The target fusion features and process noise matrix are combined to map the predicted target state at the next moment. This not only achieves accurate extraction and fusion of target features, but also can accurately predict the future state of the target in a dynamic environment.

[0052] 106. Based on the predicted target state, a dynamic tracking correction parameter of the gimbal at the next moment is generated, and based on the dynamic tracking correction parameter, a visual tracking correction is performed on the captured target in the initial visual tracking result to obtain a visual tracking correction result of the gimbal.

[0053] In this embodiment, the predicted target features of the predicted target state are extracted, and the feature similarity between the predicted target features and the target fusion features is compared; then, the current position parameters of the gimbal and the historical position parameters of the previous moment are obtained, and it is determined whether the feature similarity is greater than a preset similarity threshold. If the feature similarity is greater than the preset similarity threshold, the dynamic tracking correction parameters of the gimbal at the next moment are generated based on the position difference between the current position parameters and the historical position parameters; if the feature similarity is not greater than the preset similarity threshold, the state difference value between the predicted target state and the current target state corresponding to the target fusion feature is calculated, and the dynamic tracking correction parameters of the gimbal at the next moment are generated based on the state difference value.

[0054] In practical applications, the predicted target features are extracted from the predicted target state. These features may include visual information such as the shape, size, texture, and motion information such as position and speed of the target, and the feature similarity between the predicted target features and the target fusion features is compared, that is, the distance metric between the two is calculated, such as Euclidean distance, cosine similarity, or structural similarity index. The calculation formula of feature similarity is expressed as: in, and Represent the predicted target features and target fusion features respectively, and is a similarity calculation function. And while calculating the feature similarity, the current position parameters of the gimbal and the historical position parameters of the previous moment are obtained (where these parameters provide detailed information about the gimbal movement, including translation, rotation, etc.), and then it is determined whether the feature similarity is greater than the preset similarity threshold. If the feature similarity is greater than the threshold, this indicates that the predicted target feature and the target fusion feature are similar enough, and the dynamic tracking correction parameters of the gimbal at the next moment are generated based on the position difference between the current position parameters and the historical position parameters; if the feature similarity is not greater than the preset similarity threshold, the state difference value between the predicted target state and the current target state corresponding to the target fusion feature is calculated, and based on the state difference value, the dynamic tracking correction parameters of the gimbal at the next moment are generated, thereby guiding the gimbal to make necessary adjustments to keep the target in the best position in the field of view. Among them, the generation formula of the dynamic tracking correction parameters is expressed as: ,in, is the state difference value, and It is a correction parameter generation function, and finally performs visual tracking correction on the captured target in the initial visual tracking result according to the dynamic tracking correction parameters, so as to ensure that the gimbal can accurately aim at the target and maintain stable tracking even when the target moves quickly or changes in appearance.

[0055] In the embodiment of the present invention, the present application extracts the target image features corresponding to the target area image collected by the camera, and extracts the target point cloud features corresponding to the target point cloud data collected by the laser radar, and then calculates the feature fusion degree between the target image features and the target point cloud features, thereby fusing the target image features and the target point cloud features to generate target fusion features, and then by predicting the predicted target state at the next moment, generates corresponding dynamic tracking correction parameters to perform visual tracking correction on the captured target in the initial visual tracking result, and obtains the visual tracking correction result of the gimbal. The image data and point cloud data are used to achieve fast and accurate tracking of the target, and high tracking performance can be maintained even in complex and dynamically changing environments, realizing the dynamic adjustment and visual tracking of the gimbal to the relevant targets, and improving the accuracy of the correction of the relevant targets.

[0056] See also Figure 2 The second embodiment of the visual tracking correction method based on the pan-tilt platform in the embodiment of the present invention includes:

[0057] 201. Acquire a target area image of the PTZ and target point cloud data collected by the laser radar module, and perform multiple data enhancement on the target area image and the target point cloud data respectively to obtain an enhanced target area image and enhanced target point cloud data;

[0058] 202. Extracting a target image boundary and a target image category in the enhanced target area image, and determining target image features in the target area image based on the target image boundary and the target image category, and centering the image through a tracking correction module based on the target image features to obtain an initial visual tracking result;

[0059] 203. Based on the point cloud slope corresponding to the enhanced target point cloud data, separate the non-ground point cloud data in the enhanced target point cloud data, and based on the segmented clustering radius corresponding to the non-ground point cloud data, perform target clustering on the non-ground point cloud data to obtain clustered non-ground point cloud data;

[0060] 204. Extracting multiple point cloud frame structure information from the clustered non-ground point cloud data, and determining target point cloud features of the clustered non-ground point cloud data in three-dimensional space based on the point cloud frame structure information;

[0061] In this embodiment, a variety of border structure information is extracted from the clustered non-ground point cloud data. This information includes the coordinates of the boundary points of the point cloud in the point cloud, as well as attributes such as the shape and size of the boundary, thereby the geometric outline of the target object in the three-dimensional space. These point cloud border structure information are then used to determine the target point cloud features of the clustered non-ground point cloud data in the three-dimensional space.

[0062] 205. Performing synchronous matching of the time and space coordinates of the target image features and the target point cloud features, and calculating a three-dimensional bounding box projection of the three-dimensional point in the matched target point cloud features on the two-dimensional image in the matched target image features;

[0063] In this embodiment, the target image features and the target point cloud features are synchronously matched in terms of time and space coordinates, that is, the three-dimensional spatial information in the point cloud data is associated with the two-dimensional visual information in the image data, and the three-dimensional point cloud coordinates are converted to the same coordinate system as the image by using the calibrated camera intrinsics and extrinsics, so as to achieve accurate correspondence between the point cloud and the image and complete coordinate matching; then, the three-dimensional bounding box projection of the three-dimensional points in the matched target point cloud features on the two-dimensional image in the matched target image features is calculated, that is, each vertex of the three-dimensional bounding box is projected onto the two-dimensional image plane, and the projection of the three-dimensional bounding box after projection is determined.

[0064] 206. Calculate the boundary intersection area and boundary union area between the two-dimensional projection boundary box of the three-dimensional boundary box projection and the corresponding target image boundary and target image category in the target image feature, and compare the overlap between the boundary intersection area and the boundary union area to obtain the feature fusion degree;

[0065] In this embodiment, each vertex in the three-dimensional bounding box is mapped to the two-dimensional image plane through the projection model of the camera, that is, the intrinsic parameter matrix of the camera is used. and the external parameter matrix , the three-dimensional space coordinates Convert to 2D image coordinates , and its projection formula is , after obtaining the two-dimensional projection bounding box, it is then compared with the target image boundary in the target image feature, that is, based on calculating the intersection area and the union area (where the intersection area refers to the part where the two-dimensional projection bounding box overlaps with the target image boundary, and the union area is the total area covered by the two), by traversing the pixels of the bounding box and accumulating the overlapping parts; and then calculating the overlap between the intersection area and the union area (that is, the loU value) to evaluate the degree of match between the two-dimensional projection bounding box and the target image boundary, where the higher the IoU value, the more accurate the correspondence between the projection bounding box and the target image boundary.

[0066] 207. Based on the feature fusion degree, the target image feature and the target point cloud feature are fused through the perception fusion module to obtain the target fusion feature, and based on the target fusion feature, the predicted target state at the next moment is generated through the tracking correction module;

[0067] 208. Based on the predicted target state, a dynamic tracking correction parameter of the gimbal at the next moment is generated, and based on the dynamic tracking correction parameter, a visual tracking correction is performed on the captured target in the initial visual tracking result to obtain a visual tracking correction result of the gimbal.

[0068] In the embodiment of the present invention, the present application extracts the target image features corresponding to the target area image collected by the camera, and extracts the target point cloud features corresponding to the target point cloud data collected by the laser radar, and then calculates the feature fusion degree between the target image features and the target point cloud features, thereby fusing the target image features and the target point cloud features to generate target fusion features, and then by predicting the predicted target state at the next moment, generates corresponding dynamic tracking correction parameters to perform visual tracking correction on the captured target in the initial visual tracking result, and obtains the visual tracking correction result of the gimbal. The image data and point cloud data are used to achieve fast and accurate tracking of the target, and high tracking performance can be maintained even in complex and dynamically changing environments, realizing the dynamic adjustment and visual tracking of the gimbal to the relevant targets, and improving the accuracy of the correction of the relevant targets.

[0069] The above describes the visual tracking correction method based on the pan-tilt platform in the embodiment of the present invention. The following describes the visual tracking correction device based on the pan-tilt platform in the embodiment of the present invention. Figure 3 In one embodiment of the present invention, a visual tracking correction device based on a pan-tilt platform includes:

[0070] A data enhancement module, used to obtain the target area image of the pan / tilt platform and the target point cloud data collected by the laser radar module, and perform multiple data enhancements on the target area image and the target point cloud data respectively to obtain an enhanced target area image and enhanced target point cloud data;

[0071] A feature extraction module, used to extract the target image boundary and the target image category in the enhanced target area image, and determine the target image features in the target area image based on the target image boundary and the target image category, and perform image centering through the tracking correction module based on the target image features to obtain an initial visual tracking result;

[0072] A target clustering module, used for separating non-ground point cloud data in the enhanced target point cloud data based on the point cloud slope corresponding to the enhanced target point cloud data, and performing target clustering on the non-ground point cloud data based on the segmented clustering radius corresponding to the non-ground point cloud data to obtain clustered non-ground point cloud data;

[0073] A calculation module, used to extract the target point cloud features of the clustered non-ground point cloud data, and calculate the feature fusion degree of the target image features and the target point cloud features;

[0074] A state prediction module, configured to perform feature fusion on the target image feature and the target point cloud feature through the perception fusion module based on the feature fusion degree to obtain a target fusion feature, and generate a predicted target state at the next moment through the tracking correction module based on the target fusion feature;

[0075] The tracking correction module is used to generate dynamic tracking correction parameters of the gimbal at the next moment based on the predicted target state, and perform visual tracking correction on the captured target in the initial visual tracking result based on the dynamic tracking correction parameters to obtain the visual tracking correction result of the gimbal.

[0076] In the embodiment of the present invention, the present application extracts the target image features corresponding to the target area image collected by the camera, and extracts the target point cloud features corresponding to the target point cloud data collected by the laser radar, and then calculates the feature fusion degree between the target image features and the target point cloud features, thereby fusing the target image features and the target point cloud features to generate target fusion features, and then by predicting the predicted target state at the next moment, generates corresponding dynamic tracking correction parameters to perform visual tracking correction on the captured target in the initial visual tracking result, and obtains the visual tracking correction result of the gimbal. The image data and point cloud data are used to achieve fast and accurate tracking of the target, and high tracking performance can be maintained even in complex and dynamically changing environments, realizing the dynamic adjustment and visual tracking of the gimbal to the relevant targets, and improving the accuracy of the correction of the relevant targets.

[0077] above Figure 3 The gimbal-based visual tracking correction device in the embodiment of the present invention is described in detail from the perspective of modular functional entities. The gimbal-based visual tracking correction device in the embodiment of the present invention is described in detail from the perspective of hardware processing.

[0078] Figure 44 is a schematic diagram of the structure of a visual tracking correction device based on a pan-tilt structure provided by an embodiment of the present invention. The visual tracking correction device 400 based on a pan-tilt structure may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 410 (for example, one or more processors) and a memory 420, and one or more storage media 430 (for example, one or more mass storage devices) storing application programs 433 or data 432. Among them, the memory 420 and the storage medium 430 can be short-term storage or permanent storage. The program stored in the storage medium 430 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the visual tracking correction device 400 based on a pan-tilt structure. Furthermore, the processor 410 may be configured to communicate with the storage medium 430 to execute a series of instruction operations in the storage medium 430 on the visual tracking correction device 400 based on a pan-tilt structure.

[0079] The pan-tilt-based visual tracking correction device 400 may also include one or more power supplies 440, one or more wired or wireless network interfaces 450, one or more input and output interfaces 460, and / or one or more operating systems 431, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. It will be understood by those skilled in the art that Figure 4 The structure of the gimbal-based visual tracking correction device shown does not constitute a limitation of the gimbal-based visual tracking correction device, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.

[0080] The present invention also provides a gimbal-based visual tracking and correction device, wherein the computer device includes a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes each step of the gimbal-based visual tracking and correction method in the above-mentioned embodiments.

[0081] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes each step of the gimbal-based visual tracking correction method.

[0082] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0083] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0084] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

[0085] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A visual tracking correction method based on a pan / tilt system, applied to a visual tracking correction system, characterized in that: The visual tracking correction system includes a laser radar module, a perception fusion module and a tracking correction module. The gimbal-based visual tracking correction method includes: Acquire the target area image of the pan / tilt platform and the target point cloud data collected by the laser radar module, and perform multiple data enhancement on the target area image and the target point cloud data respectively to obtain an enhanced target area image and enhanced target point cloud data; Extracting the target image boundary and the target image category in the enhanced target area image, and based on the target image boundary and the target image category, determining the target image features in the target area image, and based on the target image features, performing image centering through the tracking correction module to obtain an initial visual tracking result; extracting the target image boundary and the target image category in the enhanced target area image, and based on the target image boundary and the target image category, determining the target image features in the target area image, and based on the target image features, performing image centering through the tracking correction module to obtain an initial visual tracking result, including: extracting the original feature map in the enhanced target area image, and calculating the global average pooling features of each position of the original feature map; using the global average pooling features to fuse the original feature map to obtain the fused original feature map, and predicting the The method comprises the following steps: calculating the predicted bounding box in the fused original feature map, and matching a plurality of image bounding box parameters corresponding to the predicted bounding box to the real bounding box; calculating the comprehensive border loss value corresponding to the image border parameter, and updating the image border parameter based on the comprehensive border loss value until the preset border loss threshold is met, thereby generating the target image boundary in the enhanced target area image; calculating the category probability of each image target within the target image boundary, and determining the target image category in the enhanced target area image based on the category probability, and extracting the target image features of each image target in the target area image in two-dimensional space based on the target image boundary and the target image category; determining the shooting target that meets the preset relative motion target from each of the image targets based on the target image features, and performing image centering on the shooting target through the tracking correction module to obtain the initial visual tracking result; Based on the point cloud slope corresponding to the enhanced target point cloud data, the non-ground point cloud data in the enhanced target point cloud data are separated, and based on the segmented clustering radius corresponding to the non-ground point cloud data, the non-ground point cloud data are subjected to target clustering to obtain the clustered non-ground point cloud data; based on the point cloud slope corresponding to the enhanced target point cloud data, the non-ground point cloud data in the enhanced target point cloud data are separated, and based on the segmented clustering radius corresponding to the non-ground point cloud data, the non-ground point cloud data are subjected to target clustering to obtain the clustered non-ground point cloud data, including: dividing the enhanced target point cloud data into multiple point cloud local areas, and calculating the local plane normal corresponding to each of the point cloud local areas; calculating the point coordinates corresponding to each of the point cloud local areas and the The angle between the local plane normal and the local plane normal is used to obtain the point cloud slope, and it is determined whether the point cloud slope is less than a preset slope threshold; if the point cloud slope is not less than the preset slope threshold, the target point cloud data corresponding to the local area of ​​the point cloud is segmented as non-ground point cloud data, and the ground point cloud data in the enhanced target point cloud data is removed, and the clustering radius of the point cloud local area corresponding to each non-ground point cloud number is calculated; based on the clustering radius, the non-ground point cloud data is initially clustered, and in the initial target clustering, the clustering radius is adjusted based on the preset segmentation threshold to obtain the segmented clustering radius, and based on the segmented clustering radius, the result of the initial target clustering is clustered and merged twice, until the segmented clustering radius is greater than the preset radius threshold, to obtain the clustered non-ground point cloud data; Extracting target point cloud features of the clustered non-ground point cloud data, and calculating the feature fusion degree of the target image features and the target point cloud features; extracting target point cloud features of the clustered non-ground point cloud data, and calculating the feature fusion degree of the target image features and the target point cloud features, including: extracting multiple point cloud border structure information from the clustered non-ground point cloud data, and determining the target point cloud features of the clustered non-ground point cloud data in three-dimensional space based on the point cloud border structure information; performing synchronous matching of the target image features and the target point cloud features in terms of time and space coordinates, and calculating the three-dimensional bounding box projection of the three-dimensional points in the matched target point cloud features in the two-dimensional image in the matched target image features; calculating the boundary intersection area and boundary union area between the two-dimensional projection bounding box of the three-dimensional bounding box projection and the corresponding target image boundary and target image category in the target image features, and comparing the overlap between the boundary intersection area and the boundary union area to obtain the feature fusion degree; Based on the feature fusion degree, the target image feature and the target point cloud feature are subjected to feature fusion by the perception fusion module to obtain a target fusion feature, and based on the target fusion feature, a predicted target state at the next moment is generated by the tracking correction module; Based on the predicted target state, dynamic tracking correction parameters of the gimbal at the next moment are generated, and based on the dynamic tracking correction parameters, visual tracking correction is performed on the captured target in the initial visual tracking result to obtain the visual tracking correction result of the gimbal; the generation of the dynamic tracking correction parameters of the gimbal at the next moment based on the predicted target state includes: extracting the predicted target feature of the predicted target state, and comparing the feature similarity between the predicted target feature and the target fusion feature; obtaining the current position parameter of the gimbal and the historical position parameter of the previous moment, and judging whether the feature similarity is greater than a preset similarity threshold, if the feature similarity is greater than the preset similarity threshold, generating the dynamic tracking correction parameters of the gimbal at the next moment based on the position difference between the current position parameter and the historical position parameter; if the feature similarity is not greater than the preset similarity threshold, calculating the state difference value between the predicted target state and the current target state corresponding to the target fusion feature, and generating the dynamic tracking correction parameters of the gimbal at the next moment based on the state difference value.

2. The pan-tilt-based visual tracking correction method according to claim 1, characterized in that: The performing multiple data enhancement on the target area image and the target point cloud data respectively to obtain enhanced target area image and enhanced target point cloud data comprises: Performing Gaussian filtering and image graying on the target area image to obtain a grayed target area image, and performing multi-exposure fusion image enhancement on the grayed target area image to obtain an enhanced target area image; Based on a preset point cloud segmentation strategy, multiple voxel grids of the target point cloud data are segmented, and the center point coordinates of each voxel grid are calculated, and the target point cloud data is downsampled based on the center point coordinates to generate enhanced target point cloud data.

3. The pan-tilt-based visual tracking correction method according to claim 1, characterized in that: Based on the feature fusion degree, the target image feature and the target point cloud feature are subjected to feature fusion by the perception fusion module to obtain a target fusion feature, and based on the target fusion feature, a predicted target state at the next moment is generated by the tracking correction module, including: Based on the feature fusion degree, the perception fusion module adjusts the consistency of parameters of various bounding box parameters in the target image feature and the target point cloud feature, and calculates the weighted bounding box parameters between the adjusted target image feature and the adjusted target point cloud feature; Based on the weighted bounding box parameters, a target fusion feature is generated, and a process noise matrix during the gimbal visual tracking is obtained; Based on the target fusion features and the process noise matrix, the predicted target state at the next moment is mapped out through the state transition model in the tracking and correction module.

4. A visual tracking correction device based on a pan-tilt system, applied to a visual tracking correction system, characterized in that: The visual tracking correction system includes a laser radar module, a perception fusion module and a tracking correction module, and the gimbal-based visual tracking correction device includes: A data enhancement module is used to obtain the target area image of the pan / tilt platform and the target point cloud data collected by the laser radar module, and perform multiple data enhancements on the target area image and the target point cloud data respectively to obtain an enhanced target area image and enhanced target point cloud data; A feature extraction module is used to extract the target image boundary and the target image category in the enhanced target area image, and determine the target image features in the target area image based on the target image boundary and the target image category, and perform image centering through the tracking correction module based on the target image features to obtain an initial visual tracking result; the extraction of the target image boundary and the target image category in the enhanced target area image, and determine the target image features in the target area image based on the target image boundary and the target image category, and perform image centering through the tracking correction module based on the target image features to obtain an initial visual tracking result, including: extracting the original feature map in the enhanced target area image, and calculating the global average pooling features of each position of the original feature map; using the global average pooling features to fuse the original feature map to obtain a fused original feature map, And predict the predicted bounding box in the fused original feature map, and match the predicted bounding box to a plurality of image border parameters corresponding to the real bounding box; calculate the comprehensive border loss value corresponding to the image border parameter, and based on the comprehensive border loss value, update the image border parameter until a preset border loss threshold is met, and generate the target image boundary in the enhanced target area image; calculate the category probability of each image target within the target image boundary, and determine the target image category in the enhanced target area image based on the category probability, and extract the target image features of each image target in the target area image in two-dimensional space based on the target image boundary and the target image category; determine the shooting target that meets the preset relative motion target from each of the image targets based on the target image features, and perform image centering on the shooting target through the tracking correction module to obtain an initial visual tracking result; A target clustering module is used to separate the non-ground point cloud data in the enhanced target point cloud data based on the point cloud slope corresponding to the enhanced target point cloud data, and to perform target clustering on the non-ground point cloud data based on the segmented clustering radius corresponding to the non-ground point cloud data to obtain clustered non-ground point cloud data; the non-ground point cloud data in the enhanced target point cloud data is separated based on the point cloud slope corresponding to the enhanced target point cloud data, and to perform target clustering on the non-ground point cloud data based on the segmented clustering radius corresponding to the non-ground point cloud data to obtain clustered non-ground point cloud data, including: dividing the enhanced target point cloud data into multiple point cloud local areas, and calculating the local plane normal corresponding to each of the point cloud local areas; calculating the point cloud local areas corresponding to each of the point cloud local areas The angle between the coordinates and the normal of the local plane is used to obtain the slope of the point cloud, and it is determined whether the slope of the point cloud is less than a preset slope threshold; if the slope of the point cloud is not less than the preset slope threshold, the target point cloud data corresponding to the local area of ​​the point cloud is segmented as non-ground point cloud data, and the ground point cloud data in the enhanced target point cloud data is removed, and the clustering radius of the local area of ​​the point cloud corresponding to each non-ground point cloud number is calculated; based on the clustering radius, the non-ground point cloud data is initially clustered, and in the initial target clustering, the clustering radius is adjusted based on the preset segmentation threshold to obtain the segmented clustering radius, and based on the segmented clustering radius, the result of the initial target clustering is clustered and merged twice, until the segmented clustering radius is greater than the preset radius threshold, to obtain the clustered non-ground point cloud data; A calculation module, used for extracting target point cloud features of the clustered non-ground point cloud data, and calculating the feature fusion degree of the target image features and the target point cloud features; the said extracting target point cloud features of the clustered non-ground point cloud data, and calculating the feature fusion degree of the target image features and the target point cloud features, comprises: extracting a variety of point cloud frame structure information from the clustered non-ground point cloud data, and determining the target point cloud features of the clustered non-ground point cloud data in three-dimensional space based on the point cloud frame structure information; performing synchronous matching of the time-space coordinates of the target image features and the target point cloud features, and calculating the three-dimensional bounding box projection of the three-dimensional points in the matched target point cloud features on the two-dimensional image in the matched target image features; calculating the boundary intersection area and boundary union area between the two-dimensional projection boundary box of the three-dimensional bounding box projection and the corresponding target image boundary and target image category in the target image features, and comparing the overlap between the boundary intersection area and the boundary union area to obtain the feature fusion degree; A state prediction module, configured to perform feature fusion on the target image feature and the target point cloud feature through the perception fusion module based on the feature fusion degree to obtain a target fusion feature, and generate a predicted target state at the next moment through the tracking correction module based on the target fusion feature; A tracking correction module is used to generate dynamic tracking correction parameters of the gimbal at the next moment based on the predicted target state, and to perform visual tracking correction on the captured target in the initial visual tracking result based on the dynamic tracking correction parameters to obtain the visual tracking correction result of the gimbal; the generation of the dynamic tracking correction parameters of the gimbal at the next moment based on the predicted target state includes: extracting the predicted target feature of the predicted target state, and comparing the feature similarity between the predicted target feature and the target fusion feature; obtaining the current position parameter of the gimbal and the historical position parameter of the previous moment, and judging whether the feature similarity is greater than a preset similarity threshold, if the feature similarity is greater than the preset similarity threshold, generating the dynamic tracking correction parameters of the gimbal at the next moment based on the position difference between the current position parameter and the historical position parameter; if the feature similarity is not greater than the preset similarity threshold, calculating the state difference value between the predicted target state and the current target state corresponding to the target fusion feature, and generating the dynamic tracking correction parameters of the gimbal at the next moment based on the state difference value.

5. A visual tracking correction device based on a pan-tilt system, characterized in that: The gimbal-based visual tracking correction device includes: a memory and at least one processor, wherein instructions are stored in the memory; The at least one processor calls the instructions in the memory so that the gimbal-based visual tracking correction device performs each step of the gimbal-based visual tracking correction method as described in any one of claims 1-3.

6. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instruction is executed by the processor, each step of the gimbal-based visual tracking correction method as described in any one of claims 1-3 is implemented.