Multi-target tracking method, system, computing device and storage medium
By providing multiple tracking methods in image tracking and selecting according to object quality, the problem of resource consumption and long time in multi-target tracking is solved, and efficient and accurate image tracking effects are achieved.
Patent Information
- Application Number
- CN201910945830.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-09-30
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2039-09-30
AI Technical Summary
Existing image tracking algorithms consume large amounts of resources and take long tracking times in multi-target tracking scenarios, making it difficult to meet the tracking effect, time and resource requirements at the same time.
Provide at least two tracking methods, each method corresponds to a tracking quality, dynamically select the appropriate tracking method based on the tracking quality of the object to be tracked, and combine high-level and low-level tracking algorithms for interspersed use to optimize resource utilization and tracking time.
By dynamically selecting the tracking method, resource waste is reduced, tracking time is saved, the accuracy and real-time performance of the tracking effect are improved, and the tracking effect of the object to be tracked in each frame of image is ensured to be good.
Smart Images

Figure CN112581497B
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a multi-target tracking method, system, computing device and storage medium. Background Art
[0002] With the development of information technology, computer vision has been well developed. Computer vision enables machines to "see" things, even things that humans cannot see. Especially for tracking objects in images, when the machine tracks objects in images, with the increase in tracking needs, the number of images, and the number of objects in the images, in order to improve tracking accuracy, a higher tracking accuracy algorithm will be used to track all objects in the image.
[0003] However, algorithms with higher tracking accuracy will lead to more resource consumption and longer tracking time. In view of the problems faced by the existing image tracking field, it is urgent to provide a new solution. Summary of the invention
[0004] The embodiments of the present application provide a multi-target tracking method, system, computing device and storage medium to meet the accuracy of tracking effects while saving computing resource consumption and improving real-time performance.
[0005] An embodiment of the present application provides a multi-target tracking method, including: providing at least two tracking modes, each tracking mode corresponding to a tracking quality; obtaining a current frame image, wherein the current frame image includes multiple objects to be tracked; and determining the tracking modes of the multiple objects to be tracked and tracking them according to the tracking qualities of the multiple objects to be tracked.
[0006] An embodiment of the present application provides a method for updating a tracking mode, including: a method for updating a tracking mode, characterized in that it includes: obtaining a tracking mode to be added, updating the original tracking mode, and each updated tracking mode corresponds to a tracking quality; according to the tracking quality, selecting at least two tracking modes from the updated tracking modes; when obtaining a current frame image and tracking multiple objects to be tracked in the current frame image, providing the at least two tracking modes, and each tracking mode corresponds to a tracking quality.
[0007] An embodiment of the present application provides an automatic driving method for a vehicle, comprising: providing at least two tracking modes, each tracking mode corresponding to a tracking quality; acquiring a current frame image of a vehicle on a road condition through an image acquisition device, the current frame image including a plurality of vehicles to be tracked; determining tracking modes of the plurality of vehicles to be tracked and tracking them according to the tracking qualities of the plurality of vehicles to be tracked; and determining the geographic locations of vehicles near the vehicle traveling on the road according to the positions of the plurality of vehicles to be tracked in the current frame image in the tracking result.
[0008] An embodiment of the present application provides a method for tracking an unmanned aerial vehicle, comprising: providing at least two tracking modes, each tracking mode corresponding to a tracking quality; acquiring a current frame outdoor monitoring image through an image acquisition device, wherein the current frame outdoor monitoring image includes a plurality of objects to be tracked; determining tracking modes for the plurality of objects to be tracked and tracking them according to the tracking qualities of the plurality of objects to be tracked; and tracking the plurality of objects to be tracked geographically according to the positions of the plurality of objects to be tracked in the outdoor monitoring image in the tracking results.
[0009] An embodiment of the present application provides a video processing method, including: providing at least two tracking methods and each tracking method corresponding to a tracking quality; obtaining a current frame live video image through a video live broadcast terminal, wherein the current frame live video image includes multiple display objects to be tracked; determining the tracking methods of the multiple display objects to be tracked and tracking them according to the tracking qualities of the multiple display objects to be tracked; performing image processing on the multiple display objects to be tracked according to the positions of the multiple display objects to be tracked in the live video image in the tracking results, and displaying the processed live video image.
[0010] An embodiment of the present application provides a multi-target tracking system, including: an image acquisition device and an image processing device; the image acquisition device acquires multiple frames of images, wherein each frame of image includes multiple objects to be tracked, and sends the multiple frames of images to the image processing device; the image processing device provides at least two tracking modes and each tracking mode corresponds to a tracking quality; according to the tracking qualities of the multiple objects to be tracked, the tracking modes of the multiple objects to be tracked are determined and tracking is performed.
[0011] An embodiment of the present application provides a computing device, including a memory and a processor; the memory is used to store a computer program; the processor is used to execute the computer program, so as to: provide at least two tracking modes, each tracking mode corresponds to a tracking quality; obtain a current frame image, the current frame image includes multiple objects to be tracked; and determine the tracking modes of the multiple objects to be tracked and track them according to the tracking qualities of the multiple objects to be tracked.
[0012] An embodiment of the present application provides a computing device, including a memory and a processor; the memory is used to store a computer program; the processor is used to execute the computer program, so as to: obtain a tracking mode to be added, update the original tracking mode, and each updated tracking mode corresponds to a tracking quality; according to the tracking quality, select at least two tracking modes from the updated tracking modes; when a current frame image is obtained and multiple objects to be tracked in the current frame image are tracked, provide the at least two tracking modes, and each tracking mode corresponds to a tracking quality.
[0013] An embodiment of the present application provides a computing device, including a memory and a processor; the memory is used to store a computer program; the processor is used to execute the computer program, so as to: provide at least two tracking modes, each tracking mode corresponds to a tracking quality; obtain a current frame image of a road vehicle through an image acquisition device, the current frame image includes a plurality of vehicles to be tracked; determine the tracking modes of the plurality of vehicles to be tracked and track them according to the tracking qualities of the plurality of vehicles to be tracked; determine the geographic locations of vehicles near the vehicle traveling on the road according to the positions of the plurality of vehicles to be tracked in the current frame image in the tracking result.
[0014] An embodiment of the present application provides a computing device, including a memory and a processor; the memory is used to store a computer program; the processor is used to execute the computer program, so as to: provide at least two tracking methods, each tracking method corresponds to a tracking quality; obtain a current frame outdoor monitoring image through an image acquisition device, and the current frame outdoor monitoring image includes multiple objects to be tracked; determine the tracking methods of the multiple objects to be tracked and track them according to the tracking qualities of the multiple objects to be tracked; and track the geographical locations of the multiple objects to be tracked according to the positions of the multiple objects to be tracked in the outdoor monitoring image in the tracking results.
[0015] An embodiment of the present application provides a computing device, including a memory and a processor; the memory is used to store a computer program; the processor is used to execute the computer program, so as to: provide at least two tracking methods and each tracking method corresponds to a tracking quality; obtain a current frame live video image through a video live broadcast terminal, and the current frame live video image includes multiple display objects to be tracked; determine the tracking methods of the multiple display objects to be tracked and track them according to the tracking qualities of the multiple display objects to be tracked; perform image processing on the multiple display objects to be tracked according to the positions of the multiple display objects to be tracked in the live video image in the tracking results, and display the processed live video image.
[0016] An embodiment of the present application provides a computer-readable storage medium storing a computer program, wherein when the computer program is executed by one or more processors, the one or more processors implement the steps in the above method.
[0017] In an embodiment of the present application, a current frame image is obtained, and the current frame image includes multiple objects to be tracked; according to the tracking qualities of the multiple objects to be tracked and at least two tracking methods provided, the tracking methods of the multiple objects to be tracked are determined and tracked, and each tracking method corresponds to a tracking quality. Therefore, tracking multiple objects to be tracked by at least two tracking methods significantly reduces the waste of operating resources and saves more tracking time, thereby improving real-time performance, compared with tracking multiple objects to be tracked by using only one tracking method with higher tracking quality. Because at least two tracking methods belong to different tracking methods, different tracking methods may have tracking methods with better tracking quality and tracking methods with poorer tracking quality, so that the tracking method with poorer tracking quality can save the waste of operating resources and save more tracking time.
[0018] At the same time, by timely determining the tracking methods of multiple objects to be tracked from at least two tracking methods according to the tracking qualities of multiple objects to be tracked, it can be ensured that in subsequent tracking, objects to be tracked with poor tracking quality can have a more accurate tracking effect, so that the tracking effect of the objects to be tracked in each frame image can be maintained at a better accuracy. This achieves both the accuracy of the tracking effect and the saving of operating resources and tracking time. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0020] Figure 1 A flowchart of a multi-target tracking method according to an exemplary embodiment of the present application;
[0021] Figure 2 A schematic diagram of the structure of a multi-target tracking system according to an exemplary embodiment of the present application;
[0022] Figure 3 A flowchart of a tracking method update method according to an exemplary embodiment of the present application;
[0023] Figure 4A A schematic flow chart of an automatic driving method for a vehicle according to an exemplary embodiment of the present application;
[0024] Figure 4B A schematic diagram of a scenario of automatic driving of a vehicle according to an exemplary embodiment of the present application;
[0025] Figure 4C A schematic diagram of a scenario of automatic driving of a vehicle according to an exemplary embodiment of the present application;
[0026] Figure 5 A schematic diagram of a flow chart of a method for tracking a drone according to an exemplary embodiment of the present application;
[0027] Figure 6 A schematic diagram of a drone tracking scenario according to an exemplary embodiment of the present application;
[0028] Fig. 7A A flowchart of a video processing method according to an exemplary embodiment of the present application;
[0029] Figure 7B A schematic diagram of a video processing scenario of an exemplary embodiment of the present application;
[0030] Figure 8 A schematic diagram of the structural framework of a multi-target tracking device provided by an exemplary embodiment of the present application;
[0031] Fig. 9 A schematic diagram of the structural framework of an updating device for a tracking method provided by an exemplary embodiment of the present application;
[0032] Fig.10 A schematic diagram of a structural framework of an automatic driving device for a vehicle provided by another exemplary embodiment of the present application;
[0033] Fig.11 A schematic diagram of the structural framework of a tracking device for a drone provided by another exemplary embodiment of the present application;
[0034] Fig.12 A schematic diagram of a structural framework of a video processing device provided by another exemplary embodiment of the present application;
[0035] Fig.13 A schematic diagram of the structure of a computing device provided for an exemplary embodiment of the present application;
[0036] Fig.14 A schematic diagram of the structure of a computing device provided for an exemplary embodiment of the present application;
[0037] Fig.15 A schematic diagram of the structure of a computing device provided for an exemplary embodiment of the present application;
[0038] Fig.16 A schematic diagram of the structure of a computing device provided for an exemplary embodiment of the present application;
[0039] Fig.17A schematic diagram of the structure of a computing device provided for an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0040] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0041] In image recognition in image processing, in order to better recognize objects in continuous images or multiple frames of images with association, a technology for tracking objects to be tracked in images has been developed, especially when there are many objects to be tracked in each frame of images.
[0042] In order to more accurately determine multiple objects to be tracked in each frame, an advanced tracking algorithm is used to track each object to be tracked in a frame. However, since multiple objects to be tracked need to be tracked, and the complexity of the tracking time is positively correlated with the number of objects to be tracked, the advanced tracking algorithm will take a long time to track, so that multi-target tracking cannot be completed within the limited time, and it will also occupy more operating resources. Among them, the advanced tracking algorithm may include: a tracking algorithm based on image feature prediction.
[0043] In order not to occupy too many operating resources and save tracking time, a low-level tracking algorithm can also be used to track each object to be tracked in a frame of image. However, it is difficult for the low-level tracking algorithm to adapt to the changes in the motion law of the object to be tracked, resulting in poor tracking effect. In actual application scenarios, the motion law of the object to be tracked often changes, making it impossible for the low-level tracking algorithm to complete the target tracking task. Among them, the low-level tracking algorithm can include: a tracking algorithm for spatial feature prediction.
[0044] The following table 1 shows the tracking characteristics of the low-level tracking algorithm and the high-level tracking algorithm:
[0045] Table 1:
[0046]
[0047]
[0048] Based on this, low-level tracking algorithms and high-level tracking algorithms can be used alternately in multiple frames of images, and each tracking algorithm still tracks all objects to be tracked in one frame of image. For example, in 10 frames of images, the second frame, the fourth frame, and the eighth frame use low-level tracking algorithms to track all objects to be tracked in the image. The other images use high-level tracking algorithms to track all objects to be tracked in the image.
[0049] However, this approach will lead to an increase in the interval between image frames in which the advanced tracking algorithm is used, which will in turn lead to an increase in the displacement of the target in the image and a decrease in tracking accuracy.
[0050] Therefore, no matter which tracking method is used, it is impossible to meet the requirements of tracking effect, tracking time and operating resources at the same time.
[0051] Therefore, in an embodiment of the present application, a current frame image is acquired, and the current frame image includes multiple objects to be tracked; according to the tracking qualities of the multiple objects to be tracked and at least two tracking methods provided, the tracking methods of the multiple objects to be tracked are determined and tracked, and each tracking method corresponds to a tracking quality. Therefore, tracking multiple objects to be tracked by at least two tracking methods significantly reduces the waste of operating resources and saves more tracking time, thereby improving real-time performance, compared with tracking multiple objects to be tracked by using only one tracking method with higher tracking quality. Because at least two tracking methods belong to different tracking methods, different tracking methods may have tracking methods with better tracking quality and tracking methods with poorer tracking quality, so that the tracking method with poorer tracking quality can save the waste of operating resources and save more tracking time.
[0052] At the same time, by timely determining the tracking methods of the multiple objects to be tracked from at least two tracking methods according to the tracking qualities of the multiple objects to be tracked, it can be ensured that in subsequent tracking, the objects to be tracked with poor tracking quality can have a relatively accurate tracking effect, so that the tracking effect of the objects to be tracked in each frame image can be maintained at a relatively good accuracy. Thereby, the accuracy of the tracking effect is satisfied, and the operating resources and tracking time are saved.
[0053] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0054] Figure 1 The flowchart of a multi-target tracking method of an exemplary embodiment of the present application is shown in FIG. The method 100 provided in the embodiment of the present application is executed by an image processing device, such as an image processing device set on the road, an indoor server, a virtual server, etc. The method 100 includes the following steps:
[0055] 101: Provide at least two tracking modes and each tracking mode corresponds to a tracking quality.
[0056] 102: Acquire a current frame image, where the current frame image includes a plurality of objects to be tracked.
[0057] 103: Determine tracking methods for the multiple objects to be tracked according to the tracking qualities of the multiple objects to be tracked and perform tracking.
[0058] It should be noted that in addition to being executed by the above-mentioned execution devices, method 100 can also be directly executed by terminal devices that ultimately need these tracking results, such as computers. It should be understood that when executed by these devices, the tracking results will be directly obtained and processed by their own devices.
[0059] The following is a detailed description of the above steps:
[0060] 101: Provide at least two tracking modes and each tracking mode corresponds to a tracking quality.
[0061] Among them, at least two tracking methods include a first tracking method corresponding to a first tracking quality and a second tracking method corresponding to a second tracking quality; the first tracking method refers to an advanced tracking algorithm, and the advanced tracking algorithm can have a variety of different advanced tracking algorithms, each advanced tracking algorithm corresponds to a tracking quality, and the tracking quality refers to the quality of the tracking effect. High tracking quality means good tracking effect, and low tracking quality means poor tracking effect. The first tracking method may include: image feature prediction tracking algorithm (image feature tracking). The image feature prediction tracking algorithm can be more specifically a KCF (Kernel Correlation Filter) tracking algorithm, a CSK (Circulant Structure of Tracking-by-detection with Kernels) tracking algorithm, and a CN (Color Name) tracking algorithm, etc.
[0062] Among them, the KCF tracking algorithm mainly consists of classifier training, target box detection, and classifier update, assuming that the size of the object remains unchanged during the tracking process.
[0063] The second tracking mode refers to a low-level tracking algorithm, which may include a variety of different low-level tracking algorithms, each of which corresponds to a tracking quality, such as tracking accuracy, etc. The low-level tracking algorithm may include: a tracking algorithm of spatial feature prediction (space feature tracking). The tracking algorithm of spatial feature prediction may be more specifically a Kalman filter tracking algorithm, a smooth filter tracking algorithm, etc.
[0064] Among them, Kalman filter is a recursive filter proposed by Kalman for time-varying linear systems. This system can be described by a differential equation model containing orthogonal state variables. This filter combines past measurement estimation errors into new measurement errors to estimate future errors.
[0065] It should be understood that, according to the foregoing content, the first tracking quality is better than the second tracking quality means that the tracking quality of the advanced tracking algorithm is better than the tracking quality of the low-level tracking algorithm, that is, the tracking effect or tracking accuracy of the advanced tracking algorithm is better than the tracking effect or tracking accuracy of the low-level tracking algorithm.
[0066] Since the provided tracking method includes both high-level tracking algorithms and low-level tracking algorithms, and the operating resources and tracking time occupied by the low-level tracking algorithm are obviously lower than those occupied by the high-level tracking algorithm, compared with using a high-level tracking algorithm alone to track multiple objects to be tracked, using at least two tracking algorithms to track multiple objects to be tracked obviously saves more operating resources and tracking time.
[0067] 102: Acquire a current frame image, where the current frame image includes a plurality of objects to be tracked.
[0068] The object to be tracked refers to an object that needs to be tracked or located, and the object to be tracked may be a person, a commodity, or the like, depending on the application scenario.
[0069] The methods for obtaining the current frame image may include but are not limited to the following methods:
[0070] 1) A plurality of associated images captured by a built-in camera of the execution device, the associated images may be a plurality of images captured continuously in time, or a plurality of images captured at a preset time interval, or a video that is continuous in time and includes a plurality of images. The image to be tracked in the plurality of images is used as the current image.
[0071] For example, a camera of an image acquisition device installed on a road continuously captures 10 frames of vehicle images on the road section and transmits them to the image acquisition device. Before the image acquisition device tracks the object in the first frame, the first frame is the current frame. Each frame contains multiple vehicles.
[0072] 2) Receive multiple frames of associated images sent by a device with an image acquisition function, the associated images may be multiple frames of images taken continuously in time, or multiple frames of images taken at preset intervals in time, or a continuous video in time, the video including multiple frames of images. The image to be tracked in the multiple frames of images is used as the current frame image.
[0073] For example, the server receives a video sent by a roadside camera that is continuously shot in time, and the video includes 100 frames of images. Before the server tracks the object in the first frame of image, the first frame of image is the current frame of image. Each frame of image contains multiple commodities.
[0074] Regardless of which of the above methods is adopted, after the current frame image is acquired, the tracking methods of the multiple objects to be tracked are determined and tracked according to the tracking qualities of the multiple objects to be tracked, see step 103 .
[0075] 103: Determine tracking methods for the multiple objects to be tracked according to the tracking qualities of the multiple objects to be tracked and perform tracking.
[0076] Among them, the methods for determining tracking quality may include:
[0077] 1) Counting the number of images in which the second tracking method is used to track the multiple objects to be tracked in the images before the current image; and determining the tracking quality of the multiple objects to be tracked according to the number of images.
[0078] It should be understood that a higher number of images respectively tracking the multiple objects to be tracked using the second tracking method indicates a worse tracking quality, and a lower number of images respectively tracking the multiple objects to be tracked using the second tracking method indicates a better tracking quality.
[0079] The tracking quality S can be determined by the following formula 1):
[0080] S=w1*Ai 1)
[0081] Wherein, w1 is a weight coefficient, which is a preset value; Ai is the number of images for tracking multiple objects to be tracked respectively using at least one second tracking method.
[0082] For example, according to the foregoing, after receiving 10 frames of vehicle images, the server determines the tracking algorithm of each vehicle in each frame of the previous 1-4 frames of vehicle images before tracking the vehicle in the 5th frame of the image. For example, each frame of the vehicle image includes vehicle A, vehicle B and vehicle C. Vehicle A in the 2nd and 4th frames of the image is tracked using the Kalman filter tracking algorithm. Then for vehicle A, the number of images is 2, and the method for determining the number of images for other vehicles is the same, so no more examples will be given here. Finally, it can be determined that the number of images of vehicle A is 2, the number of images of vehicle B is 3, and the number of images of vehicle C is 4. Then the tracking quality of vehicle A is 2w1, the tracking quality of vehicle B is 3w1, and the tracking quality of vehicle C is 4w1.
[0083] By using the second tracking mode to respectively track the number of images of multiple objects to be tracked to determine the tracking quality, the tracking quality can be determined simply, effectively and relatively accurately, thereby improving the tracking time.
[0084] When the number of images is the same, in order to further determine the tracking quality and accurately select the target object while improving the tracking time, the method 100 also includes: determining the tracking quality of multiple objects to be tracked according to the number of images and the size of the objects to be tracked in the current frame image.
[0085] The size of the object to be tracked in the current frame image may be determined in the following two ways:
[0086] 1) Directly use the area of the vehicle in the image as its size. The area can be the area of the circumscribed rectangular box of each vehicle in the image, that is, the length * width (or height * width) of the corresponding circumscribed rectangular box. For the convenience of calculation and adaptive image resolution, the size can be further (length * width) / (image width) 2 .
[0087] 2) Directly use the length and / or width of the area of the vehicle in the image as its size, such as size = (pixel height + pixel width) / image width. That is, the pixel height and pixel width of the outer rectangular frame, where pixel height / image width is to adapt to the FOV (Field of Vision) of different lenses.
[0088] It should be noted that when the final target object cannot be determined by the number of images, other reference factors can be added to further determine the target object, and the other reference factor is the size mentioned above. In other words, the number and size of images can be used as reference factors to determine the tracking quality.
[0089] Therefore, the tracking quality can also be determined by the following formula 2):
[0090] S=w1*Ai+w2*Bi 2)
[0091] Among them, w2 is the weight coefficient, which is a preset value, and w1 is much larger than w2; Bi is the above size.
[0092] Since w1 is much larger than w2, S is mainly affected by Ai, and is affected by Bi when Ai is the same. Among them, S can also be determined by more dimensions according to business needs. And since the larger the Ai, the more cases of using a low-level tracking algorithm to track the object to be tracked, the greater the error of the tracking result of the object to be tracked, and the greater the positioning error.
[0093] For example, according to the above, if the server determines that the number of images of vehicle A using the Kalman filter tracking algorithm is 2, the number of images of vehicle B using the Kalman filter tracking algorithm is 4, and the number of images of vehicle C using the Kalman filter tracking algorithm is 4, then the tracking quality of vehicle B is 4w1 and the tracking quality of vehicle C is 4w1, and the tracking quality needs to be further determined. The tracking quality of vehicle B and vehicle C is determined again by the above formula 2), and when the determined tracking quality of vehicle C is 4w1+0.01w2, it is higher than the tracking quality of vehicle B 4w1+0.005w2.
[0094] It should be noted that, for formula 1) and formula 2), Ai is preferably the number of low-level tracking algorithms, such as the number of Kalman filter tracking algorithms. That is to say, among the at least two tracking algorithms provided, it is best to have only one low-level tracking algorithm, such as the others are all high-level tracking algorithms. More preferably, a high-level tracking algorithm and a low-level tracking algorithm may be provided.
[0095] If there are multiple low-level tracking algorithms among the at least two tracking algorithms provided, the tracking quality may be determined based on the number of images in which all the low-level tracking algorithms are used to track the multiple objects to be tracked in the previous images. The tracking quality may also be determined based on the number of images in which the worst low-level tracking algorithm is used to track the multiple objects to be tracked in the previous images, taking the worst low-level tracking algorithm among the multiple low-level tracking algorithms as a standard.
[0096] In addition, the quality of tracking can be determined by:
[0097] 2) Counting the number of images in which the first tracking method is used to track multiple objects to be tracked in images before the current image; and determining the tracking quality according to the number of images.
[0098] It should be noted that, at this time, the smaller the number of images used to track multiple objects to be tracked using the first tracking method, the worse the tracking quality, and the higher the number of images used to track multiple objects to be tracked using the first tracking method, the better the tracking quality.
[0099] For example, according to the above, after receiving 10 frames of vehicle images, the server determines the tracking algorithm of each vehicle in each frame of the previous 1-4 frames of vehicle images before tracking the vehicle in the 5th frame of the image, such as each frame of the vehicle image includes vehicle A, vehicle B and vehicle C. Vehicle A in the 2nd and 4th frames of the image is tracked using the KCF tracking algorithm. Then for vehicle A, the number of images using the KCF tracking algorithm is 2, and the method for determining the number of images for other vehicles is the same, so no more examples will be given here. Finally, it can be determined that the number of images using the KCF tracking algorithm for vehicle A is 2, the number of images using the KCF tracking algorithm for vehicle B is 3, and the number of images using the KCF tracking algorithm for vehicle C is 4. Then, the tracking quality of vehicle A is 2M, the tracking quality of vehicle B is 3N, and the tracking quality of vehicle C is 4N, where N is the preset weight coefficient.
[0100] In the case where the tracking quality is the same, the size of the object to be tracked may be further determined in a manner similar to that of the above formula 2), which will not be described in detail here.
[0101] It should be noted that, for method 2), the number of images is preferably the number of a high-level tracking algorithm, such as the number of KCF tracking algorithms. That is to say, among the at least two tracking algorithms provided, it is best to have only one high-level tracking algorithm, such as the others are low-level tracking algorithms. More preferably, a high-level tracking algorithm and a low-level tracking algorithm are provided.
[0102] If there are multiple advanced tracking algorithms among the at least two tracking algorithms provided, the tracking quality may be determined based on the number of images in which all the advanced tracking algorithms are used to track the multiple objects to be tracked in the previous images. The tracking quality may also be determined based on the number of images in which the best advanced tracking algorithm is used to track the multiple objects to be tracked in the previous images, taking the best advanced tracking algorithm among the multiple advanced tracking algorithms as a standard.
[0103] Specifically, according to the tracking qualities of the multiple objects to be tracked, the tracking mode is determined and the tracking is performed, including: selecting target objects that do not meet the tracking quality requirements from the multiple objects to be tracked; tracking the selected target objects in a first tracking mode, and tracking other objects to be tracked in a second tracking mode.
[0104] The tracking quality requirement refers to a situation where there is no need to use the first tracking method, ie, the advanced tracking algorithm, in the current frame image to adjust the tracking quality.
[0105] By using the advanced tracking algorithm to track the target object that does not meet the tracking quality requirements, the tracking quality of the target object can be adjusted in time, so that the tracking quality of the target object can be maintained at a relatively stable tracking quality, thereby making the tracking quality of the target object more accurate. At the same time, it will not affect other objects to be tracked, because the tracking quality of other objects to be tracked can also be maintained at a relatively stable tracking quality standard.
[0106] The step of filtering out target objects that do not meet the tracking quality requirement may include: filtering out a first tracking number of target objects that do not meet the tracking quality requirement from a plurality of objects to be tracked.
[0107] The first tracking mode corresponds to a first tracking quantity, and the first tracking quantity is determined according to preset operating resources and a preset tracking time of the execution device.
[0108] Similarly, the second tracking mode corresponds to the second tracking number. The sum of the first tracking number and the second tracking number is greater than or equal to the number of the plurality of objects to be tracked. The second tracking number is also determined according to the preset running resources of the execution device and the preset tracking time.
[0109] Among them, the running resources can also be called computing resources, which refer to the resources required by the execution device when running a program (such as a tracking algorithm), such as CPU resources, memory resources, hard disk resources, and network resources. For example, the CPU model is i7-7700HQ, the number of CPUs is 4 cores and 8 threads, the main frequency is 2.80GHz, etc., and all tracking algorithm tests are completed using a single thread. Preset running resources refer to running resources that have been set and will not change.
[0110] Tracking time can also be called positioning time, which refers to the time to obtain the tracking result, such as the tracking time for one frame of image, or the tracking time for multiple frames of image. Preset positioning time refers to the positioning time that has been set and will not change.
[0111] The maximum number of objects to be tracked in any frame image can be used as the number of objects to be tracked in any frame image, and the determination method can be: according to the size of a frame image (such as size) and the minimum size of the object to be tracked in the image (such as size), determine how many objects to be tracked can appear in a frame image at most, thereby determining the maximum number of objects to be tracked. It should be noted that for the same device with image acquisition function, or for images of the same specification, the specification image can be applicable to multiple devices with image acquisition function, and the maximum number of objects to be tracked is the same.
[0112] For example, as mentioned above, an image processing device, such as a server, can run various tracking algorithms based on its own operating resources, such as a CPU model of i7-7700HQ, a CPU number of 4 cores and 8 threads, a main frequency of 2.80GHz, etc. All tracking algorithm tests are completed using a single thread to obtain tracking results, while ensuring that the number of all tracking algorithms completed and executed within the preset positioning time meets the maximum number of objects to be tracked.
[0113] Under the premise of ensuring the preset positioning time and the number of all tracking algorithms executed meets the maximum number of objects to be tracked (e.g., 10), a combination of multiple tracking algorithms is determined, such as 2 KCF tracking algorithms can be run, 2 Kalman filter tracking algorithms can be run, and 6 smoothing filter tracking algorithms can be run. Or 4 KCF tracking algorithms can be run, 6 Kalman filter tracking algorithms, etc. At this time, a solution with better tracking effect can be selected.
[0114] It should be noted that, in a preferred embodiment, multi-target tracking is achieved for the KCF tracking algorithm and the Kalman filter tracking algorithm. Since the tracking time and the operating resources occupied by the KCF tracking algorithm are much greater than those of the Kalman filter tracking algorithm, the difference between the two can be hundreds of times, so that for the KCF tracking algorithm, the Kalman filter tracking algorithm is basically negligible. At this time, only the number of KCF tracking algorithms can be determined, such as the server determines the maximum number of executable KCF tracking algorithms within the preset positioning time based on its own operating resources, and the number of Kalman filter tracking algorithms can be set to unlimited, because relative to the KCF tracking algorithm, the Kalman filter tracking algorithm can ignore the tracking time and operating resources it occupies.
[0115] Thus, the server can determine the number of KCF tracking algorithms that its own operating resources and preset positioning time can support, such as 4 KCF tracking algorithms, while the number of running Kalman filter tracking algorithms is unlimited.
[0116] For example, according to the above, after receiving 10 frames of vehicle images, the server determines the tracking algorithm of each vehicle in each frame of the previous 1-4 frames of vehicle images before tracking the vehicle in the 5th frame of the image, such as each frame of the vehicle image includes vehicle A, vehicle B and vehicle C. It can be finally determined that the number of images of vehicle A using the Kalman filter tracking algorithm is 2, the number of images of vehicle B using the Kalman filter tracking algorithm is 3, and the number of images of vehicle C using the Kalman filter tracking algorithm is 4. The sorting results of tracking quality from bad to good are: vehicle C, vehicle B, vehicle A. When the tracking algorithms provided are the Kalman filter tracking algorithm and the KCF tracking algorithm, and the number of KCF tracking algorithms is 1, the number of Kalman filter tracking algorithms is unlimited. Then, according to the order from bad to good, vehicle C is selected as the target object.
[0117] It should be noted that the tracking qualities may also be sorted from good to bad. When there are multiple advanced tracking algorithms in the provided tracking algorithms, the target object is selected according to the number of all the advanced tracking algorithms.
[0118] It should also be noted that the at least two tracking modes provided include a first tracking mode, such as a KCF tracking algorithm, and a second tracking mode, such as a Kalman filter tracking algorithm. Then the tracking mode of the target object is directly set to the first tracking mode, and the tracking modes of other objects to be tracked are set to the second tracking mode.
[0119] For example, according to the above description, after determining the target object, such as vehicle C, the server directly sets the tracking mode of vehicle C to the KCF tracking algorithm, and sets the tracking mode of other vehicles to be tracked to the Kalman filter tracking algorithm, thereby performing target tracking.
[0120] If the at least two tracking modes provided include multiple first tracking modes, the corresponding tracking modes may be set according to the tracking quality corresponding to the target object. The setting method may include: sequentially matching the tracking qualities sorted from bad to good with the corresponding number of first tracking modes sorted from good to bad. If the tracking qualities are the same, the first tracking mode is directly randomly set.
[0121] For multiple second tracking modes, the tracking modes of other objects to be tracked can be randomly set as the second tracking modes. Alternatively, the tracking qualities of other objects to be tracked can be sequentially matched with the corresponding number of second tracking modes sorted from good to bad according to the tracking qualities of the other objects to be tracked sorted from bad to good. When the number of second tracking modes is unlimited, there is no need to consider the number issue, and the other objects to be tracked can be directly set as the best second tracking mode.
[0122] For example, according to the foregoing, after the server determines the target object, such as vehicle C and vehicle B, the tracking quality of vehicle C is worse than that of vehicle B. The first tracking method includes the KCF tracking algorithm and the CSK tracking algorithm, and the tracking effect of the KCF tracking algorithm is better than that of the CSK tracking algorithm. The number of KCF tracking algorithms is 1, and the number of CSK tracking algorithms is 1. Then the tracking method of vehicle C is set to the KCF tracking algorithm, and the tracking method of vehicle B is set to the CSK tracking algorithm. The tracking methods of other vehicles to be tracked are set to the Kalman filter tracking algorithm, so as to perform target tracking.
[0123] In addition, after the adjustment of the tracking mode of the object to be tracked in the current frame image is completed, the method 100 further includes: determining and acquiring positions of multiple objects to be tracked in the current frame image.
[0124] For example, after the server determines the tracking method of each vehicle in the fifth frame of the vehicle image, it tracks the coordinates of each vehicle according to the determined tracking method and obtains tracking results, such as the coordinates of the circumscribed rectangular box of each vehicle size. The coordinates may be the center coordinates of the circumscribed rectangular box.
[0125] In addition, when tracking an object for each frame of multiple associated images, in order to further improve the tracking effect or tracking quality of the object, the method 100 further includes: determining whether the current frame is an image to be corrected according to a preset time or a preset number of images; if so, directly tracking each image to be tracked in the image to be corrected through an image recognition algorithm. Thus, the tracking effect or tracking quality of each object to be tracked in the current frame is at the same level, effectively adjusting the tracking quality of an object with poor tracking quality, and providing a tracking basis for subsequent object tracking in other associated images.
[0126] For example, as mentioned above, the server can perform an image recognition algorithm every five frames of images or one minute to determine the position of the object to be tracked. Then, the image recognition algorithm can be used to identify the corresponding images in the sixth frame of image, the eleventh frame of image, etc. in a video, such as determining each vehicle in the sixth frame of image, as well as the coordinates and size of each vehicle.
[0127] After the image recognition operation is performed on the corresponding image, the tracking mode of other images subsequent to the corresponding image can be adjusted until image recognition is performed again.
[0128] It should be noted that when the current frame image is the first frame image, that is, the initial image, each object to be tracked in the first frame image can be tracked by the above recognition algorithm to determine the position of each object to be tracked in the first frame image. Thus, the tracking effect or tracking quality of each object to be tracked from the initial tracking is at the same height, so as to better track the target of the subsequent image. Before tracking the target of the subsequent second frame image, the tracking quality can be determined according to the above formula 2). Since each object to be tracked in the first frame image is tracked by the recognition algorithm, and the tracking by the recognition algorithm can ensure its good tracking quality. Therefore, in the first frame image, w1*Ai in formula 2) for each object to be tracked is the same, which is 0, because Ai refers to the number of images tracked using the specified tracking method, and the first frame image is the recognition algorithm used, so w1*Ai is 0. Then it is only necessary to determine the tracking quality of the first frame image by w2*Bi. Therefore, the tracking algorithm is adjusted according to the above specific implementation method to complete the tracking of each object to be tracked in the second frame image.
[0129] It should also be noted that in the embodiment of the present application, the object determined by image recognition is different from the previously identified object, for example, a new object is added or reduced, more specifically, on a section of road, a new vehicle enters the shooting range, or a vehicle leaves the shooting range, etc., then for the newly appeared object, the tracking quality is determined according to the above content, and the tracking mode is adjusted. The disappeared object is no longer tracked.
[0130] When the tracking method is adjusted according to the tracking quality through the above content, new objects may be added or reduced. The processing method is the same as the above content and will not be repeated here.
[0131] In addition, the tracking algorithm can be continuously updated to further improve the quality of the algorithm, so as to further improve the tracking effect, reduce the tracking time, and save the occupied operating resources on the basis of the embodiments of the present application. When the algorithm is updated, the method 100 also includes: when the tracking mode is updated, determining the first tracking mode and the second tracking mode according to the tracking quality corresponding to each updated tracking mode.
[0132] For example, after the tracking algorithm is updated, the server can re-determine the high-level tracking algorithm and the low-level tracking algorithm according to the tracking quality corresponding to each updated tracking algorithm, so as to track multiple targets. The server can also re-determine the number of tracking algorithms after the update according to the specific implementation method of determining the number described above, and provide the updated tracking algorithm when tracking multiple targets.
[0133] The embodiment of the present application utilizes the accuracy and real-time performance of different tracking algorithms to integrate multiple different tracking algorithms, so that multi-target tracking can be completed within a limited time while ensuring the tracking quality and meeting the current computing resources.
[0134] In the data simulation experiment, a multi-target tracking dataset collected in a traffic monitoring scenario was used, with a total of 25 video data, each video length of about 1800 frames. This dataset is a real traffic road scene shot at different locations in a city. The average number of target objects in a single frame of the test set is 4, and the maximum number of target objects is 14.
[0135] The experiment compares the results of the following two algorithms: (1) a tracking algorithm that uses image feature prediction completely (the original version). (2) a tracking algorithm that combines image feature prediction with spatial feature prediction (an improved version, i.e., an embodiment of the present application). For one image, the number of target objects that can be tracked using the image feature prediction tracking algorithm (e.g., the KCF tracking algorithm) is limited to 4, and the remaining targets are tracked using the spatial feature prediction tracking algorithm (e.g., the Kalman filter tracking algorithm).
[0136] The experiment compares the origin version and the improved version, as shown in Table 2. Table 2 compares the average accuracy and precision before and after the improvement. Accuracy is the average detection evaluation function IoU (Intersection-over-Union) of the target object box truth value and the tracking result box, accuracy is the recall rate of the target object, and the maximum time cost is the maximum time cost of completing multi-target tracking in each frame.
[0137] Table 2
[0138] accuracy precision max time cost origin version 82.94% 96.05% 29ms improved version 82.32% 95.79% 8.5ms
[0139] By comparing the evaluation results before and after optimization in Table 1, it can be seen that compared with the original algorithm, the embodiment of the present application optimizes the tracking time: (1) the tracking accuracy is reduced by 0.62%, (2) the precision is reduced by 0.26%, and (3) the max time cost is reduced to 8.5ms; it achieves a very good technical effect, which is in line with the above content.
[0140] In order to make the multi-target tracking method proposed in the embodiment of the present application more applicable to more scenarios and reduce the complexity of executing the multi-target tracking method on a single end, the present application also proposes a multi-target tracking system.
[0141] Figure 2 The following is a schematic diagram of a multi-target tracking system provided by an exemplary embodiment of the present application. Figure 2 As shown, the tracking system 200 may include: an image acquisition device 201 and an image processing device 202 .
[0142] Among them, the image acquisition device 201 is mainly responsible for acquiring images. In addition, the image acquisition device 201 also has a network transmission function, which is responsible for transmitting the acquired images to the image processing device. In addition, the image acquisition device 201 can also provide computing and processing services, and use the network to track information. In terms of physical implementation, the image acquisition device 201 can be any device that can provide computing services, respond to service requests, and perform processing. For example, it can be an image acquisition device set on the roadside, indoors, in office areas or public places, such as a camera, an electronic eye, etc. The composition of the image acquisition device 201 mainly includes a processor, a hard disk, a memory, a system bus, etc., which is similar to a general computer architecture.
[0143] The image processing device 202 may be a device with certain computing, communication and image processing capabilities. The image processing device 202 may be responsible for tracking the object to be tracked in the image. In terms of physical implementation, the image processing device 202 may also be any device that can provide computing services, respond to service requests, and perform processing, such as a conventional server, a cloud server, an intelligent terminal, a vehicle-mounted terminal, a drone, etc.
[0144] In the above embodiment, the image acquisition device 201 can be connected to the image processing device 202 through a network, and the network connection can be a wireless connection. If the image acquisition device 201 and the image processing device 202 are connected through a communication connection, the network standard of the mobile network can be any one of 2G (GSM), 2.5G (GPRS), 3G (WCDMA, TD-SCDMA, CDMA2000, UTMS), 4G (LTE), 4G+ (LTE+), WiMax and 5G.
[0145] In the embodiment of the present application, the image acquisition device 201 acquires multiple frames of images, where each frame of image includes multiple objects to be tracked, and sends the multiple frames of images to the image processing device 202.
[0146] The image processing device 202 provides at least two tracking modes and each tracking mode corresponds to a tracking quality; determines the tracking modes of the multiple objects to be tracked and tracks them according to the tracking qualities of the multiple objects to be tracked.
[0147] It should be understood that since the system 200 is implemented based on the multi-target tracking method 100, the system 200 can also achieve the technical effects of the multi-target method 100 and solve its technical problems, which will not be repeated here.
[0148] Specifically, the image processing device 202 includes at least two tracking modes, including a first tracking mode corresponding to a first tracking quality and a second tracking mode corresponding to a second tracking quality; wherein the image processing device selects a target object that does not meet the tracking quality requirement from a plurality of objects to be tracked; tracks the selected target object in the first tracking mode, and tracks other objects to be tracked in the second tracking mode. The first tracking quality is better than the second tracking quality.
[0149] In addition, the first tracking mode corresponds to a first tracking quantity; wherein the image processing device selects the target objects of the first tracking quantity that do not meet the tracking quality requirement from the plurality of objects to be tracked. The first tracking quantity and the second tracking quantity are determined according to the preset running resources and the preset tracking time of the execution device.
[0150] It should be noted that since the specific implementation has been described in detail in the embodiment of the multi-target tracking method above, and the specific implementation of system 200 is similar to the specific implementation of the multi-target tracking method above, it will not be described in detail here.
[0151] It should also be noted that for other parts not described in detail in this embodiment, reference may be made to the relevant description of the embodiment shown in the above-mentioned multi-target tracking method, and will not be repeated here.
[0152] In order to further improve the tracking time of multiple targets, save operating resources, improve tracking quality, and optimize tracking effects based on the multi-target tracking algorithm, this application also proposes a tracking method update method to achieve further tracking optimization through the updated tracking method.
[0153] Figure 3 The flowchart of a tracking method update method of an exemplary embodiment of the present application is shown in FIG. The method 300 provided in the embodiment of the present application is executed by an image processing device, such as an image processing device set on the road, an indoor server, a virtual server, etc. The method 300 includes the following steps:
[0154] 301: Obtain the tracking mode to be added, and update the original tracking mode. Each updated tracking mode corresponds to a tracking quality.
[0155] 302: Select at least two tracking methods from the updated tracking methods according to the tracking quality.
[0156] 303: When a current frame image is acquired and multiple objects to be tracked in the current frame image are tracked, at least two tracking modes are provided, each tracking mode corresponds to a tracking quality.
[0157] The above steps 301-304 are described in detail below:
[0158] 301: Obtain the tracking mode to be added, and update the original tracking mode. Each updated tracking mode corresponds to a tracking quality.
[0159] The original tracking method refers to the tracking algorithm that has been used for multi-target tracking.
[0160] For example, the server for multi-target tracking obtains the tracking algorithm to be added from the algorithm server, and the tracking algorithm to be added may be a newly developed tracking algorithm or an existing algorithm that is not used for multi-target tracking, and stores it in the original tracking algorithm.
[0161] 302: Select at least two tracking methods from the updated tracking methods according to the tracking quality.
[0162] Specifically, at least two tracking modes are selected from the updated tracking modes according to the tracking quality, including: selecting a tracking mode with the highest tracking quality as the first tracking mode; selecting a tracking mode with a lower tracking quality as the second tracking mode.
[0163] For example, according to the above, the server determines that the tracking algorithm to be added is an advanced tracking algorithm, i.e., the first tracking mode, based on the algorithm characteristics, such as tracking effect, tracking time, and occupied running resources. The server can select the tracking algorithm with the best tracking quality from the updated advanced tracking algorithms as the first tracking mode, and the second tracking mode can remain unchanged. Vice versa.
[0164] 303: When a current frame image is acquired and multiple objects to be tracked in the current frame image are tracked, at least two tracking modes are provided, each tracking mode corresponds to a tracking quality.
[0165] For example, according to the above, when performing multi-target tracking, the server can provide at least two tracking modes. It should be noted that the specific implementation of step 303 is similar to the specific implementation of the tracking algorithm in the multi-target tracking described above, and will not be repeated here.
[0166] It should be noted that, for other parts not described in detail in this embodiment, reference may be made to the relevant description of the embodiment shown in the above-mentioned multi-target tracking method, and will not be repeated here.
[0167] In order to optimize the tracking quality and reduce the storage space, the method 300 further includes: deleting the unselected tracking modes from the updated tracking modes.
[0168] For example, according to the foregoing description, after selecting at least two tracking methods, the server deletes the unselected tracking methods, such as deleting the low-level tracking algorithm with the worst tracking quality.
[0169] In the field of unmanned vehicle driving, the driving and driving safety of unmanned vehicles on the road are of great concern to the public. In order to ensure the driving speed of the unmanned vehicle, it is necessary to quickly determine the position of the vehicle next to it during driving, so as to avoid it and drive smoothly. Therefore, how to quickly, efficiently and accurately determine the position of the vehicle has become the key to the smooth driving of the unmanned vehicle and ensure driving safety. Therefore, this application also proposes a method for automatic driving of a vehicle.
[0170] Figure 4A A flowchart of an automatic driving method for a vehicle provided by another exemplary embodiment of the present application. The method 400A provided by the embodiment of the present application is executed by an image processing device with an image acquisition function, such as an image processing device or server with an image acquisition function set on the road, and the method 400A includes the following steps:
[0171] 401: Provide at least two tracking modes, each of which corresponds to a tracking quality.
[0172] 402: Acquire a current frame image of a vehicle on the road through an image acquisition device, where the current frame image includes a plurality of vehicles to be tracked.
[0173] 403: Determine tracking methods for the multiple vehicles to be tracked and perform tracking according to the tracking qualities of the multiple vehicles to be tracked.
[0174] 404: Determine the geographic locations of vehicles near the vehicle traveling on the road according to the locations of the multiple vehicles to be tracked in the current frame image in the tracking result.
[0175] It should be noted that since steps 401-403 are similar to the specific implementation process of the multi-target tracking method in the previous text, they will not be repeated here. It is only explained that the road condition refers to the condition of vehicles driving on the road. The image acquisition device can be a camera.
[0176] Specifically, the at least two tracking modes include a first tracking mode corresponding to a first tracking quality and a second tracking mode corresponding to a second tracking quality; wherein, according to the tracking qualities of the multiple vehicles to be tracked, the tracking modes of the multiple vehicles to be tracked are determined and tracked, including: screening out a target vehicle that does not meet the tracking quality requirements from the multiple vehicles to be tracked; tracking the screened target vehicle with the first tracking mode, and tracking other vehicles to be tracked with the second tracking mode. The first tracking quality is better than the second tracking quality.
[0177] It should be noted that since the specific implementation process of selecting the target vehicle is similar to the specific implementation process of selecting the target object in the previous text, it will not be repeated here.
[0178] In order to more accurately select the target vehicle, the target vehicles that do not meet the tracking quality requirements are screened out from the multiple vehicles to be tracked, including: screening out a first tracking number of target vehicles that do not meet the tracking quality requirements from the multiple vehicles to be tracked. The first tracking mode corresponds to the first tracking number.
[0179] It should be noted that since the specific implementation process of selecting the target vehicle is similar to the specific implementation process of selecting the target object in the previous text, it will not be repeated here.
[0180] In order to ensure that the tracking algorithm can save operating resources and tracking time, the first tracking quantity is determined according to the preset operating resources and preset tracking time of the execution device. It should be noted that since the specific implementation process of determining the quantity is similar to the specific implementation process of determining the quantity in the previous text, it will not be repeated here.
[0181] It should be noted that method 400A can also be directly executed by a device that ultimately needs these tracking results, such as a vehicle-mounted device. It should be understood that when executed by a vehicle-mounted device, the tracking results will be directly obtained and processed by the device itself (such as the vehicle-mounted device).
[0182] The following is a detailed description of step 404:
[0183] 404: Determine the geographic locations of vehicles near the vehicle traveling on the road according to the locations of the multiple vehicles to be tracked in the current frame image in the tracking result.
[0184] Specifically, according to the positions of multiple vehicles to be tracked in the current frame image in the tracking results, the geographical locations of vehicles near the vehicle traveling on the road are determined, including: mapping the positions of multiple vehicles to be tracked in the current frame image to corresponding geographical locations in the vehicle navigation map, thereby determining the geographical locations of vehicles near the vehicle traveling on the road.
[0185] By mapping the location in the image to the geographic location of the map, it can accurately help the driverless vehicle locate the vehicle next to it.
[0186] For example, Figure 4B As shown, in the application scenario of unmanned vehicles, there are: many vehicles traveling on a road 410 and a plurality of image processing devices 406 with cameras arranged on one side of the road, and each two adjacent image processing devices 406 are separated by a preset distance. Among the many vehicles, there may be a plurality of unmanned vehicles, such as unmanned vehicle 407, unmanned vehicle 408, and unmanned vehicle 409. When the vehicle is traveling on the road 410, the camera of the image processing device continuously photographs the passing vehicles, and the camera can also be rotated at will to adjust the shooting angle and shooting direction. At this time, when the vehicle passes through the road section, it can automatically communicate with the image processing device 406 in the road section.
[0187] like Figure 4C As shown, the camera 411 captures a plurality of continuous images, such as 10 frames of images, and sends them to the image processing device 406. Since the setting method of the vehicle tracking algorithm in each frame of the image is the same, only one frame of the image is used as an example for description. The unmanned vehicle 407, the unmanned vehicle 408, and the unmanned vehicle 409 in the image may be referred to as the target vehicle below.
[0188] Image processing device 406, before tracking the target vehicle in the fifth frame of image, image processing device 406 counts the number of images in the previous 1-4 frames of image that use the Kalman filter tracking algorithm to track each target vehicle, wherein the number of images of unmanned vehicle 407 is 3, the number of images of unmanned vehicle 408 is 2, and the number of images of unmanned vehicle 409 is 4. Unmanned vehicle 409 with the largest number of images is taken as the target object, and its tracking method in the fifth frame of image is set to the KCF tracking algorithm. Unmanned vehicle 408 and the tracking method of unmanned vehicle 408 are set to the Kalman filter tracking algorithm. And so on, the setting of the target vehicle tracking algorithm in each frame of image is completed. The tracking is thereby completed, and the tracking result, that is, the coordinates of the target vehicle in each frame of the image, is mapped by the image processing device 406 to a corresponding coordinate system, such as a vehicle navigation map, and the coordinates in the vehicle navigation map are determined, and the coordinates in the map are sent to vehicles with a communication relationship, such as unmanned vehicle 407, unmanned vehicle 408, and unmanned vehicle 409. After receiving the map coordinates, the unmanned vehicle can determine the positional relationship between other vehicles traveling on the road and itself, thereby controlling the vehicle's travel.
[0189] It should be noted that the camera 411 can also capture video of passing vehicles, and the captured video is composed of multiple continuous images, so that the image processing device 406 can perform subsequent image tracking processing on the multiple continuous images in the video.
[0190] It should be noted that, for the parts not described in detail in this embodiment, reference may be made to the relevant description of the embodiment shown in the above-mentioned multi-target tracking method, and will not be repeated here.
[0191] In the field of drone tracking, especially in the scenario of real-time tracking of tracking objects, multiple tracking objects have been identified in the monitoring image outdoors as being the targets being tracked, such as people, vehicles, etc. In order to facilitate rapid real-time tracking and prevent the multiple targets being tracked from quickly disappearing in the monitoring area, it is impossible to continue monitoring and tracking. It is necessary to quickly locate the multiple targets being tracked in the image, so as to immediately determine the geographical locations of the multiple targets currently being tracked, and perform subsequent drone tracking. Therefore, the present application also proposes a drone tracking method.
[0192] Figure 5 A flowchart of a method for tracking a drone provided by another exemplary embodiment of the present application. The method 500 provided by the embodiment of the present application is performed by an outdoor image processing device, which has an image acquisition function and can be set on the roadside. The method 500 includes the following steps:
[0193] 501: Provide at least two tracking modes and each tracking mode corresponds to a tracking quality.
[0194] 502: Acquire a current frame of outdoor surveillance image through an image acquisition device, where the current frame of outdoor surveillance image includes a plurality of objects to be tracked.
[0195] 503: Determine tracking methods for the multiple objects to be tracked according to the tracking qualities of the multiple objects to be tracked and perform tracking.
[0196] 504: Track the multiple objects to be tracked in terms of their geographical locations according to the locations of the multiple objects to be tracked in the outdoor monitoring image in the tracking results.
[0197] It should be noted that since steps 501-503 are similar to the specific implementation process of the multi-target tracking method in the previous text, they will not be repeated here. Just to explain, the outdoor monitoring image refers to the image captured by the outdoor monitoring camera. The object to be tracked is the target being tracked. The image acquisition device can be a camera.
[0198] Specifically, the at least two tracking modes include a first tracking mode corresponding to a first tracking quality and a second tracking mode corresponding to a second tracking quality; wherein, according to the tracking qualities of the multiple objects to be tracked, determining the tracking modes of the multiple objects to be tracked and tracking them includes: screening out target objects that do not meet the tracking quality requirements from the multiple objects to be tracked; tracking the screened target objects with the first tracking mode, and tracking other objects to be tracked with the second tracking mode. The first tracking quality is better than the second tracking quality.
[0199] It should be noted that since the specific implementation process of selecting the target object is similar to the specific implementation process of selecting the target object in the previous article, it will not be repeated here.
[0200] In order to more accurately select the target object, the first tracking mode corresponds to the first tracking quantity; wherein, screening out the target objects that do not meet the tracking quality requirements from multiple objects to be tracked includes: screening out the target objects that do not meet the tracking quality requirements from the first tracking quantity from multiple objects to be tracked.
[0201] It should be noted that since the specific implementation process of selecting the target object is similar to the specific implementation process of selecting the target object in the previous article, it will not be repeated here.
[0202] In order to ensure that the tracing algorithm can save operating resources and tracing time, the first tracing quantity is determined according to the preset operating resources and preset tracing time of the execution device.
[0203] It should be noted that since the specific implementation process of determining the quantity is similar to the specific implementation process of determining the quantity in the previous article, it will not be repeated here.
[0204] The following is a detailed description of step 504:
[0205] 504: Track the multiple objects to be tracked in terms of their geographical locations according to the locations of the multiple objects to be tracked in the outdoor monitoring image in the tracking results.
[0206] Specifically, according to the positions of multiple objects to be tracked in the outdoor monitoring image in the tracking results, the multiple objects to be tracked are tracked in terms of their geographical locations, including: mapping the positions of the multiple objects to be tracked in the current frame outdoor monitoring image to the corresponding geographical locations in the drone navigation map, thereby determining the geographical locations where the multiple objects to be tracked appear and tracking them.
[0207] By mapping the location in the image to the geographic location on the map, it can help the drone to accurately determine the geographic location of the object to be tracked.
[0208] For example, according to the above, Figure 6A schematic diagram of drone tracking is shown, wherein a camera 602 of an outdoor image processing device 601 sends a captured outdoor surveillance image to the outdoor image processing device 601. After the outdoor image processing device 601 recognizes that there are multiple targets to be tracked in the image, it tracks the objects to be tracked in the image according to a set tracking algorithm to obtain the position of the corresponding objects to be tracked in the image, such as the coordinates in the image. After the outdoor image processing device 601 obtains the coordinates, it maps the coordinates to the aerial map coordinate system of the corresponding drone, and sends the aerial map coordinates to multiple searching drones 603. The drones 603 determine the geographical locations of the multiple tracking objects according to the aerial map coordinates, thereby tracking the tracking objects in the air, so that the tracking objects can continue to be tracked even if they leave the monitoring area.
[0209] It should be noted that, for the parts not described in detail in this embodiment, reference may be made to the relevant description of the embodiment shown in the above-mentioned multi-target tracking method, and will not be repeated here.
[0210] In the field of video image processing, especially the scene of image processing in live video. In order to ensure that users have a good viewing experience when watching live video, it is necessary to quickly send the received live video to the user end so that the user end can watch the video more smoothly. However, when performing image processing on the live video, due to the characteristics of the live video, in order not to reduce the user's viewing experience, the video server needs to quickly process the image in the live video. Therefore, this application also proposes a video processing method.
[0211] Fig. 7A This is a flow chart of a video processing method provided by another exemplary embodiment of the present application. The method 700A provided by the embodiment of the present application is executed by a video server, and the method 700A includes the following steps:
[0212] 701: Provide at least two tracking modes, and each tracking mode corresponds to a tracking quality.
[0213] 702: Obtain a current frame of live video image through a live video terminal, where the current frame of live video image includes a plurality of display objects to be tracked.
[0214] 703: Determine tracking methods for the multiple display objects to be tracked according to the tracking qualities of the multiple display objects to be tracked and perform tracking.
[0215] 704 : According to the positions of the multiple display objects to be tracked in the live video image in the tracking result, image processing is performed on the multiple display objects to be tracked, and the processed live video image is displayed.
[0216] It should be noted that since steps 701-703 are similar to the specific implementation process of the multi-target tracking method in the previous text, they will not be repeated here. It is only explained that the display object may have various objects, such as goods, articles, etc., depending on the shooting scene in the video image.
[0217] Specifically, the at least two tracking methods include a first tracking method corresponding to a first tracking quality and a second tracking method corresponding to a second tracking quality; wherein, according to the tracking qualities of the multiple display objects to be tracked, the tracking methods of the multiple display objects to be tracked are determined and tracked, including: screening out target display objects that do not meet the tracking quality requirements from the multiple display objects to be tracked; tracking the screened target display objects with the first tracking method, and tracking other display objects to be tracked with the second tracking method. The first tracking quality is better than the second tracking quality.
[0218] It should be noted that since the specific implementation process of selecting the target display object is similar to the specific implementation process of selecting the target object in the previous article, it will not be repeated here.
[0219] In order to more accurately select the target display object, the first tracking method corresponds to the first tracking number; wherein, screening out the target display objects that do not meet the tracking quality requirements from multiple display objects to be tracked includes: screening out the target display objects that do not meet the tracking quality requirements of the first tracking number from multiple display objects to be tracked.
[0220] It should be noted that since the specific implementation process of selecting the target display object is similar to the specific implementation process of selecting the target object in the previous article, it will not be repeated here.
[0221] In order to ensure that the tracing algorithm can save operating resources and tracing time, the first tracing quantity is determined according to the preset operating resources and preset tracing time of the execution device.
[0222] It should be noted that since the specific implementation process of determining the quantity is similar to the specific implementation process of determining the quantity in the previous article, it will not be repeated here.
[0223] The following is a detailed description of step 704:
[0224] 704 : According to the positions of the multiple display objects to be tracked in the live video image in the tracking result, image processing is performed on the multiple display objects to be tracked, and the processed live video image is displayed.
[0225] For example, according to the above, Figure 7BThe schematic diagram of video processing is shown, wherein the computer 706 can upload the live video to the video server 707 in response to the user's upload operation. The video server 707 identifies multiple display objects that need to be processed from the image according to the live setting requirements, and tracks the display objects in the video image according to the set tracking algorithm, such as display object 1 "toy", display object 2 "drink" and display object 3 "watch", to determine the position of the display object in the image, such as the coordinates in the image. The video server 707 deletes the display object 3 image according to the coordinates, or performs mosaic processing, and sends the video to which the processed image belongs to the live broadcast end mobile phone for the mobile phone to play the live video.
[0226] It should be noted that the video server 707 can also obtain images in the video to be processed from the mobile phone. The video to be processed can be used for live broadcasting and is processed by the video server 704 and then sent to the terminal for live broadcasting, such as a mobile phone or a computer.
[0227] It should be noted that, for the parts not described in detail in this embodiment, reference may be made to the relevant description of the embodiment shown in the above-mentioned multi-target tracking method, and will not be repeated here.
[0228] Figure 8 A schematic diagram of the structure framework of a multi-target tracking device provided for an exemplary embodiment of the present application. The device 800 can be applied to a first device, for example, an image tracking device set on a road, and the device 800 includes a providing module 801, an acquiring module 802, and a determining module 803. The functions of each module are described in detail below:
[0229] A module 801 is provided, which is used to provide at least two tracking modes, each tracking mode corresponding to a tracking quality.
[0230] The acquisition module 802 is used to acquire a current frame image, where the current frame image includes a plurality of objects to be tracked.
[0231] The determination module 803 is used to determine the tracking mode of the multiple objects to be tracked and perform tracking according to the tracking qualities of the multiple objects to be tracked.
[0232] Specifically, at least two tracking methods include a first tracking method corresponding to a first tracking quality and a second tracking method corresponding to a second tracking quality; wherein the determination module 803 includes: a screening unit, used to screen out target objects that do not meet the tracking quality requirements from multiple objects to be tracked; a tracking unit, used to track the screened target objects in the first tracking method, and track other objects to be tracked in the second tracking method.
[0233] Specifically, the first tracking quality is better than the second tracking quality.
[0234] Specifically, the first tracking mode corresponds to a first tracking quantity; wherein the screening unit is used to screen out target objects of the first tracking quantity that do not meet the tracking quality requirement from a plurality of objects to be tracked.
[0235] Specifically, the first tracking quantity is determined according to preset operating resources and preset tracking time of the execution device.
[0236] Specifically, the second tracking mode corresponds to a second tracking number, the sum of the first tracking number and the second tracking number is greater than or equal to the number of the plurality of objects to be tracked, and the second tracking number is determined according to preset operating resources and preset tracking time of the execution device.
[0237] Specifically, the tracking qualities of the multiple objects to be tracked correspond to the tracking qualities of the multiple objects to be tracked in an image before the current image.
[0238] In addition, the device 800 also includes: a statistical module for counting the number of images in which the second tracking method is used to track multiple objects to be tracked in the image before the current image; and a determination module 803 for determining the tracking quality of multiple objects to be tracked based on the number of images.
[0239] In addition, when the number of images is the same, the determination module 803 is further configured to determine the tracking quality of the multiple objects to be tracked according to the number of images and the size of the objects to be tracked in the current frame image.
[0240] In addition, the determination module 803 is further configured to determine the first tracking mode and the second tracking mode according to the tracking quality corresponding to each updated tracking mode after the tracking mode is updated.
[0241] In addition, the device 800 further includes: a tracking module, which is used for tracking each to-be-tracked image in the first frame image directly through an image recognition algorithm when the current frame image is the first frame image of the multiple images.
[0242] In addition, the tracking module is also used to determine whether the current frame image is an image to be corrected according to a preset time or a preset number of images; if so, each image to be tracked in the image to be corrected is directly tracked through an image recognition algorithm.
[0243] In addition, the determination module 803 is also used to determine and obtain the positions of multiple objects to be tracked in the current frame image.
[0244] Specifically, the first tracking method includes a tracking algorithm based on image feature prediction.
[0245] Specifically, the tracking method includes a tracking algorithm based on spatial feature prediction.
[0246] Fig. 9A schematic diagram of the structural framework of an updating device for a tracking method provided by an exemplary embodiment of the present application. The device 900 can be applied to an image processing device, a server, etc. set on the road. The device 900 includes an acquisition module 901, a selection module 902, and a providing module 903. The functions of each module are described in detail below:
[0247] The acquisition module 901 is used to acquire the tracking mode to be added and update the original tracking mode. Each updated tracking mode corresponds to a tracking quality.
[0248] The selection module 902 is used to select at least two tracking modes from the updated tracking modes according to the tracking quality.
[0249] The providing module 903 is used to provide at least two tracking modes when acquiring the current frame image and tracking multiple objects to be tracked in the current frame image, each tracking mode corresponding to a tracking quality.
[0250] Specifically, at least two tracking modes are selected from the updated tracking modes according to the tracking quality, including: selecting a tracking mode with the highest tracking quality as the first tracking mode; selecting a tracking mode with a lower tracking quality as the second tracking mode.
[0251] In addition, the device 900 further includes: a deleting module, which is used to delete the unselected tracking modes from the updated tracking modes.
[0252] It should be noted that, for the parts not described in detail in this embodiment, reference may be made to the relevant description of the embodiment shown in the above-mentioned multi-target tracking device, and will not be repeated here.
[0253] Fig.10 A schematic diagram of the structural framework of an automatic driving device for a vehicle provided as another exemplary embodiment of the present application. The device 1000 can be applied to image processing equipment and servers set on the road; the device 1000 includes: a providing module 1001, an acquiring module 1002 and a determining module 1003. The functions of each module are described in detail below:
[0254] A module 1001 is provided, configured to provide at least two tracking modes, each tracking mode corresponding to a tracking quality.
[0255] The acquisition module 1002 is used to acquire a current frame image of a road vehicle through an image acquisition device, where the current frame image includes a plurality of vehicles to be tracked.
[0256] The determination module 1003 is used to determine the tracking mode of the multiple vehicles to be tracked and perform tracking according to the tracking qualities of the multiple vehicles to be tracked.
[0257] The determination module 1003 is used to determine the geographic locations of vehicles near the vehicle traveling on the road according to the locations of multiple vehicles to be tracked in the current frame image in the tracking result.
[0258] Specifically, the determination module 1003 is used to map the positions of multiple vehicles to be tracked in the current frame image to corresponding geographical positions in the vehicle navigation map, so as to determine the geographical positions of vehicles near the vehicle traveling on the road.
[0259] Specifically, the at least two tracking modes include a first tracking mode corresponding to a first tracking quality and a second tracking mode corresponding to a second tracking quality; wherein the determination module 1003 includes: a screening unit, used to screen out a target vehicle that does not meet the tracking quality requirement from a plurality of vehicles to be tracked; a tracking unit, used to track the screened target vehicle in the first tracking mode, and track other vehicles to be tracked in the second tracking mode.
[0260] Specifically, the first tracking quality is better than the second tracking quality.
[0261] Specifically, the first tracking mode corresponds to a first tracking quantity; wherein the tracking unit is used to filter out target vehicles of the first tracking quantity that do not meet the tracking quality requirement from a plurality of vehicles to be tracked.
[0262] Specifically, the first tracking quantity is determined according to preset operating resources and preset tracking time of the execution device.
[0263] It should be noted that, for the parts not described in detail in this embodiment, reference may be made to the relevant description of the embodiment shown in the above-mentioned multi-target tracking device, and will not be repeated here.
[0264] Fig.11 A schematic diagram of the structural framework of a drone tracking device provided by another exemplary embodiment of the present application. The device 1100 can be applied to an image processing device or server that can be set up outdoors; the device 1100 includes: a providing module 1101, an acquiring module 1102, and a determining module 1103. The functions of each module are described in detail below:
[0265] A module 1101 is provided, which is used to provide at least two tracking modes, each tracking mode corresponding to a tracking quality.
[0266] The acquisition module 1102 is used to acquire a current frame outdoor surveillance image through an image acquisition device, where the current frame outdoor surveillance image includes multiple objects to be tracked.
[0267] The determination module 1103 is used to determine the tracking mode of the multiple objects to be tracked and perform tracking according to the tracking qualities of the multiple objects to be tracked.
[0268] The determination module 1103 is used to track the geographical locations of the multiple objects to be tracked according to the locations of the multiple objects to be tracked in the outdoor monitoring image in the tracking results.
[0269] Specifically, the determination module 1103 is used to map the positions of multiple objects to be tracked in the current frame outdoor monitoring image to corresponding geographical locations in the drone navigation map, thereby determining the geographical locations where the multiple objects to be tracked appear and tracking them.
[0270] Specifically, at least two tracking methods include a first tracking method corresponding to a first tracking quality and a second tracking method corresponding to a second tracking quality; the determination module 1103 includes a screening unit, which is used to screen out target objects that do not meet the tracking quality requirements from multiple objects to be tracked; and a tracking unit, which is used to track the screened target objects in the first tracking method, and track other objects to be tracked in the second tracking method.
[0271] Specifically, the first tracking quality is better than the second tracking quality.
[0272] Specifically, the first tracking mode corresponds to a first tracking quantity; wherein the screening unit is used to screen out target objects of the first tracking quantity that do not meet the tracking quality requirement from a plurality of objects to be tracked.
[0273] Specifically, the first tracking quantity is determined according to preset operating resources and preset tracking time of the execution device.
[0274] It should be noted that, for the parts not described in detail in this embodiment, reference may be made to the relevant description of the embodiment shown in the above-mentioned multi-target tracking device, and will not be repeated here.
[0275] Fig.12 A schematic diagram of the structural framework of a video processing device provided as another exemplary embodiment of the present application. The device 1200 can be applied to a video server; the device 1200 includes: a providing module 1201, an acquiring module 1202, a determining module 1203 and a processing module 1204. The functions of each module are described in detail below:
[0276] A module 1201 is provided, which is used to provide at least two tracking modes and each tracking mode corresponds to a tracking quality.
[0277] The acquisition module 1202 is used to acquire the current frame live video image through the video live broadcast terminal, and the current frame live video image includes multiple display objects to be tracked.
[0278] The determination module 1203 is used to determine the tracking methods of the multiple display objects to be tracked and perform tracking according to the tracking qualities of the multiple display objects to be tracked.
[0279] The processing module 1204 is used to perform image processing on the multiple display objects to be tracked according to the positions of the multiple display objects to be tracked in the live video image in the tracking result, and display the processed live video image.
[0280] Specifically, the at least two tracking methods include a first tracking method corresponding to a first tracking quality and a second tracking method corresponding to a second tracking quality; wherein the determination module 1203 includes: a screening unit, used to screen out target display objects that do not meet the tracking quality requirements from multiple display objects to be tracked; a tracking unit, used to track the screened target display objects in the first tracking method, and track other display objects to be tracked in the second tracking method.
[0281] Specifically, the first tracking quality is better than the second tracking quality.
[0282] Specifically, the first tracking mode corresponds to a first tracking quantity; wherein the screening unit is used to screen out the target display objects of the first tracking quantity that do not meet the tracking quality requirement from the multiple display objects to be tracked.
[0283] Specifically, the first tracking quantity is determined according to preset operating resources and preset tracking time of the execution device.
[0284] It should be noted that, for the parts not described in detail in this embodiment, reference may be made to the relevant description of the embodiment shown in the above-mentioned multi-target tracking device, and will not be repeated here.
[0285] The above describes Figure 8 The internal functions and structure of the tracking device 800 shown in one possible design, Figure 8 The structure of the tracking device 800 shown can be implemented in an electronic device, such as an image processing device or a server disposed on the road, such as Fig.13 As shown, the device 1300 may include: a memory 1301 and a processor 1302;
[0286] Memory 1301, used for storing computer programs;
[0287] The processor 1302 is used to execute a computer program to: provide at least two tracking modes, each tracking mode corresponds to a tracking quality; obtain a current frame image, the current frame image includes multiple objects to be tracked; and determine the tracking modes of the multiple objects to be tracked and track them according to the tracking qualities of the multiple objects to be tracked.
[0288] Specifically, at least two tracking methods include a first tracking method corresponding to a first tracking quality and a second tracking method corresponding to a second tracking quality; wherein the processor 1302 is specifically used to filter out target objects that do not meet the tracking quality requirements from multiple objects to be tracked; track the filtered target objects with the first tracking method, and track other objects to be tracked with the second tracking method.
[0289] Specifically, the first tracking quality is better than the second tracking quality.
[0290] Specifically, the first tracking mode corresponds to a first tracking quantity; wherein the processor 1302 is specifically configured to filter out target objects of the first tracking quantity that do not meet the tracking quality requirement from a plurality of objects to be tracked.
[0291] Specifically, the first tracking quantity is determined according to preset operating resources and preset tracking time of the execution device.
[0292] Specifically, the second tracking mode corresponds to a second tracking number, the sum of the first tracking number and the second tracking number is greater than or equal to the number of the plurality of objects to be tracked, and the second tracking number is determined according to preset operating resources and preset tracking time of the execution device.
[0293] Specifically, the tracking qualities of the multiple objects to be tracked correspond to the tracking qualities of the multiple objects to be tracked in an image before the current image.
[0294] In addition, the processor 1302 is further configured to: count the number of images in which the second tracking method is used to track the multiple objects to be tracked in the images before the current image; and determine the tracking quality of the multiple objects to be tracked according to the number of images.
[0295] In addition, when the number of images is the same, the processor 1302 is further configured to determine the tracking quality of the multiple objects to be tracked according to the number of images and the size of the objects to be tracked in the current frame image.
[0296] In addition, the processor 1302 is further configured to: after the tracking mode is updated, determine the first tracking mode and the second tracking mode according to the tracking quality corresponding to each updated tracking mode.
[0297] In addition, the processor 1302 is further configured to: when the current frame image is the first frame image of the multiple images, directly track each image to be tracked in the first frame image by using an image recognition algorithm.
[0298] In addition, the processor 1302 is further configured to: determine whether the current frame image is an image to be corrected according to a preset time or a preset number of images; if so, directly track each image to be tracked in the image to be corrected through an image recognition algorithm.
[0299] In addition, the processor 1302 is further configured to determine and obtain positions of multiple objects to be tracked in the current frame image.
[0300] Specifically, the first tracking method includes a tracking algorithm based on image feature prediction.
[0301] Specifically, the tracking method includes a tracking algorithm based on spatial feature prediction.
[0302] In addition, an embodiment of the present invention provides a computer storage medium, when the computer program is executed by one or more processors, causing the one or more processors to implement Figure 1 Method 100 is a step of a multi-target tracking method in an embodiment.
[0303] The above describes Fig. 9 The internal functions and structure of the updating device 900 shown in FIG. 1 may be implemented as an electronic device, such as an image processing device or a server disposed on a road. Fig.14 As shown, the device 1400 may include: a memory 1401 and a processor 1402;
[0304] Memory 1401, used for storing computer programs;
[0305] Processor 1402 is used to execute a computer program to: obtain a tracking mode to be added, update the original tracking mode, and each updated tracking mode corresponds to a tracking quality; select at least two tracking modes from the updated tracking modes according to the tracking quality; when obtaining a current frame image and tracking multiple objects to be tracked in the current frame image, provide at least two tracking modes, and each tracking mode corresponds to a tracking quality.
[0306] Specifically, the processor 1402 is specifically configured to select a tracking method with the highest tracking quality as the first tracking method; and select a tracking method with a lower tracking quality as the second tracking method.
[0307] In addition, the processor 1402 is further configured to delete unselected tracking modes from the updated tracking modes.
[0308] It should be noted that, for the parts not described in detail in this embodiment, reference may be made to the relevant description of the embodiment shown in the above-mentioned electronic device 1300, and will not be repeated here.
[0309] In addition, an embodiment of the present invention provides a computer storage medium, when the computer program is executed by one or more processors, causing the one or more processors to implement Figure 3 The method 300 is a step of a tracking method update method in an embodiment.
[0310] The above describes Fig.10 The internal functions and structure of the autonomous driving device 1000 shown in FIG. 1 may be implemented as an electronic device, such as an image processing device or a server disposed on the road. Fig.15 As shown, the device 1500 may include: a memory 1501 and a processor 1502;
[0311] Memory 1501, used for storing computer programs;
[0312] The processor 1502 is used to execute a computer program to: provide at least two tracking modes, each tracking mode corresponds to a tracking quality; obtain a current frame image of a road vehicle through an image acquisition device, the current frame image includes multiple vehicles to be tracked; determine the tracking modes of the multiple vehicles to be tracked and track them according to the tracking qualities of the multiple vehicles to be tracked; determine the geographical locations of vehicles near the vehicle traveling on the road according to the positions of the multiple vehicles to be tracked in the current frame image in the tracking result.
[0313] Specifically, the processor 1502 is specifically configured to map the positions of multiple vehicles to be tracked in the current frame image to corresponding geographical positions in the vehicle navigation map, thereby determining the geographical positions of vehicles near the vehicle traveling on the road.
[0314] Specifically, the at least two tracking modes include a first tracking mode corresponding to a first tracking quality and a second tracking mode corresponding to a second tracking quality; the processor 1502 is specifically used to: filter out a target vehicle that does not meet the tracking quality requirement from a plurality of vehicles to be tracked; track the filtered target vehicle with the first tracking mode, and track other vehicles to be tracked with the second tracking mode.
[0315] Specifically, the first tracking quality is better than the second tracking quality.
[0316] Specifically, the first tracking mode corresponds to a first tracking quantity; wherein the processor 1502 is specifically configured to filter out target vehicles of the first tracking quantity that do not meet the tracking quality requirement from a plurality of vehicles to be tracked.
[0317] Specifically, the first tracking quantity is determined according to preset operating resources and preset tracking time of the execution device.
[0318] It should be noted that, for the parts not described in detail in this embodiment, reference may be made to the relevant description of the embodiment shown in the above-mentioned electronic device 1300, and will not be repeated here.
[0319] In addition, an embodiment of the present invention provides a computer storage medium, and when the computer program is executed by one or more processors, it causes the one or more processors to implement the steps of the automatic driving method for the vehicle in the method 400A embodiment of Figure 4.
[0320] The above describes Fig.11 The internal functions and structure of the tracking device 1100 shown in FIG. 1 may be implemented as an electronic device, such as an image processing device or a server disposed on a road. Fig.16 As shown, the device 1600 may include: a memory 1601 and a processor 1602;
[0321] Memory 1601, used for storing computer programs;
[0322] Processor 1602 is used to execute a computer program to: provide at least two tracking methods, each tracking method corresponds to a tracking quality; obtain a current frame outdoor monitoring image through an image acquisition device, and the current frame outdoor monitoring image includes multiple objects to be tracked; determine the tracking methods of the multiple objects to be tracked and track them according to the tracking qualities of the multiple objects to be tracked; and track the geographical locations of the multiple objects to be tracked according to the positions of the multiple objects to be tracked in the outdoor monitoring image in the tracking results.
[0323] Specifically, the processor 1602 is specifically used to: map the positions of multiple objects to be tracked in the current frame outdoor monitoring image to corresponding geographical locations in the drone navigation map, so as to determine the geographical locations where the multiple objects to be tracked appear and track them.
[0324] Specifically, at least two tracking methods include a first tracking method corresponding to a first tracking quality and a second tracking method corresponding to a second tracking quality; the processor 1602 is specifically used to: filter out target objects that do not meet the tracking quality requirements from multiple objects to be tracked; track the filtered target objects with the first tracking method, and track other objects to be tracked with the second tracking method.
[0325] Specifically, the first tracking quality is better than the second tracking quality.
[0326] Specifically, the first tracking mode corresponds to a first tracking quantity; wherein the processor 1602 is specifically configured to: filter out the target objects of the first tracking quantity that do not meet the tracking quality requirement from a plurality of objects to be tracked.
[0327] Specifically, the first tracking quantity is determined according to preset operating resources and preset tracking time of the execution device.
[0328] It should be noted that, for the parts not described in detail in this embodiment, reference may be made to the relevant description of the embodiment shown in the above-mentioned electronic device 1300, and will not be repeated here.
[0329] In addition, an embodiment of the present invention provides a computer storage medium, when the computer program is executed by one or more processors, causing the one or more processors to implement Figure 5 The steps of the method for tracking a drone in the method 500 embodiment.
[0330] The above describes Fig.12 The internal functions and structure of the processing device 1200 shown in FIG. 1 may be implemented as an electronic device, such as a video server, Fig.17 As shown, the device 1700 may include: a memory 1701 and a processor 1702;
[0331] Memory 1701, used for storing computer programs;
[0332] Processor 1702 is used to execute a computer program to: provide at least two tracking methods and each tracking method corresponds to a tracking quality; obtain a current frame live video image through a video live broadcast terminal, and the current frame live video image includes multiple display objects to be tracked; determine the tracking methods of the multiple display objects to be tracked and track them according to the tracking qualities of the multiple display objects to be tracked; perform image processing on the multiple display objects to be tracked according to the positions of the multiple display objects to be tracked in the live video image in the tracking results, and display the processed live video image.
[0333] Specifically, the at least two tracking methods include a first tracking method corresponding to a first tracking quality and a second tracking method corresponding to a second tracking quality; wherein the processor 1702 is specifically used to: filter out a target display object that does not meet the tracking quality requirement from multiple display objects to be tracked; track the filtered target display object with the first tracking method, and track other display objects to be tracked with the second tracking method.
[0334] Specifically, the first tracking quality is better than the second tracking quality.
[0335] Specifically, the first tracking mode corresponds to a first tracking quantity; wherein the processor 1702 is specifically configured to: filter out the first tracking quantity of target display objects that do not meet the tracking quality requirement from a plurality of display objects to be tracked.
[0336] Specifically, the first tracking quantity is determined according to preset operating resources and preset tracking time of the execution device.
[0337] It should be noted that, for the parts not described in detail in this embodiment, reference may be made to the relevant description of the embodiment shown in the above-mentioned electronic device 1300, and will not be repeated here.
[0338] In addition, an embodiment of the present invention provides a computer storage medium, when the computer program is executed by one or more processors, causing the one or more processors to implement Fig. 7A Steps of the video processing method in the method 700A embodiment.
[0339] In addition, in some of the processes described in the above embodiments and the accompanying drawings, multiple operations that appear in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this article or executed in parallel, and the sequence numbers of the operations, such as 201, 202, 203, etc., are only used to distinguish between different operations, and the sequence numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., do not represent the order of precedence, and do not limit the "first" and "second" to be different types.
[0340] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0341] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by adding a necessary general hardware platform, and of course can also be implemented by combining hardware and software. Based on such an understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a computer product, and the present invention can be in the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0342] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable multimedia data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable multimedia data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0343] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable multimedia data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0344] These computer program instructions may also be loaded onto a computer or other programmable multimedia data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0345] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0346] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0347] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0348] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A multi-target tracking method, characterized in that: include: A first tracking mode and a second tracking mode are provided, wherein a first tracking quality of the first tracking mode is better than a second tracking quality of the second tracking mode, wherein the first tracking mode refers to a high-level tracking algorithm, the high-level tracking algorithm has a plurality of different high-level tracking algorithms, each high-level tracking algorithm corresponds to a tracking quality, and the tracking quality refers to the quality of the tracking effect; the second tracking mode refers to a low-level tracking algorithm, the low-level tracking algorithm has a plurality of different low-level tracking algorithms, each low-level tracking algorithm corresponds to a tracking quality; Acquire a current frame image, where the current frame image includes a plurality of objects to be tracked; Filtering out target objects that do not meet the tracking quality requirement from the multiple objects to be tracked; The screened target object is tracked in the first tracking manner, and other objects to be tracked are tracked in the second tracking manner.
2. The method according to claim 1, characterized in that The first tracking mode corresponds to a first tracking quantity; The step of screening out target objects that do not meet the tracking quality requirement from the multiple objects to be tracked includes screening out a first tracking number of target objects that do not meet the tracking quality requirement from the multiple objects to be tracked.
3. The method according to claim 1, characterized in that The first tracking quantity is determined according to preset operating resources and preset tracking time of the execution device.
4. The method according to claim 2, characterized in that: The second tracking mode corresponds to a second tracking number, the sum of the first tracking number and the second tracking number is greater than or equal to the number of the multiple objects to be tracked, and the second tracking number is determined according to preset operating resources and preset tracking time of the execution device.
5. The method according to claim 1, characterized in that The tracking qualities of the multiple objects to be tracked correspond to the tracking qualities of the multiple objects to be tracked in an image before the current frame image.
6. The method according to claim 5, characterized in that The method further comprises: Counting the number of images in which the second tracking method is used to track multiple objects to be tracked in the image before the current frame image; The tracking qualities of the multiple objects to be tracked are determined according to the number of images.
7. The method according to claim 6, characterized in that When the number of images is the same, the method further includes: The tracking qualities of the multiple objects to be tracked are determined according to the number of images and the sizes of the objects to be tracked in the current frame image.
8. The method according to claim 1, characterized in that The method further comprises: After the tracking mode is updated, the first tracking mode and the second tracking mode are determined according to the tracking quality corresponding to each updated tracking mode.
9. The method according to claim 1, characterized in that: The method further comprises: When the current frame image is the first frame image of multiple images, each image to be tracked in the first frame image is tracked directly by using an image recognition algorithm.
10. The method according to claim 1, characterized in that The method further comprises: Determining whether the current frame image is an image to be corrected according to a preset time or a preset number of images; If so, each image to be tracked in the image to be corrected is tracked directly by using an image recognition algorithm.
11. The method according to claim 1, characterized in that: The method further comprises: Determine and obtain the positions of the multiple objects to be tracked in the current frame image.
12. The method according to claim 1, characterized in that The first tracking method includes a tracking algorithm based on image feature prediction.
13. The method according to claim 1, characterized in that The second tracking method includes a tracking algorithm based on spatial feature prediction.
14. A method for updating a tracking mode, characterized in that: include: Obtain the tracking method to be added, and update the original tracking method. Each updated tracking method corresponds to a tracking quality. selecting at least two tracking modes from updated tracking modes according to the tracking quality; In the case of acquiring a current frame image and tracking a plurality of objects to be tracked in the current frame image, a first tracking mode and a second tracking mode are provided, wherein a first tracking quality of the first tracking mode is better than a second tracking quality of the second tracking mode, wherein the first tracking mode refers to an advanced tracking algorithm, the advanced tracking algorithm has a plurality of different advanced tracking algorithms, each advanced tracking algorithm corresponds to a tracking quality, and the tracking quality refers to the quality of the tracking effect; The second tracking mode refers to a low-level tracking algorithm, and the low-level tracking algorithm includes a plurality of different low-level tracking algorithms, and each low-level tracking algorithm corresponds to a tracking quality.
15. The method according to claim 14, characterized in that According to the tracking quality, at least two tracking modes are selected from the updated tracking modes, including: Select the tracking method with the highest tracking quality as the first tracking method; A tracking method with lower tracking quality is selected as the second tracking method.
16. The method according to claim 14, characterized in that The method further comprises: Remove unselected tracking methods from the updated tracking methods.
17. A method for automatic driving of a vehicle, characterized in that: include: A first tracking mode and a second tracking mode are provided, wherein a first tracking quality of the first tracking mode is better than a second tracking quality of the second tracking mode, wherein the first tracking mode refers to a high-level tracking algorithm, the high-level tracking algorithm has a plurality of different high-level tracking algorithms, each high-level tracking algorithm corresponds to a tracking quality, and the tracking quality refers to the quality of the tracking effect; the second tracking mode refers to a low-level tracking algorithm, the low-level tracking algorithm has a plurality of different low-level tracking algorithms, each low-level tracking algorithm corresponds to a tracking quality; Acquire a current frame image of a road vehicle through an image acquisition device, wherein the current frame image includes a plurality of vehicles to be tracked; Screening out target vehicles that do not meet the tracking quality requirements from the multiple vehicles to be tracked; Tracking the selected target vehicle in the first tracking mode, and tracking other vehicles to be tracked in the second tracking mode; According to the positions of the multiple vehicles to be tracked in the current frame image in the tracking result, the geographical positions of the vehicles near the vehicle traveling on the road are determined.
18. The method according to claim 17, wherein determining the geographical locations of vehicles near the vehicle traveling on the road according to the locations of the plurality of vehicles to be tracked in the current frame image in the tracking result comprises: The positions of the multiple vehicles to be tracked in the current frame image are mapped to corresponding geographical positions in the vehicle navigation map, so as to determine the geographical positions of vehicles near the vehicle traveling on the road.
19. The method according to claim 17, characterized in that The first tracking mode corresponds to a first tracking quantity; The step of screening out target vehicles that do not meet the tracking quality requirement from the multiple vehicles to be tracked includes screening out a first tracking number of target vehicles that do not meet the tracking quality requirement from the multiple vehicles to be tracked.
20. The method according to claim 17, characterized in that The first tracking quantity is determined according to preset operating resources and preset tracking time of the execution device.
21. A method for tracking a drone, characterized in that: include: A first tracking mode and a second tracking mode are provided, wherein a first tracking quality of the first tracking mode is better than a second tracking quality of the second tracking mode, wherein the first tracking mode refers to a high-level tracking algorithm, the high-level tracking algorithm has a plurality of different high-level tracking algorithms, each high-level tracking algorithm corresponds to a tracking quality, and the tracking quality refers to the quality of the tracking effect; the second tracking mode refers to a low-level tracking algorithm, the low-level tracking algorithm has a plurality of different low-level tracking algorithms, each low-level tracking algorithm corresponds to a tracking quality; Acquire a current frame outdoor monitoring image by an image acquisition device, wherein the current frame outdoor monitoring image includes a plurality of objects to be tracked; Filtering out target objects that do not meet the tracking quality requirement from the multiple objects to be tracked; Tracking the selected target object in the first tracking mode, and tracking other objects to be tracked in the second tracking mode; According to the positions of the multiple objects to be tracked in the outdoor monitoring image in the tracking result, the multiple objects to be tracked are tracked in geographical locations.
22. The method according to claim 21, tracking the multiple objects to be tracked in geographical locations according to the locations of the multiple objects to be tracked in the outdoor monitoring image in the tracking result, comprising: The positions of the multiple objects to be tracked in the current frame outdoor monitoring image are mapped to corresponding geographical locations in the drone navigation map, so as to determine the geographical locations where the multiple objects to be tracked appear and track them.
23. The method according to claim 21, characterized in that The first tracking mode corresponds to a first tracking quantity; The step of screening out target objects that do not meet the tracking quality requirement from the multiple objects to be tracked includes screening out a first tracking number of target objects that do not meet the tracking quality requirement from the multiple objects to be tracked.
24. The method according to claim 21, characterized in that The first tracking quantity is determined according to preset operating resources and preset tracking time of the execution device.
25. A video processing method, characterized in that: include: A first tracking mode and a second tracking mode are provided, wherein a first tracking quality of the first tracking mode is better than a second tracking quality of the second tracking mode, wherein the first tracking mode refers to a high-level tracking algorithm, the high-level tracking algorithm has a plurality of different high-level tracking algorithms, each high-level tracking algorithm corresponds to a tracking quality, and the tracking quality refers to the quality of the tracking effect; the second tracking mode refers to a low-level tracking algorithm, the low-level tracking algorithm has a plurality of different low-level tracking algorithms, each low-level tracking algorithm corresponds to a tracking quality; Acquire a current frame live video image through a video live broadcast terminal, wherein the current frame live video image includes a plurality of display objects to be tracked; Filter out target display objects that do not meet the tracking quality requirement from the multiple display objects to be tracked elephant; Tracking the selected target display objects in the first tracking manner, and tracking other display objects to be tracked in the second tracking manner; According to the positions of the multiple display objects to be tracked in the live video image in the tracking result, image processing is performed on the multiple display objects to be tracked, and the processed live video image is displayed.
26. The method according to claim 25, characterized in that The first tracking mode corresponds to a first tracking quantity; The method further comprises: filtering out objects that do not meet the tracking quality requirements from the plurality of display objects to be tracked. The method further comprises: filtering out a first tracking number of target display objects that do not meet the tracking quality requirement from the plurality of display objects to be tracked.
27. The method according to claim 25, characterized in that The first tracking quantity is determined according to preset operating resources and preset tracking time of the execution device.
28. A multi-target tracking system, characterized in that: include: Image acquisition equipment and image processing equipment; The image acquisition device acquires a plurality of frames of images, wherein each frame of image includes a plurality of objects to be tracked, and sends the plurality of frames of images to the image processing device; The image processing device provides a first tracking mode and a second tracking mode, wherein a first tracking quality of the first tracking mode is better than a second tracking quality of the second tracking mode, wherein the first tracking mode refers to a high-level tracking algorithm, the high-level tracking algorithm has a plurality of different high-level tracking algorithms, each high-level tracking algorithm corresponds to a tracking quality, and the tracking quality refers to the quality of the tracking effect; the second tracking mode refers to a low-level tracking algorithm, the low-level tracking algorithm has a plurality of different low-level tracking algorithms, each low-level tracking algorithm corresponds to a tracking quality; The image processing device selects target objects that do not meet the tracking quality requirement from the multiple objects to be tracked; tracks the selected target objects in the first tracking manner, and tracks other objects to be tracked in the second tracking manner.
29. The system according to claim 28, characterized in that The first tracking mode corresponds to a first tracking quantity; The image processing device selects a first tracking number of target objects that do not meet the tracking quality requirement from the multiple objects to be tracked.
30. The system according to claim 28, characterized in that The first tracking quantity and the second tracking quantity are determined according to preset running resources and preset tracking time of the execution device.
31. A computing device comprising a memory and a processor; The memory is used to store computer programs; The processor is configured to execute the computer program to: A first tracking mode and a second tracking mode are provided, wherein a first tracking quality of the first tracking mode is better than a second tracking quality of the second tracking mode, wherein: The first tracking mode refers to an advanced tracking algorithm, and the advanced tracking algorithm includes a plurality of different advanced tracking algorithms, each of which corresponds to a tracking quality, and the tracking quality refers to the quality of the tracking effect; The second tracking mode refers to a low-level tracking algorithm, and the low-level tracking algorithm has a plurality of different low-level tracking algorithms, and each low-level tracking algorithm corresponds to a tracking quality; Acquire a current frame image, where the current frame image includes a plurality of objects to be tracked; Filtering out target objects that do not meet the tracking quality requirement from the multiple objects to be tracked; The screened target object is tracked in the first tracking manner, and other objects to be tracked are tracked in the second tracking manner, wherein the other objects to be tracked meet the tracking quality requirement.
32. A computing device comprising a memory and a processor; The memory is used to store computer programs; The processor is configured to execute the computer program to: Obtain the tracking method to be added, and update the original tracking method. Each updated tracking method corresponds to a tracking quality. selecting at least two tracking modes from updated tracking modes according to the tracking quality; In the case of acquiring a current frame image and tracking a plurality of objects to be tracked in the current frame image, a first tracking mode and a second tracking mode are provided, wherein a first tracking quality of the first tracking mode is better than a second tracking quality of the second tracking mode, wherein the first tracking mode refers to an advanced tracking algorithm, the advanced tracking algorithm has a plurality of different advanced tracking algorithms, each advanced tracking algorithm corresponds to a tracking quality, and the tracking quality refers to the quality of the tracking effect; The second tracking mode refers to a low-level tracking algorithm, and the low-level tracking algorithm includes a plurality of different low-level tracking algorithms, and each low-level tracking algorithm corresponds to a tracking quality.
33. A computing device comprising a memory and a processor; The memory is used to store computer programs; The processor is configured to execute the computer program to: A first tracking mode and a second tracking mode are provided, wherein a first tracking quality of the first tracking mode is better than a second tracking quality of the second tracking mode, wherein: The first tracking mode refers to an advanced tracking algorithm, and the advanced tracking algorithm includes a plurality of different advanced tracking algorithms, each of which corresponds to a tracking quality, and the tracking quality refers to the quality of the tracking effect; The second tracking mode refers to a low-level tracking algorithm, and the low-level tracking algorithm has a plurality of different low-level tracking algorithms, and each low-level tracking algorithm corresponds to a tracking quality; Acquire a current frame image of a road vehicle through an image acquisition device, wherein the current frame image includes a plurality of vehicles to be tracked; Screening out target vehicles that do not meet the tracking quality requirements from the multiple vehicles to be tracked; Tracking the selected target vehicle in the first tracking mode, and tracking other vehicles to be tracked in the second tracking mode; According to the positions of the multiple vehicles to be tracked in the current frame image in the tracking result, the geographical positions of the vehicles near the vehicle traveling on the road are determined.
34. A computing device comprising a memory and a processor; The memory is used to store computer programs; The processor is configured to execute the computer program to: A first tracking mode and a second tracking mode are provided, wherein a first tracking quality of the first tracking mode is better than a second tracking quality of the second tracking mode, wherein: The first tracking mode refers to an advanced tracking algorithm, and the advanced tracking algorithm includes a plurality of different advanced tracking algorithms, each of which corresponds to a tracking quality, and the tracking quality refers to the quality of the tracking effect; The second tracking mode refers to a low-level tracking algorithm, and the low-level tracking algorithm has a plurality of different low-level tracking algorithms, and each low-level tracking algorithm corresponds to a tracking quality; Acquire a current frame outdoor monitoring image by an image acquisition device, wherein the current frame outdoor monitoring image includes a plurality of objects to be tracked; Filtering out target objects that do not meet the tracking quality requirement from the multiple objects to be tracked; Tracking the selected target object in the first tracking mode, and tracking other objects to be tracked in the second tracking mode; According to the positions of the multiple objects to be tracked in the outdoor monitoring image in the tracking result, the multiple objects to be tracked are tracked in geographical locations.
35. A computing device comprising a memory and a processor; The memory is used to store computer programs; The processor is configured to execute the computer program to: A first tracking mode and a second tracking mode are provided, wherein a first tracking quality of the first tracking mode is better than a second tracking quality of the second tracking mode, wherein: The first tracking mode refers to an advanced tracking algorithm, and the advanced tracking algorithm includes a plurality of different advanced tracking algorithms, each of which corresponds to a tracking quality, and the tracking quality refers to the quality of the tracking effect; The second tracking mode refers to a low-level tracking algorithm, and the low-level tracking algorithm has a plurality of different low-level tracking algorithms, and each low-level tracking algorithm corresponds to a tracking quality; Acquire a current frame live video image through a video live broadcast terminal, wherein the current frame live video image includes a plurality of display objects to be tracked; Filter out target display objects that do not meet the tracking quality requirement from the multiple display objects to be tracked elephant; Tracking the selected target display objects in the first tracking manner, and tracking other display objects to be tracked in the second tracking manner; According to the positions of the multiple display objects to be tracked in the live video image in the tracking result, image processing is performed on the multiple display objects to be tracked, and the processed live video image is displayed.
36. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by one or more processors, the one or more processors are caused to implement the steps of the method according to any one of claims 1 to 27.
