Traffic light identification method and system based on binocular camera, and storage medium

Through the image fusion technology of binocular camera combined with telephoto and short-focus cameras, the problem of inaccurate monocular camera recognition is solved, and the traffic light recognition accuracy and intelligence of the autonomous driving system are improved.

CN118898822AActive Publication Date: 2024-11-05HIGER
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410956471.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-11-05
Estimated Expiration
2044-07-17

AI Technical Summary

Technical Problem

The existing traffic light target detection methods mostly use monocular cameras, resulting in fixed focal length, blurred image and inaccurate color recognition, increasing the probability of judgment errors and missed recognition, and reducing the safety and intelligence of the autonomous driving system.

Method used

A traffic light recognition method based on binocular camera is adopted, combined with telephoto and short-focus cameras, a fused image and target frame are generated through image fusion, and the respective overlap degree and weight are calculated, the output color and target frame are determined, and the recognition accuracy is improved.

Benefits of technology

It greatly improves the intelligence of the autonomous driving system, reduces the probability of wrong judgment of traffic light targets and color recognition, and enhances application prospects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118898822A_ABST
    Figure CN118898822A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of vehicle intelligent driving, in particular to a traffic light recognition method and system and a storage medium. The method mainly comprises the following steps: acquiring a long-focus target image and a short-focus target image about traffic lights and performing image fusion; obtaining a fusion target frame and fusion color information of the fusion image; and obtaining interested areas of the long-focus target image and the short-focus target image, respectively obtaining long-focus / short-focus weights, and finally determining an output color and an output target frame to obtain a traffic light identification result. According to the method, a long-focus and short-focus combined traffic light target identification mode is used, the advantages of good detection effect of the long focus on a remote target and wider detection range of the short focus are integrated, and the defect of poor detection capability of a monocular camera is overcome. The intelligent degree of the automatic driving system is greatly improved, and the automatic driving system has a better application prospect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle intelligent driving technology, and in particular to a traffic light recognition method, system and storage medium. Background Art

[0002] With the continuous development of social economy and science and technology, cars as a means of transportation have become a part of people's lives. Safe driving and intelligent driving have become the direction that people pursue. Traffic light recognition in autonomous driving is an important part of the road detection module in autonomous driving. It is mainly used to identify vehicle and pedestrian lights on the road, and is used for vehicle driving control. When different traffic lights are detected, different feedback reminders will be given to the driver.

[0003] In the existing traffic light target detection method, it is mainly realized by collecting road images with cameras and performing recognition and analysis. For example, the Chinese invention patent document with publication number CN 111582216 A discloses an unmanned vehicle-mounted traffic light recognition system and method, which proposes to solve the problem of low traffic light recognition accuracy caused by image blur based on camera detection and color space transformation, and realizes the recognition of traffic light positions in unmanned driving.

[0004] Furthermore, most traffic light target detection methods use a monocular camera in conjunction with a specific algorithm. However, this type of hardware and software combination method often has problems such as fixed focal length, blurred captured images, and inaccurate color recognition. This will increase the probability of misjudgment and missed recognition in the subsequent process of identifying traffic light targets, thereby reducing the safety and intelligence of the autonomous driving system. Summary of the invention

[0005] The purpose of the present invention is to provide a traffic light recognition method, system and storage medium based on a binocular camera. It uses a traffic light target recognition method that combines long-focus and short-focus, combining the advantages of long-focus for better detection of distant targets and short-focus for a wider detection range, overcoming the disadvantage of monocular camera's poor detection ability. It greatly improves the intelligence of the autonomous driving system and has better application prospects.

[0006] In order to achieve the above object, the technical solution adopted by the present invention is as follows: The traffic light recognition method based on binocular camera is characterized in that the method is specifically as follows: S01, setting up binocular cameras, wherein the binocular cameras are respectively a long-focus camera and a short-focus camera, and are respectively used to obtain a long-focus target image A1 and a short-focus target image B1 about a traffic light; extracting original color information S and original target frame K of the long-focus target image A1 and the short-focus target image B1; S02, fusing the long-focus target image A1 and the short-focus target image B1 to generate a fused image C; obtaining a fused target frame C of the fused image C K and fused color information C S ; S03, obtaining a long-focus region of interest ROI1 of the long-focus target image A1; obtaining a short-focus region of interest ROI2 of the short-focus target image B1; and obtaining long-focus / short-focus weights respectively according to the overlap degree between the respective original target frames K and the regions of interest; S04, calculating the fusion target frame C K The degree of overlap with the original target frame K of the long / short focus, and according to the original color information S of the long / short focus and the fused color information C of the traffic light S and the telephoto / short focal weight to determine the output color and the output target frame; S05. Packing the output color and the output target frame into an identification package and sending it to a vehicle navigation system to complete traffic light identification.

[0007] Therefore, a telephoto camera and a short-focus camera are installed on the test vehicle to form a binocular camera system, and a special bracket is used to complete the internal and external parameter calibration during installation. The binocular camera system is controlled by a controller with a GPU to capture images and collect data, and the controller performs preprocessing and neural network reasoning on the collected data. The vehicle navigation system needs to receive the output color and output target frame of the traffic light data to assist the unmanned driving of the vehicle.

[0008] The telephoto camera is used to obtain the telephoto target image A1, and the short-focus camera is used to obtain the short-focus target image B1. The controller performs traffic light color recognition and original target frame acquisition for the telephoto target image A1 and the short-focus target image B1, respectively. The original target frame K in the telephoto target image A1 is used to locate the position of the traffic light in the telephoto target image A1; the original target frame K in the short-focus target image B1 is used to locate the position of the traffic light in the short-focus target image B1. The controller uses the internally stored extraction algorithm to automatically determine the position of the original target frame K. The extraction algorithm can be a feature position identification algorithm in the prior art. The original color information S of the telephoto target image A1 and the short-focus target image B1 each represent the controller's respective color recognition results, and the original color information S will be used as a reference object in subsequent judgments.

[0009] The processor extracts the coordinate pixel block information of the telephoto target image A1 and the short-focus target image B1, and inputs the two into the fusion model network for image fusion according to the mapping relationship to generate a fused image C. The fusion model network can use, for example, image fusion technology based on a convolutional neural network (CNN). Or the fusion can be performed by extracting the feature points of the telephoto / short-focus images separately and performing feature matching to form a homography matrix. In image fusion, feature extraction can use edge detection, corner detection, and texture analysis methods to extract the target traffic light features in the image. During fusion, target detection is used to find the traffic lights contained in the telephoto target image and the short-focus target image, and the features are classified and identified based on a deep learning algorithm. Finally, the target traffic light objects and feature information in the telephoto target image and the short-focus target image are fused together to generate a new fused image C.

[0010] Then get the fusion target box C of the fused image C K and fused color information C S . Fusion target box C K The selection method can be the confidence judgment method in the prior art. Then, the long-focus region of interest ROI1 of the long-focus target image A1 is obtained; the short-focus region of interest ROI2 of the short-focus target image B1 is obtained; the region of interest is a specific size area at the center of the long-focus / short-focus image, which can be set to 1 / 4 or 1 / 5 according to the area, and the long-focus / short-focus weights are obtained according to the degree of overlap between the original target frame K and the region of interest. Specifically, if the original target frame K of the long-focus target image A1 has a higher degree of overlap with the delineated long-focus region of interest ROI1, the longer the long-focus weight is, and the short-focus judgment method is the same.

[0011] Then calculate the fusion target box C K The degree of overlap with the original target frame K of the long / short focus, and the original color information S of the long / short focus and the fusion color information C of the traffic light S and long focus / short focus weights to determine the output color and output target frame. Specifically, for example, if the fused target frame C K The overlap with the original target frame K of the telephoto image is greater, and the original color information S of the telephoto image is fused with the traffic light color information C S If they are the same, the output color is based on the original color information S of the telephoto image; and the position information of the output target frame is based on the original target frame K of the telephoto image and the fused target frame C K It is obtained by weighting, and the weighted weight is based on the telephoto weight obtained in the above steps.

[0012] Finally, the output color and output target frame are packaged into identification results and sent to the vehicle navigation system to complete traffic light recognition.

[0013] In summary, the system uses a combination of long-focus and short-focus traffic light target recognition, combining the advantages of long-focus for better detection of distant targets and short-focus for a wider detection range, overcoming the disadvantage of poor detection ability of monocular cameras. It can reduce the probability of the vehicle navigation system misjudging the traffic light target and the color of the traffic light, greatly improve the intelligence of the autonomous driving system, and have better application prospects.

[0014] As a preferred embodiment of the present invention, in step S02, before the long-focus target image A1 and the short-focus target image B1 are image-fused, an image preprocessing step is further included: obtaining a long-focus image pixel block according to the long-focus target image A1; and obtaining a short-focus image pixel block according to the short-focus target image B1.

[0015] Image preprocessing is the premise of image fusion, which can make the images to be fused have the same size and contrast, and also includes steps such as image denoising to reduce noise interference in the image. Acquiring the long-focus image pixel block and the short-focus image pixel block are preparations for pixel-level fusion. Pixel-level fusion refers to weighted summing of the pixels of the long-focus target image and the short-focus target image to generate a fused image C.

[0016] As a preferred embodiment of the present invention, in step S03, the long-focus region of interest ROI1 occupies 1 / 4 of the total pixel area of ​​the long-focus target image A1; the short-focus region of interest ROI2 occupies 1 / 5 of the total pixel area of ​​the short-focus target image B1.

[0017] Taking the center point of the telephoto target image A1 or the short-focus target image B1, the telephoto region of interest ROI1 and the short-focus region of interest ROI2 are divided into rectangular areas in proportion. For example, the width of the telephoto target image A1 is W, the height is H, O is the center point of the telephoto target image A1, and the rectangular ROI1 area is a rectangular frame area with point O as the center, W / 2 as the width, and H / 2 as the height. At this time, the telephoto region of interest ROI1 occupies 1 / 4 of the total pixel area of ​​the telephoto target image A1; the short-focus region of interest ROI2 is the same.

[0018] The region of interest is the area to be processed in the image processing, which is outlined in the form of a box, circle, ellipse, irregular polygon, etc. This area is the focus of image analysis. Circle the area for further processing. Using the region of interest to circle the target can reduce processing time and increase accuracy.

[0019] As a preferred embodiment of the present invention, in step S03, when calculating the overlap degree between the original target frame K of the long focus / short focus and the corresponding region of interest to obtain the long focus / short focus weights respectively, a normalization operation is also included.

[0020] Therefore, through data collection and automatic calculation by the on-board computer processor, the degree of overlap between the original long-focus / short-focus target frame K and the corresponding area of ​​interest can be obtained. The long-focus / short-focus weight can be obtained by quantifying this overlap, and it is normalized so that its weight factor range belongs to [0, 1] to facilitate subsequent program calculations.

[0021] As a preferred embodiment of the present invention, in step S04, according to the original color information S of the long focus / short focus and the fused color information C of the traffic light, S When determining the output color, it also includes a confidence determination operation: when the original color information S of the long focus / short focus is combined with the fused color information C of the traffic light S When there is no match, the final traffic light color is set to the original color information S of the one with greater confidence in the long-focus / short-focus image.

[0022] The long-focus target image A1 and the short-focus target image B1 each have an independent confidence level. Confidence level refers to the probability that the error of the measurement result is within a certain range, which is called the confidence probability of the result, also known as the confidence level, and its value is between 0 and 1.

[0023] In S04, if the original target frame K of the telephoto target image A1 and the fused target frame C of the fused image C K The overlap is higher, and the original color information S of the telephoto target image A1 and the fused color information C of the fused image C S The final output color is based on the original color information S of the telephoto target image A1, and the position of the output target frame is determined by the original target frame K of the telephoto target image A1 and the fused target frame C of the fused image C. K According to the telephoto weight, if the original target frame K of the telephoto target image A1 and the fused target frame C of the fused image C K The degree of overlap is higher, but the original color information S of the telephoto target image A1 and the fused color information C of the fused image C S If they are different, the final output color is based on the detection with greater confidence in the telephoto target image A1 and the short-focus target image B1, and the position of the output target frame is obtained by weighting the original target frame K of the telephoto target image A1 and the original target frame K of the short-focus target image B1 according to the telephoto weight.

[0024] The traffic light recognition system based on binocular camera is characterized in that the system comprises: An image acquisition module, used to acquire a long-focus target image A1 and a short-focus target image B1 of a traffic light; and extract original color information S and original target frame K of the long-focus target image A1 and the short-focus target image B1 respectively; An image fusion module is used to fuse the long-focus target image A1 and the short-focus target image B1 to generate a fused image C; obtain a fused target frame C of the fused image C K and fused color information C S ; A weight calculation module, used to obtain a long-focus region of interest ROI1 of the long-focus target image A1; obtain a short-focus region of interest ROI2 of the short-focus target image B1; and obtain long-focus / short-focus weights according to the degree of overlap between the respective original target frames K and the regions of interest; Data processing module, used to calculate the fusion target box C K The degree of overlap with the original target frame K of the long / short focus, and according to the original color information S of the long / short focus and the fused color information C of the traffic light S and the telephoto / short focal weight to determine the output color and the output target frame; The result sending module is used to package the output color and the output target frame into a recognition result and send it to the vehicle navigation system to complete the traffic light recognition.

[0025] As a preferred embodiment of the present invention, the image fusion module further comprises an image preprocessing module, and the image preprocessing module is used to obtain a long-focus image pixel block according to the long-focus target image A1; and obtain a short-focus image pixel block according to the short-focus target image B1.

[0026] As a preferred embodiment of the present invention, the data processing module further comprises a confidence determination module, wherein the confidence determination module is used to determine the confidence of the original color information S of the long focus / short focus and the fused color information C of the traffic light. S When there is no match, the final traffic light color is set to the original color information S of the one with greater confidence in the long-focus / short-focus image.

[0027] A readable storage medium suitable for an on-board computer, storing thereon a readable storage medium for executing any one of the above-mentioned traffic light recognition methods based on a binocular camera.

[0028] In summary, the present invention has the following beneficial effects: 1. The system uses a combination of long-focus and short-focus traffic light target recognition, combining the advantages of long-focus for better detection of distant targets and short-focus for a wider detection range, overcoming the disadvantage of poor detection capabilities of monocular cameras. It can reduce the probability of the vehicle navigation system making misjudgments of traffic light targets and traffic light colors, greatly improve the intelligence of the autonomous driving system, and have better application prospects.

[0029] 2. By dividing the region of interest, that is, delineating the long-focus region of interest ROI1 and the short-focus region of interest ROI2, the region is convenient for further processing. Using the region of interest to delineate the target can reduce processing time and increase accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 is a flow chart of the traffic light recognition method; Figure 2 This is the structural block diagram of the traffic light recognition system; Figure 3 Schematic diagram of the division of the area of ​​interest. DETAILED DESCRIPTION

[0031] The preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Anyone can implement the present disclosure in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.

[0032] As used herein, the term "including" and its variations mean open inclusion, i.e., "including but not limited to". Unless otherwise stated, the term "or" means "and / or". The term "based on" means "based at least in part on". The terms "an example embodiment" and "an embodiment" mean "at least one example embodiment". The term "another embodiment" means "at least one additional embodiment".

[0033] In this embodiment, a binocular camera system consisting of a telephoto camera and a short-focus camera (the focal length of the telephoto camera is 12 mm, and the focal length of the short-focus camera is 6 mm) is installed on the driverless minibus. During installation, the positions of the two cameras have been fixed using a special bracket and both have completed internal and external parameter calibration. At the same time, the vehicle navigation system includes a controller and a processing program that can be run in the controller.

[0034] like Figure 1 As shown, the telephoto camera is used to obtain the telephoto target image A1, and the short-focus camera is used to obtain the short-focus target image B1. Then, the image preprocessing step is performed. After the image size is synchronized, noise is reduced, and contrast is adjusted, the controller extracts the original color information S and the original target frame K of the telephoto target image A1 and the short-focus target image B1. Specifically, the controller uses the extraction algorithm stored inside it to automatically determine the position of the original target frame K. The extraction algorithm can be a feature position identification algorithm in the prior art. The original color information S of the telephoto target image A1 and the short-focus target image B1 each represent the controller's color recognition results for each, and the original color information S will be used as a reference object in subsequent judgments.

[0035] In addition, during the preprocessing process, a long-focus image pixel block is obtained according to the long-focus target image A1; a short-focus image pixel block is obtained according to the short-focus target image B1, and then the pixels of the long-focus target image and the short-focus target image are weighted and summed, and pixel-level fusion is performed to generate a fused image C. The processor extracts the coordinate pixel block information of the long-focus target image A1 and the short-focus target image B1, and inputs the two into the fusion model network for image fusion according to the mapping relationship to generate a fused image C. The fusion model network can use, for example, image fusion technology based on a convolutional neural network (CNN). Or the fusion can be performed by extracting feature points of the long-focus / short-focus images respectively, and performing feature matching to form a homography matrix. During fusion, the traffic lights contained in the long-focus target image and the short-focus target image are found through target detection, and the features are classified and identified based on the deep learning algorithm. Finally, the target traffic light objects and feature information in the long-focus target image and the short-focus target image are fused together to generate a new fused image C.

[0036] Then get the fusion target box C of the fused image C K and fused color information C S . Fusion target box C K The selection method can be the confidence judgment method in the prior art. Then, the long-focus region of interest ROI1 of the long-focus target image A1 is obtained; the short-focus region of interest ROI2 of the short-focus target image B1 is obtained; the region of interest is a specific size area at the center of the long-focus / short-focus image. In this embodiment, the long-focus region of interest ROI1 occupies 1 / 4 of the total pixel area of ​​the long-focus target image A1; the short-focus region of interest ROI2 occupies 1 / 5 of the total pixel area of ​​the short-focus target image B1. Figure 3 As shown, the center point of the telephoto target image A1 or the short-focus target image B1 is used to divide the telephoto region of interest ROI1 and the short-focus region of interest ROI2 into rectangular areas in proportion. For example, the width of the telephoto target image A1 is W, the height is H, O is the center point of the telephoto target image A1, and the rectangular ROI1 area is a rectangular frame area with point O as the center, W / 2 as the width, and H / 2 as the height. At this time, the telephoto region of interest ROI1 occupies 1 / 4 of the total pixel area of ​​the telephoto target image A1; the short-focus region of interest ROI2 is the same.

[0037] Afterwards, the telephoto / short focus weights are obtained respectively according to the degree of overlap between the respective original target frames K and the regions of interest; specifically, if the original target frame K of the telephoto target image A1 has a higher degree of overlap with the designated telephoto region of interest ROI1, the greater the telephoto weight, and the short focus judgment method is the same.

[0038] Next, calculate the fusion target box C KThe degree of overlap with the original target frame K of the long / short focus, and the original color information S of the long / short focus and the fusion color information C of the traffic light S and the long focus / short focus weight to determine the output color and the output target frame. Specifically, if the original target frame K of the long focus target image A1 is the same as the fused target frame C of the fused image C, K The overlap is higher, and the original color information S of the telephoto target image A1 and the fused color information C of the fused image C S The final output color is based on the original color information S of the telephoto target image A1, and the position of the output target frame is determined by the original target frame K of the telephoto target image A1 and the fused target frame C of the fused image C. K According to the telephoto weight, if the original target frame K of the telephoto target image A1 and the fused target frame C of the fused image C K The degree of overlap is higher, but the original color information S of the telephoto target image A1 and the fused color information C of the fused image C S If the fused target frame C is different from the one with the higher confidence in the long-focus target image A1 and the short-focus target image B1, the output target frame position is obtained by weighting the original target frame K of the long-focus target image A1 and the original target frame K of the short-focus target image B1 according to the long-focus weight. K The overlap with the original target frame K of the telephoto image is greater, and the original color information S of the telephoto image is fused with the traffic light color information C S If they are the same, the output color is based on the original color information S of the telephoto image; and the position information of the output target frame is based on the original target frame K of the telephoto image and the fused target frame C K It is obtained by weighting, and the weighted weight is based on the telephoto weight obtained in the above steps.

[0039] Finally, the output color and output target frame are packaged into identification results and sent to the vehicle navigation system to complete traffic light recognition.

[0040] like Figure 2 As shown, in another embodiment, a traffic light recognition system based on a binocular camera is also included, and the system is composed of five parts: an image acquisition module, an image fusion module, a weight calculation module, a data processing module, and a result sending module. The five modules cooperate with each other to execute the above-mentioned traffic light recognition method, through the acquisition of the image acquisition module, the fusion processing of the image data by the image fusion module, the division and recognition of the region of interest and the weight acquisition by the weight calculation module, and the calculation and acquisition of the output color and the output target frame by the data processing module, and finally the result sending module executes the sending action, so that the vehicle navigation system receives the most accurate red light recognition data, and then controls the automatic driving action of the vehicle.

[0041] In another embodiment, a readable storage medium suitable for an on-board computer is also disclosed, on which a readable storage medium for executing any one of the above-mentioned traffic light recognition methods based on a binocular camera is stored. The readable storage medium is a Flash storage chip or a high-speed solid-state hard disk, which has the advantages of large storage space, fast read and write speed and strong stability.

[0042] A number of embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. Traffic light recognition method based on binocular camera, It is characterized in that The method is as follows: S01, setting up binocular cameras, wherein the binocular cameras are respectively a long-focus camera and a short-focus camera, and are respectively used to obtain a long-focus target image A1 and a short-focus target image B1 about a traffic light; extracting original color information S and original target frame K of the long-focus target image A1 and the short-focus target image B1; S02, fusing the long-focus target image A1 and the short-focus target image B1 to generate a fused image C; obtaining a fused target frame C of the fused image C K and fused color information C S ; S03, obtaining a telephoto region of interest ROI of the telephoto target image A1 1 ; Obtain the short-focus region of interest ROI of the short-focus target image B1 2 ; Obtain the long focus / short focus weights respectively according to the overlap degree between the original target frame K and the region of interest; S04, calculating the fusion target frame C K The degree of overlap with the original target frame K of the long / short focus, and according to the original color information S of the long / short focus and the fused color information C of the traffic light S and the telephoto / short focal weight to determine the output color and the output target frame; S05. Pack the output color and the output target frame into a recognition package and send it to the vehicle navigation system to complete the traffic light recognition.

2. The traffic light recognition method based on binocular camera according to claim 1, It is characterized in that In step S02, before the long-focus target image A1 and the short-focus target image B1 are image-fused, an image preprocessing step is further included: obtaining a long-focus image pixel block according to the long-focus target image A1; and obtaining a short-focus image pixel block according to the short-focus target image B1.

3. The traffic light recognition method based on binocular camera according to claim 2, It is characterized in that In step S03, the telephoto region of interest ROI 1 The short-focus region of interest ROI occupies 1 / 4 of the total pixel area of ​​the long-focus target image A1; 2 It accounts for 1 / 5 of the total pixel area of ​​the short-focus target image B1.

4. The traffic light recognition method based on binocular camera according to claim 3, It is characterized in that In step S03, when calculating the overlap between the original target frame K of the long focus / short focus and the corresponding region of interest to obtain the long focus / short focus weights respectively, a normalization operation is also included.

5. The traffic light recognition method based on binocular camera according to claim 4, It is characterized in that In step S04, according to the original color information S of the long focus / short focus and the fused color information C of the traffic light, S When determining the output color, it also includes a confidence determination operation: when the original color information S of the long focus / short focus is combined with the fused color information C of the traffic light S When there is no match, the final traffic light color is set to the original color information S of the one with greater confidence in the long-focus / short-focus image.

6. Traffic light recognition system based on binocular camera collaboration, It is characterized in that The system includes: An image acquisition module, used to acquire a long-focus target image A1 and a short-focus target image B1 of a traffic light; and extract original color information S and original target frame K of the long-focus target image A1 and the short-focus target image B1 respectively; An image fusion module is used to fuse the long-focus target image A1 and the short-focus target image B1 to generate a fused image C; obtain a fused target frame C of the fused image C K and fused color information C S ; A weight calculation module is used to obtain the telephoto region of interest ROI of the telephoto target image A1. 1 ; Obtain the short-focus region of interest ROI of the short-focus target image B1 2 ; Obtain the long focus / short focus weights respectively according to the overlap degree between the original target frame K and the region of interest; Data processing module, used to calculate the fusion target box C K The degree of overlap with the original target frame K of the long / short focus, and according to the original color information S of the long / short focus and the fused color information C of the traffic light S and the telephoto / short focal weight to determine the output color and the output target frame; The result sending module is used to package the output color and the output target frame into a recognition result and send it to the vehicle navigation system to complete the traffic light recognition.

7. The traffic light recognition system based on binocular camera collaboration according to claim 6, It is characterized in that The image fusion module further includes an image preprocessing module, and the image preprocessing module is used to obtain a long-focus image pixel block according to the long-focus target image A1; and obtain a short-focus image pixel block according to the short-focus target image B1.

8. The traffic light recognition system based on binocular camera collaboration according to claim 7, It is characterized in that The data processing module further includes a confidence determination module, which is used to determine the confidence of the original color information S of the long focus / short focus and the fused color information C of the traffic light. S When there is no match, the final traffic light color is set to the original color information S of the one with greater confidence in the long-focus / short-focus image.

9. A readable storage medium suitable for an on-board computer, It is characterized in that A readable storage medium is stored thereon for executing the traffic light recognition method based on a binocular camera according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Traffic light detection method and device based on long- and short-focus camera, and storage medium

    CN113947769A

  • Double-camera fused traffic light identification method and device, electronic equipment and medium

    CN115953760A

  • Multi-camera target detection fusion method and device and moving tool

    CN117456497A

  • Double cameras-based image processing device and method

    WO2018201809A1