Unmanned aerial vehicle power inspection small target detection device and method

By employing closed-loop processing through attitude-assisted registration and cross-frame evidence accumulation, the difficulty of detecting small targets in UAV power line inspection is solved, improving detection efficiency and reliability, reducing processing pressure, and adapting to different hardware platforms.

CN123182076APending Publication Date: 2026-11-27NORTH CHINA UNIVERSITY OF TECHNOLOGY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611399081.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-10
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In UAV power line inspection, high-resolution image processing makes it difficult to detect small targets. When the image is blurry, the target is close to the edge or occluded, the system reliability is low. In addition, the bandwidth and power consumption of image backhaul are high in mountainous communication environments.

Method used

By employing closed-loop processing involving pose-assisted registration, cross-frame correlation, and uncertainty re-examination, stable coordinates are formed using pose parameters. This enables adaptive region sampling and evidence accumulation, and optimization of the shooting angle to improve the reliability and efficiency of small target detection.

Benefits of technology

It increases the effective pixel ratio of small targets, reduces redundant calculations, stabilizes target confirmation, reduces edge processing pressure, adapts to different hardware platforms, and reduces image backhaul bandwidth usage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123182076A_ABST
    Figure CN123182076A_ABST
Patent Text Reader

Abstract

The present application belongs to the technical field of unmanned aerial vehicle inspection of power transmission lines, and discloses a kind of unmanned aerial vehicle power inspection small target detection device and method, device includes: image acquisition unit, attitude acquisition unit, attitude auxiliary image stabilization and coordinate registration module, observation utility evaluation and adaptive area sampling module, basic target detector, cross-frame candidate association and evidence accumulation module, uncertainty determination and active review module;It sequentially executes attitude auxiliary image stabilization, adaptive area sampling, general target detection, same-frame candidate fusion, cross-frame evidence accumulation and uncertainty review after receiving image frame and attitude quantity synchronously;Device can control the angle of pan-tilt or lens focal length to collect local image again according to the detection result, and store or send the confirmed target position, category, confidence, time stamp and flight position information to the ground end.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of UAV inspection technology for power transmission lines, and specifically relates to a UAV power line inspection small target detection device and method. Background Technology

[0002] Images of power transmission lines taken by drones typically contain both a large background and small equipment or defect targets. If the entire high-resolution image is directly scaled down to a fixed input size, small targets may only retain a few pixels; if the entire image is sliced ​​uniformly, a large number of background patches will be generated, increasing the computational load at the edges.

[0003] Flight vibrations, attitude changes, gimbal rotation, zooming, and changes in shooting distance can cause the same target to shift significantly in adjacent frames. Existing single-frame detection typically relies only on the current confidence level, making it difficult to confirm the target using continuous observations, and is also easily affected by transient reflections, occlusions, and background textures.

[0004] Existing inspection systems often output results directly after inspection, lacking a closed-loop mechanism to adjust the gimbal angle, focal length, or shooting position based on the uncertainty of the results and conduct further observation. Therefore, when the image is blurry, the target is near the edge of the frame, or there is partial occlusion, the system can only retain low-confidence results or wait for manual verification.

[0005] In addition, some solutions continuously transmit high-resolution images back to the ground or cloud for processing, which can lead to bandwidth, latency, and packet loss issues in mountainous areas, across power lines, and in environments with weak communication. Processing all images under high load on the drone for extended periods can also increase power consumption and heat dissipation pressure. Summary of the Invention

[0006] To address the problems of existing technologies, this invention provides a device and method for detecting small targets in UAV power line inspections. Starting from the actual observation process of UAV inspections, this invention uses image pixels, flight and gimbal attitude, continuous frame target states, and re-inspection actions as interacting technical elements to form a closed loop of "stable coordinates—region selection—target detection—evidence accumulation—active re-inspection." First, attitude-assisted registration eliminates major global motion, and an observation utility map is constructed using image quality, motion residuals, and historical trajectory priors, solving the problem of insufficient small target pixels and redundant background calculations. Second, through cross-frame correlation and log-probability evidence accumulation, the determination of target validity is based on continuous observation, rather than relying solely on single-frame thresholds. Third, through uncertainty and re-inspection action optimization, the detection results are fed back to the gimbal, lens, or UAV main control, actively improving the shooting angle, target pixel size, or occlusion conditions to obtain new observations that can be verified again. Fourth, the basic target detector remains a replaceable existing component, allowing this invention to be combined with different detection models and edge hardware, facilitating engineering deployment and subsequent upgrades.

[0007] To achieve the above objectives, the present invention provides the following solution: A small target detection device for power line inspection using a drone, the device comprising: an image acquisition unit, an attitude acquisition unit, an attitude-assisted image stabilization and coordinate registration module, an observation utility evaluation and adaptive region sampling module, a basic target detector, a cross-frame candidate association and evidence accumulation module, and an uncertainty determination and active re-inspection module; The image acquisition unit is used to acquire images of the transmission line in a continuous frame manner; The attitude acquisition unit is used to acquire the roll angle, pitch angle, heading angle, flight altitude or target distance and current focal length at the same moment to form attitude parameters; The attitude-assisted image stabilization and coordinate registration module is used to generate initial values ​​for the transformation of adjacent frames using attitude quantities, and to correct the projection transformation using corresponding points of the image, mapping the current frame to the reference coordinate system to obtain the registered frame. The observation utility evaluation and adaptive region sampling module is used to calculate the observation utility map based on image quality, post-registration motion residuals and historical trajectory priors, recursively partition the original image, retain the observation utility region and form local high-resolution patches. The basic target detector is used to output candidate boxes, categories, and confidence scores for the global thumbnail and local high-resolution tiles, respectively; it uses tile inverse mapping to recover the original image coordinates and fuses spatially overlapping and consistent candidates from the same frame. The cross-frame candidate association and evidence accumulation module is used to predict the current target position based on historical trajectories and attitude increments, complete cross-frame matching using a cost consisting of position, overlap, and category, and update the log odds evidence and temporal fusion probability of each trajectory. The uncertainty determination and active re-inspection module is used to comprehensively fuse probability, detection box fluctuation and target region image quality to calculate uncertainty; for high uncertainty targets, it selects re-inspection actions that can increase target pixels or reduce occlusion, and whose energy consumption and time consumption are acceptable.

[0008] Preferably, the method of using image corresponding point correction projection transformation to map the current frame to the reference coordinate system to obtain the registration frame includes: ; ; in, This is the corrected projection transformation. and For the m-th group of adjacent frames, the corresponding image points are: ρ is the number of matching point pairs; π(·) represents the projection of homogeneous coordinates onto image coordinates; ρ(·) is the robust loss to suppress the influence of mismatched points; Used to limit the deviation of visual estimation from the initial pose value. For the initial transformation, x represents the pixel position in the reference coordinates, and x with a tilde is its homogeneous coordinate. For the current image frame, For frame registration, Represents the candidate projection matrix. These are the homogeneous coordinates after transformation by the candidate projection matrix. Denotes the Frobenius norm of a matrix. This refers to the image frame number.

[0009] Preferably, the observation utility evaluation and adaptive region sampling module includes: an image quality calculation unit, a registration residual calculation unit, a historical target prior unit, and a recursive partitioning unit; The image quality calculation unit is used to calculate the sharpness of each pixel's neighborhood. and exposure effectiveness Clarity and exposure effectiveness All values ​​are normalized to [0,1] and a quality map is generated. The registration residual calculation unit is used to compare pixels at the same coordinate in two consecutive frames to obtain motion residuals. The historical target prior unit is used to combine image quality, motion residuals and historical priors into an observation utility map; The recursive partitioning unit is used to calculate the partitioning evaluation value for any region Ω based on the observation utility map, with the entire image region as the root node, retain the leaf node regions whose evaluation values ​​meet the preset requirements, and perform cropping and size normalization on the k-th retained region to obtain the local high-resolution image patch sent to the basic detector.

[0010] Preferably, the method for predicting the current target position based on historical trajectories and pose increments, performing cross-frame matching using a cost comprised of position, overlap, and category, and updating the log-odds evidence and temporal fusion probability for each trajectory includes: Predict the trajectory state in the current frame based on adjacent pose increments; For the current i-th fusion candidate and the historical j-th predicted trajectory, construct the correlation cost; Cross-frame correspondences are obtained through minimum-cost matching, but the cost exceeds a threshold. Candidate newly created trajectories, consecutively unmatched to reach The frame's trajectory terminates; For matched trajectories, the current confidence level is accumulated in logarithmic probability form to obtain cumulative evidence; The cumulative evidence is converted into temporal fusion probability.

[0011] Preferred methods for calculating the uncertainty of comprehensively fusing probabilities, detection box fluctuations, and target region image quality include: ; in, For temporal fusion probability; For the most recent Normalized variance of frame detection box center and size; The average image quality within the target bounding box area; and For weights.

[0012] Preferably, the method for selecting re-inspection actions for highly uncertain targets that can increase target pixels or reduce occlusion, and whose energy consumption and time consumption are acceptable, includes: When the target needs to be re-inspected, the controller selects a gimbal tilt, lens zoom, or slight change of shooting position from the allowed action set A. The target selected for the action is: ; in, This represents the expected target pixel gain or occlusion reduction for action a on the j-th trajectory; E(a) and T(a) represent the additional energy consumption and re-inspection time, respectively. and As weight; The gimbal deflection is calculated based on the deviation between the center of the target frame and the center of the image, and the zoom ratio is calculated based on the ratio of the current pixel width and height of the target to the expected pixel size. The final decision-making rule is: ; in, This indicates confirmation of the output. This indicates that a re-inspection has been triggered. This indicates a postponement or exclusion; To confirm the threshold, For low confidence threshold, The uncertainty threshold is used to trigger a re-inspection. After the re-inspection is triggered, the device acquires new local images and re-enters the image stabilization, regional sampling, detection, and evidence accumulation process until confirmation, the maximum number of re-inspections is reached, or the process terminates due to flight safety conditions.

[0013] This invention also provides a method for detecting small targets during unmanned aerial vehicle (UAV) power line inspection. The method is implemented using the aforementioned apparatus and includes: S1: During the drone inspection flight, simultaneously collect power transmission line image frames and corresponding drone attitude, gimbal angle or lens focal length data. S2: Establish initial values ​​for inter-frame coordinate transformation based on the pose data corresponding to adjacent image frames, and correct the initial values ​​for coordinate transformation using corresponding points in adjacent image frames, and register the current image frame to the reference coordinate system; S3: Generate an observation utility map based on the local image quality of the registered image, the motion residual between the registered image and the previous registered image, and the prior historical target trajectory. Recursively divide the registered image into regions based on the average observation utility of the region and the variance of the observation utility within the region to obtain at least one local high-resolution patch. S4: Input the global thumbnail of the registered image and the local high-resolution patch into the basic target detector that can output the target box, target category and target confidence, respectively. Restore the target box in the local patch to the original coordinate of the registered image, and perform same-frame fusion on candidate targets with the same category and spatial overlap. S5: Predict the position of the target in the current image frame based on the historical target trajectory state and the pose increment of adjacent frames, associate the same-frame fusion candidate with the predicted target across frames, and accumulate the detection evidence of the associated target in consecutive image frames in the form of log odds to obtain the temporal fusion probability. S6: Calculate the target uncertainty based on the temporal fusion probability, the fluctuation of the target box in consecutive image frames, and the image quality of the target box region; when the temporal fusion probability reaches the confirmation threshold and the target uncertainty is not higher than the uncertainty threshold, confirm and output the target; when the target uncertainty is higher than the uncertainty threshold or the temporal fusion probability is between the low confidence threshold and the confirmation threshold, send a re-inspection command to the UAV main controller, gimbal controller, or lens controller to change the gimbal angle, lens focal length, or shooting position and acquire new local images; S7: Store or transmit the confirmed target location, target category, temporal fusion probability, acquisition time, and flight position information.

[0014] Compared with the prior art, the beneficial effects of the present invention are as follows: This invention improves the effective resolution, continuous confirmation capability, and edge processing efficiency of small targets in UAV power line inspections without modifying the internal network structure of the basic target detector through a continuous processing chain of "adaptive region sampling - cross-frame evidence accumulation - active uncertainty re-examination". The specific technical effects are as follows: (i) Increase the effective pixel ratio of small targets and reduce redundant calculations throughout the frame. The observation utility map transforms image quality, post-registration motion residuals, and historical target locations into calculable criteria for region selection, retaining high-resolution patches only for areas of high observational value. Compared to uniform scaling or slicing of the entire 4K image, this approach allows small targets to occupy more input pixels under the same computational power, while reducing background region computation.

[0015] (ii) Continuous frame evidence suppresses single-frame false alarms and occasional missed detections. Trajectory prediction after pose compensation is used to correlate candidates in consecutive frames, and detection evidence is accumulated with log odds. Stably recurring targets can be gradually identified, and transient reflections, background textures, and single-frame noise are less likely to directly form a final alarm.

[0016] (iii) Highly uncertain results can be supplemented by proactive observations. The system does not passively output the detection result, but identifies uncertain targets based on probability entropy, detection box fluctuation and local image quality, and controls the gimbal, zoom or shooting position to obtain new images, realizing a physical closed loop from detection to re-detection, and improving the verifiability of the results.

[0017] (iv) Balancing real-time performance at the edge and multi-platform compatibility The base detector is replaceable, and the number of regional samples and the timing window can be configured according to the processor's computing power; no dedicated multi-level feature fusion chip or additional detection head is required, which facilitates deployment on different CPU, GPU or NPU platforms and reduces the bandwidth consumption caused by continuous backhaul of high-resolution images.

[0018] (v) The technology input, processing and output have a clear physical correspondence. The image coordinates, pixel quality, attitude angle, focal length, target box, inter-frame displacement, energy consumption, and re-inspection time in each formula all correspond to the actual data collected or control actions of the UAV, so that the algorithm processing and the transmission line imaging, flight motion, and target re-imaging process can jointly produce measurable detection results. Attached Figure Description

[0019] To more clearly illustrate the technical solution of the present invention, the drawings used in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 This is a schematic diagram of a small target detection device for power line inspection by a UAV according to an embodiment of the present invention, wherein (a) is a schematic diagram of the overall structure; and (b) is a front view from various angles. Figure 2 This is a schematic diagram of the hardware functional connection relationship of the device according to an embodiment of the present invention; Figure 3 This is a schematic diagram of the adaptive region sampling and small target detection model structure according to an embodiment of the present invention; Figure 4 This is a schematic diagram of the closed loop of cross-frame evidence accumulation and uncertainty re-examination in an embodiment of the present invention; Figure 5 This is a schematic diagram illustrating the model construction, parameter calibration, and deployment process in an embodiment of the present invention; Figure 6This is a schematic diagram of a method for detecting small targets in power line inspection using a drone, according to an embodiment of the present invention. Detailed Implementation

[0021] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0022] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0023] Example 1 This invention provides a small target detection device for unmanned aerial vehicle (UAV) power line inspection, and particularly relates to a detection device for small-scale objects such as insulators, fittings, vibration dampers, spacers, pins, and their surface defects. Figure 1 As shown, this device does not require altering the internal structure of existing target detection networks. Instead, it utilizes the physical correlation between image acquisition conditions, flight attitude, and continuous observation to adaptively select the computational region for high-resolution images and accumulate multi-frame detection evidence. When evidence is insufficient, the device actively changes the observation conditions to obtain supplementary images. The device includes: an image acquisition unit, an attitude acquisition unit, an attitude-assisted image stabilization and coordinate registration module, an observation utility evaluation and adaptive region sampling module, a basic target detector, a cross-frame candidate correlation and evidence accumulation module, and an uncertainty determination and active re-examination module. The image acquisition unit is used to acquire images of the transmission line in a continuous frame manner; The attitude acquisition unit is used to acquire the roll angle, pitch angle, yaw angle, flight altitude or target distance and current focal length at the same moment to form attitude parameters; The attitude-assisted image stabilization and coordinate registration module is used to generate initial values ​​for the transformation of adjacent frames using attitude quantities, and to correct the projection transformation using corresponding points of the image, mapping the current frame to the reference coordinate system to obtain the registered frame. The observation utility assessment and adaptive region sampling module is used to calculate the observation utility map based on image quality, post-registration motion residuals and historical trajectory priors, recursively partition the original image, preserve the observation utility region and form local high-resolution patches; A basic object detector is used to output candidate boxes, categories, and confidence scores for both the global thumbnail and local high-resolution tiles; the original image coordinates are recovered using tile inverse mapping, and spatially overlapping and category-consistent candidates from the same frame are fused together. The cross-frame candidate association and evidence accumulation module is used to predict the current target position based on historical trajectories and pose increments, complete cross-frame matching using a cost consisting of position, overlap, and category, and update the log odds evidence and temporal fusion probability of each trajectory. The uncertainty determination and active re-inspection module is used to calculate the uncertainty by comprehensively fusing probability, detection box fluctuation and target region image quality; for high-uncertainty targets, it selects re-inspection actions that can increase target pixels or reduce occlusion, and whose energy consumption and time consumption are acceptable.

[0024] The following describes an embodiment of an apparatus capable of executing the method of the present invention, with reference to the accompanying drawings. The image acquisition unit and the attitude acquisition unit respectively provide image streams and attitude parameters to the embedded processor; the embedded processor is connected to a cache, data storage, communication interface, and gimbal and zoom control interface; a power supply and voltage regulation protection unit supplies power to the aforementioned components. Figure 2 The functional connections are shown. Figures 3 to 6 This shows the algorithm model and process executed by the processor.

[0025] It should be noted that the embedded processor, power supply regulator circuit, cache chip, and signal interface all use conventional components and their recommended adapter circuits in the field. The component models can be replaced with equivalent ones based on computing power, power consumption, and the number of interfaces. This invention does not make any inventive improvements to the voltage regulator topology, the internal structure of the cache chip, or the pin connections of the communication interface. Therefore, the aforementioned conventional adapter circuits are not intended to be protected. The specific pin connections should be made according to the datasheet of the selected chip. The key function of this invention lies in the image processing and re-examination closed loop performed by the processor.

[0026] (a) Image acquisition unit The image acquisition unit includes a visible light camera, lens, pan-tilt unit, and vibration-damping mounting structure, used to acquire images of transmission lines in a continuous frame manner. The camera can output 1080P, 4K, or other resolution images; the lens can be a fixed focal length or an electronically controlled zoom lens. Each frame is accompanied by the acquisition time to synchronize with attitude data.

[0027] During actual data acquisition, the camera continuously triggers exposures according to a preset frame rate. Let the camera frame rate be... , No. The image acquisition timestamp of the frame is The theoretical sampling interval between two adjacent frames is After the camera completes exposure, analog-to-digital conversion, and routine image signal processing, the output height is... Width is Color images The frame sequence number and hardware timestamp are written into the image data packet.

[0028] in, Image frame number, This is the start timestamp for continuous image acquisition. For camera frame rate, This represents the theoretical sampling time interval between two adjacent image frames. For the first The timestamp of the frame image acquisition; Indicates the first The power transmission line scene that enters the camera's field of view at the moment of frame acquisition. This refers to the camera imaging and conventional image signal processing processes. , and These are the current focal length, exposure parameters, and gain parameters, respectively. For the first Frame image data packets, and These represent the image height and width, respectively. For electronically controlled zoom lenses, the current focal length is simultaneously read and recorded by the lens control interface for subsequent attitude registration and active re-inspection.

[0029] (ii) Attitude Acquisition Unit The attitude acquisition unit includes an UAV inertial measurement unit, a flight control attitude interface, a gimbal angle interface, and a lens focal length interface. Its output includes at least roll angle, pitch angle, yaw angle, flight altitude or target distance, and current focal length. Attitude data and image frames are paired via timestamps, providing physical quantities for coordinate transformation between adjacent frames, target motion compensation, and re-inspection motion calculations.

[0030] During data acquisition, the inertial measurement unit (IMU) outputs raw measurements such as angular velocity and acceleration at a sampling frequency higher than the camera's frame rate. The flight control system, based on the attitude calculation results, provides roll, pitch, and yaw angles via an interface, and simultaneously reads the flight altitude. When the device is configured with ranging information, the target distance is used to replace or supplement the flight altitude. The lens control interface reads the current focal length. For the first... At each attitude sampling time The observation states that can be used for image processing are uniformly denoted as: in, , and These are roll angle, pitch angle, and yaw angle, respectively. For flight altitude or target distance, This refers to the lens focal length. All interface data is written to a timestamp based on the same clock reference when entering the state buffer. This is to synchronize with the image frames.

[0031] For timestamps The For each frame image, the attitude sample with the smallest time difference is first searched in the state buffer. If the smallest time difference does not exceed the preset synchronization tolerance... Then the pairing is completed directly: in, This is the sequence number of the attitude sample. In order to be with the first The sequence number of the pose sample with the closest timestamp to the frame image acquisition. For the first Timestamps of pose samples The timestamp of the selected pose sample. For the first The timestamp of the frame image acquisition. The maximum allowable time synchronization error between image and pose data. This represents absolute value operations. When the minimum time difference meets the above synchronization tolerance requirements, the first... The pose sample and the first Frame images are directly paired. When the image timestamp lies between two adjacent pose sampling times, linear interpolation can be performed on continuous quantities to obtain a pose vector that strictly corresponds to the image: This yields the image Synchronized attitude vectors For heading angle crossing In such cases, the angle can be converted to a quaternion or expanded before interpolation to avoid incorrect pairing caused by angle jumps.

[0032] (III) Embedded processors, caches and interfaces The embedded processor can be an edge processor with a CPU, GPU, NPU, or programmable computing unit. The camera interface writes image frames to the input buffer, and the attitude interface writes synchronization attitude values ​​to the state buffer; the processor reads data from both types of buffers and executes... Figures 3 to 6 The process is as shown, and intermediate plots, trajectory status, and output results are written to the working buffer or non-volatile memory. The communication interface sends the target results and device status, and the control interface sends a retest command to the flight controller, gimbal, or lens controller.

[0033] Cache management uses a circular frame queue. Let the queue depth be... Then, when processing the t-th frame, at least the t-th frame must be retained. Image indices, pose values, candidate bounding boxes, and evidence states from frame t to frame t; image pixels can be retained only for the current frame and local areas required for re-examination, based on memory capacity. Data that has been processed and is no longer involved in temporal correlation is released according to a first-in, first-out (FIFO) rule.

[0034] (iv) Attitude-assisted image stabilization and coordinate registration module The input is the current image frame. and its synchronized attitude vector These two correspond directly to the collected pixel data and the UAV observation status, respectively: Where H and W are the image height and width, respectively; t is the frame number; , and These are roll angle, pitch angle, and yaw angle, respectively. This refers to flight altitude or target distance. This refers to the lens focal length. The module first calculates the initial transformation based on adjacent attitude parameters. Then, the corrected projection transformation is obtained on the matching point pairs in adjacent frames: One possible way to construct the initial attitude value is to first obtain the relative rotation between the camera coordinate system from the attitude angles of two adjacent frames, and then use the camera intrinsic parameters to project the relative rotation onto the image plane.

[0035] in, It is a three-dimensional rotation matrix consisting of roll angle, pitch angle and yaw angle; For the first Frame to the Relative rotation of frames; The focal length is The camera intrinsic parameter matrix at that time, whose principal point position and pixel scale are obtained by camera calibration; This is the initial value for the inter-frame projection transformation obtained solely from attitude and focal length. If the flight translation relative to the target distance is not negligible, translation compensation can be further added to this initial value using the known flight displacement and target distance.

[0036] in, and For the m-th group of adjacent frames, the corresponding image points are: ρ is the number of matching point pairs; π(·) represents the projection of homogeneous coordinates onto image coordinates; ρ(·) is the robust loss to suppress the influence of mismatched points; This formula is used to limit the deviation of visual estimation from the initial pose value. It allows the use of the initial pose value when image texture is insufficient, and further correction using image points when pose measurement errors exist.

[0037] Furthermore, the candidate projection matrix Used to represent the homography transformation to be estimated in the current optimization process; For the first The homogeneous coordinates of the matching point in the previous frame Let its homogeneous coordinates be the result of the transformation by the candidate projection matrix. The coordinates are the normalized two-dimensional pixel coordinates; in the formula... The Frobenius norm of the matrix is ​​used to measure candidate transformations. with initial attitude value The overall deviation.

[0038] The obtained transformation is used to map the current frame to a unified reference coordinate system, resulting in a registered frame: Where x represents the pixel position in the reference coordinates, and x with a tilde is its homogeneous coordinate. After registration, the overall displacement of the same transmission component in adjacent frames is weakened, and the subsequent motion residuals mainly reflect local target changes or registration errors.

[0039] (v) Observational utility assessment and adaptive regional sampling module This module consists of an image quality calculation unit, a registration residual calculation unit, a historical target prior unit, and a recursive partitioning unit. The image quality calculation unit calculates the sharpness of each pixel's neighborhood. and exposure effectiveness Both are normalized to [0,1] and a quality map is formed: Where (u,v) are the pixel coordinates in the registration frame; It can be obtained by normalizing the local gradient variance or the Laplace response variance; This is used to measure whether a pixel is in an overexposed or underexposed range; α is the weight of the two. This processing only evaluates the observation quality and does not change the internal features of the target detector.

[0040] The registration residual calculation unit compares pixels at the same coordinates in two consecutive frames to obtain the motion residual: in, This is the residual normalization constant. Historical target prior. Generates a bounding box based on the predicted trajectory associated with the previous time step: pixels near the center of the predicted box have larger values, while pixels farther away from the predicted box gradually decrease in value; this value is set to zero when there is no historical trajectory. Combine image quality, motion residuals, and historical priors into an observation utility map. The prior knowledge of the historical target can be calculated using the two-dimensional Gaussian decay at the center of the prediction frame. Let the set of valid trajectories at the previous time step be... , No. The center of the prediction box for the trajectory in the current frame is The predicted bounding box has a width and height of 100 mm. and ,but: in, and This is a scale coefficient used to control the prior diffusion range. This formula ensures that pixels near the center of the predicted bounding box receive higher prior values, which decrease continuously with increasing distance; when... When empty, let The obtained priors are then used in conjunction with the image quality map and motion residuals to calculate the observation utility map.

[0041] in, , and These are the weights for image quality, motion residuals, and historical priors, respectively. The observational utility is directly related to the actual image pixel sharpness, changes in adjacent frames, and the existing target location; it is not an abstract score detached from the inspected image.

[0042] The recursive partitioning unit uses the entire image region as its root node and calculates a partitioning evaluation value for any region Ω: Where |Ω| is the number of pixels in the region; the first term represents the average observed utility of the region, the second term represents the degree of unevenness in the utility distribution, and β is the variance weight. Greater than the partition threshold If the area's width and height are still greater than the minimum tile size, divide Ω into four sub-regions and continue evaluation; otherwise, stop dividing. Finally, retain the leaf node regions with higher evaluation values. It can also expand its boundaries by 10% to 25% to avoid cutting off small targets. Indicates observational utility In the region The sample variance within the region is used to measure the degree of unevenness in the distribution of observed utility within the region; the larger the value, the more necessary it is to further subdivide the region, as it contains both high-value and low-value locations.

[0043] The k-th preserved region is cropped and its size normalized to obtain a local high-resolution patch that is fed into the base detector: in, For cropping and scaling operators, and Input the height and width for the detector. Each tile also stores an affine mapping from the original image coordinates to the tile coordinates. This is used for subsequent recovery of detection bounding boxes. To maintain the overall scene context, the registration frame also generates a global thumbnail, which is fed into the same base detector along with the local tiles.

[0044] (vi) Basic target detection, coordinate restoration and same-frame candidate fusion module Basic target detector As a component of existing technology, a one-stage detector, a two-stage detector, or other detection models capable of outputting bounding boxes, categories, and confidence scores can be employed. Its necessary structure consists of an image tensor input layer, a feature encoding layer, a standard feature processing layer, and a classification and localization output layer, with each layer connected in the order of input-encoding-prediction. This invention does not limit a specific backbone, feature aggregation structure, or detection head, nor does it consider altering these internal structures as inventive content.

[0045] Perform detection on the global thumbnail or the k-th local high-resolution tile, and output a candidate set: Where θ represents the detector training parameters; Let x be the center coordinates and width and height of the nth candidate box in the tile coordinate system; Confidence level; For equipment or defect categories; This represents the number of candidate tiles.

[0046] When building the detector, its parameters θ are trained using inspected images with bounding boxes and class labels. The loss function can be a weighted sum of the classification loss, cross-union ratio (CIRR) localization loss, and target identification loss of existing detectors: in, , and The loss weights are used. This training only yields general detector parameters and does not change the manually labeled data. The source code, framework name, or specific open-source implementation of this invention is not the technical solution of this invention; the reproducible technical content is defined by its input, output, structural connections, training data, and loss relationship.

[0047] The local tile detection bounding box is restored to its original coordinates using the saved inverse mapping: In this context, the superscripts (p) and (g) represent the tile coordinates and the global coordinates of the original map, respectively. Global thumbnail candidates and local tile candidates are grouped into candidate groups based on category and spatial overlap. The coordinates and confidence scores of the same group are fused: Candidate grouping can be determined using the criterion of "consistent categories and spatial overlap reaching a threshold". For any two candidate n and m that can be restored to the original image coordinates, the following definition is made: in, and As candidate categories, This is the ratio of the area of ​​the intersection to the area of ​​the union of the two bounding boxes. This is the overlap threshold for clustering within the same frame. Candidates that satisfy the above relationship and are interconnected through transitive relationships constitute the same candidate group. Then, the coordinates and confidence scores within the group are fused.

[0048] In the formula, For the first Frame number Detection confidence of each candidate; The bounding box of the candidate image is restored to the global coordinate system of the original image through inverse mapping; Candidate group The merged bounding box; The confidence level of in-frame fusion for this candidate group. It is a confidence-weighted index. The larger the value, the greater the contribution of the high-confidence candidate to the fusion box coordinates.

[0049] Here, γ controls the contribution of high-confidence candidates to the fused bounding box; the product form enables higher in-frame confidence when the same target is detected jointly by multiple branches. The fusion here occurs at the target bounding box level of the decoded image, not at the level of multi-layer feature fusion within the detection network.

[0050] (vii) Cross-frame candidate association and evidence accumulation module This module comprises four parts: trajectory state storage, attitude compensation prediction, candidate association, and evidence update. Each trajectory state... It should at least include the target bounding box center, width, height, center velocity, category, and cumulative evidence value in the original image coordinate system. Based on adjacent pose increments... Predict the trajectory state in the current frame: To facilitate position prediction, the motion state of the j-th trajectory can be written as: in, , The coordinates of the bounding box center are , The bounding box width and height, , Velocity centered in image coordinates; Target category and cumulative evidence Saved separately as an additional attribute of the trajectory.

[0051] in, This represents the actual time interval between two adjacent frames. This is the state transition matrix using the uniform velocity assumption; The increments of pose, distance, and focal length between two adjacent frames; The mapping matrix from attitude increments to image state compensation can be calculated from camera intrinsic parameters, target distance, and gimbal mounting relationship, or determined through a calibration sequence. Therefore, Provide a prediction of the target's own motion. Used to compensate for apparent image displacement caused by drones, gimbals, and zoom.

[0052] Where A is the target state transition matrix, and B converts the attitude changes of the UAV or gimbal into image coordinate compensation. For the current i-th fusion candidate and the historical j-th predicted trajectory, the association cost is constructed as follows: The first term represents the degree of non-overlap between the current bounding box and the predicted bounding box; q represents the center coordinates of the target bounding box. This is the image diagonal or a preset distance normalization factor; the indicator function takes the value 1 when the categories are inconsistent. , and The weights are used to determine the cross-frame correspondence through minimum cost matching; if the cost exceeds a threshold... Candidate newly created trajectories, consecutively unmatched to reach The frame's trajectory terminates.

[0053] In the associated costs, Indicates the current number One frame fusion frame With the Trajectory prediction box The intersection and union ratio; As the center of the current fusion frame, Center of the predicted trajectory box; For the current candidate category, For trajectory history category; This is a function indicating category inconsistency. The normalized scale is the location distance. , and These are the weights for overlap, center distance, and class consistency, respectively.

[0054] Construct the cost matrix between all current candidates and historical predicted trajectories. Then, the one-to-one correspondence can be obtained through the Hungarian algorithm or an equivalent minimum-cost bipartite matching, and its optimized form is: Before matching, first The combination is set to not match, where This represents the threshold for association cost. After solving, Indicates the current candidate With historical trajectory Association; for unmatched current candidates, establish new trajectories and initialize their cumulative evidence to the log odds of the corresponding candidate confidence level; for unmatched historical trajectories, increment the mismatch count by 1; if the mismatch count reaches... If the frame is not matched, the trajectory is terminated; otherwise, it is retained until the next frame to continue prediction. A successfully matched trajectory will have its mismatch count reset to zero and its position and size status updated with the current fused box.

[0055] For matched trajectories, accumulate the current confidence level in logarithmic probability form: in, Let μ be the cumulative evidence for the j-th trajectory in frame t; μ is the historical evidence retention coefficient; ε prevents the denominator from being zero. The cumulative evidence is converted into temporal fusion probability: This process gradually increases the credibility of small, real targets that appear in consecutive frames and are in the same position, while background texture responses that appear only in a single frame are not immediately recognized as valid results.

[0056] (viii) Uncertainty Judgment and Active Re-inspection Module Calculate the uncertainty for each associated trajectory: The first two terms are the binary entropy of the temporal fusion probability; For the most recent Normalized variance of frame detection box center and size; The average image quality within the target bounding box area; and The weights are used for the values. Therefore, the uncertainty increases when the confidence level is close to 0.5, the bounding box position fluctuates greatly, or the target area is blurred.

[0057] When the target needs to be re-inspected, the controller selects a gimbal tilt, lens zoom, or slight change of shooting position from the allowed action set A. The target selected for the action is: in, This represents the expected target pixel gain or occlusion reduction for action a on the j-th trajectory; E(a) and T(a) represent the additional energy consumption and re-inspection time, respectively. and The weights are used to calculate the gimbal deflection based on the deviation between the target bounding box center and the image center, and the zoom ratio is calculated based on the ratio of the target's current pixel width and height to the desired pixel size.

[0058] An executable re-inspection control calculation method is as follows. Let the first... The center of the target bounding box of the trajectory to be re-inspected is The principal point of the image is The current pixel focal lengths in the horizontal and vertical directions are respectively and The gimbal deflection angle required to move the target towards the image center can be calculated according to the pinhole imaging relationship: in, and These represent the correction values ​​for the pan / tilt and tilt directions, respectively. The specific signs are determined according to the calibration relationship between the camera image coordinate axes and the pan / tilt rotation direction. Let the current target bounding box width and height be... , The target pixel width and height are expected to be [value] during the re-inspection. , Then, the new focal length can be determined based on the required magnification ratio: in, For zoom magnification, and The lens's permissible focal length range, This represents the limiting function. The controller can first calculate candidate re-inspection actions based on the above angle and focal length, and then combine this with the expected pixel gain and additional energy consumption in the action objective function. and the time spent on re-inspection Choose the final action; if gimbal deflection and zoom still cannot reduce obstruction, then make a slight change in shooting position while meeting safe distance and flight constraints.

[0059] The final decision-making rule is: in, This indicates confirmation of the output. This indicates that a re-inspection has been triggered. This indicates a postponement or exclusion; To confirm the threshold, For low confidence threshold, This represents the uncertainty threshold. After a re-inspection is triggered, the device acquires new local images and re-enters the image stabilization, region sampling, detection, and evidence accumulation process until confirmation, the maximum number of re-inspections is reached, or the process terminates due to flight safety conditions.

[0060] (ix) Data storage, communication and power modules The data storage unit stores the original image index, attitude parameters, local tile index, trajectory status, fusion probability, uncertainty, re-inspection actions, and final results. The communication interface transmits the target's bounding box, category, probability, acquisition time, and latitude and longitude to the UAV master controller or ground terminal. The power supply and voltage regulation protection unit converts the UAV's power supply to the voltage required by the camera, processor, memory, and interfaces, and provides overvoltage, overcurrent, and reverse connection protection.

[0061] (x) Model building, parameter calibration and deployment Model construction includes the following processes: First, collect or organize images of transmission line inspections, label insulators, hardware, vibration dampers, spacers, pins, and corresponding defects with bounding boxes and categories, and retain available timestamps and attitude data; Second, train the basic detector according to the detection loss formula. Third, calibrate the adaptive partitioning threshold on the independent validation set. The fourth step involves setting the association threshold on consecutive frame verification sequences, including the maximum number of tiles, tile size, and boundary expansion rate. Historical retention coefficient μ, time series window Confirmation threshold Low confidence threshold and uncertainty threshold Fifth, the detector parameters and the above calibration parameters are quantized or compiled and loaded into the embedded processor.

[0062] One optional implementation parameter is: normalized tile size 512–960 pixels; 2–8 local tiles per frame; tile boundary expansion 10%–25%; continuous evidence window 3–7 frames; μ 0.70–0.95; Take a value of 0.70 to 0.90; The range is 0.10 to 0.35. The above range is used to illustrate possible implementations and does not limit the scope of protection. Specific values ​​can be calibrated using a validation set based on camera resolution, flight speed, and processor computing power.

[0063] Example 2 like Figure 6 As shown, the present invention also provides a method for detecting small targets during unmanned aerial vehicle (UAV) power line inspection. This method is implemented using the apparatus described in Embodiment 1, and includes: S1: During the drone inspection flight, simultaneously collect power transmission line image frames and corresponding drone attitude, gimbal angle or lens focal length data. S2: Establish initial values ​​for inter-frame coordinate transformation based on the pose data corresponding to adjacent image frames, and correct the initial values ​​for coordinate transformation using corresponding points in adjacent image frames, and register the current image frame to the reference coordinate system; S3: Generate an observation utility map based on the local image quality of the registered image, the motion residual between the registered image and the previous registered image, and the prior historical target trajectory. Recursively divide the registered image into regions based on the average observation utility of the region and the variance of the observation utility within the region to obtain at least one local high-resolution patch. S4: Input the global thumbnail of the registered image and the local high-resolution patch into the basic target detector that can output the target box, target category and target confidence, respectively. Restore the target box in the local patch to the original coordinate of the registered image, and perform same-frame fusion on candidate targets with the same category and spatial overlap. S5: Predict the position of the target in the current image frame based on the historical target trajectory state and the pose increment of adjacent frames, associate the same-frame fusion candidate with the predicted target across frames, and accumulate the detection evidence of the associated target in consecutive image frames in the form of log odds to obtain the temporal fusion probability. S6: Calculate the target uncertainty based on the temporal fusion probability, the fluctuation of the target box in consecutive image frames, and the image quality of the target box region; when the temporal fusion probability reaches the confirmation threshold and the target uncertainty is not higher than the uncertainty threshold, confirm and output the target; when the target uncertainty is higher than the uncertainty threshold or the temporal fusion probability is between the low confidence threshold and the confirmation threshold, send a re-inspection command to the UAV main controller, gimbal controller, or lens controller to change the gimbal angle, lens focal length, or shooting position and acquire new local images; S7: Store or transmit the confirmed target location, target category, temporal fusion probability, acquisition time, and flight position information.

[0064] The specific implementation process is as follows: S1: Synchronously acquire image frames and attitude data Execution components: image acquisition unit, pose acquisition unit, and embedded processor. The camera acquires the current frame. The attitude interface obtains the roll angle, pitch angle, yaw angle, altitude or distance and focal length at the same moment, and forms a synchronous input according to the timestamp.

[0065] S2: Attitude-assisted image stabilization and unified coordinate registration Execution Module: Image Stabilization and Coordinate Registration Module. It uses attitude parameters to generate initial transformation values ​​for adjacent frames, then uses corresponding points in the image to correct the projection transformation, mapping the current frame to the reference coordinate system to obtain the registered frame and attitude increment.

[0066] S3: Generate observation utility map and adaptively divide local regions. Execution Module: Observation Utility Evaluation and Adaptive Region Sampling Module. It calculates based on image quality, post-registration motion residuals, and prior historical trajectories. The original map is recursively partitioned, preserving areas with high observational utility and forming local high-resolution patches.

[0067] S4: Perform global and local target detection Execution unit: Basic object detector. It outputs candidate bounding boxes, categories, and confidence scores for both the global thumbnail and local tiles; it uses tile inverse mapping to recover the original image coordinates and merges spatially overlapping candidates from the same frame that are of the same category.

[0068] S5: Cross-Frame Candidate Association and Evidence Accumulation Execution Module: Cross-Frame Evidence Accumulation Module. It predicts the current target position based on historical trajectories and attitude increments, performs cross-frame matching using a cost comprised of position, overlap, and category, and updates the log-odds evidence and temporal fusion probability for each trajectory.

[0069] S6: Uncertainty Calculation and Re-inspection Action Selection Execution Module: Uncertainty Judgment and Active Re-inspection Module. It comprehensively integrates probability, detection box fluctuation, and target region image quality to calculate uncertainty; for highly uncertain targets, it selects re-inspection actions that can increase target pixels or reduce occlusion, while maintaining acceptable energy and time consumption.

[0070] S7: Output Results, Delay or Re-observation Execution components: communication interface, data storage unit, UAV main control and gimbal control interface. High-confidence and low-uncertainty targets are confirmed and output; low-confidence targets are deferred or eliminated; remaining targets trigger gimbal, zoom, or partial re-image capture, and the new image is returned to S1 to form a closed loop.

[0071] Overall connection relationship of the device: The image acquisition unit and attitude acquisition unit are connected to the image input interface and status input interface of the embedded processor, respectively; the processor's data bus is connected to the cache and storage unit; the processor's result output interface is connected to the communication module; the processor's control output interface is connected to the UAV main controller, gimbal controller, and zoom controller; the power supply and voltage regulation protection unit supplies power to the camera, attitude acquisition unit, processor, memory, communication interface, and control interface.

[0072] The embodiments described above are merely preferred embodiments of the present invention and are not intended to limit the scope of the present invention. Various modifications and improvements made to the technical solutions of the present invention by those skilled in the art without departing from the spirit of the present invention should fall within the protection scope defined by the claims of the present invention.

Claims

1. A small target detection device for unmanned aerial vehicle (UAV) power line inspection, characterized in that, The device includes: an image acquisition unit, an attitude acquisition unit, an attitude-assisted image stabilization and coordinate registration module, an observation utility evaluation and adaptive region sampling module, a basic target detector, a cross-frame candidate association and evidence accumulation module, and an uncertainty determination and active re-examination module. The image acquisition unit is used to acquire images of the transmission line in a continuous frame manner; The attitude acquisition unit is used to acquire the roll angle, pitch angle, heading angle, flight altitude or target distance and current focal length at the same moment to form attitude parameters; The attitude-assisted image stabilization and coordinate registration module is used to generate initial values ​​for the transformation of adjacent frames using attitude quantities, and to correct the projection transformation using corresponding points of the image, mapping the current frame to the reference coordinate system to obtain the registered frame. The observation utility evaluation and adaptive region sampling module is used to calculate the observation utility map based on image quality, post-registration motion residuals and historical trajectory priors, recursively partition the original image, retain the observation utility region and form local high-resolution patches. The basic target detector is used to output candidate boxes, categories, and confidence scores for the global thumbnail and local high-resolution tiles, respectively; it uses tile inverse mapping to recover the original image coordinates and fuses spatially overlapping and consistent candidates from the same frame. The cross-frame candidate association and evidence accumulation module is used to predict the current target position based on historical trajectories and attitude increments, complete cross-frame matching using a cost consisting of position, overlap, and category, and update the log odds evidence and temporal fusion probability of each trajectory. The uncertainty determination and active re-inspection module is used to comprehensively fuse probability, detection box fluctuation and target region image quality to calculate uncertainty; for high uncertainty targets, it selects re-inspection actions that can increase target pixels or reduce occlusion, and whose energy consumption and time consumption are acceptable.

2. The apparatus according to claim 1, characterized in that, The process of using image-corresponding point correction projection transformation to map the current frame to the reference coordinate system and obtain the registered frame includes: ; ; in, This is the corrected projection transformation. and For the m-th group of adjacent frames, the corresponding image points are: ρ is the number of matching point pairs; π(·) represents the projection of homogeneous coordinates onto image coordinates; ρ(·) is the robust loss to suppress the influence of mismatched points; Used to limit the deviation of visual estimation from the initial pose value. For the initial transformation, x represents the pixel position in the reference coordinates, and x with a tilde is its homogeneous coordinate. For the current image frame, For frame registration, Represents the candidate projection matrix. These are the homogeneous coordinates after transformation by the candidate projection matrix. Denotes the Frobenius norm of a matrix. This refers to the image frame number.

3. The apparatus according to claim 2, characterized in that, The observation utility evaluation and adaptive region sampling module includes: an image quality calculation unit, a registration residual calculation unit, a historical target prior unit, and a recursive partitioning unit; The image quality calculation unit is used to calculate the sharpness of each pixel's neighborhood. and exposure effectiveness Clarity and exposure effectiveness All values ​​are normalized to [0,1] and a quality map is generated. The registration residual calculation unit is used to compare pixels at the same coordinate in two consecutive frames to obtain motion residuals. The historical target prior unit is used to combine image quality, motion residuals and historical priors into an observation utility map; The recursive partitioning unit is used to calculate the partitioning evaluation value for any region Ω based on the observation utility map, with the entire image region as the root node, retain the leaf node regions whose evaluation values ​​meet the preset requirements, and perform cropping and size normalization on the k-th retained region to obtain the local high-resolution image patch sent to the basic detector.

4. The apparatus according to claim 3, characterized in that, The process of predicting the current target position based on historical trajectories and attitude increments, performing cross-frame matching using a cost comprised of position, overlap, and category, and updating the log-odds evidence and temporal fusion probability for each trajectory includes: Predict the trajectory state in the current frame based on adjacent pose increments; For the current i-th fusion candidate and the historical j-th predicted trajectory, construct the correlation cost; Cross-frame correspondences are obtained through minimum-cost matching, but the cost exceeds a threshold. Candidate newly created trajectories, consecutively unmatched to reach The frame's trajectory terminates; For matched trajectories, the current confidence level is accumulated in logarithmic probability form to obtain cumulative evidence; The cumulative evidence is converted into temporal fusion probability.

5. The apparatus according to claim 4, characterized in that, The process of calculating the uncertainty of the integrated fusion probability, detection box fluctuation, and target region image quality includes: ; in, For temporal fusion probability; For the most recent Normalized variance of frame detection box center and size; The average image quality within the target bounding box area; and For weights.

6. The apparatus according to claim 5, characterized in that, Methods for selecting re-inspection actions for highly uncertain targets that can increase target pixels or reduce occlusion, and whose energy consumption and time consumption are acceptable, include: When the target needs to be re-inspected, the controller selects a gimbal tilt, lens zoom, or slight change of shooting position from the allowed action set A. The target selected for the action is: ; in, This represents the expected target pixel gain or occlusion reduction for action a on the j-th trajectory; E(a) and T(a) represent the additional energy consumption and re-inspection time, respectively. and As weight; The gimbal deflection is calculated based on the deviation between the center of the target frame and the center of the image, and the zoom ratio is calculated based on the ratio of the current pixel width and height of the target to the expected pixel size. The final decision-making rule is: ; in, This indicates confirmation of the output. This indicates that a re-inspection has been triggered. This indicates a postponement or exclusion; To confirm the threshold, For low confidence threshold, The uncertainty threshold is used to trigger a re-inspection. After the re-inspection is triggered, the device acquires new local images and re-enters the image stabilization, regional sampling, detection, and evidence accumulation process until confirmation, the maximum number of re-inspections is reached, or the process terminates due to flight safety conditions.

7. A method for detecting small targets during unmanned aerial vehicle (UAV) power line inspection, wherein the method is implemented using the apparatus described in any one of claims 1-6, characterized in that, The method includes: S1: During the drone inspection flight, simultaneously collect power transmission line image frames and corresponding drone attitude, gimbal angle or lens focal length data. S2: Establish initial values ​​for inter-frame coordinate transformation based on the pose data corresponding to adjacent image frames, and correct the initial values ​​for coordinate transformation using corresponding points in adjacent image frames, and register the current image frame to the reference coordinate system; S3: Generate an observation utility map based on the local image quality of the registered image, the motion residual between the registered image and the previous registered image, and the prior historical target trajectory. Recursively divide the registered image into regions based on the average observation utility of the region and the variance of the observation utility within the region to obtain at least one local high-resolution patch. S4: Input the global thumbnail of the registered image and the local high-resolution patch into the basic target detector that can output the target box, target category and target confidence, respectively. Restore the target box in the local patch to the original coordinate of the registered image, and perform same-frame fusion on candidate targets with the same category and spatial overlap. S5: Predict the position of the target in the current image frame based on the historical target trajectory state and the pose increment of adjacent frames, associate the same-frame fusion candidate with the predicted target across frames, and accumulate the detection evidence of the associated target in consecutive image frames in the form of log odds to obtain the temporal fusion probability. S6: Calculate the target uncertainty based on the temporal fusion probability, the fluctuation of the target box in consecutive image frames, and the image quality of the target box region; when the temporal fusion probability reaches the confirmation threshold and the target uncertainty is not higher than the uncertainty threshold, confirm and output the target; when the target uncertainty is higher than the uncertainty threshold or the temporal fusion probability is between the low confidence threshold and the confirmation threshold, send a re-inspection command to the UAV main controller, gimbal controller, or lens controller to change the gimbal angle, lens focal length, or shooting position and acquire new local images; S7: Store or transmit the confirmed target location, target category, temporal fusion probability, acquisition time, and flight position information.