Target tracking method based on monocular semantic image contour features

By adopting a target tracking method based on monocular semantic image contour features in the field of vehicle automatic driving, extracting and comparing the contour centroid and convex hull of road traffic signs, the problem of high computing resources in the existing technology is solved, and the computational efficiency is achieved. Road traffic sign tracking in scenarios with limited power, suitable for use in small embedded devices.

CN118628527APending Publication Date: 2024-09-10WUHAN ZHONGHAITING DATA TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410592006.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-14
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

The existing real-time tracking method of road traffic signs in the field of autonomous vehicle driving requires high computing resources and is not suitable for the use of small embedded devices. It is especially difficult to achieve accurate tracking in scenarios with limited computing power.

Method used

Using a target tracking method based on the contour features of monocular semantic images, by obtaining continuous adjacent frames of monocular semantic images, extracting the centroid and convex hull of the contour, and confirming the consistency relationship of the contour through the threshold comparison method, the road traffic signs can be tracked tracking. Specific steps include image binarization processing, contour extraction, centroid and convex hull calculation, and comparison of centroid distance and convex hull overlap area to determine the identity of the contour.

Benefits of technology

It achieves accurate tracking of road traffic signs in scenarios with limited computing power, reduces the consumption of computing resources, is suitable for the use of small embedded devices, and solves the problem of tracking in crowdsourcing scenarios with limited computing power in the field of autonomous driving. question.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628527A
    Figure CN118628527A
Patent Text Reader

Abstract

The invention discloses a target tracking method based on monocular semantic image contour features, and the method comprises the steps: obtaining two continuous adjacent frames of monocular semantic images of a target body related to a to-be-tracked target type, and respectively extracting the contour of the target body related to the to-be-tracked target type from the two continuous adjacent frames of monocular semantic images; respectively confirming the centroid and the convex hull of the extracted contour; on the basis of the centroid distance and / or convex hull overlapping area of two corresponding contours extracted from the two continuous adjacent frames of monocular semantic images respectively, through a threshold comparison method, the consistency relation between the two corresponding contours and the same target body of the target type to be tracked is determined; wherein the monocular semantic image is a semantic image under a single view angle. According to the invention, the to-be-tracked target body can be tracked according to the contour features of the monocular semantic image, consumption of calculation performance is reduced, and accurate tracking of the to-be-tracked target body in a scene with limited calculation power is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of autonomous driving technology, and more specifically, to a target tracking method based on monocular semantic image contour features. Background Art

[0002] In the field of vehicle autonomous driving, real-time tracking of road traffic signs is very necessary. The semantic information carried by road traffic signs has guiding significance for vehicle driving behavior. Therefore, the vehicle needs to have the ability to recognize the road traffic signs ahead in real time and be able to detect and track the same signs.

[0003] In the field of image processing, there are many research results on target tracking, but there are few studies on the tracking of road traffic signs in the context of vehicle autonomous driving. Recent research results on road traffic signs, such as Chen Yang et al.'s "Research on Traffic Sign Detection, Recognition and Tracking Technology", focus on using convolutional neural networks to detect and recognize road traffic signs, and use kernel-related filtering methods to track road traffic signs. This method has achieved good detection and tracking results, but the tracking method used has high requirements on the computing resources of the device and is not suitable for use in small embedded devices. Summary of the invention

[0004] In view of at least one defect or improvement need of the prior art, the present invention provides a target tracking method based on monocular semantic image contour features, so as to achieve accurate tracking of the target body to be tracked in a scenario with limited computing power.

[0005] To achieve the above object, the present invention provides a target tracking method based on monocular semantic image contour features, comprising:

[0006] S1, obtaining two consecutive adjacent frames of monocular semantic images of a target object of a target type to be tracked, and extracting the contours of the target object of the target type to be tracked from the two consecutive adjacent frames of monocular semantic images respectively;

[0007] S2, confirm the centroid and convex hull of the extracted contour respectively;

[0008] S3, based on the centroid distance and / or convex hull overlap area of ​​two corresponding contours respectively extracted from the two consecutive adjacent monocular semantic images, confirming the consistency relationship between the two corresponding contours and the same target body of the target type to be tracked by a threshold comparison method;

[0009] The monocular semantic image is a semantic image from a single perspective.

[0010] Furthermore, the method for extracting the contour of the target body of the target type to be tracked in the monocular semantic image includes:

[0011] S11, performing image binarization processing on the monocular semantic image;

[0012] S12. Extracting the outline of the target body of the target type to be tracked from the monocular semantic image after the image binarization processing.

[0013] Furthermore, the method for confirming the centroid of the contour includes:

[0014] The centroid of the contour is obtained by calculating the zero-order moment and the first-order moment of the contour respectively.

[0015] Further, based on the centroid distance and / or convex hull overlap area of ​​two corresponding contours respectively extracted from the two consecutive adjacent monocular semantic images, confirming the consistency relationship between the two corresponding contours and the same target body of the target type to be tracked by a threshold comparison method includes:

[0016] S31, determine the centroid C of the contour i extracted from the current frame A A i and the centroid C of the corresponding contour j extracted from the next frame B B j The pixel distance D ij is less than a first threshold;

[0017] S32, confirming that the probability that the contour i extracted from the current frame A and the corresponding contour j extracted from the next frame B belong to the same target body of the target type to be tracked is not less than the first probability.

[0018] Furthermore, the method of confirming the consistency relationship between the two corresponding contours and the same target body of the target type to be tracked based on the centroid distance and / or convex hull overlap area of ​​the two corresponding contours respectively extracted from the two consecutive adjacent monocular semantic images by a threshold comparison method also includes:

[0019] S33, obtaining the convex hull area S of the contour i extracted from the current frame A A i , and the convex hull overlap area S of the convex hull of the contour i extracted from the current frame A and the convex hull of the corresponding contour j extracted from the next frame B ij ;

[0020] S34, judge S ij / S A i is less than a second threshold;

[0021] S35 , confirming that the probability that the contour i extracted from the current frame A and the corresponding contour j extracted from the next frame B belong to the same target body of the target type to be tracked is not less than the second probability.

[0022] Furthermore, for the continuous frame monocular semantic images of the target object of the target type to be tracked, steps S31 to S35 are executed cyclically to achieve continuous tracking of the same target object of the target type to be tracked.

[0023] Furthermore, the first probability is 50%; the second probability is 90%.

[0024] Furthermore, the first threshold is 1 / 25 of the diagonal length of the monocular semantic image frame.

[0025] Furthermore, the second threshold is 0.2.

[0026] Furthermore, the target type object to be tracked is a road traffic sign of a traffic sign type.

[0027] In general, the above technical solutions conceived by the present invention can achieve the following beneficial effects compared with the prior art:

[0028] (1) The present invention can track the target object to be tracked according to the contour features of the monocular semantic image, thereby reducing the consumption of computing performance and achieving accurate tracking of the target object to be tracked in scenarios with limited computing power.

[0029] (2) The present invention can effectively solve the problem of tracking road traffic signs in crowdsourcing scenarios with limited computing power in the field of autonomous driving, does not require high computing resources of the device, and is very suitable for crowdsourcing scenarios using small embedded devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0031] Figure 1 A core flow chart of a target tracking method based on monocular semantic image contour features provided by an embodiment of the present invention;

[0032] Figure 2 A detailed flow chart of a method for tracking road traffic signs in a crowdsourced high-precision electronic map provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0033] In order to make the purpose, technical scheme and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0034] The terms "first", "second" or "third" etc. in the specification, claims or the above-mentioned drawings of this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.

[0035] At present, high-precision map data collection is mainly divided into two modes: centralized mapping and crowdsourcing mapping.

[0036] The centralized mapping model is that the relevant entities (i.e. "map vendors", which in my country are relevant surveying and mapping units with Class A surveying and mapping qualifications for navigation electronic maps ("navigation electronic map qualifications")) who are specialized in the preparation of high-precision maps collect data in a semi-automatic and fully automated manner through their own dedicated data collection vehicles. The vector maps obtained by the centralized mapping model are highly accurate and reliable, but the collection cost is also very high - the cost of a single high-precision data collection vehicle with autonomous driving level is nearly 10 million yuan; at the same time, the "map vendors" also need to maintain a data collection team of about 1,000 people all year round, and uniformly annotate and supplement the collected data in the background. At present, only a small number of "map vendors" with strong financial resources (such as AutoNavi Maps, NavInfo, TomTom and other established domestic and foreign map vendors) use this method to make maps.

[0037] Compared with the centralized mapping model, the data collected in the crowdsourcing model is less accurate, but the data volume is large, the collection cost is low, and a large amount of real-time dynamic information (such as road congestion, traffic accidents and weather conditions, etc.) can be obtained, and updates can be achieved in minutes or even seconds. At the same time, the crowdsourcing model is a typical UGC (User Generated Content). Data is collected by a large number of vehicles on the road, and users are also data providers - "take from the car, use it for the car". With the development of big data technology and breakthroughs in artificial intelligence technology, the accuracy of maps prepared by the crowdsourcing model is also constantly improving. In addition, even map vendors that still use the centralized mapping model often use the crowdsourcing model in the mapping process. For example, Baidu, HERE, TomTom, etc. first use professional surveying and mapping collection vehicles to create basic maps and semantic layers, and then use the crowdsourcing model to continuously iterate the basic maps to achieve real-time updates. It is generally believed in the industry that the crowdsourcing model represents the future of the high-precision map industry.

[0038] In the field of autonomous driving, navigation technology based on high-precision electronic maps relies heavily on the mapping results of various map elements around the vehicle. Road traffic signs are one of the elements that play an important role in navigation. However, in crowdsourcing scenarios, the computing resources of vehicles are limited to a certain extent (the vehicles collecting data are generally a large number of non-professional social vehicles traveling on the road), and using a tracking method with less computing power consumption to track road traffic signs is beneficial to the overall composition algorithm. In view of this, the present invention focuses on solving the problem of tracking road traffic signs in crowdsourcing scenarios with limited computing power.

[0039] refer to Figure 1 and Figure 2 An embodiment of the present invention provides a method for tracking road traffic signs in a crowdsourced high-precision electronic map. The method may mainly include the following steps.

[0040] Step 1: Extract the contours of road traffic signs from two consecutive adjacent monocular semantic images. A monocular semantic image is a semantic image from a single perspective.

[0041] For the acquired monocular semantic image, the open source computer vision library OpenCV is used to extract the contour of the road traffic sign. In fact, a series of targets of the same type can be continuously collected under the monocular perspective of the camera, for example, various types of trees, various types of lighting, various types of road traffic signs, etc. After collection, the contours of the targets of the same type are extracted, and the same target of the same type to be tracked is tracked based on the contour features. This embodiment only takes the tracking of road traffic signs of the traffic sign type as an example to elaborate on this technical idea.

[0042] The characteristics of the monocular semantic image containing road traffic signs are: in the pixel plane of the monocular semantic image, the pixel values ​​of the image area covered by the road traffic signs remain consistent, but are different from the pixel values ​​of other areas of the image. Based on this feature, a binary image composed of road traffic signs can be obtained, that is, the road traffic sign area is set to white, and all other areas are set to black. Based on the binary image, the findContours interface in OpenCV is used to extract the contour of the road traffic sign. Here, it is necessary to continuously extract the contour of the road traffic sign from consecutive adjacent frame images and save them separately.

[0043] Step 2: Calculate or determine the centroid and convex hull of the contour of the road traffic sign extracted from two consecutive adjacent monocular semantic images.

[0044] For each contour extracted in step 1, calculate the centroid of the contour (in the context of image processing and computer vision, each shape is composed of pixels, and the centroid of the shape is the weighted average of all the pixels that make up the shape) and the convex hull (connecting the outermost endpoints of the shape can enclose a minimum bounding box that encloses the shape. This box is called a convex hull. The convex hull is the polygon that is closest to the contour. Every part is convex, and the internal angle formed by any three points is less than 180°). The centroid of the contour can be calculated by the zero-order moment and the first-order moment of the contour, respectively. For adjacent frame images, the first frame image is denoted as I A , the second frame image is I B The centroid of the contour in the first frame is denoted by C A i , i represents the i-th contour, and the centroid of the contour in the second frame image is recorded as C B j , j represents the jth contour. The first frame image I A The convex hull of the middle contour i is denoted as H A i , the second frame image I B The convex hull of the middle contour j is denoted by H B j .

[0045] Step 3: Track the same road traffic sign based on the centroid distance and the convex hull overlap area.

[0046] Step 31: for each centroid C in the first frame image A i , respectively calculate the centroid C of each image in the second frame B j The pixel distance D ij , if the pixel distance D ijIf the pixel distance D is less than the threshold value T1, it is considered that the contour i in the first frame and the corresponding contour j in the second frame may belong to the same road traffic sign. More specifically, this possibility is not less than 50%. ij If the value is not less than the threshold value T1, it is considered that the contour i in the first frame and the corresponding contour j in the second frame may belong to different road traffic signs. Specifically, the threshold value T1 can be set to 1 / 25 of the diagonal length of the image frame. The threshold value T1 can be adjusted according to the actual tracking effect.

[0047] Step 32: Further, calculate the contour convex hull H A i The area S A i , H A i With H B j The overlapping contour L ij .

[0048] Step 33: Calculate the overlapping contour L ij The area S ij , calculate the area S ij Account for S A i The ratio R ij , if R ij If R is less than the threshold value T2, it is further confirmed that the contour i and the corresponding contour j of the second frame are very likely to belong to the same traffic sign. More specifically, this possibility is not less than 90%. Specifically, the threshold value T2 can be set to 0.2. On the contrary, if R ij If the value of the contour i and the corresponding contour j of the second frame is not less than the threshold value T2, it is further confirmed that the contour i and the corresponding contour j of the second frame are likely to belong to different road traffic signs. The threshold value T2 can be adjusted according to the actual tracking effect. At this point, the tracking of the same road traffic sign in the first frame image and the second frame image is completed.

[0049] For continuous frame images, steps 31 to 33 are executed cyclically, so that the same road traffic sign can be tracked continuously.

[0050] The present invention can well solve the problem of tracking road traffic signs in crowdsourcing scenarios with limited computing power in the field of autonomous driving, does not require high computing resources of the device, and is very suitable for crowdsourcing scenarios using small embedded devices.

[0051] Those skilled in the art will appreciate that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, without departing from the spirit and teachings of the present disclosure, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, and all of these combinations and / or combinations fall within the scope of the present disclosure.

[0052] Although the present disclosure has been shown and described with reference to specific exemplary embodiments of the present disclosure, it should be understood by those skilled in the art that various changes in form and details may be made to the present disclosure without departing from the spirit and scope of the present disclosure as defined by the appended claims and their equivalents. Therefore, the scope of the present disclosure should not be limited to the above-mentioned embodiments, but should be determined not only by the appended claims, but also by the equivalents of the appended claims.

Claims

1. A target tracking method based on monocular semantic image contour features, characterized in that: include: S1, obtaining two consecutive adjacent frames of monocular semantic images of a target object of a target type to be tracked, and extracting the contours of the target object of the target type to be tracked from the two consecutive adjacent frames of monocular semantic images respectively; S2, confirm the centroid and convex hull of the extracted contour respectively; S3, based on the centroid distance and / or convex hull overlap area of ​​two corresponding contours extracted from the two consecutive adjacent monocular semantic images, confirming the consistency relationship between the two corresponding contours and the same target body of the target type to be tracked by a threshold comparison method; The monocular semantic image is a semantic image from a single perspective.

2. The target tracking method based on monocular semantic image contour features according to claim 1, characterized in that: Methods for extracting the contour of a target body of a target type to be tracked in a monocular semantic image include: S11, performing image binarization processing on the monocular semantic image; S12. Extracting the outline of the target body of the target type to be tracked from the monocular semantic image after the image binarization processing.

3. The target tracking method based on monocular semantic image contour features as claimed in claim 1, characterized in that: Methods for determining the centroid of a contour include: The centroid of the contour is obtained by calculating the zero-order moment and the first-order moment of the contour respectively.

4. The target tracking method based on monocular semantic image contour features as claimed in claim 1, characterized in that: The method of confirming the consistency relationship between the two corresponding contours and the same target body of the target type to be tracked based on the centroid distance and / or convex hull overlap area of ​​the two corresponding contours respectively extracted from the two consecutive adjacent monocular semantic images by a threshold comparison method includes: S31, determine the centroid C of the contour i extracted from the current frame A A i and the centroid C of the corresponding contour j extracted from the next frame B B j The pixel distance D ij is less than a first threshold; S32, confirming that the probability that the contour i extracted from the current frame A and the corresponding contour j extracted from the next frame B belong to the same target body of the target type to be tracked is not less than the first probability.

5. The target tracking method based on monocular semantic image contour features as claimed in claim 4, characterized in that: The step of confirming the consistency relationship between the two corresponding contours and the same target body of the target type to be tracked based on the centroid distance and / or convex hull overlap area of ​​the two corresponding contours respectively extracted from the two consecutive adjacent monocular semantic images by a threshold comparison method further includes: S33, obtaining the convex hull area S of the contour i extracted from the current frame A A i , and the convex hull overlap area S of the convex hull of the contour i extracted from the current frame A and the convex hull of the corresponding contour j extracted from the next frame B ij ; S34, judge S ij / S A i is less than a second threshold; S35 , confirming that the probability that the contour i extracted from the current frame A and the corresponding contour j extracted from the next frame B belong to the same target body of the target type to be tracked is not less than the second probability.

6. The target tracking method based on monocular semantic image contour features as claimed in claim 5, characterized in that: For the continuous frame monocular semantic images of the target object of the target type to be tracked, steps S31 to S35 are executed cyclically to achieve continuous tracking of the same target object of the target type to be tracked.

7. The target tracking method based on monocular semantic image contour features as claimed in claim 5, characterized in that: The first probability is 50%; the second probability is 90%.

8. The target tracking method based on monocular semantic image contour features as claimed in claim 4, characterized in that: The first threshold is 1 / 25 of the diagonal length of the monocular semantic image frame.

9. The target tracking method based on monocular semantic image contour features as claimed in claim 5, characterized in that: The second threshold is 0.

2.

10. The target tracking method based on monocular semantic image contour features according to any one of claims 1 to 9, characterized in that: The target type to be tracked is a road traffic sign of the traffic sign type.

Citation Information

Cited By

  • Embedded multi-target detection and single-target tracking method and system, storage medium and electronic equipment

    CN121527136A