Detection method and apparatus, and intelligent driving device

By acquiring and processing the image information of traffic lights in smart driving devices, and using multi-level models to detect and identify the status of traffic lights, the accuracy problem of autonomous vehicles in detecting traffic lights is solved, ensuring driving safety and the user's right to know.

WO2024197629A1PCT designated stage expired Publication Date: 2024-10-03YINWANG INTELLIGENT TECHNOLOGIES CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/084634
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-29
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

When an autonomous vehicle detects road traffic lights, due to the wide variety of traffic lights and attributes, it may not be accurately recognized, which may lead to incorrect decision-making by the autonomous driving module and threaten the life safety of users.

Method used

By acquiring the first image around the smart driving device, determining the second image as a partial image of the first image, containing the image information of the traffic light, and inputting it into the prediction model, obtaining the status information of the traffic light, using a multi-level model Detect to identify the characteristic information of traffic lights, including countdown value, arrow direction and color, etc., to ensure the accuracy of detection results.

Benefits of technology

It improves the accuracy of traffic light detection, ensures the driving safety of intelligent driving equipment, ensures that users are informed of the current road conditions in automatic driving or manual driving mode, and reduces the occurrence of decision-making errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023084634_03102024_PF_FP_ABST
    Figure CN2023084634_03102024_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the embodiments of the present application are a detection method and apparatus, and an intelligent driving device, wherein the method may be applied in the field of intelligent driving. The method comprises: acquiring a first image of the surroundings of an intelligent driving device; determining a second image according to the first image, wherein the second image is an image of part of the first image, and the second image comprises image information of traffic lights; and inputting the second image into a first prediction model, so as to obtain state information of the traffic lights. The method may also be applied to intelligent vehicles or electric vehicles, such that an intelligent driving device can provide a more accurate detection result for traffic lights, thereby ensuring the safety of the intelligent driving device during driving.
Need to check novelty before this filing date? Find Prior Art

Description

Detection method, device and intelligent driving equipment Technical Field

[0001] The embodiments of the present application relate to the field of intelligent driving, and more specifically, to a detection method, apparatus, and intelligent driving device. Background Art

[0002] Currently, autonomous driving technology has become a new development direction for future vehicles and is gaining increasing popularity. In the process of implementing autonomous driving technology, it is necessary to detect and identify traffic lights on the road, and then output the detection results to the autonomous driving control module.

[0003] However, due to the wide variety and attributes of traffic lights, vehicles may not be able to accurately identify traffic lights when detecting them, which may cause the vehicle's autonomous driving module to make incorrect decisions, which may threaten the user's life safety.

[0004] Summary of the Invention

[0005] The embodiments of the present application provide a detection method, apparatus, and intelligent driving device, which can make the results of traffic light detection by the intelligent driving device more accurate, thereby ensuring the driving safety of the intelligent driving device.

[0006] In a first aspect, a detection method is provided, which includes: acquiring a first image around an intelligent driving device; determining a second image based on the first image, where the second image is a partial image of the first image and includes image information of a traffic light; and inputting the second image into a first prediction model to obtain status information of the traffic light.

[0007] Optionally, the image information of the traffic light may include: a light frame of the traffic light.

[0008] Optionally, the first prediction model can be obtained based on a first training sample, which includes: a first sample image and the status information of the traffic light in the first sample image, wherein the first sample image can be called training data, and the status information of the traffic light in the first sample image can be called a label of the training data.

[0009] Since the first image may include other images besides the traffic light, the result obtained by directly inputting the first image into the first prediction model is often inaccurate. In an embodiment of the present application, the second image can be first determined based on the first image, and then the second image can be input into the first prediction model to obtain the status information of the traffic light. In this way, since the second image is a partial image of the first image and the second image includes the image information of the traffic light, the input data of the first prediction model can be made more targeted, and the detection result of the traffic light obtained according to the first prediction model is also more accurate, thereby ensuring the driving safety of the intelligent driving device.

[0010] In combination with the first aspect, in some implementations of the first aspect, determining the second image based on the first image includes: inputting the first image into a second prediction model to obtain the second image.

[0011] Optionally, the second prediction model may be obtained based on a second training sample, where the second training sample includes: a second sample image and image information of a traffic light in the second sample image. The second sample image may be referred to as training data, and the image information of the traffic light in the second sample image may be referred to as a label of the training data.

[0012] In the embodiment of the present application, determining the second image through the first image can be achieved based on the second prediction model, so that the intelligent driving device can determine the second image simply and efficiently.

[0013] In combination with the first aspect, in certain implementations of the first aspect, the status information of the traffic light includes information that the traffic light is a countdown type traffic light, and the method further includes: inputting the second image into a third prediction model to obtain the countdown value of the traffic light.

[0014] Optionally, the third prediction model may be obtained based on a third training sample, wherein the third training sample includes: a third sample image and a numerical value of the traffic light countdown in the third sample image. The third sample image may be referred to as training data, and the numerical value of the traffic light countdown in the three sample images may be referred to as a label of the training data.

[0015] In the embodiment of the present application, when the traffic light is a countdown type traffic light, the specific value of the traffic light can be determined through detection of a multi-level model, which can make the detection result of the traffic light more accurate.

[0016] In combination with the first aspect, in certain implementations of the first aspect, the status information of the traffic light includes information of multiple arrows of the traffic light; the method also includes: inputting the second image into a fourth prediction model to obtain the indicated directions and colors of the multiple arrows.

[0017] Optionally, the fourth prediction model may be obtained based on a fourth training sample, the fourth training sample including: a fourth sample image and a plurality of sample arrows indicating directions and colors in the fourth sample image. The fourth sample image may be referred to as training data, and the plurality of sample arrows indicating directions and colors in the fourth sample image may be referred to as labels for the training data.

[0018] In an embodiment of the present application, when a traffic light includes multiple arrow-type traffic lights, the directions and colors indicated by the multiple arrows can be obtained through detection using a multi-level model, which can make the detection result of the traffic light more accurate.

[0019] In combination with the first aspect, in some implementations of the first aspect, the status information of the traffic light includes at least one of the following: the color of the traffic light, the light frame type, the blocked state, and the flashing state.

[0020] In an embodiment of the present application, the intelligent driving device can also identify the basic attributes of the traffic light through the first prediction model, thereby facilitating the intelligent driving device to perform automatic driving based on the above basic attributes.

[0021] In combination with the first aspect, in some implementations of the first aspect, the method further includes: controlling the driving of the intelligent driving device according to the status information of the traffic light.

[0022] In combination with the first aspect, in some implementations of the first aspect, the method further includes: reminding a user of the status of the traffic light based on the status information of the traffic light.

[0023] In an embodiment of the present application, after the intelligent driving device detects the status information of the traffic light, it can remind the user of the status of the traffic light, thereby ensuring the user's right to know the current road conditions when the intelligent driving device is in automatic driving or user driving mode.

[0024] In a second aspect, a detection device is provided, comprising: an acquisition unit and a processing unit; the acquisition unit is used to acquire a first image around an intelligent driving device; the processing unit is used to: determine a second image based on the first image, where the second image is a partial image of the first image, and the second image includes image information of a traffic light; and input the second image into a first prediction model to obtain status information of the traffic light.

[0025] In combination with the second aspect, in some implementations of the second aspect, the processing unit is specifically configured to input the first image into a second prediction model to obtain the second image.

[0026] In combination with the second aspect, in certain implementations of the second aspect, the status information of the traffic light includes information that the traffic light is a countdown type traffic light; the processing unit is also used to input the second image into a third prediction model to obtain the countdown value of the traffic light.

[0027] In combination with the second aspect, in certain implementations of the second aspect, the status information of the traffic light includes information of multiple arrows of the traffic light; the processing unit is also used to input the second image into a fourth prediction model to obtain the indicated directions and colors of the multiple arrows.

[0028] In combination with the second aspect, in certain implementations of the second aspect, the status information of the traffic light includes at least one of the following: the color of the traffic light, the light frame type, the blocked state, and the flashing state.

[0029] In combination with the second aspect, in some implementations of the second aspect, the processing unit is further used to control the driving of the intelligent driving device according to the status information of the traffic light.

[0030] In combination with the second aspect, in some implementations of the second aspect, the processing unit reminds the user of the status of the traffic light based on the status information of the traffic light.

[0031] In a third aspect, a detection device is provided, which includes: at least one processor and a memory, wherein the at least one processor is coupled to the memory and is used to read and execute instructions in the memory, so that the device implements the method in any one of the implementation methods of the above-mentioned first aspect.

[0032] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a program code, and when the computer program code is run on a computer, the computer executes the method in any one of the implementation modes of the above-mentioned first aspect.

[0033] In a fifth aspect, a chip is provided, which includes a circuit for executing the method in any one of the implementations of the first aspect.

[0034] In a sixth aspect, a computer program product is provided, which includes a computer program. When the computer program is run, the computer executes the method in any one of the implementation modes of the first aspect.

[0035] In the seventh aspect, an intelligent driving device is provided, comprising: an apparatus according to any one of the implementation methods of the second or third aspect above.

[0036] In an eighth aspect, a server is provided, comprising: a device in any one of the implementations of the second or third aspect above. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] FIG1 is a functional schematic diagram of an intelligent driving device provided in an embodiment of the present application;

[0038] FIG2 is a schematic flow chart of a detection method provided in an embodiment of the present application;

[0039] FIG3 is a schematic flow chart of another detection method provided in an embodiment of the present application;

[0040] FIG4 is an application scenario to which the detection method provided in an embodiment of the present application is applicable;

[0041] FIG5 is a schematic flowchart of processing a first image using a primary network according to an embodiment of the present application;

[0042] FIG6 is a schematic flowchart of processing a second image using a secondary network according to an embodiment of the present application;

[0043] FIG7 is a schematic flow chart of model training of a secondary network provided in an embodiment of the present application;

[0044] FIG8 is a schematic flowchart of processing a second image using a secondary network according to an embodiment of the present application;

[0045] FIG9 is a schematic diagram of a detection device provided in an embodiment of the present application;

[0046] FIG10 is a schematic diagram of another detection device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In this application, "at least one" refers to one or more, and "more than one" refers to two or more. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0048] In the embodiments of this application, prefixes such as "first" and "second" are used only to distinguish different description objects and have no limiting effect on the position, order, priority, quantity, or content of the described objects. The use of prefixes such as ordinal numbers in the embodiments of this application to distinguish description objects does not constitute a limitation on the described objects. For a statement of the described objects, please refer to the description in the context of the claims or embodiments, and the use of such prefixes should not constitute an unnecessary limitation.

[0049] The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.

[0050] FIG1 is a functional schematic diagram of an intelligent driving device 100 provided in an embodiment of the present application.

[0051] The intelligent driving device 100 may include multiple subsystems, such as a perception system 120 and a computing platform 130. Alternatively, the intelligent driving device 100 may include more or fewer subsystems, and each subsystem may include one or more components. Furthermore, each subsystem and component of the intelligent driving device 100 may be interconnected via wired or wireless means.

[0052] The perception system 120 may include several sensors for sensing information about the environment surrounding the intelligent driving device 100. For example, the perception system 120 may include a positioning system, which may be a global positioning system (GPS), a Beidou system, or other positioning systems. The perception system 120 may include one or more of an inertial measurement unit (IMU), a laser radar, a millimeter-wave radar, an ultrasonic radar, and a camera. In the present application, the perception system 120 may be used to identify traffic light information.

[0053] Some or all functions of the intelligent driving device 100 can be controlled by the computing platform 130. The computing platform 130 may include processors 131 to 13n (n is a positive integer). A processor is a circuit with signal processing capabilities. In one implementation, the processor can be a circuit with the ability to read and execute instructions, such as a central processing unit (CPU), a microprocessor, a graphics processing unit (GPU) (which can be understood as a microprocessor), or a digital signal processor (DSP). In another implementation, the processor can implement certain functions through the logical relationships of hardware circuits. The logical relationships of the hardware circuits are fixed or reconfigurable. For example, the processor is a hardware circuit implemented by an application-specific integrated circuit (ASIC) or a programmable logic device (PLD), such as an FPGA. In a reconfigurable hardware circuit, the process of the processor loading a configuration file to implement the hardware circuit configuration can be understood as the process of the processor loading instructions to implement the functions of some or all of the above units. In addition, the processor may also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as a neural network processing unit (NPU), a tensor processing unit (TPU), a deep learning processing unit (DPU), etc. In addition, the computing platform 130 may also include a memory for storing instructions, and some or all of the processors 131 to 13n may call the instructions in the memory to implement corresponding functions.

[0054] The computing platform 130 can control the functions of the intelligent driving device 100 based on input received from various subsystems (e.g., the perception system 120). In some embodiments, the computing platform 130 can be used to provide control over many aspects of the intelligent driving device 100 and its subsystems.

[0055] Optionally, the above components are just an example. In actual applications, the components in the above modules may be added or deleted according to actual needs.

[0056] The intelligent driving device 100 in this application may include: road vehicles, water vehicles, air vehicles, industrial equipment, agricultural equipment, or entertainment equipment, etc. For example, the intelligent driving device 100 can be a vehicle, which is a vehicle in a broad sense, and can be a vehicle (such as a commercial vehicle, a passenger car, a motorcycle, a flying car, a train, etc.), an industrial vehicle (such as a forklift, a trailer, a tractor, etc.), an engineering vehicle (such as an excavator, a bulldozer, a crane, etc.), agricultural equipment (such as a mower, a harvester, etc.), amusement equipment, a toy vehicle, etc. The embodiment of this application does not specifically limit the type of vehicle. For another example, the intelligent driving device 100 can be a vehicle such as an airplane or a ship.

[0057] The following takes the intelligent driving device 100 as an example of a vehicle to illustrate the technical problems to be solved by this application and the technical solutions adopted.

[0058] Currently, autonomous driving technology has become a new development direction for future vehicles and is gaining increasing popularity. In the process of implementing autonomous driving technology, it is necessary to detect and identify traffic lights on the road, and then output the detection results to the autonomous driving control module.

[0059] However, due to the wide variety and attributes of traffic lights, vehicles may not be able to accurately identify traffic lights when detecting them, which may cause the vehicle's autonomous driving module to make incorrect decisions, which may threaten the user's life safety.

[0060] For example, if the traffic light on the road is only a countdown light, or the traffic light is flashing due to a malfunction, or the traffic light is blocked, the vehicle may not be able to accurately identify the status of the traffic light, which may cause the vehicle's autonomous driving module to make an erroneous decision.

[0061] The embodiments of the present application provide a detection method, apparatus, and intelligent driving device that can more accurately identify the characteristic information of traffic lights, thereby ensuring the driving safety of autonomous vehicles.

[0062] Figure 2 is a schematic flow chart of a detection method provided in an embodiment of the present application. Method 200 may be executed by either an intelligent driving device or a server. When method 200 is executed by the intelligent driving device 100, it may be executed by the computing platform 130 within the intelligent driving device 100, or by a system-on-chip (SoC) within the computing platform 130, or by a processor within the computing platform 130. Method 200 will be described below using the intelligent driving device as the execution entity. Method 200 may include steps S201 to S203.

[0063] S201: Acquire a first image around the intelligent driving device.

[0064] Optionally, the first image may include image information of traffic lights, road condition information on which the intelligent driving device is traveling, information about buildings around the road, and the like.

[0065] S202: Determine a second image based on the first image.

[0066] The second image may be a partial image of the first image, and the second image may include image information of a traffic light.

[0067] Optionally, the image information of the traffic light may include: a light frame of the traffic light.

[0068] In one embodiment, step S202 may specifically include: inputting the first image into the second prediction model to obtain the second image. In this way, the intelligent driving device can simply and efficiently determine the second image.

[0069] Optionally, the second prediction model may be obtained based on a second training sample, where the second training sample includes: a second sample image and image information of a traffic light in the second sample image. The second sample image may be referred to as training data, and the image information of the traffic light in the second sample image may be referred to as a label of the training data.

[0070] S203: Input the second image into the first prediction model to obtain traffic light status information.

[0071] Optionally, the status information of the traffic light includes at least one of the following: the color of the traffic light, the type of the light frame, the blocking state, and the flashing state.

[0072] Optionally, the first prediction model can be obtained based on a first training sample, which includes: a first sample image and the status information of the traffic light in the first sample image, wherein the first sample image can be called training data, and the status information of the traffic light in the first sample image can be called a label of the training data.

[0073] In one embodiment, the traffic light status information includes information indicating that the traffic light is a countdown type traffic light. After step S203, method 200 further includes: inputting the second image into a third prediction model to obtain the traffic light countdown value. In this way, when the traffic light is a countdown type traffic light, the specific traffic light value can be determined through multi-level model detection, which can provide more accurate traffic light detection results.

[0074] Optionally, the third prediction model may be obtained based on a third training sample, wherein the third training sample includes: a third sample image and a numerical value of the traffic light countdown in the third sample image. The third sample image may be referred to as training data, and the numerical value of the traffic light countdown in the three sample images may be referred to as a label of the training data.

[0075] In one embodiment, the traffic light status information includes information about multiple arrows on the traffic light. After step S203, method 200 further includes inputting the second image into a fourth prediction model to obtain the directions and colors of the multiple arrows. In this way, when the traffic light includes multiple arrow types, the directions and colors of the multiple arrows can be obtained through detection using a multi-level model, thereby making traffic light detection more accurate.

[0076] Optionally, the fourth prediction model may be obtained based on a fourth training sample, the fourth training sample including: a fourth sample image and a plurality of sample arrows indicating directions and colors in the fourth sample image. The fourth sample image may be referred to as training data, and the plurality of sample arrows indicating directions and colors in the fourth sample image may be referred to as labels for the training data.

[0077] In one embodiment, after step S203 , method 200 further includes: controlling the driving of the intelligent driving device according to the status information of the traffic light.

[0078] In one embodiment, after step S203, method 200 further includes: reminding the user of the status of the traffic light. In this way, the user's right to know the current road conditions can be guaranteed when the intelligent driving device is in automatic driving mode or user driving mode.

[0079] Optionally, the intelligent driving device can remind the user of the traffic status through voice or by displaying information on a display screen.

[0080] For example, after determining that the traffic light is red, the intelligent driving device can remind the user through a speaker that the traffic light on the current road is red.

[0081] In an embodiment of the present application, the second image can be first determined based on the first image, and then the second image can be input into the first prediction model to obtain the status information of the traffic light. In this way, since the second image is a partial image of the first image and the second image includes the image information of the traffic light, the input data of the first prediction model can be made more targeted, and the detection result of the traffic light obtained according to the first prediction model is also more accurate, thereby ensuring the driving safety of the intelligent driving device.

[0082] It should be understood that in the various embodiments of the present application, unless otherwise specified or there is a logical conflict, the terms and / or descriptions between the various embodiments are consistent and can be referenced by each other, and the technical features in different embodiments can be combined to form new embodiments according to their internal logical relationships.

[0083] FIG3 is a schematic flow chart of another detection method provided in an embodiment of the present application. Method 300 may be a detailed description of steps S201 to S203 of method 200. Method 300 may include the following steps.

[0084] S301: Input a first image around the vehicle into a first-level network to obtain a first detection result.

[0085] Exemplarily, the first detection result may include the position of a light box (bounding box, Bbox) of the traffic light in the first image.

[0086] The first-level network may be the second prediction model in method 200 .

[0087] S302 : Crop the first image into a small image according to the position of the Bbox in the first image.

[0088] For example, the thumbnail may include a light frame of a traffic light, and the cropped thumbnail may be the second image in method 200 .

[0089] S303: Input the small image into the secondary network to obtain a second detection result.

[0090] The secondary network may be the first prediction model in method 200 .

[0091] Optionally, the second detection result may be used to indicate whether the traffic light meets a threshold attribute, for example, whether the traffic light has a countdown, or whether the traffic light is a composite light, and so on.

[0092] Specifically, the thumbnail image can be fed into the secondary network's backbone to extract the basic attributes of the traffic light, including its color, frame type, and occlusion status. Furthermore, the backbone network can extract the features of the traffic light to determine its flashing state and whether it meets threshold attributes.

[0093] S304: Input the small image into the three-level network to obtain a third detection result.

[0094] The three-level network may be the third prediction model and / or the fourth prediction model in method 200 .

[0095] For example, if the secondary network identifies a traffic light with a countdown, the third detection result may include the specific value of the countdown. If the secondary network identifies a traffic light as a composite light (e.g., a traffic light including multiple arrows), the third detection result may include the directions and colors indicated by the multiple arrows.

[0096] In an embodiment of the present application, a first-level network is used to first find the target area of ​​the traffic light in the first image, and then a second-level network is used to more finely identify the basic attributes of the traffic light and determine whether the traffic light meets the threshold attributes. When the traffic light meets the threshold attributes, the third-level network is triggered to identify the specific situation of the traffic light. In this way, the status of the traffic light can be identified more accurately, thereby ensuring the driving safety of the autonomous driving vehicle.

[0097] FIG4 is an application scenario to which the detection method provided in an embodiment of the present application is applicable, and method 200 and method 300 can be applicable to this application scenario.

[0098] As shown in Figure 4, a vehicle is traveling on a road with multiple traffic lights around it. A camera mounted on the vehicle can capture a first image of the vehicle's surroundings, including the frames of the traffic lights. Because the first image may contain images of other objects (e.g., zebra crossings, other vehicles, etc.) in addition to the traffic lights, directly using the first image to identify the state of the traffic lights often yields inaccurate results. Therefore, the first image can be input into a primary network, where it is cropped to obtain a second image, which can then be used to identify the state of the traffic lights.

[0099] As shown in Figure 5, the first-level network can be a detection model (for example, a you only look once x, yolox detection model), and the first-level network can specifically include: a backbone network, a neck network, and a post-processing network. Among them, the backbone network can be used to extract feature information from the first image for use by other networks; the neck network can better utilize the features extracted by the backbone network to assist the first-level network in making predictions, and the post-processing network can be a non-maximum suppression (NMS) network. Using this network, the second image can be accurately obtained, as well as information such as the position of the traffic light frame in the second image, the category of the light frame, and the foreground and background of the light frame. After obtaining the second image, the second image can be input into the secondary network to obtain the basic attributes of the traffic light and to confirm whether the traffic light meets the threshold attributes.

[0100] Specifically, as shown in FIG6 , the second image can be input into the secondary network. The backbone network in the secondary network can extract features from the second image and input the features into different branch networks, thereby determining the color, occlusion status, shape of the light ball of the traffic light, and whether the traffic light has a countdown and whether it includes multiple arrows. The model training process of the second network can be shown in FIG7 . In FIG7 , the training data can first be filtered to remove small-sized blurred images, and then the training data can be enhanced online by performing operations such as random position perturbation, random color transformation, random horizontal flipping, and random 90° rotation. The enhanced data can then be sampled using power equalization or exponential equalization. The processed training data is then input into the model for training, and finally the model is evaluated.

[0101] For example, when power-balanced sampling is performed using training data, the following formula can be used:

[0102] Among them, α≥2, 0≤i≤C-1.

[0103] When using training data for exponential balanced sampling, the following formula can be used:

[0104] Among them, 0≤i≤C-1.

[0105] In the two formulas above, category C can indicate the color of the traffic light bulb, such as red, green, or yellow. It can also indicate the direction of an arrow, such as a straight arrow or a turn arrow. The purpose of power-balanced sampling and exponential-balanced sampling is to balance the data used for model training. For example, before balanced sampling, the sampling probability of a red light is 80% and the sampling probability of a green light is 20%. After balanced sampling, the sampling probability of both red and green lights is 50%, resulting in more accurate model training data.

[0106] For example, when performing model evaluation, the computing platform can provide users with a visual display, allowing users to understand the model's reasoning process and results in real time; and the computing platform and users can monitor the model's training process, thereby optimizing the model evaluation process in real time; in addition, after the computing platform has trained multiple models, the computing platform can provide users with a performance comparison between multiple models, thereby facilitating users to select the model with the best performance.

[0107] In the two-level network shown in FIG6 , if it is determined that the traffic light has a countdown, or it is determined that the traffic light includes multiple arrows, the second image may be input into the three-level network.

[0108] As shown in Figure 8, after the second image is input into the three-stage network, the backbone network in the three-stage network can extract the features in the second image (including features 1 to 3). After these features pass through the convolutional network and the yolo layer, the image can be output. Then, after the output image is post-processed by NMS, the position of the light frame, the color and shape of the light ball can be obtained. If the traffic light is a countdown type traffic light, the specific value of the countdown can also be obtained. If the traffic light is a traffic light that includes multiple arrows, the directions indicated by the multiple arrows can also be obtained. If the traffic light is a combination of a countdown and multiple arrows, the directions indicated by the multiple arrows and the countdown values ​​can also be obtained.

[0109] Table 1 below illustrates the accuracy of traffic light recognition using a single model and the model using a combination of a primary and secondary network. As can be seen from Table 1, the accuracy of traffic light recognition using the model combining the primary and secondary networks in this application is generally higher than that using a single model. Therefore, the technical solution of this application can more accurately identify the characteristic information of traffic lights, thereby ensuring the driving safety of autonomous vehicles.

[0110] Table 1

[0111] Table 2 below illustrates the accuracy of traffic light recognition using a single model and a model combining a primary network and a secondary network deployed on a vehicle chip platform. In Table 2, numbers without brackets represent data from the primary and secondary network combined model for traffic light recognition, numbers with brackets represent data from the single model for traffic light recognition, right-pointing arrows indicate that the difference between the two types of data is minimal, upward-pointing arrows indicate that the primary and secondary network combined model for traffic light recognition has improved compared to the single model for traffic light recognition, and downward-pointing arrows indicate the opposite.

[0112] As can be seen from Table 2, after being deployed on the vehicle's chip platform, the accuracy of the model combining the primary network and the secondary network in identifying traffic lights is improved in most scenarios compared to a single model. Therefore, the use of the technical solution of the present application can more accurately identify the characteristic information of traffic lights, thereby ensuring the driving safety of autonomous vehicles.

[0113] Table 2

[0114] It should be understood that in the various embodiments of the present application, unless otherwise specified or there is a logical conflict, the terms and / or descriptions between the various embodiments are consistent and can be referenced by each other, and the technical features in different embodiments can be combined to form new embodiments according to their internal logical relationships.

[0115] Figure 9 is a schematic diagram of a detection device 900 provided in an embodiment of the present application. The device 900 may include an acquisition unit 910, a storage unit 920, and a processing unit 930. The acquisition unit 910 is used to acquire instructions and / or data. The acquisition unit 910 may also be referred to as a communication interface or communication unit. The storage unit 920 is used to implement corresponding storage functions and store corresponding instructions and / or data. The processing unit 930 is used to perform data processing. The processing unit 930 can read the instructions and / or data in the storage unit 920 so that the device 900 can implement the aforementioned detection method.

[0116] The device 900 includes: an acquisition unit 910 and a processing unit 930; the acquisition unit 910 is used to acquire a first image around the intelligent driving device; the processing unit 930 is used to: determine a second image based on the first image, where the second image is a partial image of the first image and includes image information of a traffic light; and input the second image into a first prediction model to obtain status information of the traffic light.

[0117] In a possible implementation, the processing unit 930 is specifically configured to input the first image into a second prediction model to obtain a second image.

[0118] In one possible implementation, the status information of the traffic light includes information that the traffic light is a countdown type traffic light; the processing unit 930 is further configured to input the second image into the third prediction model to obtain a countdown value of the traffic light.

[0119] In a possible implementation, the state information of the traffic light includes information of multiple arrows of the traffic light; the processing unit 930 is further configured to input the second image into a fourth prediction model to obtain the indicated directions and colors of the multiple arrows.

[0120] In a possible implementation, the status information of the traffic light includes at least one of the following: the color of the traffic light, the type of the light frame, the blocking state, and the flashing state.

[0121] In a possible implementation, the processing unit 930 is further configured to control the driving of the intelligent driving device according to the status information of the traffic light.

[0122] In a possible implementation, the processing unit 930 is further configured to remind the user of the status of the traffic light according to the status information of the traffic light.

[0123] Optionally, if the device 900 is located in the intelligent driving device 100, the processing unit 930 may be the processor 131 shown in FIG. 1 .

[0124] FIG10 is a schematic diagram of another detection device 1000 provided in an embodiment of the present application.

[0125] The device 1000 includes a memory 1010, a processor 1020, and a communication interface 1030. The memory 1010, processor 1020, and communication interface 1030 are connected via an internal connection path. The memory 1010 is used to store instructions, and the processor 1020 is used to execute the instructions stored in the memory 1010 to control the communication interface 1030 to obtain information, so that the device 1000 implements the aforementioned detection method. Optionally, the memory 1010 can be coupled to the processor 1020 via an interface or integrated with the processor 1020.

[0126] It should be noted that the communication interface 1030 may be a transceiver such as, but not limited to, a transceiver. The communication interface 1030 may also include an input / output interface.

[0127] The processor 1020 stores one or more computer programs, which include instructions. When the instructions are executed by the processor 1020, the detection device 1000 executes the detection method in each of the above embodiments.

[0128] During implementation, each step of the above method can be completed by an integrated logic circuit of the hardware in the processor 1020 or by instructions in the form of software. The method disclosed in conjunction with the embodiments of the present application can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor. The software module can be located in a mature storage medium in the art, 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 storage medium is located in the memory 1010, and the processor 1020 reads the information in the memory 1010 and completes the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.

[0129] Optionally, the communication interface 1030 in FIG. 10 may implement the acquisition unit 910 in FIG. 9 , the memory 1010 in FIG. 10 may implement the storage unit 920 in FIG. 9 , and the processor 1020 in FIG. 10 may implement the processing unit 930 in FIG. 9 .

[0130] Optionally, the device 900 or the device 1000 may be located in the intelligent driving device 100 in FIG. 1 .

[0131] Optionally, the device 900 or the device 1000 may be the computing platform 130 in the intelligent driving device of FIG. 1 .

[0132] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a program code. When the computer program code is executed on a computer, the computer executes any one of the methods in FIG. 2 to FIG. 8 .

[0133] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed, the computer executes any one of the methods in Figures 2 to 8 above.

[0134] An embodiment of the present application further provides a chip, comprising: a circuit, wherein the circuit is used to execute any one of the methods in FIG. 2 to FIG. 8 above.

[0135] An embodiment of the present application also provides an intelligent driving device, including: any one of the detection devices shown in Figure 9 or Figure 10.

[0136] An embodiment of the present application further provides a server, including: any one of the detection devices shown in FIG. 9 or FIG. 10 .

[0137] Those skilled 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 in electronic hardware, or a combination of computer software and electronic hardware. 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 beyond the scope of this application.

[0138] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0139] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0140] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0141] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0142] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0143] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A detection method, characterized in that: The method comprises: Acquire a first image around the intelligent driving device; Determine a second image according to the first image, where the second image is a partial image of the first image, and the second image includes image information of a traffic light; The second image is input into the first prediction model to obtain the state information of the traffic light.

2. The method according to claim 1, characterized in that The step of determining the second image according to the first image comprises: The first image is input into a second prediction model to obtain the second image.

3. The method according to claim 1 or 2, characterized in that The state information of the traffic light includes information that the traffic light is a countdown type traffic light, and the method further includes: The second image is input into a third prediction model to obtain a countdown value of the traffic light.

4. The method according to any one of claims 1 to 3, characterized in that The state information of the traffic light includes information of a plurality of arrows of the traffic light, and the method further includes: The second image is input into a fourth prediction model to obtain the indicated directions and colors of the multiple arrows.

5. The method according to any one of claims 1 to 4, characterized in that: The status information of the traffic light includes at least one of the following: the color, light frame type, shielding status and flashing status of the traffic light.

6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: The driving of the intelligent driving device is controlled according to the status information of the traffic light.

7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: According to the status information of the traffic light, a user is reminded of the status of the traffic light.

8. A detection device, characterized in that: The device comprises: an acquisition unit and a processing unit; The acquisition unit is used to acquire a first image around the intelligent driving device; The processing unit is used for: Determine a second image according to the first image, where the second image is a partial image of the first image, and the second image includes image information of a traffic light; The second image is input into the first prediction model to obtain the state information of the traffic light.

9. The device according to claim 8, characterized in that The processing unit is specifically configured to input the first image into a second prediction model to obtain the second image.

10. The device according to claim 8 or 9, characterized in that The state information of the traffic light includes information that the traffic light is a countdown type traffic light; The processing unit is further used to input the second image into a third prediction model to obtain the countdown value of the traffic light.

11. The device according to any one of claims 8 to 10, characterized in that The state information of the traffic light includes information of multiple arrows of the traffic light; The processing unit is further used to input the second image into a fourth prediction model to obtain the indicated directions and colors of the multiple arrows.

12. The device according to any one of claims 8 to 11, characterized in that The status information of the traffic light includes at least one of the following: the color, light frame type, shielding status and flashing status of the traffic light.

13. The device according to any one of claims 8 to 12, characterized in that The processing unit is also used to control the driving of the intelligent driving device according to the status information of the traffic light.

14. The device according to any one of claims 8 to 13, characterized in that The processing unit reminds the user of the status of the traffic light according to the status information of the traffic light.

15. A detection device, characterized in that: include: A processor and a memory, wherein the processor is coupled to the memory and is configured to read and execute instructions in the memory to perform the method according to any one of claims 1 to 7.

16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program code, and when the computer program code is executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 7.

17. A chip, characterized in that: include: A circuit for executing the method according to any one of claims 1 to 7.

18. An intelligent driving device, characterized in that: The intelligent driving device comprises: a detection device as described in any one of claims 8 to 14.

Citation Information

Patent Citations

  • Signal lamp detection method and device and intelligent driving equipment

    CN110414399A

  • Traffic light detection method, intelligent driving method and device, vehicle and electronic equipment

    CN110660254A

  • Security robot intelligent driving road traffic light identification method and system

    CN114694122A

  • Method and system for controlling a vehicle

    US20030191568A1