Information processing method, device, equipment and storage medium

By performing traffic sign detection and inter-frame compensation processing on two frames of images of the target road, the problem of inaccurate traffic sign recognition in the existing technology is solved, the accuracy of road structure information is improved, and misjudgment results are reduced.

CN112257555BActive Publication Date: 2024-09-20PING AN TECH (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011123302.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-20
Publication Date
2024-09-20
Estimated Expiration
2040-10-20

AI Technical Summary

Technical Problem

Existing road modeling methods are easily affected by background factors when identifying traffic signs, and traffic signs are easily blocked, resulting in inaccurate detection results, resulting in low accuracy of road structure information.

Method used

By acquiring at least two frames of images of the target road, traffic sign detection is performed and inter-frame compensation is performed to determine the location and category of the traffic sign, thereby improving the accuracy of road structure information.

Benefits of technology

It reduces incomplete traffic signs caused by occlusion, improves the accuracy of road structure information of the target road, reduces misjudgment results, and ensures the accuracy of road structure information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112257555B
    Figure CN112257555B
Patent Text Reader

Abstract

The embodiments of the present application disclose an information processing method, device, equipment and storage medium. Among them, an information processing and identification method includes: obtaining at least two frames of images about a target road; the at least two frames of images include a first image and a second image; performing traffic sign detection on the first image to obtain a first image area of ​​the target traffic sign in the first image, and performing traffic sign detection on the second image to obtain a second image area of ​​the target traffic sign in the second image; performing compensation processing on the first image area according to the second image area to obtain the first image area after compensation processing; determining the road structure information of the target road according to the first image area after compensation processing, and the road structure information of the target road is used to describe the position of the target traffic sign in the target road. By adopting the present application, the accuracy of obtaining the road structure information of the target road can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image recognition technology, and in particular to an information processing method, device, equipment and storage medium. Background Art

[0002] Since many traffic signs need to be identified when modeling the target road to obtain the road structure information of the target road, and the scale span of each traffic sign is large, and the background factors of the target road are generally complex, the recognition rate of traffic signs is easily affected by background factors, and traffic signs are easily blocked by moving objects such as vehicles and pedestrians. Therefore, when the existing road modeling method detects and models the traffic signs on the target road, it is easy to make mistakes in the detection results, resulting in a low accuracy rate of the obtained road structure information. Summary of the invention

[0003] The embodiments of the present application provide an information processing method, apparatus, device and storage medium, which can improve the accuracy of obtaining road structure information of a target road.

[0004] In a first aspect, an embodiment of the present application provides an information processing method, the method comprising:

[0005] Acquire at least two frames of images about a target road; the at least two frames of images include a first image and a second image, and the first image and the second image both include a target traffic sign;

[0006] Performing traffic sign detection on the first image to obtain a first image region of the target traffic sign in the first image, and performing traffic sign detection on the second image to obtain a second image region of the target traffic sign in the second image;

[0007] Performing compensation processing on the first image area according to the second image area to obtain a compensated first image area;

[0008] The road structure information of the target road is determined according to the first image area after the compensation process, and the road structure information of the target road is used to describe the position of the target traffic sign in the target road.

[0009] The step of performing compensation processing on the first image area according to the second image area to obtain the compensated first image area includes:

[0010] Respectively acquiring pixel information of the first image area and pixel information of the second image area;

[0011] Comparing the pixel information of the first image area with the pixel information of the second image area to obtain a comparison result;

[0012] Determine, from the second image region according to the comparison result, a sub-region having pixel information different from that of the first image region as a compensation sub-region;

[0013] The compensation sub-region is spliced ​​with the first image region to obtain a compensated first image region.

[0014] Wherein, determining, from the second image region according to the comparison result, a sub-region having pixel information different from that of the first image region as the compensation sub-region comprises:

[0015] Acquire the area size of the first image area;

[0016] Dividing the second image area according to the area size of the first image area to obtain at least two sub-areas;

[0017] A sub-region whose pixel information is different from that of the first image region is determined from the at least two sub-regions as the compensation sub-region.

[0018] The pixel information of the first image area is the pixel value of the first image area, and the pixel information of each of the at least two sub-areas is the pixel value of the corresponding sub-area;

[0019] The step of determining, from the at least two sub-regions, a sub-region whose pixel information is different from that of the first image region as a compensation sub-region comprises:

[0020] Respectively obtaining differences between a pixel value of the first image area and a pixel value of each of the at least two sub-areas;

[0021] Determine a sub-region with the smallest corresponding difference from the at least two sub-regions as a target sub-region;

[0022] The sub-region other than the target sub-region among the at least two sub-regions is used as the compensation sub-region.

[0023] The performing traffic sign detection on the first image to obtain a first image region of the target traffic sign in the first image, and the performing traffic sign detection on the second image to obtain a second image region of the target traffic sign in the second image include:

[0024] Acquiring target feature information corresponding to the target traffic sign;

[0025] Acquire first feature information corresponding to a first candidate marker in the first image, and acquire second feature information corresponding to a second candidate marker in the second image;

[0026] If the first feature information matches the target feature information corresponding to the target traffic sign, determining the first candidate sign as the target traffic sign, and determining the area where the first candidate sign is located in the first image as the first image area;

[0027] If the second feature information matches the target feature information corresponding to the target traffic sign, the second candidate sign is determined as the target traffic sign, and the area where the second candidate sign is located in the second image is determined as the second image area.

[0028] The step of obtaining first feature information corresponding to the first candidate marker in the first image, and obtaining second feature information corresponding to the second candidate marker in the second image, includes:

[0029] Obtaining a logo size corresponding to the first candidate logo, and obtaining a logo size corresponding to the second candidate logo;

[0030] determining, from a recognition method library, a recognition method for recognizing the first candidate mark according to a mark size corresponding to the first candidate mark;

[0031] determining, from the recognition method library, a recognition method for recognizing the second candidate mark according to a mark size corresponding to the second candidate mark;

[0032] According to the recognition method corresponding to the first candidate marker, the first candidate marker is recognized to obtain the first feature information corresponding to the first candidate marker, and according to the recognition method corresponding to the second candidate marker, the second candidate marker is recognized to obtain the second feature information corresponding to the second candidate marker.

[0033] Wherein, determining the road structure information of the target road according to the first image area after the compensation processing includes:

[0034] Acquire the sign category of the target traffic sign in the first image area after the compensation processing, and the position information of the target traffic sign in the first image area after the compensation processing;

[0035] Road modeling is performed according to the sign category of the target traffic sign and the position information of the target traffic sign in the first image area after the compensation process to obtain the road structure information of the target road.

[0036] In a second aspect, an embodiment of the present application provides an information processing device, the device comprising:

[0037] An acquisition module, configured to acquire at least two frames of images about a target road; the at least two frames of images include a first image and a second image, and the first image and the second image both include a target traffic sign;

[0038] a detection module, configured to perform traffic sign detection on the first image to obtain a first image region of the target traffic sign in the first image, and to perform traffic sign detection on the second image to obtain a second image region of the target traffic sign in the second image;

[0039] A compensation processing module, used for performing compensation processing on the first image area according to the second image area to obtain a first image area after compensation processing;

[0040] A determination module is used to determine the road structure information of the target road according to the first image area after the compensation process, wherein the road structure information of the target road is used to describe the position of the target traffic sign in the target road.

[0041] Wherein, the above compensation processing module includes:

[0042] A first acquisition unit, used to respectively acquire pixel information of the first image area and pixel information of the second image area;

[0043] A comparing unit, used for comparing the pixel information of the first image area with the pixel information of the second image area to obtain a comparison result;

[0044] a first determining unit, configured to determine, from the second image region according to the comparison result, a sub-region having pixel information different from that of the first image region as a compensation sub-region;

[0045] The splicing processing unit is used to splice the compensation sub-region with the first image region to obtain the first image region after compensation processing.

[0046] The first determining unit is specifically used for:

[0047] Acquire the area size of the first image area;

[0048] Dividing the second image area according to the area size of the first image area to obtain at least two sub-areas;

[0049] A sub-region whose pixel information is different from that of the first image region is determined from the at least two sub-regions as the compensation sub-region.

[0050] The pixel information of the first image area is the pixel value of the first image area, and the pixel information of each of the at least two sub-areas is the pixel value of the corresponding sub-area;

[0051] The first determining unit is specifically used for:

[0052] Respectively obtaining differences between a pixel value of the first image area and a pixel value of each of the at least two sub-areas;

[0053] Determine a sub-region with the smallest corresponding difference from the at least two sub-regions as a target sub-region;

[0054] The sub-region other than the target sub-region among the at least two sub-regions is used as the compensation sub-region.

[0055] The above detection module includes:

[0056] A second acquisition unit, used to acquire target feature information corresponding to the target traffic sign;

[0057] A third acquisition unit, configured to acquire first feature information corresponding to the first candidate marker in the first image, and acquire second feature information corresponding to the second candidate marker in the second image;

[0058] a second determining unit, configured to determine the first candidate sign as the target traffic sign if the first feature information matches the target feature information corresponding to the target traffic sign, and determine a region in the first image where the first candidate sign is located as the first image region;

[0059] The third determination unit is used to determine the second candidate sign as the target traffic sign if the second feature information matches the target feature information corresponding to the target traffic sign, and determine the area where the second candidate sign is located in the second image as the second image area.

[0060] The third acquisition unit is specifically used for:

[0061] Obtaining a logo size corresponding to the first candidate logo, and obtaining a logo size corresponding to the second candidate logo;

[0062] determining, from a recognition method library, a recognition method for recognizing the first candidate mark according to a mark size corresponding to the first candidate mark;

[0063] determining, from the recognition method library, a recognition method for recognizing the second candidate mark according to a mark size corresponding to the second candidate mark;

[0064] According to the recognition method corresponding to the first candidate marker, the first candidate marker is recognized to obtain the first feature information corresponding to the first candidate marker, and according to the recognition method corresponding to the second candidate marker, the second candidate marker is recognized to obtain the second feature information corresponding to the second candidate marker.

[0065] The above-mentioned determination module includes:

[0066] a fourth acquisition unit, configured to acquire a sign category of a target traffic sign in the first image region after the compensation processing, and position information of the target traffic sign in the first image region after the compensation processing;

[0067] The road modeling unit is used to perform road modeling according to the sign category of the target traffic sign and the position information of the target traffic sign in the first image area after the compensation processing, so as to obtain the road structure information of the target road.

[0068] In a third aspect, an embodiment of the present application provides an electronic device, the device comprising: a processor, adapted to implement one or more instructions; and

[0069] A computer storage medium storing one or more instructions, wherein the one or more instructions are suitable for being loaded by the processor and executing the following steps:

[0070] Acquire at least two frames of images about a target road; the at least two frames of images include a first image and a second image, and the first image and the second image both include a target traffic sign;

[0071] Performing traffic sign detection on the first image to obtain a first image region of the target traffic sign in the first image, and performing traffic sign detection on the second image to obtain a second image region of the target traffic sign in the second image;

[0072] Performing compensation processing on the first image area according to the second image area to obtain a compensated first image area;

[0073] The road structure information of the target road is determined according to the first image area after the compensation process, and the road structure information of the target road is used to describe the position of the target traffic sign in the target road.

[0074] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, including: the computer storage medium stores one or more instructions, and the one or more instructions are suitable for being loaded by a processor and executing the following steps:

[0075] Acquire at least two frames of images about a target road; the at least two frames of images include a first image and a second image, and the first image and the second image both include a target traffic sign;

[0076] Performing traffic sign detection on the first image to obtain a first image region of the target traffic sign in the first image, and performing traffic sign detection on the second image to obtain a second image region of the target traffic sign in the second image;

[0077] Performing compensation processing on the first image area according to the second image area to obtain a compensated first image area;

[0078] The road structure information of the target road is determined according to the first image area after the compensation process, and the road structure information of the target road is used to describe the position of the target traffic sign in the target road.

[0079] In the present application, at least two frames of images about the target road are obtained, and the at least two frames of images include a first image and a second image, and the first image and the second image both include a target traffic sign. Traffic sign detection is performed on the first image to obtain a first image area of ​​the target traffic sign in the first image, and traffic sign detection is performed on the second image to obtain a second image area of ​​the target traffic sign in the second image; compensation processing is performed on the first image area according to the second image area to obtain the first image area after compensation processing; and road structure information of the target road is determined according to the first image area after compensation processing. By adopting this scheme, by compensating the first image area according to the second image area, the situation of incomplete target traffic signs due to occlusion can be reduced, the target traffic signs can be made more complete and more accurate, and the accuracy of obtaining the road structure information of the target road can be improved. At the same time, this scheme is to model the target road according to at least two frames of images about the target road, which can reduce the inaccurate road structure information caused by the misjudgment results of some images to a certain extent, and make the road structure information more accurate. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0081] Figure 1 It is a flowchart of an information processing method provided by an embodiment of the present application;

[0082] Figure 2is a schematic diagram of a method for obtaining a first image region after compensation processing provided by an embodiment of the present application;

[0083] Figure 3 is a schematic diagram of a road modeling method provided in an embodiment of the present application;

[0084] Figure 4 It is a flowchart of another information processing method provided by an embodiment of the present application;

[0085] Figure 5 is a structural diagram of an information processing device provided in an embodiment of the present application;

[0086] Figure 6 It is a structural schematic diagram of an electronic device provided in another embodiment of the present application. DETAILED DESCRIPTION

[0087] The following will be combined with the figures in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0088] See also Figure 1 , is a flow chart of an information processing method provided in an embodiment of the present application. The embodiment of the present application is executed by an electronic device, and the information processing method includes steps S101 to S104.

[0089] S101, acquiring at least two frames of images about a target road; the at least two frames of images include a first image and a second image, and both the first image and the second image include a target traffic sign.

[0090] The target road can be photographed by a camera module to obtain at least two frames of images about the target road, and the camera module sends the at least two frames of images about the target road to the electronic device in this embodiment. The electronic device in this embodiment can receive at least two frames of images sent by the camera module, thereby obtaining at least two frames of images about the target road. For example, the target road can be photographed by a driving recorder in a vehicle to obtain at least two frames of images about the target road. The at least two frames of images about the target road include a first image and a second image, the shooting time of the second image is later than the first image, and the first image and the second image both include target traffic signs. For example, the target road is photographed at a time interval of every 1ms, then the first image may refer to the image obtained by photographing the 1ms, and the second image may refer to the image obtained by photographing the 3ms, that is, the second image is the next frame of the first image. Among them, the target traffic sign refers to information such as lane lines, guide lines, zebra crossings, traffic lights, and traffic signs used to indicate road structures. Among them, traffic sign detection can be performed on each frame of the at least two frames of images according to the timestamp corresponding to each frame of the at least two frames of images, so as to determine the image in which the target traffic sign exists.

[0091] S102, performing traffic sign detection on the first image to obtain a first image region of a target traffic sign in the first image, and performing traffic sign detection on the second image to obtain a second image region of the target traffic sign in the second image.

[0092] Among them, the pixel information in the first image can be extracted, and the traffic sign detection is performed on the first image according to the pixel information in the first image to obtain the first image area of ​​the target traffic sign in the first image. Specifically, the pixels of the target traffic sign can be determined from the pixel information in the first image, and the shape characteristics of the target traffic sign in the first image and the position information of the target traffic sign in the first image can be determined according to the pixels of the target traffic sign in the first image. According to the shape characteristics of the target traffic sign and the position information of the target traffic sign in the first image, the first image area of ​​the target traffic sign in the first image is determined. Similarly, the pixel information in the second image can be extracted, the pixels of the target traffic sign can be extracted from the pixel information in the second image, and the shape characteristics of the target traffic sign in the second image and the position information of the target traffic sign in the second image can be determined according to the pixels of the target traffic sign in the second image. According to the shape characteristics of the target traffic sign in the second image and the position information of the target traffic sign in the second image, the second image area of ​​the target traffic sign in the second image can be obtained.

[0093] S103, performing compensation processing on the first image region according to the second image region to obtain a compensated first image region.

[0094] After obtaining the first image area corresponding to the first image and the second image area corresponding to the second image, the first image area corresponding to the first image is compensated according to the second image area corresponding to the second image. Since the shooting time of the second image is later than the first image, and the second image is the next frame image of the first image, the shape of the target traffic sign in the second image may be partially different from the shape of the target traffic sign in the first image. By compensating the first image area corresponding to the first image according to the second image area corresponding to the second image, the part of the target traffic sign in the second image that is different from the target traffic sign in the first image can be compensated to the target traffic sign in the first image, so that the target traffic sign can be more complete, avoiding the incompleteness of the target traffic sign due to the target traffic sign being blocked in the single frame image, and improving the accuracy of the road structure information of the target road.

[0095] like Figure 2 FIG. 1 is a schematic diagram of a method for obtaining a first image region after compensation processing provided by an embodiment of the present application, such as Figure 2 As shown, the steps of the method for obtaining the first image area after compensation processing include S21-S24.

[0096] S21, respectively obtaining pixel information of the first image area and pixel information of the second image area.

[0097] S22, comparing the pixel information of the first image area with the pixel information of the second image area to obtain a comparison result.

[0098] S23, determining, according to the comparison result, a sub-region in the second image region whose pixel information is different from that in the first image region as a compensation sub-region.

[0099] S24, performing splicing processing on the compensation sub-region and the first image region to obtain the first image region after compensation processing.

[0100] The pixel information in the first image area and the pixel information in the second image area can be obtained, and the pixel information in the first image area is compared with the pixel information in the second image area to obtain a comparison result. Then, based on the comparison result, a sub-area whose pixel information is different from that in the first image area is determined from the second image as a compensation sub-area. The compensation sub-area is then spliced ​​with the first image to obtain a first image after compensation. When the compensation sub-area is spliced ​​with the first image area, the target traffic sign in the compensation sub-area is spliced ​​with the target traffic sign in the first image area, so that the shape of the target traffic sign can be more complete, and the road structure information of the target road obtained according to the first image area after compensation can be more accurate.

[0101] Optionally, the area size of the first image area is obtained, and the second image area is divided according to the area size of the first image area to obtain at least two sub-areas; a sub-area whose pixel information is different from that of the first image area is determined from the at least two sub-areas as a compensation sub-area.

[0102] The area size of the first image area can be obtained, and the second image area can be divided according to the area size of the first image area to obtain at least two sub-areas. A division frame for dividing the second area can be determined according to the area size of the first image area, and the size of the division frame is smaller than the area size of the first image area. The second image area is divided according to the division frame to obtain at least two sub-areas, and a sub-area having pixel information different from that of the first image area is determined from the at least two sub-areas as a compensation sub-area.

[0103] Optionally, the pixel information of the first image area is the pixel value of the first image area, and the pixel information of each of the at least two sub-areas is the pixel value of the corresponding sub-area. The difference between the pixel value of the first image area and the pixel value of each of the at least two sub-areas can be obtained respectively, and the sub-area with the smallest corresponding difference is determined from the at least two sub-areas as the target sub-area. The sub-areas other than the target sub-area in the at least two sub-areas are used as compensation sub-areas.

[0104] The pixel information of the first image area is the pixel value of the first image area. After the second image area is divided into at least two sub-areas, the pixel information of each sub-area in the at least two sub-areas is the pixel value of the corresponding sub-area. The difference between the pixel value of the first image area and the pixel value of each sub-area in the at least two sub-areas is calculated, and the sub-area with the smallest corresponding difference is determined from the at least two sub-areas as the target sub-area. When the difference between the pixel value of the sub-area and the pixel value of the first image area is the smallest, it means that the sub-area is most similar to the first image area. And the sub-areas other than the target sub-area in the at least two sub-areas are used as compensation sub-areas.

[0105] Optionally, a movable and resizeable dividing frame may be set, the dividing frame is moved and adjusted in the second image area, the pixel values ​​in the dividing frame are obtained, and the difference between the pixel values ​​of the dividing frame and the pixel values ​​of the first image area is calculated. The dividing frame is moved and the frame size is adjusted once in the second image area, the pixel values ​​of the moved and adjusted dividing frame are obtained, and the difference between the pixel values ​​of the dividing frame and the pixel values ​​of the first image area is calculated. When the difference between the pixel values ​​of the dividing frame and the pixel values ​​of the first image area is the smallest, the dividing frame is located in the area in the second image area, and the area in the second image area where the dividing frame is located is determined as the compensation sub-area. The other areas in the second image except the area where the dividing frame is located are used as compensation sub-areas.

[0106] Optionally, a target detection model can be used to detect the target traffic signs in the first image and the second image, and the first image area of ​​the target traffic sign in the first image can be obtained by segmentation. The target detection model can be Mask-RCNN, Faster R-CNN, SSD, YOLO, etc. Mask-RCNN, Faster R-CNN, SSD and YOLO are all target detection models, which can classify each target and use a bounding box to locate each target to obtain the first image area of ​​the target traffic sign in the first image. Specifically, the Mask-RCNN target detection model can be used to detect traffic signs in the first image and the second image, and the first image area of ​​the target traffic sign in the first image can be obtained by segmentation.

[0107] The Mask-RCNN target detection model is a multi-task network for joint detection and segmentation, which consists of a basic feature extraction part and a detection part. The feature extraction part is used to extract features from at least two frames of images about the target road, determine whether there is a target traffic sign in each of the at least two frames of images, and identify the category of the target traffic sign and the location information of the target traffic sign in the image. The first image and the second image belong to at least two frames of images about the target road. Among them, ResNet-50 can be used as the backbone network of the feature extraction part. The detection part includes a detection branch and a segmentation branch. The detection branch outputs the first image area and the second image area where the target traffic sign exists. The first image area includes the sign category of the target traffic sign and the location information of the target traffic sign in the first image, and the second image area also includes the sign category of the target traffic sign and the location information of the target traffic sign in the second image area. The segmentation branch masks the target traffic signs in the first image area and the second image area. Masking refers to encoding the target traffic sign to distinguish the target traffic sign from other signs so that when multiple target traffic signs are subsequently modeled for roads, multiple target traffic signs can be distinguished. If the target traffic sign is a guide line, one type of pixel can be used to mask the guide line. If the target traffic sign is a zebra crossing, another type of pixel can be used to mask the zebra crossing, so that when modeling the target road based on the guide line and the zebra crossing, the guide line and the zebra crossing can be distinguished, that is, masking the target traffic sign means classifying the target traffic sign. The segmentation branch uses a full convolution layer, and the detection branch can use a 3×3 convolution and a fully connected layer.

[0108] After obtaining the masks of the target traffic sign in the first image area and the second image area, the inter-frame similarity algorithm can be used to obtain the compensation sub-area. Specifically, the inter-frame similarity algorithm can be a SAD algorithm, an inter-frame difference method, a background difference method, a ViBe algorithm, and a ViBe+ algorithm, etc. For example, the compensation sub-area can be obtained by using the region-based local matching criterion SAD algorithm. First, a small window is constructed, similar to a convolution kernel, and the mask area of ​​the target traffic sign in the first image area is covered with the window. At the same time, the compensation sub-area is selected by sliding the window in the mask area of ​​the target traffic sign in the second image area. Then, the pixel value of the window area in the second image area is subtracted from the pixel value of the window area in the first image area, and the absolute value of the corresponding pixel difference is obtained; the area of ​​the window in the second image area when the absolute value of the corresponding pixel difference is the smallest is found as the compensation sub-area. Then, based on the mask of the target traffic sign in the first image area, the excess part of the mask of the target traffic sign in the second image area is used to supplement and extend the target traffic sign in the first image area, thereby completing the modeling of the road structure.

[0109] S104, determining road structure information of the target road according to the first image area after compensation processing, where the road structure information of the target road is used to describe the position of the target traffic sign in the target road.

[0110] Among them, the road structure information of the target road is used to describe the position of the target traffic sign in the target road. When the first image area corresponding to the first image is compensated according to the second image area corresponding to the second image, the target traffic sign in the first image area can be compensated according to the target traffic sign in the second image area, and the part of the target traffic sign in the second image area that is different from the target traffic sign in the first image area is compensated to the target traffic sign in the first image area, so as to increase the integrity of the target traffic sign in the first image area. The first image area corresponding to the first image is compensated according to the second image area corresponding to the second image to obtain the first image area after compensation, and the road structure information of the target road is determined according to the first image area after compensation, so as to improve the accuracy of the road structure information.

[0111] Optionally, obtain the sign category of the target traffic sign in the first image area and the position information of the target traffic sign in the first image area after compensation processing; perform road modeling based on the sign category of the target traffic sign and the position information of the target traffic sign in the first image area after compensation processing to obtain road structure information of the target road.

[0112] The sign category of the target traffic sign in the first image area after compensation processing and the position information of the target traffic sign in the first image area after compensation processing can be obtained. Information processing is performed according to the sign category of the target traffic sign in the first image area after compensation processing and the position information of the target traffic sign in the first image area after compensation processing. The target traffic sign can be represented by a simplified pattern, so that road modeling can be simplified, for example, a guide line can be represented by a triangle, a traffic light can be represented by a circle, and so on. In this way, based on the timestamp (the shooting time of the image) of each frame of at least two frames of images about the target road, traffic sign detection is performed on each frame of the image, and the image area in each frame of the image where the target traffic sign is located is obtained, and the road structure information of the target road is determined according to the image area where the target traffic sign is located in each frame of the image.

[0113] like Figure 3 As shown, it is a schematic diagram of a road modeling method provided by an embodiment of the present application, such as Figure 3As shown, the target road can be photographed according to the camera module set in the vehicle to obtain at least two frames of images about the target road within a period of time. According to the timestamp of each frame of the at least two frames of images (that is, the shooting time of each frame of the image), a neural network is used to detect traffic signs on each frame of the image to obtain the recognition result corresponding to each frame of the image, that is, the target traffic sign in each frame of the image in the target image area of ​​the corresponding image. The target image area where the target traffic sign in each frame of the image includes the sign category of the target traffic sign and the position information of the target traffic sign in the target image area. According to the target traffic sign in the image area corresponding to each frame of the image, inter-frame matching is performed, and the target road is modeled to obtain continuous road structure information within a period of time. At the same time, the timestamp of each frame of the image is recorded in the road structure information of the target road, such as Figure 4 As shown, when the target traffic sign in the first image area is compensated according to the target traffic sign in the second image area, the timestamp corresponding to the second image can be added to the road structure information. At the same time, when the traffic light is detected, the state information of the corresponding traffic light at each time moment can also be recorded. Among them, 0 can be used to indicate that the traffic light is in a red light state, and 1 can be used to indicate that the traffic light is in a street light state. Among them, the guide line can be represented by a triangle, and the circle can be used to represent the detected traffic light, wherein the color state of the traffic light will change with the time information, so the state information of each traffic light corresponding to the observed timestamp is also recorded. The road structure information of the target road obtained is modeled by integrating the detection results of all video frames within a certain period of time, so that the individual misjudgment results of the intermediate process can be reduced to a certain extent, and the road structure information obtained is more accurate. After obtaining the road information structure information of the target road, it can be determined whether the vehicle has violated the law based on the road structure information corresponding to the timestamp when the vehicle is driving.

[0114] In the present application, at least two frames of images about the target road are obtained, and the at least two frames of images include a first image and a second image, and the first image and the second image both include a target traffic sign. Traffic sign detection is performed on the first image to obtain a first image area of ​​the target traffic sign in the first image, and traffic sign detection is performed on the second image to obtain a second image area of ​​the target traffic sign in the second image; compensation processing is performed on the first image area according to the second image area to obtain the first image area after compensation processing; and the road structure information of the target road is determined according to the first image area after compensation processing. By adopting this scheme, by compensating the first image area according to the second image area, the situation of incomplete target traffic signs due to occlusion can be reduced, the target traffic signs can be made more complete and more accurate, and the accuracy of obtaining the road structure information of the target road can be improved. At the same time, the target road is modeled according to at least two frames of images about the target road, which can reduce the misjudgment results of some images to a certain extent, resulting in inaccurate road structure information, and make the road structure information more accurate.

[0115] like Figure 4 As shown, it is a flow chart of another information processing method provided by this embodiment, such as Figure 4 As shown, the flowchart of another information processing method includes steps S201-S207.

[0116] S201, acquiring at least two frames of images about a target road; the at least two frames of images include a first image and a second image, and both the first image and the second image include a target traffic sign.

[0117] S202: Acquire target feature information corresponding to the target traffic sign.

[0118] After obtaining at least two frames of images about a target road, the at least two frames of images include a first image and a second image, both of which include a target traffic sign, and the shooting time of the second image is later than the shooting time of the first image. Target feature information of the target traffic sign can be obtained, and the feature information of the target traffic sign includes the shape feature of the target traffic sign and the pixel information of the target traffic sign. The pixel information of the target traffic sign includes the color information of the target traffic sign.

[0119] S203, obtaining first feature information corresponding to the first candidate marker in the first image, and obtaining second feature information corresponding to the second candidate marker in the second image.

[0120] Similarly, the first feature information corresponding to the first candidate sign in the first image and the second feature information corresponding to the second candidate sign in the second image can be obtained, so as to match the target feature information of the target traffic sign based on the first feature information and the second feature information to determine the target traffic sign in the first image and the second image.

[0121] Optionally, the logo size corresponding to the first candidate logo and the logo size corresponding to the second candidate logo can be obtained. According to the logo size corresponding to the first candidate logo, the recognition method for recognizing the first candidate logo is determined from the recognition method library. According to the logo size corresponding to the second candidate logo, the recognition method for recognizing the second candidate logo is determined from the recognition method library. According to the recognition method corresponding to the first candidate logo, the first candidate logo is recognized to obtain the first feature information corresponding to the first candidate logo, and according to the recognition method corresponding to the second candidate logo, the second candidate logo is recognized to obtain the second feature information corresponding to the second candidate logo.

[0122] When obtaining the first feature information corresponding to the first candidate mark in the first image, and obtaining the second feature information corresponding to the second candidate mark in the second image, the mark size corresponding to the first candidate mark can be obtained, and the mark size corresponding to the second candidate mark can be obtained. Due to the problem of large span of the mark size of the candidate marks, the candidate marks with larger mark sizes require a recognition method with a larger receptive field, and the candidate marks with smaller mark sizes require a recognition method with a larger resolution. Therefore, when the same recognition method is used to recognize the candidate marks with smaller mark sizes and larger mark sizes, there may be inaccurate recognition. Therefore, according to the mark size corresponding to the first candidate mark, the recognition method for recognizing the first candidate mark can be determined from the recognition method library. According to the mark size corresponding to the second candidate mark, the recognition method for recognizing the second candidate mark is determined from the recognition method library. The recognition method library includes the corresponding relationship between the mark size and the recognition method. The larger the mark size of the candidate mark, the higher-level recognition network in the neural network can be used to recognize the candidate mark; the smaller the mark size of the candidate mark, the lower-level recognition network in the neural network can be used to recognize the candidate mark. The high-level recognition network has a relatively large receptive field and strong ability to represent semantic information, but the resolution of the feature map is low and the ability to represent geometric information is weak (spatial geometric feature details are lacking). Therefore, the high-level recognition network in the neural network can be used to identify candidate logos with larger logo sizes; the low-level network has a relatively small receptive field and strong ability to represent geometric detail information. Although the resolution is high, the ability to represent semantic information is weak. Therefore, the low-level recognition network in the neural network can be used to identify candidate logos with smaller logo sizes. The high-level recognition network has a low resolution and cannot accurately identify candidate logos with smaller logo sizes. According to the recognition method corresponding to the first candidate logo, the first candidate logo is recognized to obtain the first feature information corresponding to the first candidate logo, and according to the recognition method corresponding to the second candidate logo, the second candidate logo is recognized to obtain the second feature information corresponding to the second candidate logo.

[0123] For example, the pyramid structure (Feature Pyramid Network, FPN) can be used to solve the problem of large target scale span. The pyramid structure includes multiple levels of recognition networks, such as 2×, 4×, 8×, 16×, and 32×. Among them, the 2×, 4×, and 8× levels belong to low-level recognition networks, with higher resolution but smaller receptive fields, and can be used to identify candidate signs with smaller sign sizes, such as the status information of traffic lights (turning red or turning green). However, the resolution of the 4× level is lower than that of the 2× level, and the receptive field of the 4× level is larger than that of the 2× level. The resolution of the 6× level is lower than that of the 4× level, and the receptive field of the 6× level is larger than that of the 4× level. The 16× and 32× levels belong to high-level recognition networks, with lower resolution but larger receptive fields, and can be used to identify candidate signs with larger sign sizes, such as zebra crossings, guide lines, etc. Similarly, the resolution of the 32× level is lower than that of the 16× level, and the receptive field of the 32× level is larger than that of the 16× level. As the level increases, the resolution decreases, but the receptive field increases. Specifically, if the size of the candidate logo belongs to the first threshold range, the first recognition method is used as the recognition method for the candidate recognition. The first recognition method is a low-level recognition network with a higher resolution. The first recognition method can be a recognition network of any one of the 2×, 4×, and 8× levels. If the size of the candidate logo belongs to the second threshold range, the second recognition method is used as the recognition method for the candidate recognition. The second recognition method is a high-level recognition network with a larger receptive field. The second recognition method can be a recognition network of any one of the 16× and 32× levels. At the same time, in order to make the feature information obtained after identifying the candidate logo more accurate, multiple levels of recognition networks can be used to identify the candidate logo to obtain feature information obtained by multiple levels of recognition. The feature information obtained by the multiple levels of recognition is fused to increase the accuracy of the feature information of the candidate logo.

[0124] S204: If the first characteristic information matches the target characteristic information corresponding to the target traffic sign, the first candidate sign is determined as the target traffic sign, and the area where the first candidate sign is located in the first image is determined as the first image area.

[0125] S205: If the second characteristic information matches the target characteristic information corresponding to the target traffic sign, the second candidate sign is determined as the target traffic sign, and the area where the second candidate sign is located in the second image is determined as the second image area.

[0126] If the first feature information matches the target feature information corresponding to the target traffic sign, the first candidate sign is determined as the target traffic sign, and the area where the first candidate sign is located in the first image is determined as the first image area. If the shape feature information in the first feature information corresponding to the first candidate sign matches the shape feature information in the target feature information, and the pixel information in the first feature information matches the pixel information in the target feature information (such as the same color), the first candidate sign can be determined as the target traffic sign, and the area where the first candidate sign is located in the first image area is determined as the first image area. Similarly, if the second feature information matches the target feature information corresponding to the target traffic sign, the second candidate sign is determined as the target traffic sign, and the area where the second candidate sign is located in the second image is determined as the second image area.

[0127] S206, performing compensation processing on the first image region according to the second image region to obtain a compensated first image region.

[0128] S207, determining road structure information of the target road according to the first image area after compensation processing, where the road structure information of the target road is used to describe the position of the target traffic sign in the target road.

[0129] The contents of steps S206 to S207 in the embodiment of the present application can be found in Figure 1 The specific contents described in the embodiments will not be repeated here in the embodiments of the present application.

[0130] In the present application, at least two frames of images about a target road are acquired, the at least two frames of images include a first image and a second image, and the first image and the second image both include a target traffic sign. Traffic sign detection is performed on the first image to obtain a first image area of ​​the target traffic sign in the first image, and traffic sign detection is performed on the second image to obtain a second image area of ​​the target traffic sign in the second image. When traffic sign detection is performed on the first image and the second image, the recognition method is determined according to the sign size of the sign in the first image and the second image, so as to increase the accuracy of detecting the target traffic sign in the first image and the second image. Compensation processing is performed on the first image area according to the second image area to obtain the first image area after compensation processing; and the road structure information of the target road is determined according to the first image area after compensation processing. By adopting this scheme, by compensating the first image area according to the second image area, the situation where the target traffic sign is incomplete due to occlusion can be reduced, the target traffic sign can be made more complete and more accurate, and the accuracy of the road structure information of the target road can be improved. At the same time, the target road is modeled based on at least two frames of images about the target road, which can reduce the misjudgment results of some images that lead to inaccurate road structure information to a certain extent and make the road structure information more accurate.

[0131] See also Figure 5 , is a schematic diagram of the structure of an information processing device provided in an embodiment of the present application. The device in the embodiment of the present application may be in the electronic device mentioned above. In this embodiment, the information processing device includes:

[0132] An acquisition module 11 is used to acquire at least two frames of images about a target road; the at least two frames of images include a first image and a second image, and the first image and the second image both include a target traffic sign;

[0133] A detection module 12, configured to perform traffic sign detection on the first image to obtain a first image region of the target traffic sign in the first image, and perform traffic sign detection on the second image to obtain a second image region of the target traffic sign in the second image;

[0134] The detection module 12 includes: a second acquisition unit, a third acquisition unit, a second determination unit, and a third determination unit.

[0135] A second acquisition unit, used to acquire target feature information corresponding to the target traffic sign;

[0136] A third acquisition unit, configured to acquire first feature information corresponding to the first candidate marker in the first image, and acquire second feature information corresponding to the second candidate marker in the second image;

[0137] a second determining unit, configured to determine the first candidate sign as the target traffic sign if the first feature information matches the target feature information corresponding to the target traffic sign, and determine a region in the first image where the first candidate sign is located as the first image region;

[0138] The third determination unit is used to determine the second candidate sign as the target traffic sign if the second feature information matches the target feature information corresponding to the target traffic sign, and determine the area where the second candidate sign is located in the second image as the second image area.

[0139] The third acquisition unit is specifically used for:

[0140] Obtaining a logo size corresponding to the first candidate logo, and obtaining a logo size corresponding to the second candidate logo;

[0141] determining, from a recognition method library, a recognition method for recognizing the first candidate mark according to a mark size corresponding to the first candidate mark;

[0142] determining, from the recognition method library, a recognition method for recognizing the second candidate mark according to a mark size corresponding to the second candidate mark;

[0143] According to the recognition method corresponding to the first candidate marker, the first candidate marker is recognized to obtain the first feature information corresponding to the first candidate marker, and according to the recognition method corresponding to the second candidate marker, the second candidate marker is recognized to obtain the second feature information corresponding to the second candidate marker.

[0144] A compensation processing module 13, configured to perform compensation processing on the first image area according to the second image area to obtain a first image area after compensation processing;

[0145] The compensation processing module 13 includes: a first acquisition unit, a comparison unit, a first determination unit, and a splicing processing unit.

[0146] A first acquisition unit, used to respectively acquire pixel information of the first image area and pixel information of the second image area;

[0147] A comparing unit, used for comparing the pixel information of the first image area with the pixel information of the second image area to obtain a comparison result;

[0148] a first determining unit, configured to determine, from the second image region according to the comparison result, a sub-region having pixel information different from that of the first image region as a compensation sub-region;

[0149] The splicing processing unit is used to splice the compensation sub-region with the first image region to obtain the first image region after compensation processing.

[0150] The first determining unit is specifically used for:

[0151] Acquire the area size of the first image area;

[0152] Dividing the second image area according to the area size of the first image area to obtain at least two sub-areas;

[0153] A sub-region whose pixel information is different from that of the first image region is determined from the at least two sub-regions as the compensation sub-region.

[0154] The pixel information of the first image area is the pixel value of the first image area, and the pixel information of each of the at least two sub-areas is the pixel value of the corresponding sub-area;

[0155] The first determining unit is specifically used for:

[0156] Respectively obtaining differences between a pixel value of the first image area and a pixel value of each of the at least two sub-areas;

[0157] Determine a sub-region with the smallest corresponding difference from the at least two sub-regions as a target sub-region;

[0158] The sub-region other than the target sub-region among the at least two sub-regions is used as the compensation sub-region.

[0159] The determination module 14 is used to determine the road structure information of the target road according to the first image area after the compensation process, wherein the road structure information of the target road is used to describe the position of the target traffic sign in the target road.

[0160] The determination module 14 includes:

[0161] a fourth acquisition unit, configured to acquire a sign category of a target traffic sign in the first image region after the compensation processing, and position information of the target traffic sign in the first image region after the compensation processing;

[0162] The road modeling unit is used to perform road modeling according to the sign category of the target traffic sign and the position information of the target traffic sign in the first image area after the compensation processing, so as to obtain the road structure information of the target road.

[0163] In the present application, at least two frames of images about a target road are acquired, the at least two frames of images include a first image and a second image, and the first image and the second image both include a target traffic sign. Traffic sign detection is performed on the first image to obtain a first image area of ​​the target traffic sign in the first image, and traffic sign detection is performed on the second image to obtain a second image area of ​​the target traffic sign in the second image. When traffic sign detection is performed on the first image and the second image, the recognition method is determined according to the sign size of the sign in the first image and the second image, so as to increase the accuracy of detecting the target traffic sign in the first image and the second image. Compensation processing is performed on the first image area according to the second image area to obtain the first image area after compensation processing; and the road structure information of the target road is determined according to the first image area after compensation processing. By adopting this scheme, by compensating the first image area according to the second image area, the situation where the target traffic sign is incomplete due to occlusion can be reduced, the target traffic sign can be made more complete and more accurate, and the accuracy of obtaining the road structure information of the target road can be improved. At the same time, the target road is modeled based on at least two frames of images about the target road, which can reduce the misjudgment results of some images that lead to inaccurate road structure information to a certain extent and make the road structure information more accurate.

[0164] See also Figure 6 , is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application, such as Figure 6 The electronic device in the embodiment shown may include: one or more processors 21; one or more input devices 22; one or more output devices 23 and a memory 24. The processors 21, input devices 22, output devices 23 and memory 24 are connected via a bus 25.

[0165] The processor 21 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0166] The input device 22 may include a touch panel, a fingerprint sensor (for collecting the user's fingerprint information and fingerprint direction information), a microphone, etc. The output device 23 may include a display (LCD, etc.), a speaker, etc. The output device 23 may output a corrected data table.

[0167] The memory 24 may include a read-only memory and a random access memory, and provides instructions and data to the processor 21. A portion of the memory 24 may also include a non-volatile random access memory, and the memory 24 is used to store a computer program, wherein the computer program includes program instructions, and the processor 21 is used to execute the program instructions stored in the memory 24 to perform an information processing method, namely, to perform the following operations:

[0168] Acquire at least two frames of images about the target road;

[0169] Acquire at least two frames of images about a target road; the at least two frames of images include a first image and a second image, and the first image and the second image both include a target traffic sign;

[0170] Performing traffic sign detection on the first image to obtain a first image region of the target traffic sign in the first image, and performing traffic sign detection on the second image to obtain a second image region of the target traffic sign in the second image;

[0171] Performing compensation processing on the first image area according to the second image area to obtain a compensated first image area;

[0172] The road structure information of the target road is determined according to the first image area after the compensation process, and the road structure information of the target road is used to describe the position of the target traffic sign in the target road.

[0173] Optionally, the processor 21 is used to execute program instructions stored in the memory 24 to perform the following operations:

[0174] Respectively acquiring pixel information of the first image area and pixel information of the second image area;

[0175] Comparing the pixel information of the first image area with the pixel information of the second image area to obtain a comparison result;

[0176] Determine, from the second image region according to the comparison result, a sub-region having pixel information different from that of the first image region as a compensation sub-region;

[0177] The compensation sub-region is spliced ​​with the first image region to obtain a compensated first image region.

[0178] Optionally, the processor 21 is used to execute program instructions stored in the memory 24 to perform the following operations:

[0179] Acquire the area size of the first image area;

[0180] Dividing the second image area according to the area size of the first image area to obtain at least two sub-areas;

[0181] A sub-region whose pixel information is different from that of the first image region is determined from the at least two sub-regions as the compensation sub-region.

[0182] Optionally, the processor 21 is used to execute program instructions stored in the memory 24 to perform the following operations:

[0183] Respectively obtaining differences between a pixel value of the first image area and a pixel value of each of the at least two sub-areas;

[0184] Determine a sub-region with the smallest corresponding difference from the at least two sub-regions as a target sub-region;

[0185] The sub-region other than the target sub-region among the at least two sub-regions is used as the compensation sub-region.

[0186] Optionally, the processor 21 is used to execute program instructions stored in the memory 24 to perform the following operations:

[0187] Acquiring target feature information corresponding to the target traffic sign;

[0188] Acquire first feature information corresponding to a first candidate marker in the first image, and acquire second feature information corresponding to a second candidate marker in the second image;

[0189] If the first feature information matches the target feature information corresponding to the target traffic sign, determining the first candidate sign as the target traffic sign, and determining the area where the first candidate sign is located in the first image as the first image area;

[0190] If the second feature information matches the target feature information corresponding to the target traffic sign, the second candidate sign is determined as the target traffic sign, and the area where the second candidate sign is located in the second image is determined as the second image area.

[0191] Optionally, the processor 21 is used to execute program instructions stored in the memory 24 to perform the following operations:

[0192] Obtaining a logo size corresponding to the first candidate logo, and obtaining a logo size corresponding to the second candidate logo;

[0193] determining, from a recognition method library, a recognition method for recognizing the first candidate mark according to a mark size corresponding to the first candidate mark;

[0194] determining, from the recognition method library, a recognition method for recognizing the second candidate mark according to a mark size corresponding to the second candidate mark;

[0195] According to the recognition method corresponding to the first candidate marker, the first candidate marker is recognized to obtain the first feature information corresponding to the first candidate marker, and according to the recognition method corresponding to the second candidate marker, the second candidate marker is recognized to obtain the second feature information corresponding to the second candidate marker.

[0196] Optionally, the processor 21 is used to execute program instructions stored in the memory 24 to perform the following operations:

[0197] Acquire the sign category of the target traffic sign in the first image area after the compensation processing, and the position information of the target traffic sign in the first image area after the compensation processing;

[0198] Road modeling is performed according to the sign category of the target traffic sign and the position information of the target traffic sign in the first image area after the compensation process to obtain the road structure information of the target road.

[0199] The processor 21, input device 22, and output device 23 described in the embodiments of the present application can execute the implementation method described in the embodiments of the information processing method provided in the embodiments of the present application, and can also execute the implementation method of the electronic device described in the embodiments of the present application, which will not be repeated here.

[0200] In the present application, at least two frames of images about a target road are acquired, the at least two frames of images include a first image and a second image, and the first image and the second image both include a target traffic sign. Traffic sign detection is performed on the first image to obtain a first image area of ​​the target traffic sign in the first image, and traffic sign detection is performed on the second image to obtain a second image area of ​​the target traffic sign in the second image. When traffic sign detection is performed on the first image and the second image, the recognition method is determined according to the sign size of the sign in the first image and the second image, so as to increase the accuracy of detecting the target traffic sign in the first image and the second image. Compensation processing is performed on the first image area according to the second image area to obtain the first image area after compensation processing; and the road structure information of the target road is determined according to the first image area after compensation processing. By adopting this scheme, by compensating the first image area according to the second image area, the situation where the target traffic sign is incomplete due to occlusion can be reduced, the target traffic sign can be made more complete and more accurate, and the accuracy of obtaining the road structure information of the target road can be improved. At the same time, the target road is modeled based on at least two frames of images about the target road, which can reduce the misjudgment results of some images that lead to inaccurate road structure information to a certain extent and make the road structure information more accurate.

[0201] The present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the following is implemented: Figure 1 and Figure 4 The information processing method shown in the embodiment.

[0202] The computer-readable storage medium may be an internal storage unit of the electronic device described in any of the foregoing embodiments, such as a hard disk or memory of a control device. The computer-readable storage medium may also be an external storage device of the control device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the control device. Furthermore, the computer-readable storage medium may also include both an internal storage unit of the control device and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and data required by the control device. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.

[0203] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the control device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0204] In the several embodiments provided in the present application, it should be understood that the disclosed control device and method can be implemented in other ways. For example, the device embodiments described above are schematic, for example, the division of the units can be a logical function division, and there can be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0205] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. An information processing method, characterized in that: include: Acquire at least two frames of images about a target road; the at least two frames of images include a first image and a second image, and the first image and the second image both include a target traffic sign; Performing traffic sign detection on the first image to obtain a first image region of the target traffic sign in the first image, and performing traffic sign detection on the second image to obtain a second image region of the target traffic sign in the second image; respectively acquiring pixel information of the first image area and pixel information of the second image area, acquiring the area size of the first image area, and dividing the second image area according to the area size of the first image area to obtain at least two sub-areas; the pixel information of the first image area is a pixel value of the first image area, and the pixel information of each sub-area of ​​the at least two sub-areas is a pixel value of the corresponding sub-area; respectively obtaining differences between pixel values ​​of the first image area and pixel values ​​of each of the at least two sub-areas, determining a sub-area with the smallest corresponding difference from the at least two sub-areas as a target sub-area, using sub-areas of the at least two sub-areas other than the target sub-area as compensation sub-areas, and performing splicing processing on the compensation sub-areas and the first image area to obtain a first image area after compensation processing; The sign category of the target traffic sign in the first image area after the compensation processing and the position information of the target traffic sign in the first image area after the compensation processing are obtained, and road modeling is performed according to the sign category of the target traffic sign and the position information of the target traffic sign in the first image area after the compensation processing to obtain the road structure information of the target road, and the road structure information of the target road is used to describe the position of the target traffic sign in the target road.

2. The method according to claim 1, characterized in that The performing traffic sign detection on the first image to obtain a first image region of the target traffic sign in the first image, and performing traffic sign detection on the second image to obtain a second image region of the target traffic sign in the second image, comprises: Acquiring target feature information corresponding to the target traffic sign; Acquire first feature information corresponding to a first candidate marker in the first image, and acquire second feature information corresponding to a second candidate marker in the second image; If the first feature information matches the target feature information corresponding to the target traffic sign, determining the first candidate sign as the target traffic sign, and determining the area where the first candidate sign is located in the first image as the first image area; If the second feature information matches the target feature information corresponding to the target traffic sign, the second candidate sign is determined as the target traffic sign, and the area where the second candidate sign is located in the second image is determined as the second image area.

3. The method according to claim 2, characterized in that The acquiring first feature information corresponding to the first candidate marker in the first image, and acquiring second feature information corresponding to the second candidate marker in the second image, includes: Obtaining a logo size corresponding to the first candidate logo, and obtaining a logo size corresponding to the second candidate logo; determining, from a recognition method library, a recognition method for recognizing the first candidate mark according to a mark size corresponding to the first candidate mark; determining, from the recognition method library, a recognition method for recognizing the second candidate mark according to a mark size corresponding to the second candidate mark; According to the recognition method corresponding to the first candidate marker, the first candidate marker is recognized to obtain the first feature information corresponding to the first candidate marker, and according to the recognition method corresponding to the second candidate marker, the second candidate marker is recognized to obtain the second feature information corresponding to the second candidate marker.

4. An information processing device, characterized in that: include: An acquisition module, configured to acquire at least two frames of images about a target road; the at least two frames of images include a first image and a second image, and the first image and the second image both include a target traffic sign; a detection module, configured to perform traffic sign detection on the first image to obtain a first image region of the target traffic sign in the first image, and to perform traffic sign detection on the second image to obtain a second image region of the target traffic sign in the second image; a compensation processing module, used to respectively obtain pixel information of the first image area and pixel information of the second image area, obtain the area size of the first image area, divide the second image area according to the area size of the first image area to obtain at least two sub-areas; respectively obtain the difference between the pixel value of the first image area and the pixel value of each sub-area of ​​the at least two sub-areas, determine the sub-area with the smallest corresponding difference from the at least two sub-areas as the target sub-area, use the sub-areas of the at least two sub-areas except the target sub-area as the compensation sub-area, and perform splicing processing on the compensation sub-area and the first image area to obtain the first image area after compensation processing; the pixel information of the first image area is the pixel value of the first image area, and the pixel information of each sub-area of ​​the at least two sub-areas is the pixel value of the corresponding sub-area; A determination module is used to obtain the sign category of the target traffic sign in the first image area after the compensation processing, and the position information of the target traffic sign in the first image area after the compensation processing, and perform road modeling according to the sign category of the target traffic sign and the position information of the target traffic sign in the first image area after the compensation processing to obtain the road structure information of the target road, and the road structure information of the target road is used to describe the position of the target traffic sign in the target road.

5. A computer device, characterized in that: include: Processor, memory, and network interface; The processor is connected to a memory and a network interface, wherein the network interface is used to provide a data communication function, the memory is used to store a computer program, and the processor is used to call the computer program to execute the method according to any one of claims 1 to 3.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the steps of the method according to any one of claims 1 to 3 are executed.