Road scene perception method, system and intelligent terminal based on binocular camera

Through the combination of binocular cameras and deep learning networks, scene classification and semantic segmentation results are integrated, and vehicle body signals are introduced to solve the problem of road scene perception accuracy and limitations, and achieve a more comprehensive road scene perception.

CN118135527BActive Publication Date: 2024-09-13BEIJING SMARTER EYE TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410576302.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-10
Publication Date
2024-09-13
Estimated Expiration
2044-05-10

AI Technical Summary

Technical Problem

The existing technology has poor road scene perception accuracy and great limitations, and lacks fusion perception of vehicle body information and multi-task scenes.

Method used

A road scene perception method based on binocular cameras is adopted, which combines scene classification and semantic segmentation through a dual-branch deep learning network, integrates visual perception results and disparity maps, and introduces vehicle body signal control to achieve a more comprehensive road scene perception.

Benefits of technology

It improves the accuracy and coverage of road scene perception, breaks the limitations of perception, and enhances the ability to perceive road scenes during autonomous driving.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118135527B
    Figure CN118135527B
Patent Text Reader

Abstract

The present invention discloses a road scene perception method, system and intelligent terminal based on binocular cameras, the method comprising: obtaining monocular original images of a left camera and a right camera respectively through binocular cameras, and calculating a disparity map based on the two monocular original images; inputting any of the monocular original images into a pre-trained visual perception model to obtain perception results of at least two different dimensions output by the visual perception model; fusing the perception results output by the visual perception model with the disparity map to obtain a perception fusion result; wherein the visual perception model is based on a pre-built dual-branch deep learning network, trained using image samples, scene classification labels and semantic segmentation results. The method solves the problem of poor road scene perception accuracy and large limitations during autonomous driving, thereby breaking the perception limitations of road scenes and improving the perception accuracy of road scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of assisted driving technology, and in particular to a road scene perception method, system and intelligent terminal based on a binocular camera. Background Art

[0002] Intelligent driving is the product of the deep integration of the automotive industry with emerging cutting-edge technologies such as artificial intelligence and the Internet of Things. It is the main direction of intelligent development in the global automotive industry and transportation field. The perception of road scenes (ground material, road surface unevenness, ups and downs, etc.) is one of the important components of smart cars. In the existing technologies, when perceiving and calculating road scenes, a single perception algorithm is mostly used, which only perceives the situation of the road itself, lacks the fusion perception with vehicle body information and multi-task scenes, resulting in large limitations in road scene perception and poor accuracy of perception results.

[0003] In view of this, providing a road scene perception method, system and intelligent terminal based on a binocular camera to solve the problems of poor road scene perception accuracy and large limitations has become an urgent problem to be solved by technical personnel in this field. Summary of the invention

[0004] To this end, the embodiments of the present invention provide a road scene perception method, system and intelligent terminal based on a binocular camera to solve the problems of poor road scene perception accuracy and large limitations during autonomous driving. Through the fusion of scene classification and semantic segmentation, the fusion of multiple perception results is achieved, and through the introduction of vehicle body signal control, a more comprehensive perception of the road scene is achieved, thereby breaking the perception limitations of the road scene and improving the perception accuracy of the road scene.

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

[0006] The present invention provides a road scene perception method based on a binocular camera, the method comprising:

[0007] Obtaining the monocular original images of the left camera and the right camera respectively through the binocular camera, and calculating the disparity map based on the two monocular original images;

[0008] Inputting any of the monocular original images into a pre-trained visual perception model to obtain perception results in at least two different dimensions output by the visual perception model;

[0009] Fusing the perception result output by the visual perception model with the disparity map to obtain a perception fusion result;

[0010] The visual perception model is based on a pre-built dual-branch deep learning network and is trained using image samples, scene classification labels and semantic segmentation results.

[0011] In some embodiments, the dual-branch deep learning network includes:

[0012] The scene classification branch network is used to obtain global classification results from the perspective of the complete scene;

[0013] The grid semantic segmentation branch network is used to segment the road scene at a fine-grained level to obtain local detailed semantic results.

[0014] In some embodiments, the scene classification branch network is used to:

[0015] The input monocular original image is subjected to multi-layer convolution operations of the backbone network to extract features;

[0016] A high-resolution feature map is obtained through upsampling and interpolation. After the number of channels of the low-resolution feature map is adjusted through convolution operation, multi-scale feature fusion is performed with the high-resolution feature map.

[0017] The feature map obtained after feature fusion is converted into a classification result, and the classification result is output.

[0018] In some embodiments, the grid semantic segmentation branch network is used to:

[0019] The input monocular original image is subjected to multi-layer convolution operations of the backbone network to extract features;

[0020] A high-resolution feature map is obtained through upsampling and interpolation. After the number of channels of the low-resolution feature map is adjusted through convolution operation, multi-scale feature fusion is performed with the high-resolution feature map.

[0021] The semantic information and confidence of each unit grid are obtained after output feature fusion.

[0022] In some embodiments, fusing the perception result output by the visual perception model with the disparity map to obtain a perception fusion result specifically includes:

[0023] The grid segmentation results output by the visual perception model are distributed and counted in single-frame categories, and multi-frame result filtering is performed to obtain a grid segmentation filtering result; the scene classification results output by the visual perception model are filtered in multiple frames to obtain a scene classification filtering result;

[0024] Fusing the grid segmentation filtering result and the scene classification filtering result to obtain a dual-branch perception fusion result;

[0025] The dual-branch perception fusion result is fused with the disparity map to obtain the perception fusion result.

[0026] In some embodiments, the process of obtaining the perception fusion result further includes:

[0027] The perception fusion result is verified based on an example of an impassable scene using a binocular disparity map.

[0028] In some embodiments, the process of obtaining the perception fusion result further includes:

[0029] Acquire current vehicle body information, and obtain a road scene perception result under a target driving scene based on the vehicle body information and the perception fusion result;

[0030] The target driving scenarios include at least a vehicle speed change scenario, a driving angle change scenario, a road undulation scenario, and a wheel slip scenario.

[0031] The present invention also provides a road scene perception device based on a binocular camera, the device comprising:

[0032] An image acquisition unit, used to acquire the monocular original images of the left camera and the right camera respectively through the binocular camera, and calculate a disparity map based on the two monocular original images;

[0033] A perception generation unit, used for inputting any of the monocular original images into a pre-trained visual perception model to obtain perception results of at least two different dimensions output by the visual perception model;

[0034] A perception fusion unit, used for fusing the perception result output by the visual perception model with the disparity map to obtain a perception fusion result;

[0035] The visual perception model is based on a pre-built dual-branch deep learning network and is trained using image samples, scene classification labels and semantic segmentation results.

[0036] The present invention also provides an intelligent terminal, which includes: a data acquisition device, a processor and a memory;

[0037] The data acquisition device is used to acquire data; the memory is used to store one or more program instructions; and the processor is used to execute one or more program instructions to execute the method as described above.

[0038] The present invention also provides a computer-readable storage medium, wherein the computer storage medium contains one or more program instructions, and the one or more program instructions are used to execute the method as described above.

[0039] The road scene perception method and device based on binocular cameras provided by the present invention respectively obtain monocular original images of a left camera and a right camera through the binocular cameras, and calculate a disparity map based on the two monocular original images; input any of the monocular original images into a pre-trained visual perception model to obtain perception results of at least two different dimensions output by the visual perception model; fuse the perception results output by the visual perception model with the disparity map to obtain a perception fusion result; wherein the visual perception model is based on a pre-constructed dual-branch deep learning network, trained using image samples, scene classification labels and semantic segmentation results.

[0040] The road scene perception method and device provided by the present invention are based on the combination of binocular stereo vision and vehicle body signals to perceive the road scene. First, for the monocular RGB image, the proposed multi-branch deep learning model based on scene classification and grid semantic segmentation is used to perceive the road scene at multiple scales; then, the model perception results are fused with single-frame multi-task network results and multi-frame perception results; at the same time, the monocular visual perception is fused with the binocular stereo vision perception, and the proposed method for judging the impassable scene based on the binocular disparity map is used to obtain more accurate road scene spatial information; finally, a variety of vehicle body signals and posture information are introduced to perceive the road scene more comprehensively. Thereby solving the problem of poor accuracy and large limitations of road scene perception during the automatic driving process, realizing the fusion of multiple perception results through the fusion of scene classification and semantic segmentation, and realizing a more comprehensive perception of the road scene through the introduction of vehicle body signal control, thereby breaking the perception limitations of the road scene and improving the perception accuracy of the road scene. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the implementation methods of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the implementation methods or the description of the prior art. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other implementation drawings can be derived from the provided drawings without creative work.

[0042] The structures, proportions, sizes, etc. illustrated in this specification are only used to match the contents disclosed in the specification so as to facilitate understanding and reading by persons familiar with the technology. They are not used to limit the conditions under which the present invention can be implemented, and therefore have no substantial technical significance. Any structural modification, change in proportion or adjustment of size shall still fall within the scope of the technical contents disclosed in the present invention without affecting the effects and purposes that can be achieved by the present invention.

[0043] Figure 1One of the flowcharts of a specific implementation of the road scene perception method based on a binocular camera provided by the present invention;

[0044] Figure 2 This is a second flowchart of a specific implementation of the road scene perception method based on a binocular camera provided by the present invention;

[0045] Figure 3 One of the schematic diagrams of the driving scene of the road scene perception method provided by the present invention;

[0046] Figure 4 The second schematic diagram of a driving scene of the road scene perception method provided by the present invention;

[0047] Figure 5 A network structure diagram of a perception network in the road scene perception method provided by the present invention;

[0048] Figure 6 This is a flowchart of a specific implementation of the road scene perception method based on a binocular camera provided by the present invention;

[0049] Figure 7 This is a fourth flow chart of a specific implementation of the road scene perception method based on a binocular camera provided by the present invention;

[0050] Figure 8 Flow chart 5 of a specific implementation of the road scene perception method based on a binocular camera provided by the present invention;

[0051] Figure 9 (a) is a monocular image in a usage scenario;

[0052] Figure 9 (b) is a binocular disparity image in a usage scenario;

[0053] Figure 9 (c) is a U disparity map in a usage scenario;

[0054] Fig.10 This is a grid example diagram;

[0055] Fig.11 This is a structural block diagram of the road scene perception system based on binocular cameras provided by the present invention. DETAILED DESCRIPTION

[0056] The following is a description of the implementation of the present invention by specific embodiments. People familiar with the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0057] When a car is driving and facing different road scenes, it can timely perceive the surrounding road conditions, collect and process environmental information and body information, and intelligently adjust the body and chassis control mode, which can effectively improve the comfort and safety of smart cars. Based on this, the present invention provides a road scene perception method based on a binocular camera. The method uses a multi-branch deep learning model based on scene classification and grid semantic segmentation through a visual perception module to perceive the road scene at multiple scales; through a fusion verification module, single-frame multi-task network result fusion and multi-frame perception result fusion are performed, and through an impassable scene judgment method based on a binocular disparity map, monocular visual perception and binocular stereoscopic visual perception are integrated to obtain more accurate road scene spatial information; through a body signal control module, a variety of body signals and posture information are introduced to perceive the road scene more comprehensively.

[0058] In a specific embodiment, Figure 1 As shown, the present invention provides a road scene perception method based on a binocular camera, comprising the following steps:

[0059] S110: Obtaining the monocular original images of the left camera and the right camera respectively through the binocular camera, and calculating the disparity map based on the two monocular original images; that is, obtaining the road scene image in front of the vehicle through the binocular stereo camera, including the monocular RGB image (taking the left camera image as an example), and the point cloud disparity image obtained by stereo matching of the binocular images.

[0060] S120: Inputting any of the monocular original images into a pre-trained visual perception model to obtain perception results in at least two different dimensions output by the visual perception model;

[0061] S130: fusing the perception result output by the visual perception model with the disparity map to obtain a perception fusion result;

[0062] The visual perception model is based on a pre-built dual-branch deep learning network and is trained using image samples, scene classification labels and semantic segmentation results.

[0063] Simply relying on visual perception cannot accurately judge the road scenes under different driving conditions of the vehicle. For example, when turning, the viewing angle needs to change with the yaw angle, and the same material road surface may have special road features such as bumps and slippery. Therefore, in order to further improve the accuracy of scene perception, this method can judge some special scenes during vehicle driving by introducing body signals. Specifically, Figure 2 As shown, after obtaining the perception fusion result, the following steps are also included:

[0064] S210: Acquire current vehicle body information, and obtain a road scene perception result under a target driving scene based on the vehicle body information and the perception fusion result;

[0065] The target driving scenarios include at least a vehicle speed change scenario, a driving angle change scenario, a road undulation scenario, and a wheel slip scenario.

[0066] In a specific usage scenario, more accurate road scene information is further obtained based on visual perception; for example:

[0067] 1. Use vehicle speed and steering wheel angle signals to determine the vehicle's driving trajectory, so that the perception area changes in real time with the vehicle's turning angle; when the vehicle turns left or right, the perception area moves left or right according to the vehicle's deflection angle, and perceives the scene information of the vehicle's driving direction in real time; Figure 3 As shown, the solid arrow line represents the actual driving trajectory of the vehicle.

[0068] 2. The vehicle speed signal and vehicle posture (yaw angle, pitch angle, roll angle, etc.) signal can be used to determine the smoothness of the vehicle's driving, thereby determining whether the road scene is bumpy; Figure 4 As shown, in the vehicle coordinate system VCS, the yaw angle refers to the rotation angle of the vehicle body around the z-axis, the pitch angle refers to the rotation angle of the vehicle body around the y-axis, and the roll angle refers to the rotation angle of the vehicle body around the x-axis; when the yaw angle, pitch angle and roll angle continue to change greatly at the same time, it means that the posture of the vehicle body is very unstable, and it can be judged that the vehicle is currently driving on a bumpy road.

[0069] 3. By using the relationship between the wheel speeds of the vehicle's four wheels, you can determine whether the wheels are slipping, and thus determine the road adhesion coefficient; the road adhesion coefficient refers to the ratio of adhesion to the normal pressure of the wheel (the direction perpendicular to the road surface). In rough calculations, it can be regarded as the static friction coefficient between the tire and the road surface. The larger the road adhesion coefficient, the greater the available adhesion, and the less likely the car is to slip; when the vehicle slips, it is easy for the wheel speeds of the four wheels to differ greatly, so by judging the relationship between the vehicle's wheel speeds, you can determine whether the vehicle is slipping.

[0070] The perception results based on the monocular RGB image are filtered through multiple frames and then fused with the binocular disparity information, and then the vehicle body signal is used to further obtain more accurate road scene perception results.

[0071] When performing visual perception, the input monocular original image can be the original image of the left camera or the original image of the right camera, such as Figure 2As shown in the figure, taking the original image input to the left camera as an example, after obtaining the left RGB image, it is first input into the visual perception module, and visual perception is performed through the visual perception model stored in the visual perception module; at the same time, the monocular original image collected by the left camera and the monocular original image collected by the right camera are binocularly matched to obtain a point cloud disparity map; the visual perception result and the disparity map are simultaneously input into the fusion verification module, and fused in the fusion verification module to obtain the perception fusion result; then the perception fusion result and the obtained body signal are simultaneously input into the body signal control module to obtain the output value of the road scene perception result.

[0072] In some embodiments, the dual-branch deep learning network includes:

[0073] The scene classification branch network is used to obtain a global classification result from the perspective of the complete scene; specifically, the scene classification branch network is used to:

[0074] The input monocular original image is subjected to multi-layer convolution operations of the backbone network to extract features;

[0075] A high-resolution feature map is obtained through upsampling and interpolation. After adjusting the number of channels of the low-resolution feature map through convolution operation, multi-scale feature fusion is performed with the high-resolution feature map.

[0076] Converting the feature map obtained after feature fusion into a classification result, and outputting the classification result;

[0077] The grid semantic segmentation branch network is used to segment the road scene from a fine-grained level to obtain local detail semantic results; specifically, the grid semantic segmentation branch network is used to:

[0078] The input monocular original image is subjected to multi-layer convolution operations of the backbone network to extract features;

[0079] A high-resolution feature map is obtained through upsampling and interpolation. After the number of channels of the low-resolution feature map is adjusted through convolution operation, multi-scale feature fusion is performed with the high-resolution feature map.

[0080] The semantic information and confidence of each unit grid obtained after output feature fusion.

[0081] In a specific usage scenario, the basic network structure of the dual-branch deep learning network uses the FPN feature pyramid network, and the two branches share a backbone network for feature extraction; upsampling and convolution operations are used to fuse feature maps of different scales, and then a dual-branch structure is used to output the model results separately.

[0082] Among them, the scene classification branch network is used to extract features from the input RGB image through multi-layer convolution operations of the backbone network (such as ResNet); obtain high-resolution feature maps through upsampling and interpolation, adjust the number of channels of the low-resolution feature map through convolution operations, and perform multi-scale feature fusion with the high-resolution feature map. Finally, the feature map is converted into a classification result through the scene classification branch.

[0083] The training process of the scene classification branch network basically includes the following steps:

[0084] (1) Training data annotation: Annotate the region of interest (in this method, the region of interest can be set as the road surface) of the RGB image, such as asphalt, grass, mud, desert, and water accumulation, to describe the classification information of the road scene category and generate training data;

[0085] (2) Model training: Input the training data into the designed deep learning network and perform iterative model training. During the training process, in order to obtain better model effects, use a variety of effective training strategies to perform random data enhancement on the training data to improve the generalization ability of the model; set different weights between categories to adjust the category balance of the training data, etc.; after the training is completed, obtain the model weight file;

[0086] (3) Model reasoning: The data of the region of interest of the RGB image to be tested is input into the trained model file to obtain the scene classification result, that is, the category and confidence of the road scene.

[0087] The grid semantic segmentation branch network is used to extract features from the input RGB image through multi-layer convolution operations of the backbone network (such as ResNet); obtain a high-resolution feature map through upsampling and interpolation, adjust the number of channels of the low-resolution feature map through convolution operations, and then perform multi-scale feature fusion with the high-resolution feature map.

[0088] Different from the scene classification branch, the output of the grid semantic segmentation branch is the semantic information and confidence of each unit grid.

[0089] The training process of the grid semantic segmentation branch network includes the following steps:

[0090] (1) Training data annotation: Segment and annotate the region of interest (ROI) of the RGB image (ROI can be set as the road surface in this method). Specifically, the image of the region of interest is evenly divided into square unit grids of the same size, and the semantic annotation of the road scene is performed on the area within each grid. Fig.10The following is an example of a grid. Assuming that the image size of the region of interest is 640 pixels wide and 320 pixels high, and the unit grid size is 32 pixels wide and high, the image of the region of interest can be divided into a 20x10 grid.

[0091] (2) Model training: Input the training data into the designed deep learning network and perform iterative model training. During the training process, in order to obtain better model effects, use a variety of effective training strategies to perform random data enhancement on the training data to improve the generalization ability of the model; set different weights between categories to adjust the category balance of the training data, etc.; after the training is completed, obtain the model weight file;

[0092] (3) Model reasoning: The data of the region of interest of the RGB image to be tested is input into the trained model file to obtain the result of grid semantic segmentation, that is, the semantic category and confidence corresponding to each unit grid in the region of interest of the road scene.

[0093] In a specific usage scenario, the visual perception module stores a dual-branch deep learning network based on scene classification and grid semantic segmentation. The RGB image is used as the input of the model. After feature extraction, encoding and decoding by the deep learning network, the road scene perception results are obtained from the scene classification and grid semantic segmentation branches. The basic structure of the deep learning network is as follows: Figure 5 As shown in the figure, the dual-branch deep learning model can obtain image features from different scales; the scene classification branch obtains global classification results from the perspective of the complete scene; the grid semantic segmentation branch segments the road scene from a finer granularity to obtain local detail semantic results; the grid semantic segmentation method proposed in this method can meet the accuracy requirements of local feature and domain feature extraction compared to pixel-by-pixel semantic segmentation, while having less computational complexity and high real-time performance.

[0094] In step S130, the perception result output by the visual perception model is fused with the disparity map to obtain a perception fusion result, such as Figure 6 As shown, the specific steps include:

[0095] S610: performing single-frame category distribution and statistics on the grid segmentation result output by the visual perception model, and performing multi-frame result filtering to obtain a grid segmentation filtering result; performing multi-frame result filtering on the scene classification result output by the visual perception model to obtain a scene classification filtering result;

[0096] S620: Fusing the grid segmentation filtering result and the scene classification filtering result to obtain a dual-branch perception fusion result;

[0097] S630: Fusing the dual-branch perception fusion result with the disparity map to obtain the perception fusion result.

[0098] In a specific usage scenario, the fusion verification module includes the fusion of multi-frame perception results, the fusion of monocular and binocular information, and the fusion of visual perception dual-branch results. The basic process is as follows: Figure 7 As shown in the figure, when performing perception fusion, the input grid segmentation results are subjected to single-frame category distribution and statistics, and then multi-frame result filtering is performed; at the same time, the input scene classification results are subjected to multi-frame result filtering, and the two filtering results are fused with dual-branch perception results; the results of dual-branch perception fusion and the binocular point cloud disparity image are fused with monocular and binocular information to obtain the visual perception fusion result.

[0099] Specifically, in the process of fusing multi-frame perception results, dual-scale filtering is used to fuse the perception results of multi-frame images, which can avoid result jumps caused by model misrecognition and obtain stable perception information.

[0100] Based on the filtering strategy of related events, the semantic category distribution statistics and confidence accumulation of the grid-by-grid semantic segmentation results of a single frame are performed, and then the results of multiple frames are accumulated, and then the category with the largest cumulative proportion is taken.

[0101] Based on the filtering strategy of independent sample sampling, the results of scene classification are accumulated over multiple frames, and then the category with the largest cumulative confidence is selected.

[0102] In this way, the method provided by the present invention adopts a dual-scale filtering algorithm when fusing results, which not only takes into account the consistency relationship between related events, but also takes into account the law of large numbers of independent sample sampling, and can obtain the most stable estimation result.

[0103] In the process of image point cloud information fusion, monocular RGB images can obtain rich texture and color information, and judge semantic features such as material, edge, shape, etc.; binocular point cloud parallax images can obtain geometric information and judge spatial features such as height, width, and passability. First, this method projects the grid segmentation results based on RGB images into space using parallax point cloud information to obtain the three-dimensional coordinate information of each grid point; according to the perspective principle, close-range perception is more reliable, and the area represented by distant points is larger, so different weights can be set for grids in different spatial positions.

[0104] In some embodiments, the process of obtaining the perception fusion result further includes:

[0105] The perception fusion result is verified based on an example of an impassable scene using a binocular disparity map.

[0106] Specifically, the present invention proposes a method for judging impassable scenes based on binocular disparity maps, and verifies the perception results of RGB images. When monocular vision is affected by the environment, lighting, etc., misidentification may occur, such as: white walls are misdetected as snow, shrub green walls are misdetected as grass, etc.; through binocular disparity information, these situations can be judged as impassable scenes, thereby improving the accuracy of visual perception. The specific process is as follows Figure 8 As shown, the U disparity map is obtained by vertical projection according to the binocular point cloud disparity image, the effective distance range is set to obtain the effective disparity points, and a straight line fitting is performed on the effective disparity to determine whether it is an inaccessible scene.

[0107] In a specific usage scenario, Figure 9 (a) is a monocular image, and Figure 9 (b) is the corresponding binocular disparity image; the disparity image is projected vertically to obtain the U disparity map shown in Figure 9 (c). The horizontal coordinate of the U disparity map corresponds to the horizontal coordinate of the image, and the vertical coordinate represents the size of the disparity value. The U disparity map is mainly composed of horizontal lines and oblique lines. Obstacles are shown as horizontal lines in the image. The lower the horizontal line is in the image, the closer the obstacle is to the camera. The column coordinate position of the horizontal line indicates the left and right position of the obstacle in the image, and the length of the horizontal line represents the horizontal size of the obstacle. Assuming that the baseline of the binocular camera is baseline, the focal length is focus, and the detection distance is the longitudinal range from Z1 to Z2, then according to the principle of binocular stereo camera, from the correspondence between the disparity value disparity and the distance z, the effective disparity value range can be obtained as D1 to D2, and the correspondence between the disparity value and the distance is as follows:

[0108]

[0109] A straight line is fitted for points in the range of disparity values ​​from D1 to D2 on the U disparity map, and the horizontal length of the fitted straight line is judged. If the horizontal length accounts for a certain threshold of the image width (0.7 is taken as an example in this embodiment, that is, the horizontal length of the straight line accounts for more than 70% of the width of the image of interest), there is an obstacle in the image, and it is an inaccessible scene.

[0110] When fusing the results of the two branches of visual perception, the results of grid semantic segmentation are statistically analyzed for semantic category distribution and confidence accumulation for each grid, and then fused with the results of scene classification to obtain more accurate perception results from multiple scales.

[0111] In the above specific implementation manner, the road scene perception method based on binocular cameras provided by the present invention obtains the monocular original images of the left camera and the right camera respectively through the binocular cameras, and calculates the disparity map based on the two monocular original images; any of the monocular original images is input into a pre-trained visual perception model to obtain the perception results of at least two different dimensions output by the visual perception model; the perception result output by the visual perception model and the disparity map are fused to obtain the perception fusion result; wherein the visual perception model is based on a pre-constructed dual-branch deep learning network, trained using image samples, scene classification labels and semantic segmentation results.

[0112] The road scene perception method provided by the present invention is based on the combination of binocular stereo vision and vehicle body signals to perceive the road scene. First, for the monocular RGB image, the proposed multi-branch deep learning model based on scene classification and grid semantic segmentation is used to perceive the road scene at multiple scales; then, the model perception results are fused by single-frame multi-task network results and multi-frame perception results; at the same time, the monocular visual perception is fused with the binocular stereo vision perception, and the proposed method for judging the impassable scene based on the binocular disparity map is adopted to obtain more accurate road scene spatial information; finally, a variety of vehicle body signals and posture information are introduced to perceive the road scene more comprehensively. Thereby, the problem of poor accuracy and large limitations in the perception of road scenes during the automatic driving process is solved. Through the fusion of scene classification and semantic segmentation, the fusion of multiple perception results is realized, and through the introduction of vehicle body signal control, the road scene is perceived more comprehensively, thereby breaking the perception limitations of the road scene and improving the perception accuracy of the road scene.

[0113] In addition to the above method, the present invention also provides a road scene perception device based on a binocular camera, such as Fig.11 As shown, the device comprises:

[0114] The image acquisition unit 1010 is used to acquire the monocular original images of the left camera and the right camera respectively through the binocular camera, and calculate the disparity map based on the two monocular original images;

[0115] A perception generation unit 1020, configured to input any of the monocular original images into a pre-trained visual perception model to obtain perception results in at least two different dimensions output by the visual perception model;

[0116] A perception fusion unit 1030, configured to fuse the perception result output by the visual perception model with the disparity map to obtain a perception fusion result;

[0117] The visual perception model is based on a pre-built dual-branch deep learning network and is trained using image samples, scene classification labels and semantic segmentation results.

[0118] In some embodiments, the dual-branch deep learning network includes:

[0119] The scene classification branch network is used to obtain global classification results from the perspective of the complete scene;

[0120] The grid semantic segmentation branch network is used to segment the road scene at a fine-grained level to obtain local detailed semantic results.

[0121] In some embodiments, the scene classification branch network is used to:

[0122] The input monocular original image is subjected to multi-layer convolution operations of the backbone network to extract features;

[0123] A high-resolution feature map is obtained through upsampling and interpolation. After the number of channels of the low-resolution feature map is adjusted through convolution operation, multi-scale feature fusion is performed with the high-resolution feature map.

[0124] The feature map obtained after feature fusion is converted into a classification result, and the classification result is output.

[0125] In some embodiments, the grid semantic segmentation branch network is used to:

[0126] The input monocular original image is subjected to multi-layer convolution operations of the backbone network to extract features;

[0127] A high-resolution feature map is obtained through upsampling and interpolation. After the number of channels of the low-resolution feature map is adjusted through convolution operation, multi-scale feature fusion is performed with the high-resolution feature map.

[0128] The semantic information and confidence of each unit grid obtained after output feature fusion.

[0129] In some embodiments, fusing the perception result output by the visual perception model with the disparity map to obtain a perception fusion result specifically includes:

[0130] The grid segmentation results output by the visual perception model are distributed and counted in single-frame categories, and multi-frame result filtering is performed to obtain a grid segmentation filtering result; the scene classification results output by the visual perception model are filtered in multiple frames to obtain a scene classification filtering result;

[0131] Fusing the grid segmentation filtering result and the scene classification filtering result to obtain a dual-branch perception fusion result;

[0132] The dual-branch perception fusion result is fused with the disparity map to obtain the perception fusion result.

[0133] In some embodiments, the process of obtaining the perception fusion result further includes:

[0134] The perception fusion result is verified based on an example of an impassable scene using a binocular disparity map.

[0135] In some embodiments, the process of obtaining the perception fusion result further includes:

[0136] Acquire current vehicle body information, and obtain a road scene perception result under a target driving scene based on the vehicle body information and the perception fusion result;

[0137] The target driving scenarios include at least a vehicle speed change scenario, a driving angle change scenario, a road undulation scenario, and a wheel slip scenario.

[0138] In the above specific implementation manner, the road scene perception method and device based on binocular cameras provided by the present invention respectively obtain the monocular original images of the left camera and the right camera through the binocular cameras, and calculate the disparity map based on the two monocular original images; any of the monocular original images is input into a pre-trained visual perception model to obtain the perception results of at least two different dimensions output by the visual perception model; the perception results output by the visual perception model and the disparity map are fused to obtain the perception fusion result; wherein the visual perception model is based on a pre-built dual-branch deep learning network, trained using image samples, scene classification labels and semantic segmentation results.

[0139] The road scene perception device provided by the present invention performs road scene perception based on the combination of binocular stereo vision and vehicle body signals. First, for monocular RGB images, the proposed multi-branch deep learning model based on scene classification and grid semantic segmentation is used to perceive the road scene at multiple scales; then, the model perception results are fused with single-frame multi-task network results and multi-frame perception results; at the same time, the monocular visual perception is fused with the binocular stereo vision perception, and the proposed method for judging impassable scenes based on binocular disparity maps is used to obtain more accurate road scene spatial information; finally, a variety of vehicle body signals and posture information are introduced to perceive the road scene more comprehensively. This solves the problem of poor accuracy and large limitations in road scene perception during autonomous driving. Through the fusion of scene classification and semantic segmentation, the fusion of multiple perception results is achieved, and through the introduction of vehicle body signal control, the road scene is perceived more comprehensively, thereby breaking the perception limitations of the road scene and improving the accuracy of road scene perception.

[0140] The present invention also provides an intelligent terminal, which includes: a data acquisition device, a processor and a memory;

[0141] The data acquisition device is used to acquire data; the memory is used to store one or more program instructions; and the processor is used to execute one or more program instructions to execute the method as described above.

[0142] Corresponding to the above embodiment, an embodiment of the present invention further provides a computer storage medium, which includes one or more program instructions. The one or more program instructions are used to be executed by a binocular camera depth calibration system as described above.

[0143] In the embodiment of the present invention, the processor may be an integrated circuit chip having the signal processing capability. The processor may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0144] The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present invention can be directly embodied as a hardware decoding processor for execution, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The processor reads the information in the storage medium and completes the steps of the above method in combination with its hardware.

[0145] The storage medium may be a memory, which may be, for example, a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memory.

[0146] Among them, the non-volatile memory can be a read-only memory (ROM), a programmable ROM (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.

[0147] The volatile memory may be a random access memory (RAM) which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct rambus RAM (DRRAM).

[0148] The storage media described in the embodiments of the present invention are intended to include, but are not limited to, these and any other suitable types of memory.

[0149] Those skilled in the art will appreciate that in one or more of the above examples, the functions described in the present invention can be implemented using a combination of hardware and software. When software is used, the corresponding functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any media that facilitates the transmission of computer programs from one place to another. Storage media can be any available media that can be accessed by general or special-purpose computers.

[0150] The above specific implementation methods further illustrate the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the present invention should be included in the scope of protection of the present invention.

Claims

1. A road scene perception method based on binocular camera, It is characterized in that The method comprises: Obtaining the monocular original images of the left camera and the right camera respectively through the binocular camera, and calculating the disparity map based on the two monocular original images; Inputting any of the monocular original images into a pre-trained visual perception model to obtain perception results in at least two different dimensions output by the visual perception model; Fusing the perception result output by the visual perception model with the disparity map to obtain a perception fusion result; The visual perception model is based on a pre-built dual-branch deep learning network and is trained using image samples, scene classification labels, and semantic segmentation results; The dual-branch deep learning network includes: The scene classification branch network is used to obtain global classification results from the perspective of the complete scene; The grid semantic segmentation branch network is used to segment the road scene at a fine-grained level to obtain local detailed semantic results; Fusing the perception result output by the visual perception model with the disparity map to obtain a perception fusion result, specifically including: The grid segmentation results output by the visual perception model are distributed and counted in single-frame categories, and multi-frame result filtering is performed to obtain a grid segmentation filtering result; the scene classification results output by the visual perception model are filtered in multiple frames to obtain a scene classification filtering result; Fusing the grid segmentation filtering result and the scene classification filtering result to obtain a dual-branch perception fusion result; The dual-branch perception fusion result is fused with the disparity map to obtain the perception fusion result.

2. The road scene perception method based on a binocular camera according to claim 1, It is characterized in that The scene classification branch network is used to: The input monocular original image is subjected to multi-layer convolution operations of the backbone network to extract features; A high-resolution feature map is obtained through upsampling and interpolation. After the number of channels of the low-resolution feature map is adjusted through convolution operation, multi-scale feature fusion is performed with the high-resolution feature map. The feature map obtained after feature fusion is converted into a classification result, and the classification result is output.

3. The road scene perception method based on binocular camera according to claim 1, It is characterized in that The grid semantic segmentation branch network is used to: The input monocular original image is subjected to multi-layer convolution operations of the backbone network to extract features; A high-resolution feature map is obtained through upsampling and interpolation. After the number of channels of the low-resolution feature map is adjusted through convolution operation, multi-scale feature fusion is performed with the high-resolution feature map. The semantic information and confidence of each unit grid are obtained after output feature fusion.

4. The road scene perception method based on binocular camera according to claim 1, It is characterized in that After obtaining the perception fusion result, the following steps are further included: The perception fusion result is verified based on an example of an impassable scene based on a binocular disparity map.

5. The road scene perception method based on binocular camera according to claim 1, It is characterized in that After obtaining the perception fusion result, the following steps are further included: Acquire current vehicle body information, and obtain a road scene perception result under a target driving scene based on the vehicle body information and the perception fusion result; The target driving scenarios include at least a vehicle speed change scenario, a driving angle change scenario, a road undulation scenario, and a wheel slip scenario.

6. A road scene perception device based on a binocular camera, used to implement the method according to any one of claims 1 to 5, It is characterized in that The device comprises: An image acquisition unit, used to acquire the monocular original images of the left camera and the right camera respectively through the binocular camera, and calculate a disparity map based on the two monocular original images; A perception generation unit, used for inputting any of the monocular original images into a pre-trained visual perception model to obtain perception results of at least two different dimensions output by the visual perception model; A perception fusion unit, used for fusing the perception result output by the visual perception model with the disparity map to obtain a perception fusion result; The visual perception model is based on a pre-built dual-branch deep learning network and is trained using image samples, scene classification labels and semantic segmentation results.

7. A smart terminal, It is characterized in that The intelligent terminal includes: a data acquisition device, a processor and a memory; The data acquisition device is used to acquire data; the memory is used to store one or more program instructions; and the processor is used to execute one or more program instructions to execute the method according to any one of claims 1 to 5.

8. A computer-readable storage medium, It is characterized in that The computer-readable storage medium includes one or more program instructions, and the one or more program instructions are used to execute the method according to any one of claims 1-5.

Citation Information

Cited By

  • Space vector plane and self-control system for intelligent driving

    CN121411143A