A ship positioning and trajectory tracking method based on multi-camera array

Through multi-camera array collaboration and information fusion, the convolutional neural network and KM algorithm are used to generate the similarity matrix and optimal field of view of the ship target, which improves the accuracy and reliability of ship positioning and tracking, and solves the problem of single-camera ranging accuracy. Taking into account the problem of difference and field of view, it achieves high-precision ship positioning and tracking.

CN118505758BActive Publication Date: 2024-10-18CHINA SHIPBUILDING (ZHEJIANG) MARINE TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the existing technology, the ship positioning and tracking accuracy is low, the ranging accuracy of a single surveillance camera is poor, and laser ranging is difficult to deploy in maritime scenes. It cannot simultaneously take into account multi-target monitoring and single-target gaze tracking in wide and narrow fields of view.

Method used

Multi-camera array collaboration and information fusion are used to generate a similarity matrix of ship targets through a convolutional neural network, and the KM algorithm is combined to determine the pairing relationship to form an optimal field of view, improve positioning and tracking accuracy, and solve the problem of single-camera ranging accuracy differences and field of view. Take into account issues.

Benefits of technology

It improves the accuracy and reliability of ship positioning and tracking, forms an observation array with a longer measurement baseline, ensures that the observation results of each camera are reliable, and solves the problem that a single camera cannot simultaneously take into account multi-target monitoring and single-target gaze in wide and narrow fields of view. question.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118505758B_ABST
    Figure CN118505758B_ABST
Patent Text Reader

Abstract

The present invention discloses a ship positioning and trajectory tracking method based on a multi-camera array, comprising: establishing a multi-camera array composed of at least two cameras, determining a typical delay time of the multi-camera array based on respective local times; pairing any two cameras in the multi-camera array to generate an observation angle sequence, dividing a sea area to be measured according to the observation angle sequence, and obtaining multiple ship image queues; generating a probability domain according to the ship image queue, determining an overlapping relationship matrix based on multiple probability domains, establishing a re-identifier based on a convolutional neural network, and generating a similarity matrix of ship targets in combination with the overlapping relationship matrix; determining a pairing relationship of the similarity matrix based on a KM algorithm, determining a positioning point according to the pairing relationship, determining an optimal field of view for each positioning point according to the observation angle sequence, and calling a corresponding camera for tracking according to the optimal field of view; improving the accuracy and reliability of ship positioning and tracking through collaboration and information fusion between cameras.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of ship positioning and trajectory tracking, and in particular to a ship positioning and trajectory tracking method based on a multi-camera array. Background Art

[0002] Accurately positioning and tracking ships is one of the important tasks in the field of navigation and maritime safety. Using surveillance cameras, real-time image information of ships at sea can be obtained. In combination with the camera gimbal, the orientation information of the target ship can also be obtained. This is an important part of ship positioning and tracking in shore-based sea monitoring scenarios. However, relying on a single surveillance camera to locate the target ship is often ineffective. One method is to project the points on the imaging plane onto the sea level based on the sea level assumption combined with the camera posture information, thereby obtaining the relative position information of the corresponding target ship on the sea level. However, this method is greatly affected by the camera height factor, and the distance measurement accuracy at long distances is poor, resulting in poor overall positioning accuracy. In addition, there is also a practice of introducing direct measurement methods for target ranging, the most typical of which is laser ranging. However, in maritime scenarios, the problems of laser ranging, such as short measurement distance and high deployment difficulty, are more prominent.

[0003] For example, a "method and system for identifying the entire trajectory of an inland ship across cameras" disclosed in Chinese patent literature, with publication number CN117173215A, discloses that the monitoring video of the inland ship is obtained through multiple video monitoring devices; the internal and external parameters of each video monitoring device are calibrated; target detection and multi-target tracking are performed on the videos collected by each monitoring device respectively, and the pixel coordinates of the ship trajectory in each camera are obtained; the relative elevation of the water surface is obtained through a water surface elevation monitoring sensor; the pixel coordinates are reversely projected to the world coordinate system based on the internal and external parameters of the video monitoring device and the relative elevation of the water surface; the ship speed is calculated, the ship heading is identified, and the trajectories of the same ship in different cameras are judged and merged to obtain the complete original trajectory points in the world coordinate system. However, the camera of this solution is fixed and the measurement accuracy is low. Summary of the invention

[0004] In order to solve the problem of low accuracy in the ship tracking process in the prior art, the present invention provides a ship positioning and trajectory tracking method based on a multi-camera array, which improves the accuracy and reliability of ship positioning and tracking through collaboration and information fusion between cameras.

[0005] In order to achieve the above object, the present invention provides the following technical solutions:

[0006] A ship positioning and trajectory tracking method based on a multi-camera array comprises: establishing a multi-camera array consisting of at least two cameras, determining a typical delay time of the multi-camera array based on respective local times;

[0007] Pair any two cameras in the multi-camera array to generate an observation angle sequence, divide the sea area to be measured according to the observation angle sequence, and obtain multiple ship image queues under the multi-camera array;

[0008] Generate the probability domain of ships and the corresponding overlapping relationship matrix according to the ship image queue, establish a re-identifier based on convolutional neural network, and generate the similarity matrix of ship targets;

[0009] Determine the pairing relationship of the similarity matrix based on the KM algorithm, determine the positioning point according to the pairing relationship, determine the optimal field of view of each potential, and call the multi-camera array for tracking according to the optimal field of view. The sea area to be measured is divided by multiple cameras to ensure the reliability of the observation results of each camera. The probability domain and overlapping relationship matrix are set to help identify each ship target. While screening out the most accurate ship target position, the optimal field of view can be screened out, so that tracking can be performed according to the optimal field of view to improve positioning and tracking accuracy. Through collaboration and information fusion between cameras, the accuracy and reliability of ship positioning and tracking are improved; an observation array with a long measurement baseline is formed to solve the problem of poor ranging accuracy of a single camera; a suitable camera is deployed to stare and track the target ship to solve the problem that a single camera cannot simultaneously take into account multi-target monitoring and single-target stare tracking under a wide / narrow field of view.

[0010] Preferably, the determining of the typical delay time includes establishing a standard time, and calibrating the multi-camera array based on the standard time;

[0011] A delayed time series based on the calibration time difference is established, and the typical image delay time in the delayed time series is determined by the average value. Based on the time series, the synchronization of the multi-camera array detection process is aligned from the time dimension to improve the time consistency of the image, thereby improving the detection accuracy.

[0012] Preferably, the obtaining of the ship image queue includes packaging the image frames and the corresponding data frames into an image queue, screening the image queue based on the action process and the time sequence, and obtaining a candidate sample sequence;

[0013] The sample frame is selected at the time closest to the center of the time sequence in the candidate sample sequence. The candidate sample sequence is obtained by screening the image queue, and the screening preprocessing of the image queue is realized.

[0014] Preferably, the method further includes performing image correction on the sample frame, performing target detection according to the sample frame after image correction to determine the first positioning information, and determining the second positioning information according to the parameters of the sample frame after image correction;

[0015] The second positioning information is obtained by performing pixel weighted averaging and projection on the parameters in different directions, thereby obtaining positioning information in different dimensions of features and parameters.

[0016] Preferably, when generating the observation angle sequence, the visible sea area range of each camera in the multi-camera array is determined;

[0017] Pair every two cameras in the multi-camera array, determine the angle between the paired cameras as the observation angle, and divide the sea area to be measured by combining the observation angle and the visible sea area range. The observation angle is established by the angle formed by any two cameras, and the sea area to be measured is divided according to the observation angle to avoid overlapping observation areas.

[0018] Preferably, when acquiring the ship image queue, a transformation matrix based on a multi-camera array is generated, and the transformation matrix transforms the coordinate system of each camera into the coordinate system of the corresponding segmented sea area to be measured. The dimensions of the multi-camera array and the sea area to be measured are unified through coordinate transformation.

[0019] Preferably, the method includes setting a camera physical coordinate system, determining camera posture parameters including multiple angles, and generating servo coordinates in combination with the camera posture parameters;

[0020] The servo coordinates are converted into sea level coordinates in combination with the servo installation parameters. First, the camera coordinates are converted into servo coordinates, and then the servo coordinates are converted into sea level coordinates to achieve the conversion of ship targets in different spaces.

[0021] Preferably, when generating the probability domain of the ship, the projection point of the ship target on the sea level is determined as the target projection point, and the projection point of the camera in the multi-camera array on the sea level is determined as the camera projection point;

[0022] Determine the graph G formed by the lines connecting the target projection point and the camera projection point, and determine the probability to form a probability domain based on the graph G. Establish a probability domain based on the projection point image and the distance between the points to achieve positioning evaluation of the ship target.

[0023] Preferably, the determination of the overlapping relationship matrix includes determining the sea surface projection point according to the central representative point of the ship target, and selecting the best camera combination according to the sea surface projection point. The ship target can be fitted as a point and combined with the overlapping relationship matrix to screen out the best camera combination, thereby determining the camera with the most accurate current posture observation.

[0024] Preferably, the method further includes determining the overlapping relationship of the probability domain of the best camera combination, repeating the above process, obtaining the overlapping relationship between each ship target and any ship target, and forming an overlapping relationship matrix. The overlapping relationship between each ship target and another ship target during the detection process can be obtained.

[0025] The present invention has the following advantages:

[0026] (1) A multi-camera array is introduced, that is, multiple cameras are used to observe the target at the same time. Through the collaboration and information fusion between cameras, the accuracy and reliability of ship positioning and tracking are improved. (2) A multi-camera linkage mechanism is provided. Through multiple sets of independently arranged monitoring cameras, an observation array with a long measurement baseline is formed to solve the problem of poor ranging accuracy of a single camera. (3) Through the tracking linkage mechanism, appropriate cameras are deployed to perform gaze tracking on the target ship, solving the problem that a single camera cannot simultaneously take into account multi-target monitoring and single-target gaze tracking under a wide / narrow field of view. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The drawings described below are merely exemplary. A person skilled in the art can derive other implementation drawings based on the provided drawings without inventive effort.

[0028] Figure 1 The figure is a schematic diagram of the method steps in an embodiment.

[0029] Figure 2 It is a schematic diagram of the arrangement structure in a typical embodiment.

[0030] In the figure:

[0031] 1-central processing unit; 2-monitoring camera unit; 21-monitoring camera; 22-servo mechanism; 23-camera host computer. DETAILED DESCRIPTION

[0032] Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in the field without making any creative work shall fall within the scope of protection of the present invention.

[0033] like Figure 1-Figure 2 As shown, in a preferred embodiment, the present invention discloses a method for ship positioning and trajectory tracking based on a multi-camera array, including: establishing a multi-camera array consisting of at least two cameras, wherein multiple cameras in the multi-camera array are arranged in an array at different positions, and the cameras in the multi-camera array have the same structure.

[0034] Determine the typical delay time of the multi-camera array based on the respective local time; for several cameras at different locations, determine the delay time of their respective locations, and generate the typical delay time of each camera, so as to achieve the unification of the multi-camera array in the time dimension.

[0035] Pair any two cameras in the multi-camera array to generate an observation angle sequence, determine the angle between any camera and another camera, and determine the overlap of the observation areas of any camera and another camera based on the angle, so as to avoid the problem of inconsistent boundaries caused by direct segmentation and combination of observation areas. In addition, through the observation angle sequence, it is possible to simultaneously determine that for any ship target, the combination of any camera and another camera is the most comprehensive in its observation, and to achieve sorting.

[0036] The sea area to be measured is divided according to the observation angle sequence, and the sea area to be measured is divided by multiple cameras to ensure that the observation results of each camera are reliable.

[0037] Acquire multiple ship image queues under multi-camera arrays; improve the accuracy and reliability of ship positioning and tracking through collaboration and information fusion between cameras.

[0038] The probability domain of the ship is generated according to the ship image queue. Each ship target has multiple probability domains under the multi-camera array, so as to realize the reliability evaluation of the ship target observation process, and determine the overlapping relationship matrix based on the probability domain, so as to set the probability domain and the overlapping relationship matrix to help identify each ship target, screen out the most accurate ship target position, and at the same time screen out the optimal field of view, so that tracking can be carried out according to the optimal field of view, thereby improving the positioning and tracking accuracy.

[0039] A re-identifier based on convolutional neural network is established, and training and recognition are carried out through convolutional neural network to realize evaluation from the dimension of ship characteristics; the similarity matrix of ship targets is generated by combining the overlapping relationship matrix; an observation array with a long measurement baseline is formed to solve the problem of poor ranging accuracy of a single camera.

[0040] Determine the pairing relationship of the similarity matrix based on the KM algorithm, and determine the most accurate set of cameras based on the pairing relationship; determine the positioning point based on the pairing relationship, and improve the accuracy and reliability of ship positioning and tracking through collaboration and information fusion between cameras. Determine the optimal field of view for each positioning point based on the observation angle sequence, so as to facilitate the deployment of appropriate cameras for gaze tracking of the target ship, and call the multi-camera array for tracking based on the optimal field of view, so as to solve the problem that a single camera cannot simultaneously take into account multi-target monitoring and single-target gaze tracking under wide / narrow fields of view.

[0041] In other embodiments, the determining of the typical delay time includes establishing a standard time, and calibrating the multi-camera array based on the standard time;

[0042] A delayed time series based on the calibration time difference is established, and the typical image delay time in the delayed time series is determined by the average value. Based on the time series, the synchronization of the multi-camera array detection process is aligned from the time dimension to improve the time consistency of the image, thereby improving the detection accuracy.

[0043] In other embodiments, the image queue is screened based on the action process and the time series to obtain a candidate sample sequence; the image queue is screened to obtain the candidate sample sequence, thereby implementing the screening preprocessing of the image queue.

[0044] In other embodiments, the method further includes performing image correction on the sample frame, obtaining first positioning information based on target detection in a feature dimension, obtaining second positioning information based on sample frame parameters in a parameter dimension, and obtaining positioning information in different feature and parameter dimensions.

[0045] This includes performing pixel weighted averaging and projection on parameters in different directions to obtain second positioning information.

[0046] In other embodiments, every two cameras in the multi-camera array are paired, and the pairing process gives priority to pairing adjacent cameras, or pairs are paired according to a certain interval requirement.

[0047] Determine the angle between the paired cameras as the observation angle and segment the sea area based on their respective visible areas. Establish the observation angle by forming an angle between any two cameras, segment the sea area to be measured based on the observation angle, and avoid overlapping of the observation areas.

[0048] In other embodiments, the servo coordinates are generated by combining the camera pose parameters; first, the camera coordinates are converted into the servo coordinates,

[0049] The servo coordinates are then converted into sea level coordinates in combination with the servo installation parameters to achieve the conversion of ship targets in different spaces.

[0050] In another embodiment, the present solution discloses a typical embodiment of a multi-camera array, including several monitoring camera units 2. Each monitoring camera unit 2 includes a monitoring camera 21, a servo mechanism 22, and a camera host computer 23, wherein the monitoring camera 3 completes basic image acquisition operations, the servo mechanism 22 performs posture adjustment according to the camera host computer action instructions and returns the current posture information, and the camera host computer 23 completes image queue packaging and output and instruction reception and transmission. In addition, the present solution requires the provision of a central processing unit 1. The central processing unit 1 is connected to each monitoring camera unit 2 to complete information aggregation and processing operations.

[0051] The steps of ship positioning and trajectory tracking based on a multi-camera array in a typical embodiment are as follows:

[0052] S1. Build a calibration and delay capture module to regularly calibrate the local time of each camera in the array, record the time delay of each camera in real time, and calculate the typical delay time of each camera.

[0053] S2. Construct a target recognition and tracking module, use an array camera to collect environmental images, output an image queue with timestamps and camera posture information, and use the image processing unit to identify, track, and segment the ship targets in the image to obtain an information queue containing the center position, azimuth, and tracking status of the previous and next frames of each ship in the image.

[0054] S3. Construct a target comparison and positioning module, further process the information queue output by the target recognition and tracking module, compare the ship images in different cameras, judge the similarity, and when it is confirmed to be the same target, use the camera posture information and image coordinates to solve the geographic position of the target and complete the positioning.

[0055] S4. Construct a trajectory tracking and tracking linkage module. When it is necessary to track the gaze of a target that has been identified and located in the scene, the most suitable camera in the array is deployed to track the target through optimal field of view estimation and complete the tracking.

[0056] In another embodiment, the step S1 specifically includes the following process:

[0057] S1-1: Take the local time of the central processing unit as the standard time; At the moment, the central processing unit sends a time calibration instruction to each monitoring camera unit, and each monitoring camera unit adjusts the local time to , and immediately sends a reply message to the central processing unit, which records the time {T}^\left [ {i} \right ]_{1} when each reply message is received .

[0058] S1-2: If the time difference from sending to receiving in the time calibration process of a surveillance camera unit is greater than the time calibration threshold, that is: , then repeat step S1-1 for this unit.

[0059] The time calibration process described in the above steps should be performed regularly in each working cycle.

[0060] It should be ensured that step S1-1 is performed without other data transmission.

[0061] S1-3: When the central processing unit receives the image queue of the surveillance camera unit, the receiving time of each frame of the image is recorded The frame is recorded at time {t}^\left [ {i} \right ]_{1} The time interval \Delta {t}^\left [ {i} \right ] , forming the image delay time series\left \{{\Delta {t}^\left [ {i} \right ]} \right \} ; Take \left \{{\Delta {t}^\left [ {i} \right ]} \right \} The image delay time of the surveillance camera unit is obtained by averaging the latest three points {D}^{\left [ {i} \right ]}_{img} , which is the typical image delay time.

[0062] S1-4: When the central processing unit controls the monitoring camera unit to operate, the monitoring camera unit immediately sends a reply message after completing the action command, and records the time when each action command is issued. The time of recording the corresponding reply information {u}^\left [ {i} \right ]_{1} The time interval \Delta {u}^\left [ {i} \right ] , forming the actuation delay time series\left \{{\Delta {u}^\left [ {i} \right ]} \right \} ; Take \left \{{\Delta {u}^\left [ {i} \right ]} \right \} The latest three points are averaged to obtain the actuation delay time of the surveillance camera unit {D}^\left [ {i} \right ]_{op} , which is the typical actuation delay time.

[0063] Image delay time {D}^{\left [ {i} \right ]}_{img} and the actuation delay time {D}^\left [ {i} \right ]_{op} The initial value of is 0.

[0064] In another embodiment, the step S2 specifically includes the following process:

[0065] S2-1: The surveillance camera collects the image IMG, and the camera host computer sends the camera's current time , the current posture PT and the lens magnification Z, and whether OP is in the motion process are encapsulated into a data frame Fdata, and then the image frame Fimg and the corresponding data frame Fdata are sequentially encapsulated into an image queue and transmitted to the central processing unit.

[0066] S2-2: The central processing unit receives the image queue of the surveillance camera, decapsulates the image queue, and obtains the frame image IMG and the frame time corresponding to the frame. , posture PT and lens magnification Z, whether it is in the action process OP; if it is in the action process OP=True, skip the processing and continue to unpack the remaining queues; if it is not in the action process OP=False, proceed to step S2-3.

[0067] S2-3: Preset sampling time sequence in the central processing unit and sampling range , if the frame time falls within the range \left [ {{T}_{s}-\delta ,{T}_{s}+\delta} \right ] If the frame is within , the processing is skipped, otherwise the frame is counted Candidate sample sequence at time ; When there is a certain frame time\left [ {{T}_{s}-\delta ,{T}_{s}+\delta} \right ] , in the candidate sample sequence Find the closest The candidate frame at the moment is used as the sample frame at that moment.

[0068] S2-4: Pre-store the lens parameters of each surveillance camera in the central processing unit, perform distortion correction on the image based on the lens parameters, and obtain the corrected image Image2 of the sample frame; input the corrected image Image2 of the sample frame into the target detection and tracker to obtain the position BBox and pixel mask Mask of each ship target in the image, as well as the batch number ID of each ship target.

[0069] S2-5: Combine the camera pose and lens magnification of the sample frame to obtain the plumb line direction of the corrected image Image2; perform pixel weighted averaging on the Mask according to the plumb line direction to obtain the central representative point of the ship target ; Project the Mask along the plumb line to obtain the representative points on the left and right ends\left [ {{L}_{ship},{R}_{ship}} \right ] .

[0070] In another embodiment, the step S3 specifically includes the following process:

[0071] S3-1: Segment the monitored sea area and allocate the best comparison camera combination to the points in the area. The specific steps include:

[0072] I) Determine the visible sea area of ​​each surveillance camera unit , visible sea area It is the set of all visible points on the sea surface, that is, the geometric area on the line of sight that is not blocked by obstacles other than ship targets;

[0073] II) Traverse the points in the sea area to be monitored, combine each monitoring camera unit in pairs, and calculate the angle between the point and each monitoring camera unit combination: observation angle , if the sea area that is not within the visible range of a certain surveillance camera unit is eliminated Then sort them from large to small to get the observation angle sequence ; The camera combination corresponding to the maximum observation angle is the best camera combination, denoted as CamPair; Observation angle sequence for all s and CamPair records to complete the regional segmentation of the sea area to be tested.

[0074] In order to achieve the operability of traversal, the monitored sea area Grid division is performed, and the grid after division is recorded as;

[0075] The visible sea area needs to be pre-stored in the central processing unit and updated regularly by the operator based on the actual monitoring situation.

[0076] S3-2: Converting image points from the camera coordinate system to points in the geographic coordinate system located at sea level can be done by the following method:

[0077] I) Convert the current camera lens parameters to the camera physical coordinate system.

[0078] ;

[0079] in is the camera pixel coordinate, is the corresponding camera physical coordinate, s is any non-zero constant, are the focal length and optical center coordinates in the corresponding directions respectively.

[0080] II) Convert the camera pose parameters to the servo coordinate system.

[0081] ;

[0082] in is the corresponding servo coordinate, are the yaw, pitch and roll angles of the camera relative to the servo, respectively.

[0083] III) Convert to the North East (NEU) coordinate system through the servo installation parameters.

[0084] ;

[0085] in is the corresponding servo coordinate, are the yaw, pitch and roll angles of the servo relative to the North East (NEU) coordinate system, respectively.

[0086] IV) Calculate the north-east celestial coordinate on the sea level by intersecting it with the sea level, ,in, is the corresponding north-east celestial coordinate on the sea level, and H is the altitude of the surveillance camera unit.

[0087] V) Combine the installation points of each surveillance camera unit and calculate the corresponding northeast celestial coordinates on the sea level , converted to geographic coordinates .

[0088] In other embodiments, when generating the probability domain of the ship, firstly obtain the ship target information including the center position and azimuth of the ship, then determine the installation point information of the multi-camera array, determine the projection point of the ship target on the sea level as the target projection point in combination with the installation point information, and determine the projection point of the camera in the multi-camera array on the sea level as the camera projection point, thereby realizing the dimensional conversion.

[0089] Determine the figure G formed by the line connecting the target projection point and the camera projection point, calculate the distance between each point on the figure G and the target projection point, and take The probability of the point is constructed to form a probability domain. The probability domain based on the projection point image and the distance between points is established to realize the positioning evaluation of the ship target.

[0090] In a specific embodiment, when obtaining the probability domain of a ship, the following steps are included: S3-3: Based on the ship target information output by the target recognition and tracking module, the ship target information includes the center position and azimuth, combined with the visible sea area range and installation point information of each monitoring camera unit, the probability domain of the ship target in the geographic coordinate system is calculated. ; Determined by the following steps:

[0091] I) According to the method shown in S3-2, calculate , , Projection point on the sea surface from the camera , , ; Calculate the projection point of the camera on the sea surface along the plumb line .

[0092] I from ① ② ③ Distance Two perpendicular lines with a distance d between them The figure G is surrounded by straight lines, and the distance from each point on G to The distance r is taken as the probability of the point , forming a probability domain .

[0093] To facilitate subsequent calculations, the probability domain Grid is divided into two parts and then normalized.

[0094] In other embodiments, the determination of the overlapping relationship matrix includes determining the sea surface projection point according to the central representative point of the ship target, thereby fitting the ship target as a point, and then facilitating the selection of the best camera combination according to the sea surface projection point. The best camera combination is screened out by fitting the ship target as a point in combination with the overlapping relationship matrix, thereby determining the camera that can most accurately observe the current posture. It also includes determining the overlapping relationship in the probability domain of the best camera combination, which can obtain the overlapping relationship of each ship target in the detection process of different cameras. And obtain the overlapping relationship between each ship target and any ship target, and the arbitrary ship target includes the observation results of the ship target itself under different cameras to form an overlapping relationship matrix. It is possible to obtain multiple overlapping relationships between each ship target and another ship target during the detection process.

[0095] In a specific embodiment, the overlapping relationship is determined through step S3-4, wherein S3-4: calculating the overlapping relationship in the probability domain between ships observed by different monitoring camera units specifically includes:

[0096] S3-401: For surveillance camera unit Ship targets observed ,according to The corresponding central representative point Determine the sea surface projection point ,according to Determine the current best camera combination CamPair\left [ {m,n} \right ] , get the paired surveillance camera unit .

[0097] S3-402: Targeted Ship Targets , calculate the probability domain and The overlapping relationship .

[0098] S3-403: Record the overlapping relationship between all ship targets to form an overlapping relationship matrix .

[0099] S3-5: Build a re-identifier to compare and analyze ship image information from different cameras, including:

[0100] S3-501: Use convolutional neural network (CNN) as feature extractor and adopt appropriate similarity measurement method to compare feature vectors and output similarity to complete the re-identifier construction.

[0101] S3-502: For the matched target With the goal , import the image slices of the corresponding BBox of the two into the re-identifier to obtain the image similarity ; Record the image similarity between all ship targets to form an image similarity matrix .

[0102] S3-6: Constructing a similarity matrix .

[0103] S3-7: Perform similarity matrix analysis and read out target matches, including:

[0104] S3-701: Initialize the similarity matrix is an empty matrix.

[0105] S3-702: After sampling starts, at sampling time T, the similarity matrix To update,

[0106] , where decay represents the decay factor, Indicates the similarity of the previous sampling moment; to facilitate subsequent calculations, The elements of are assigned the value 0.

[0107] S3-703: After the update is completed, new targets will be added and new targets will be supplemented The similarity of .

[0108] S3-704: After the new target is added, the disappeared target is removed, and the target element rows and columns before the threshold N sampling points are removed; thus, the iteration of the similarity matrix is ​​completed.

[0109] S3-705: Use KM algorithm to obtain the best target pairing relationship ;exist In the above example, we remove the similarity values ​​less than The final pairing relationship is obtained .

[0110] S3-8: Using the baseline measurement principle, calculate the point information of the ship target, and according to the final pairing relationship , determine the ship's target and Corresponding sea surface projection point and , calculate the straight line and The intersection of , the intersection This is the final geographical location of the ship’s target.

[0111] S3-9: Use the tracking information to establish the trajectories of different ship targets.

[0112] In another embodiment, the step S4 specifically includes the following process:

[0113] S4-1: Using the Unscented Kalman Filter (UKF) to trajectories Perform status prediction to obtain the target point prediction at time T+1 ; When it is necessary to track the gaze of a target, , by observing the angle sequence Get the optimal camera pairing (m, n) at that moment, and the suboptimal camera q, and use camera q as the tracking camera f.

[0114] S4-2: If the suboptimal camera q does not exist, the operator determines whether to use the camera m as the tracking camera, otherwise no tracking is performed.

[0115] S4-3: Temporarily move the tracking camera out of the camera array and observe the angle sequence of all points s in the monitored sea area And the best camera pairing for updates.

[0116] S4-4: Typical image delay time {D}^\left [ {f} \right ]_{img} of the camera obtained from S2 and the actuation delay time {D}^\left [ {f} \right ]_{op} , calculate the best observation window of the target at time T+1, and operate the tracking camera f; continuously repeat S4-4 operation to realize camera tracking.

[0117] These modifications or improvements made on the basis of the present invention without departing from the spirit of the present invention all fall within the scope of protection required by the present invention.

Claims

1. A ship positioning and trajectory tracking method based on a multi-camera array, characterized in that: include: Establishing a multi-camera array consisting of at least two cameras, and determining a typical delay time of the multi-camera array based on respective local times; Pair any two cameras in the multi-camera array, use the angle between the paired cameras as the observation angle, generate an observation angle sequence, divide the sea area to be measured according to the observation angle sequence and the visible sea area range of the camera, and obtain multiple ship image queues under the multi-camera array; Generate the probability domain of ships and the corresponding overlapping relationship matrix based on the ship image queue, The projection point of the ship target on the sea level is the target projection point, and the projection point of the camera in the multi-camera array on the sea level is the camera projection point. The probability is determined according to the figure surrounded by the line connecting the target projection point and the camera projection point to form a probability domain; Calculate the overlapping relationship of the probability domains of any two ship targets to form an overlapping relationship matrix; Establish a re-identifier based on convolutional neural network to generate the similarity matrix of ship targets; Determine the pairing relationship of the similarity matrix based on the KM algorithm, determine the positioning points based on the pairing relationship, determine the optimal field of view for each point, and call the multi-camera array for tracking based on the optimal field of view.

2. A ship positioning and trajectory tracking method based on a multi-camera array according to claim 1, characterized in that: Determining the typical delay time includes establishing a standard time and calibrating the multi-camera array based on the standard time; A delay time series based on the calibration time difference is established, and the typical image delay time in the delay time series is determined by the average value.

3. A ship positioning and trajectory tracking method based on a multi-camera array according to claim 1 or 2, characterized in that: Acquiring a ship image queue includes packaging image frames and corresponding data frames into an image queue, screening the image queue based on the action process and time sequence, and obtaining a candidate sample sequence; The sample frame is selected from the candidate sample sequence at the time closest to the center moment in the time sequence.

4. The method for ship positioning and trajectory tracking based on a multi-camera array according to claim 3, characterized in that: The method further includes performing image correction on the sample frame, performing target detection according to the sample frame after the image correction to determine first positioning information, and determining second positioning information according to parameters of the sample frame after the image correction; The second positioning information is obtained by performing pixel weighted averaging and projection on the parameters in different directions.

5. A ship positioning and trajectory tracking method based on a multi-camera array according to claim 1 or 2, characterized in that: When generating the observation angle sequence, the visible sea area range of each camera in the multi-camera array is determined; Pair every two cameras in the multi-camera array, determine the angle between the paired cameras as the observation angle, and segment the sea area to be measured based on the observation angle and the visible sea area range.

6. The method for ship positioning and trajectory tracking based on a multi-camera array according to claim 1, characterized in that: When acquiring the ship image queue, a conversion matrix based on the multi-camera array is generated, and the conversion matrix converts the coordinate system of each camera into the coordinate system of the corresponding divided sea area to be measured.

7. A method for ship positioning and trajectory tracking based on a multi-camera array according to claim 6, characterized in that: Including setting the camera physical coordinate system, determining the camera posture parameters including multiple angles, and generating servo coordinates based on the camera posture parameters; Combine the servo installation parameters to convert the servo coordinates to sea level coordinates.

8. A method for ship positioning and trajectory tracking based on a multi-camera array according to claim 1 or 2 or 6 or 7, characterized in that: When generating the probability domain of the ship, the projection point of the ship target on the sea level is determined as the target projection point, and the projection point of the camera in the multi-camera array on the sea level is determined as the camera projection point; A figure G formed by the lines connecting the target projection point and the camera projection point is determined, and the probability is determined according to the distance between each point on the figure G and the target projection point to form a probability domain.

9. The method for ship positioning and trajectory tracking based on a multi-camera array according to claim 1, characterized in that: Determining the overlapping relationship matrix includes determining a sea surface projection point according to a central representative point of the ship target, and selecting an optimal camera combination according to the sea surface projection point.

10. A method for ship positioning and trajectory tracking based on a multi-camera array according to claim 9, characterized in that: The method also includes determining the overlapping relationship of the probability domain of the best camera combination, repeating the above process, obtaining the overlapping relationship between each ship target and any ship target, and forming an overlapping relationship matrix.

Citation Information

Patent Citations

  • Cross-camera inland river ship whole-course track identification method and system

    CN117173215A

  • Cooperative searching and tracking positioning method for moving target by unmanned aerial vehicle cluster

    CN115661204A

  • Target ship fusion positioning method based on vision and GPS

    CN115824190A