A cross-scale target tracking method and apparatus
By using a multi-sided heterogeneous panoramic perception system and Kalman filtering algorithm, high-precision target tracking across scales in large scenes is achieved, solving the problems of low resolution and high cost in existing technologies and providing a high-precision panoramic target tracking method.
Patent Information
- Application Number
- CN202210999023.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-19
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2042-08-19
AI Technical Summary
Existing large-scale panoramic imaging methods suffer from low resolution for small-scale target perception, poor edge imaging quality, and high deployment costs when tracking targets across scales.
A multi-dimensional heterogeneous panoramic perception system is adopted. The position of the perception imaging camera is calibrated by building a training data acquisition device, the image is stitched and fused using a cross-scale target tracking model, and the target trajectory is tracked by combining the Kalman filter algorithm, so as to achieve high-precision cross-scale target tracking.
It achieves high-resolution panoramic imaging and high-precision target tracking in large scenes, solves the problems of low target perception resolution and poor edge imaging quality, meets the data acquisition and training conditions for high-precision target tracking, and has good applicability.
Smart Images

Figure CN115330838B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of deep learning technology, and in particular to a cross-scale target tracking method and apparatus. Background Technology
[0002] Existing large-scene panoramic imaging methods generally utilize multi-camera stitching for panoramic imaging or multi-fisheye lens panoramic imaging. Both of these methods suffer from low resolution in perceiving small-scale targets and poor edge imaging quality, resulting in low accuracy and poor applicability when performing cross-scale target tracking under conditions of motion blur, similar background interference, occlusion, or changes in lighting. In addition, the above deployment methods are all expensive, leading to excessively high deployment costs.
[0003] Therefore, the inventors recognized that there is an urgent need for a large-scale panoramic imaging algorithm that is simple in structure, easy to deploy, and has high-precision target tracking performance across scales to meet the needs of panoramic target tracking in large scenes. Summary of the Invention
[0004] Based on this, a cross-scale target tracking method and apparatus are provided to address the aforementioned technical problems.
[0005] Firstly, a cross-scale target tracking method includes:
[0006] Step 1: Set up a training data acquisition device, calibrate the position of the sensing imaging camera on the set up training data acquisition device, and use the set up training data acquisition device to collect data, and then train a cross-scale target tracking model.
[0007] Step two: Construct a cross-scale panoramic perception system, acquire multiple global perception images and multiple local perception images using the system, and calculate the transformation matrix of adjacent images of the global perception images. Then, stitch and fuse the multiple global perception images using the transformation matrix of the adjacent images to obtain a 360° panoramic stitched image I. G ;
[0008] Step 3: The multiple locally sensed images acquired in Step 2 are processed using the cross-scale target tracking model trained in Step 1 to obtain the target's coordinate location in the locally sensed images. The target's tracking trajectory in the locally sensed images is calculated using the Kalman filter algorithm, and the target's tracking trajectory in the corresponding global sensed image is obtained based on this trajectory. The target trajectories in the multiple global sensed images are transformed using the transformation matrix of adjacent images in the global sensed images to obtain a 360° panoramic stitched image I. G The specific trajectory of the target.
[0009] Optionally, the cross-scale panoramic perception system includes twelve sets of fixing devices arranged in a regular dodecagon, each set of fixing devices is fixed with a camera array fixing bracket, and each camera array fixing bracket is fixed with a set of camera arrays; the twelve sets of camera arrays respectively cover the twelve outer regions of the regular dodecagon.
[0010] Each camera array includes three sensing imaging cameras, comprising two local sensing imaging cameras and one global sensing imaging camera, with the global sensing imaging camera fixed between the two local sensing imaging cameras.
[0011] The imaging areas of the global sensing imaging cameras of two adjacent camera arrays overlap; for each camera array, the field of view of the global sensing imaging camera is greater than the sum of the field of view of the two local sensing imaging cameras, the vertical field of view of the global sensing imaging camera is greater than twice the vertical field of view of the local sensing imaging camera, and the field of view optical axis of the local sensing camera can be arbitrarily adjusted.
[0012] Further optionally, the training data acquisition device includes a camera array mounting bracket and a set of camera arrays fixed on the camera array mounting bracket.
[0013] Further optionally, in the cross-scale panoramic perception system, the field-of-view optical axes of all perception imaging cameras are coplanar with the regular dodecagon, and the backward extensions of the field-of-view optical axes of all global perception imaging cameras pass through the center of the regular dodecagon; the horizontal field of view of all global perception imaging cameras is greater than or equal to 45°, and the imaging resolution of all global perception imaging cameras and all local perception imaging cameras is greater than or equal to 9 million pixels.
[0014] Optionally, step one involves calibrating the position of the sensing imaging camera on the constructed training data acquisition device, collecting data using the constructed training data acquisition device, and then training the cross-scale target tracking model, specifically including:
[0015] The positions of the two local sensing imaging cameras and the global sensing imaging camera in the training data acquisition device are calibrated, and the mapping matrices of the two local sensing imaging cameras relative to the global sensing imaging camera are obtained using the feature point matching method. and
[0016] Image data is collected at a specific location using a training data acquisition device to obtain a local perception image dataset and a global perception image dataset. The targets collected in the local perception image dataset and the global perception image dataset are labeled with bounding boxes. The labeled local perception image dataset is divided into a training set, a test set and a validation set according to a preset ratio.
[0017] The existing target tracking algorithm and its corresponding loss function are used to train the training set, and the model is iteratively trained according to a pre-defined training strategy until the loss function converges, thus obtaining a cross-scale target tracking model.
[0018] Further optionally, the feature point matching method is the SURF feature point matching algorithm; the specific locations include pedestrian plazas and intersections.
[0019] Further optionally, the preset ratio is 8:1:1; the target tracking algorithm is the ByteTrack algorithm.
[0020] Further, optionally, step two specifically includes:
[0021] A multi-scale panoramic perception system was constructed, and image data from 12 camera arrays were synchronously acquired using a square wave synchronous triggering method. The globally perceived image perceived by the 12 camera arrays at time t is denoted as... And the perceived localized image is denoted as i represents an index of a set of camera arrays, i∈{1,2,…,12};
[0022] For the global sensing image sequence at time t Image feature-based matching algorithms were used to analyze adjacent images in the sequence. and Feature extraction and matching are performed to obtain the transformation matrix of the neighboring images of the globally perceived image. i∈{1,2,…,11}, j=i+1;
[0023] By using the transformation matrix of the neighboring images of the global sensing image, 12 global sensing images are stitched and fused to obtain a 360° panoramic stitched image I. G .
[0024] Further, optionally, step three specifically includes:
[0025] For the 24 local sensing images sensed by the 12 camera arrays at time t, the cross-scale target tracking model trained in step one is used to process them respectively to obtain the coordinate position localization result of the target in the local sensing image.
[0026] The Kalman filter algorithm is used to predict the position of the target trajectory saved at time t-1 at time t, and the similarity matrix is calculated based on the IoU strategy or appearance representation vector. Then, the Hungarian algorithm is used for matching.
[0027] For the matched trajectories, the Kalman filter algorithm is used to update the trajectory at time t, combining the matching result and the target localization result at time t. The updated trajectory is then used as the target tracking trajectory at time t. For unmatched trajectories, they are placed in the set of trajectories that have not been lost and matched again at the next time step. For unmatched localization results, they are added to the current tracking trajectory set as new trajectories and the trajectory is updated according to the Kalman filter algorithm.
[0028] According to the mapping matrix and The tracking trajectory of the target in the local sensing image is mapped back to the corresponding global sensing image to obtain the tracking trajectory of the target in the global sensing image;
[0029] For the target trajectory acquired from the globally perceived image, the transformation matrix of the adjacent images of the globally perceived image is used. The target trajectory of 12 global perception images is transformed to obtain a 360° panoramic stitched image I. G The specific trajectory of the target is determined, enabling cross-scale target tracking of panoramic images at the 100-megapixel level.
[0030] Secondly, a cross-scale target tracking device includes:
[0031] The cross-scale target tracking model training module is used to build a training data acquisition device, calibrate the position of the sensing imaging camera on the built training data acquisition device, and collect data using the built training data acquisition device to train the cross-scale target tracking model.
[0032] The panoramic image fusion module is used to build a cross-scale panoramic perception system. It acquires multiple global perception images and multiple local perception images using this system, and calculates the transformation matrix of adjacent images of the global perception images. The transformation matrices of these adjacent images are then used to stitch and fuse the multiple global perception images to obtain a 360° panoramic stitched image I. G ;
[0033] The cross-scale target tracking module processes multiple local sensing images acquired by the panoramic image fusion module using a cross-scale target tracking model trained by the cross-scale target tracking model training module to obtain the target's coordinate position in the local sensing images. It then calculates the target's tracking trajectory in the local sensing images based on the Kalman filter algorithm and obtains the target's tracking trajectory in the corresponding global sensing image based on this trajectory. Finally, it transforms the target trajectories in the multiple global sensing images using the transformation matrix of adjacent images to obtain a 360° panoramic stitched image I. G The specific trajectory of the target.
[0034] The present invention has at least the following beneficial effects:
[0035] This invention proposes a cross-scale target tracking method for large-scale scenes. It utilizes a multi-sided heterogeneous panoramic perception system for high-resolution panoramic imaging of targets at multiple scales, then performs large-scale target tracking using local perception images, and finally maps the results to a global perception image to achieve high-precision cross-scale target trajectory tracking. The panoramic perception system used in this invention has a simple structure and is easy to deploy, solving the problems of low target perception resolution and poor edge imaging quality. It meets the data acquisition and training conditions for high-precision panoramic target tracking in large scenes, providing data support for the training of high-precision target tracking methods, and then achieving ultra-high resolution panoramic target tracking. Therefore, the target tracking method provided by this invention has high accuracy and good applicability. Attached Figure Description
[0036] Figure 1 This is a flowchart illustrating a cross-scale target tracking method according to an embodiment of the present invention;
[0037] Figure 2 This is a schematic diagram of the structure of a cross-scale panoramic perception system in one embodiment of the present invention;
[0038] Figure 3 This is a schematic diagram of the structure of a training data acquisition device in one embodiment of the present invention;
[0039] Figure 4 This is a block diagram of the module architecture of a cross-scale target tracking device provided in one embodiment of the present invention.
[0040] Explanation of reference numerals in the attached figures:
[0041] 1. Fixing device;
[0042] 2. Camera array mounting bracket;
[0043] 3. Camera array; 31. First local sensing imaging camera; 32. Second local sensing imaging camera; 33. Global sensing imaging camera. Detailed Implementation
[0044] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0045] In one embodiment, such as Figure 1As shown, a cross-scale target tracking method is provided. The main process includes training a large-scene cross-scale target tracking model, calculating ultra-high resolution panoramic image fusion, and fusing ultra-high resolution panoramic cross-scale target tracking results. This method uses a tracking-by-detection strategy to track targets and includes the following steps:
[0046] S1. Build a training data acquisition device, calibrate the position of the sensing imaging camera on the built training data acquisition device, and use the built training data acquisition device to collect data, and then train a cross-scale target tracking model.
[0047] S2. Construct a cross-scale panoramic perception system, acquire multiple global perception images and multiple local perception images using the system, and calculate the transformation matrix of adjacent images of the global perception images. Then, stitch and fuse the multiple global perception images using the transformation matrix of the adjacent images to obtain a 360° panoramic stitched image I. G ;
[0048] S3: The multiple local sensing images acquired in S2 are processed using the cross-scale target tracking model trained in S1 to obtain the target's coordinate location in the local sensing images. The target's tracking trajectory in the local sensing images is calculated using the Kalman filter algorithm, and the target's tracking trajectory in the corresponding global sensing image is obtained based on this trajectory. The target trajectories in the multiple global sensing images are transformed using the transformation matrix of adjacent images in the global sensing images to obtain a 360° panoramic stitched image I. G The specific trajectory of the target.
[0049] Among them, such as Figure 2 As shown, the multi-scale panoramic perception system employs a polygonal heterogeneous design to achieve 360° panoramic perception imaging. It includes twelve sets of fixed devices 1 arranged in a regular dodecagon. Each set of fixed devices 1 has a camera array mounting bracket 2 fixed to it, and each camera array mounting bracket 2 has a camera array 3 fixed to it. In other words, surrounding the twelve sets of fixed devices 1, twelve sets of camera arrays 3 are arranged around the polygonal array, and the twelve outer regions of the regular dodecagon are respectively covered by the twelve sets of camera arrays 3.
[0050] Figure 2 In (a), 3 represents a camera array, specifically, as shown below. Figure 2As shown in (b), each camera array 3 includes three sensing imaging cameras; specifically, the three sensing imaging cameras include two local sensing imaging cameras (first local sensing imaging camera 31 and second local sensing imaging camera 32) and one global sensing imaging camera 33, with the global sensing imaging camera 33 fixed between the first local sensing imaging camera 31 and the second local sensing imaging camera 32.
[0051] The imaging areas of the global sensing imaging cameras 33 of two adjacent camera arrays 3 overlap; for each camera array 3, the field of view of the global sensing imaging camera 33 is greater than the sum of the field of view of the two local sensing imaging cameras, the vertical field of view of the global sensing imaging camera 33 is greater than twice the vertical field of view of the local sensing imaging camera, and the optical axes of the two local sensing cameras can be arbitrarily adjusted to achieve heterogeneous deployment.
[0052] The cross-scale panoramic perception system constructed in this embodiment includes 12 global perception imaging cameras 33 and 24 local perception imaging cameras. The optical axes of the fields of view of all perception imaging cameras are coplanar with the regular dodecagon. The backward extensions of the optical axes of the fields of view of all global perception imaging cameras 33 pass through the center of the regular dodecagon. The imaging resolution of all perception imaging cameras (including global perception imaging cameras and local perception imaging cameras) is not less than 9 million pixels.
[0053] The key feature of this system is that, to avoid blind spots in panoramic imaging and to accommodate subsequent algorithm design, a certain degree of overlap in the imaging areas between each group of camera arrays 3 is required. Taking the above system as an example, the horizontal field of view of a single global sensing imaging camera 33 theoretically needs to be above 30°, and in practice, it should be above 45° to ensure a certain degree of imaging overlap. For a group of camera arrays 3, the vertical field of view of the global sensing camera should be more than twice the vertical field of view of the local sensing camera. The local sensing devices of the system can be adjusted at any angle to achieve heterogeneous deployment, as long as the vertical field of view of the global sensing imaging camera 33 is more than twice the vertical field of view of the corresponding local sensing imaging camera.
[0054] In addition, the structure of the training data acquisition device is as follows: Figure 3 As shown, a camera array mounting bracket 2 and a set of camera arrays 3 fixed on the camera array mounting bracket 2 are included in a cross-scale panoramic perception system. The camera array 3 specifically includes two local perception imaging cameras (first local perception imaging camera 31 and second local perception imaging camera 32) and one global perception imaging camera 33. Their configuration requirements are the same as those of the set of camera arrays 3 in the cross-scale panoramic perception system.
[0055] exist Figure 3In the diagram, A represents the assumed scene tracking target, B is an imaging schematic of the target captured by the global sensing imaging camera 33, C and D represent imaging schematics of the target captured by the first local sensing imaging camera 31 and the second local sensing imaging camera 32, respectively, and E is a schematic diagram of the region corresponding to the local imaging of cameras C and D in B. Figure 3 It is known that the target scale of the perceived target is significantly different between the global perception imaging camera and the local perception imaging camera. The target size is smaller under global perception, resulting in poor target tracking accuracy in the global perception image. Large-scale target tracking can be performed through the local perception image, and the target can be mapped to the global perception image through the pre-calibration relationship between the cameras to achieve high-precision target tracking across scales.
[0056] Furthermore, in S1, the position of the sensing imaging camera is calibrated using the constructed training data acquisition device, and data is collected using the constructed training data acquisition device. Then, the cross-scale target tracking model is trained, specifically including:
[0057] (1) To Figure 3 The training data acquisition device shown performs position calibration on two local sensing imaging cameras (first local sensing imaging camera 31 and second local sensing imaging camera 32) and a global sensing imaging camera 33, and uses a feature point matching method to obtain the mapping matrices of the two local sensing imaging cameras relative to the global sensing imaging camera 33. and
[0058] (2) Use the training data acquisition device to carry out diverse large-scene data acquisition, collect image data at specific locations, obtain local perception image dataset and global perception image dataset, and mark the target collected in the local perception image dataset and global perception image dataset with local bounding boxes; divide the marked local perception image dataset into training set, test set and validation set according to a preset ratio (8:1:1);
[0059] (3) Use existing target tracking algorithms and their corresponding loss functions to train the training set, and iterate the training model according to the pre-set training strategy (learning rate, training batch, training epoch, optimizer) until the loss function converges to obtain a large-scale cross-scene target tracking model, thereby completing the training of the global cross-scale target tracking model.
[0060] Among them, the feature point matching method includes, but is not limited to, the Surf feature point matching algorithm; the specific location includes, but is not limited to, wide and densely populated places such as pedestrian squares and intersections; and the target tracking algorithm can be, but is not limited to, the ByteTrack algorithm.
[0061] Furthermore, S2 specifically includes:
[0062] S21, setup Figure 2 The system shown is a multi-scale panoramic sensing system that uses a square wave synchronous triggering method to synchronously acquire image data from 12 camera arrays. Assume that at a certain time t, the globally perceived image captured by the 12 camera arrays is... And the perceived local perception image is i represents an index of a set of camera arrays, i∈{1,2,…,12};
[0063] S22, for the global sensing image sequence at time t Image feature-based matching algorithms were used to analyze adjacent images in the sequence. and Feature extraction and matching are performed to obtain the transformation matrix of the neighboring images of the globally perceived image. i∈{1,2,…,11}, j=i+1, this matrix can be used to stitch adjacent images together;
[0064] S23, using the transformation matrix of the adjacent images of the aforementioned global perception image, the 12 global perception images are stitched and fused to obtain a 360° panoramic stitched image I. G This is used to complete the fusion calculation of ultra-high resolution panoramic images.
[0065] Furthermore, S3 specifically includes:
[0066] S31, for the 24 local perception images perceived by the 12 camera arrays of the cross-scale panoramic perception system at time t, the cross-scale target tracking model trained in S1 is used to process them respectively to obtain the coordinate position localization result of the target in the local perception image.
[0067] S32, based on the Kalman filter algorithm, predict the position of the target trajectory saved at time t-1 at time t, and calculate the similarity matrix based on the IoU strategy or appearance representation vector, and then use the Hungarian algorithm for matching; that is, match the target trajectory saved at time t-1 with each target position in the prediction result, and match the target trajectory saved at time t-1 with the corresponding predicted position at time t.
[0068] S33. For the matched trajectory, combine the target localization result and the matching result at time t, use the Kalman filter algorithm to update the trajectory at time t, and then use the updated trajectory as the target tracking trajectory at time t; for the unmatched trajectory, put it into the set of unlost trajectories, and match it again at the next time; for the unmatched localization result, add it as a new trajectory to the current tracking trajectory set, and update the trajectory according to the Kalman filter algorithm.
[0069] S34, according to the mapping matrix The tracking trajectory of the target in the local sensing image is mapped back to the corresponding global sensing image to obtain the tracking trajectory of the target in the global sensing image;
[0070] S35, for the target trajectory acquired from the globally perceived image, the transformation matrix of the adjacent images of the globally perceived image obtained above is used. The target trajectory of 12 global perception images is transformed to obtain a 360° panoramic stitched image I. G The specific trajectory of the target is determined, enabling cross-scale target tracking of panoramic images at the 100-megapixel level.
[0071] Traditional target tracking methods perform target localization and trajectory tracking within a local scene perceived by a monocular camera, which is insufficient to handle the significant scale changes of targets during panoramic imaging. The requirement for panoramic target tracking across large scenes, achieving global perception of large scenes and high-precision tracking of multi-scale targets, places higher demands on both panoramic imaging hardware and target tracking methods.
[0072] Therefore, this invention proposes a cross-scale target tracking method for large scenes. It utilizes a multi-sided heterogeneous panoramic perception system for high-resolution panoramic imaging of targets at multiple scales, then performs large-scale target tracking through local perception images, and finally maps the results to a global perception image to achieve high-precision cross-scale target trajectory tracking. The panoramic perception system used in this invention has a simple structure and is easy to deploy, solving the problems of low target perception resolution and poor edge imaging quality. It meets the data acquisition and training conditions for high-precision panoramic target tracking in large scenes, providing data support for the training of high-precision target tracking methods. Then, based on the designed cross-scale target tracking method, ultra-high-resolution panoramic target tracking is achieved. Therefore, the target tracking method provided by this invention has high accuracy and good applicability.
[0073] It should be understood that, although Figure 1 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order in which these steps are executed, and they can be performed in other orders. Furthermore, Figure 1 At least some of the steps in the process may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but may be executed at different times. The execution order of these steps or stages is not necessarily sequential, but may be executed in turn or alternately with other steps or at least some of the steps or stages in other steps.
[0074] In one embodiment, such as Figure 4As shown, a cross-scale target tracking device is provided, comprising:
[0075] The cross-scale target tracking model training module 401 is used to build a training data acquisition device, calibrate the position of the sensing imaging camera on the built training data acquisition device, and collect data using the built training data acquisition device, and then train the cross-scale target tracking model.
[0076] The panoramic image fusion module 402 is used to build a cross-scale panoramic perception system. It acquires multiple global perception images and multiple local perception images using this system, and calculates the transformation matrix of adjacent images of the global perception images. The multiple global perception images are then stitched together using the transformation matrix of the adjacent images to obtain a 360° panoramic stitched image I. G ;
[0077] The cross-scale target tracking module 403 processes multiple local sensing images acquired by the panoramic image fusion module 402 using the cross-scale target tracking model trained by the cross-scale target tracking model training module 401 to obtain the target's coordinate position location in the local sensing images; calculates the target's tracking trajectory in the local sensing images based on the Kalman filter algorithm, and obtains the target's tracking trajectory in the corresponding global sensing image based on the target's tracking trajectory in the local sensing images; transforms the target trajectories in multiple global sensing images using the transformation matrix of the adjacent images of the global sensing images to obtain a 360° panoramic stitched image I. G The specific trajectory of the target.
[0078] For specific limitations regarding a cross-scale target tracking device, please refer to the limitations of a cross-scale target tracking method described above, which will not be repeated here. Each module in the aforementioned cross-scale target tracking device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0079] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program relating to all or part of the processes in the methods of the above embodiments.
[0080] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon relating to all or part of the processes in the methods of the above embodiments.
[0081] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical storage, etc. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.
[0082] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0083] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A cross-scale target tracking method, characterized in that, include: Step 1: Set up a training data acquisition device, calibrate the position of the sensing imaging camera on the set up training data acquisition device, and use the set up training data acquisition device to collect data, and then train a cross-scale target tracking model. Step two: Construct a cross-scale panoramic perception system. Use this system to acquire multiple global perception images and multiple local perception images, and calculate the transformation matrix of adjacent images of the global perception images. Then, use the transformation matrix of the adjacent images of the global perception images to stitch and fuse the multiple global perception images to obtain a 360° panoramic stitched image. ; Step 3: The multiple locally sensed images acquired in Step 2 are processed using the cross-scale target tracking model trained in Step 1 to obtain the target's coordinate location in the locally sensed images. The target's tracking trajectory in the locally sensed images is calculated using the Kalman filter algorithm, and the target's tracking trajectory in the corresponding global sensed image is obtained based on this trajectory. The target trajectories in the multiple global sensed images are then transformed using the transformation matrix of adjacent images in the global sensed images to obtain a 360° panoramic stitched image. The specific trajectory of the target.
2. The cross-scale target tracking method according to claim 1, characterized in that, The cross-scale panoramic perception system includes twelve sets of fixed devices arranged in a regular dodecagon. Each set of fixed devices has a camera array fixing bracket, and each camera array fixing bracket has a set of camera arrays. The twelve sets of camera arrays respectively cover the twelve outer regions of the regular dodecagon. Each camera array includes three sensing imaging cameras, comprising two local sensing imaging cameras and one global sensing imaging camera, with the global sensing imaging camera fixed between the two local sensing imaging cameras. The imaging areas of the global sensing imaging cameras of two adjacent camera arrays overlap; for each camera array, the field of view of the global sensing imaging camera is greater than the sum of the field of view of the two local sensing imaging cameras, the vertical field of view of the global sensing imaging camera is greater than twice the vertical field of view of the local sensing imaging camera, and the field of view optical axis of the local sensing imaging camera can be arbitrarily adjusted.
3. The cross-scale target tracking method according to claim 2, characterized in that, The training data acquisition device includes a camera array mounting bracket and a set of camera arrays fixed on the camera array mounting bracket.
4. The cross-scale target tracking method according to claim 3, characterized in that, In the multi-scale panoramic perception system, the optical axes of the fields of view of all perception imaging cameras are coplanar with the regular dodecagon, and the backward extensions of the optical axes of the fields of view of all global perception imaging cameras pass through the center of the regular dodecagon; the horizontal field of view of all global perception imaging cameras is greater than or equal to 45°, and the imaging resolution of all global perception imaging cameras and all local perception imaging cameras is greater than or equal to 9 million pixels.
5. The cross-scale target tracking method according to claim 4, characterized in that, Step one involves calibrating the position of the sensing imaging camera using the constructed training data acquisition device, collecting data using the constructed training data acquisition device, and then training the cross-scale target tracking model, specifically including: The positions of two local sensing imaging cameras and one global sensing imaging camera in the training data acquisition device are calibrated, and the mapping matrices of the two local sensing imaging cameras relative to the global sensing imaging camera are obtained using the feature point matching method. and ; Image data is collected at a specific location using a training data acquisition device to obtain a local perception image dataset and a global perception image dataset. The targets collected in the local perception image dataset and the global perception image dataset are labeled with bounding boxes. The labeled local perception image dataset is divided into a training set, a test set and a validation set according to a preset ratio. The existing target tracking algorithm and its corresponding loss function are used to train the training set, and the model is iteratively trained according to a pre-defined training strategy until the loss function converges, thus obtaining a cross-scale target tracking model.
6. The cross-scale target tracking method according to claim 5, characterized in that, The feature point matching method is the SURF feature point matching algorithm; the specific locations include pedestrian plazas and intersections.
7. The cross-scale target tracking method according to claim 5, characterized in that, The preset ratio is 8:1:1; the target tracking algorithm is the ByteTrack algorithm.
8. The cross-scale target tracking method according to claim 5, characterized in that, Step two specifically includes: A multi-scale panoramic perception system was constructed, and a square wave synchronous triggering method was used to synchronously acquire image data from a 12-camera array. The global perception image perceived by the 12-camera array at time t is denoted as And the perceived local perceived image is denoted as , Indicates an index for a set of camera arrays. ; for Global perception image sequence at time step Image feature-based matching algorithms were used to match adjacent images in the sequence. and Feature extraction and matching are performed to obtain the transformation matrix of the neighboring images of the globally perceived image. , , ; By using the transformation matrix of neighboring images of the global sensing image, 12 global sensing images are stitched and fused together to obtain a 360° panoramic stitched image. .
9. The cross-scale target tracking method according to claim 8, characterized in that, Step three specifically includes: for The 24 local sensing images sensed by the 12 camera arrays at any given time are processed by the cross-scale target tracking model trained in step one to obtain the coordinate position localization result of the target in the local sensing image. Prediction based on Kalman filter algorithm The target trajectory is saved in real time. The position at time is determined, and a similarity matrix is calculated based on the IoU strategy or appearance representation vector, and then the Hungarian algorithm is used for matching; For the matched trajectory, combine the matching results and The target localization results at each time point are used to perform Kalman filtering. Update the time trajectory, and then use the updated trajectory as... The target tracking trajectory at each time step; for unmatched trajectories, they are added to the set of trajectories that have not been lost, and matching is performed again at the next time step; for unmatched positioning results, they are added as new trajectories to the current tracking trajectory set, and the trajectories are updated according to the Kalman filter algorithm; According to the mapping matrix The tracking trajectory of the target in the local sensing image is mapped back to the corresponding global sensing image to obtain the tracking trajectory of the target in the global sensing image; For the target trajectory acquired from the globally perceived image, the transformation matrix of the adjacent images of the globally perceived image is used. The target trajectory of 12 global perception images is transformed to obtain a 360° panoramic stitched image. The specific trajectory of the target is determined, enabling cross-scale target tracking of panoramic images at the 100-megapixel level.
10. A cross-scale target tracking device, characterized in that, include: The cross-scale target tracking model training module is used to build a training data acquisition device, calibrate the position of the sensing imaging camera on the built training data acquisition device, and collect data using the built training data acquisition device to train the cross-scale target tracking model. The panoramic image fusion module is used to build a cross-scale panoramic perception system. It acquires multiple global perception images and multiple local perception images using this system, and calculates the transformation matrix of adjacent images of the global perception images. The transformation matrices of these adjacent images are then used to stitch and fuse the multiple global perception images to obtain a 360° panoramic stitched image. ; The cross-scale target tracking module processes multiple local sensing images acquired by the panoramic image fusion module using a cross-scale target tracking model trained by the cross-scale target tracking model training module to obtain the target's coordinate position in the local sensing images. It then calculates the target's tracking trajectory in the local sensing images based on the Kalman filter algorithm and obtains the target's tracking trajectory in the corresponding global sensing image based on this trajectory. Finally, it transforms the target trajectories in multiple global sensing images using the transformation matrix of adjacent images to obtain a 360° panoramic stitched image. The specific trajectory of the target.
Citation Information
Patent Citations
Target tracking method applied to panorama image and panorama camera
CN107507230A
Panoramic imaging system and method
WO2019161814A2
