In recent years, the computer vision technology has developed rapidly, and people can use trained neural networks to perform various visual tasks, such as image classification, object tracking, and face recognition. On the other hand, with the improvement of assisted driving and automatic driving techniques, more and more demands related to the assisted driving and automatic driving have been proposed.
The present disclosure relates to a computer vision technology. The embodiments of the present disclosure provide an intelligent driving control method and apparatus, an electronic device, a computer program, and a computer storage medium.
The intelligent driving control method provided by the embodiments of the present disclosure includes: obtaining a pavement image of a pavement on which a vehicle travels; determining a category of a pavement scene in the pavement image according to the obtained pavement image; and performing an intelligent driving control on the vehicle according to the determined category of the pavement scene.
The intelligent driving control apparatus provided by the embodiments of the present disclosure includes: a processor; and a memory, configured to store instructions executable by the processor; where processor is configured to execute the instructions to implement the intelligent driving control method as described above.
The computer storage medium provided by the embodiments of the present disclosure is configured to store computer readable instructions, where the instructions, when being executed, cause to implement the intelligent driving control method as described above.
Based on the intelligent driving control method and apparatus, the electronic device, the computer program, and the computer storage medium provided by the above-described embodiments of the present disclosure, a pavement image of a pavement on which a vehicle travels is obtained, a pavement scene in the obtained pavement image is identified, thereby determining a category of the pavement scene in the pavement image, and the intelligent driving control on the vehicle is implemented based on the determined category of the pavement scene.
Various exemplary embodiments of the present disclosure are now described in detail with reference to the accompanying drawings. It should be noted that a relative arrangement of components, numerical expressions, and values set forth in the embodiments are not intended to limit the scope of the present disclosure, unless otherwise specifically noted.
The following descriptions of at least one exemplary embodiment are merely illustrative actually, and are not intended to limit the present disclosure and applications or uses thereof in any way.
Technologies, methods and devices known to a person of ordinary skill in the related art may not be discussed in detail, but such technologies, methods and devices should be considered as a part of the specification in appropriate situations.
It should be noted that similar reference numerals and letters in the following accompanying drawings represent similar items. Therefore, once an item is defined in an accompanying drawing, the item does not need to be further discussed in the subsequent accompanying drawings.
The embodiments of the present disclosure may be applied to computer systems/servers, which may operate with numerous other general-purpose or special-purpose computing system environments or configurations. Examples of well-known computing systems, environments, and/or configurations suitable for use together with the computer systems/servers include, but not limited to, personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, microprocessor-based systems, set top boxes, programmable consumer electronics, network personal computers, small computer systems, large computer systems, distributed cloud computing environments that include any one of the foregoing systems, and the like.
In the process of implementing the technical solutions of the embodiments of the present disclosure, the applicant finds at least the following problem: when driving, the driver needs to determine his/her own driving speed and braking strength according to different pavement scenes. For example, on a normal pavement, it is easier for the driver to make a braking action in case of an emergency and stop the vehicle more smoothly, even if the driver is traveling at a higher speed. However, when it rains, the driver cannot drive too fast. Accidents such as rollover occur during braking due to the slippery ground, and thus a relatively small friction coefficient, and sometimes a rear-end collision occurs due to an untimely braking.
It is necessary for the driver to drive very slowly, and of course take extra care during braking too, in severe cases such as on a snowy icy pavement. In the above-described situations, there may be several difficult problems even with a better-skilled driver. In order to solve the above-described problems, technical solutions of the embodiments of the present disclosure are proposed. The technical solutions of the embodiments of the present disclosure intend to distinguish different pavement scenes, identify the current pavements accurately. This provides accurate driving strategies for the assisted driving and automatic driving, ensuring safety during the driving of the vehicle.
At block 101, a pavement image of a pavement on which a vehicle travels is obtained.
In the embodiments of the present disclosure, the pavement image may be an image directly acquired from an image capturing device such as a camera or the like, or may be an image acquired from another device. The way the pavement image is obtained is not limited by the present embodiments.
In some optional implementations, the pavement image of the pavement on which the vehicle travels is acquired by the image capture device disposed on the vehicle.
At block 102, a category of a pavement scene in the pavement image is determined according to the obtained pavement image.
In the embodiments of the present disclosure, there are two different situations for the category of pavement scene. In the first situation, there are different roads, that is, different geographical locations where the roads are located, different coverings on the roads, for example, an asphalt pavement, a cement pavement, a desert pavement, a dirt pavement, etc. In the second situation, there are same roads, but the environment in which the roads are located changes, resulting in different coverings on the roads, such as a slippery pavement, an icy pavement, a snowy pavement, etc.
At block 103, the intelligent driving control is performed on the vehicle according to the determined category of the pavement scene.
The embodiments of the present disclosure define a new classification task, that is, a classification task of the pavement scene. Referring to
In the embodiments of the present disclosure, the intelligent driving control may be performed on the vehicle according to the category of the pavement scene after the category of the pavement scene in the pavement image is obtained through the above-described operations 101 and 102. Herein, the intelligent driving control of the vehicle may be applied to an automatic driving scene, and may also be applied to an assist driving scene.
For example, in the automatic driving scene, a speed control parameter and/or braking force control parameter of the vehicle is determined according to the determined category of the pavement scene, and a driving component and/or braking component of the vehicle is controlled according to the determined speed control parameter and/or braking force control parameter of the vehicle, thereby the driving speed of the vehicle is controlled according to the pavement scene to improve driving safety.
For example, in the assist driving scene, prompt information is output according to the determined category of the pavement scene. The prompt information comprises at least one of the following information: the speed control parameter of the vehicle, the braking force control parameter of the vehicle, and warning information.
This allows the driver to make correct driving decisions through the prompt information, improving driving safety. For example, the driving speed of the vehicle is adjusted with reference to the prompted speed control parameter and/or braking force control parameter of the vehicle, or when the vehicle is driving fast on a dangerous pavement (such as a slippery pavement, an icy pavement, or a snowy pavement, etc.), the driver is prompted to refer to the prompted speed control parameter and/or braking force control parameter of the vehicle, or an warning information is directly sent to prompt the driver to reduce the speed. Herein, the prompt information may be at least one of a voice message, a text message, an animation message, or an image message. The implementation manner of the prompt information is not limited in the embodiments of the present disclosure. Optionally, the prompt information is a voice message, so that the driver does not need to pay extra attention to the prompt information.
The speed control parameters and braking force control parameters corresponding to seven different categories of pavement scenes respectively are given in table 1, where the speed control parameters are used to indicate the recommended maximum operating speed of the vehicle, and the braking force control parameters are used to indicate the braking force available to the vehicle.
The technical solutions of the embodiments of the present disclosure identify the pavement scene in the obtained pavement image of the pavement on which the vehicle travels, thereby determining the category of the pavement scene in the pavement image, and achieving the intelligence driving control on the vehicle based on the determined category of the pavement scene.
At block 301, a pavement image of a pavement on which a vehicle travels is obtained.
In the embodiments of the present disclosure, the pavement image may be an image directly acquired from an image capturing device such as a camera or the like, or may be an image acquired from another device. The way the pavement image is obtained is not limited by the present embodiments.
At block 302, a probability that the pavement in the pavement image belongs to at least one category of pavement scene is determined according to the obtained pavement image. The at least one category of pavement scene includes: an asphalt pavement, a cement pavement, a desert pavement, a dirt pavement, a slippery pavement, an icy pavement, and a snowy pavement.
At block 303, a category of a pavement scene in the pavement image is determined based on the probability that the pavement in the pavement image belongs to each category of the pavement scene.
The category of the pavement scene in the pavement image is determined based on the probability that the pavement in the pavement image belongs to each category of the pavement scene after the probability that the pavement in the pavement image belongs to each category of the pavement scene is determined. In some optional implementations of the present disclosure, the category of the pavement scene with the highest probability is taken as the category of the pavement scene to which the pavement in the pavement image belongs.
In some optional implementations of the present disclosure, a neural network is utilized to determine the category of the pavement scene in the pavement image, where any of the neural networks used for the classification task can be used to determine the category of the pavement scene in the pavement image. The network structure of the neural network is not limited by the embodiments of the present disclosure. For example, a residual network structure, or a VGG16 network structure, etc. is used in the neural network.
The technical solutions of the embodiments of the present disclosure are not limited to the determination of the category of the pavement scene in the pavement image using the neural network, and a non-neural network classifier may also be used to determine the category of the pavement scene in the pavement image, where the non-neural network classifier is, for example, a Support Vector Machine (SVM) classifier, a Random Forest classifier, and the like.
In the embodiments of the present disclosure, the neural network is utilized to determine the category of the pavement scene in the pavement image, which may be implemented as follows.
In the first manner, the obtained pavement image is input into the neural network, and the neural network is utilized to determine the category of the pavement scene in the pavement image, where the neural network is trained by using an image set composed of the pavement images marked with the category of the pavement scene.
In particular, the image set is used to perform a supervised training on the neural network before the neural network is used to determine the category of the pavement scene in the pavement image. The pavement image in the image set has been marked with the category of the pavement scene in the pavement image. In some optional implementations, the supervised training is performed on the neural network in the following ways: inputting the pavement image in the image set as a sample image into the neural network, the sample image being marked with the category of the pavement scene; utilizing the neural network to determine a probability that the pavement in the sample image belongs to at least one category of pavement scene: an asphalt pavement, a cement pavement, a desert pavement, a dirt pavement, a slippery pavement, an icy pavement, and a snowy pavement; predicting the category of the pavement scene in the sample image based on the probability that the pavement in the pavement image belongs to each category of the pavement scene; calculating a value of a loss function based on the predicted category of the pavement scene in the sample image and the marked category of the pavement scene of the sample image; identifying whether the value of the loss function satisfies a preset condition; adjusting parameters of the neural network based on the value of the loss function, in response to the value of the loss function not satisfying the preset condition, and then performing iteratively an operation utilizing the predicted category of the pavement scene in the sample image, until the value of the loss function satisfies the preset condition, and the training on the neural network is completed.
After the completion of the training on the neural network, the trained neural network is utilized to determine the probability that the pavement in the pavement image belongs to at least one category of the pavement scene: an asphalt pavement, a cement pavement, a desert pavement, a dirt pavement, a slippery pavement, an icy pavement, and a snowy pavement; the category of the pavement scene in the pavement image is determined, by the trained neural network, based on the probability that the pavement in the pavement image belongs to each category of the pavement scene. For example, the category of the pavement scene with the highest probability is taken as the category of the pavement scene to which the pavement in the pavement image belongs.
Referring to
In the second manner, the obtained pavement image is clipped to obtain a clipped pavement image, before the category of the pavement scene in the pavement image is determined according to the obtained pavement image, where the proportion of the pavement on which the vehicle travels to the clipped pavement image is greater than the proportion of the pavement on which the vehicle travels to the obtained pavement image. Then the category of the pavement scene in the pavement image is determined according to the clipped pavement image. In particular, the clipped pavement image is input into the neural network, and the neural network is utilized to determine the category of the pavement scene in the pavement image, where the neural network is trained by using an image set composed of the pavement images marked with the category of the pavement scene.
In particular, the obtained pavement image is clipped to obtain a clipped pavement image, and the clipped pavement image is input into the neural network, and the neural network is utilized to determine the probability that the pavement in the clipped pavement belongs to at least one category of the pavement scene: an asphalt pavement, a cement pavement, a desert pavement, a dirt pavement, a slippery pavement, an icy pavement, and a snowy pavement. The category of the pavement scene in the pavement image is determined, by the neural network, based on the probability that the pavement in the pavement image belongs to each category of the pavement scene.
Referring to
In the above-described
At block 304, the intelligent driving control is performed on the vehicle according to the determined category of the pavement scene.
In the embodiments of the present disclosure, the intelligent driving control may be performed on the vehicle according to the category of the pavement scene after the category of the pavement scene in the pavement image is obtained through the above-described operations 301 to 302. Herein, the intelligent driving control of the vehicle may be applied to an automatic driving scene, and may also be applied to an assist driving scene. For the manner applied in the automatic driving scene, reference may be made to the automatic driving scene in the embodiment shown in
The technical solutions of the embodiments of the present disclosure identify the pavement scene in the obtained pavement image of the pavement on which the vehicle travels, thereby determining the category of the pavement scene in the pavement image, and achieving the intelligence driving control on the vehicle based on the determined category of the pavement scene.
an obtaining unit 501, configured to obtain a pavement image of a pavement on which a vehicle travels;
a determining unit 502, configured to determine a category of a pavement scene in the pavement image according to the obtained pavement image; and
a control unit 503, configured to perform an intelligent driving control on the vehicle according to the determined category of the pavement scene.
In some optional implementations of the present disclosure, the determining unit 502 is configured to determine, according to the obtained pavement image, a probability that the pavement in the pavement image belongs to at least one category of pavement scene: an asphalt pavement, a cement pavement, a desert pavement, a dirt pavement, a slippery pavement, an icy pavement, and a snowy pavement; determine the category of the pavement scene in the pavement image based on the probability that the pavement in the pavement image belongs to each category of the pavement scene.
In some optional implementations of the present disclosure, the control unit 503 is configured to determine a speed control parameter and/or braking force control parameter of the vehicle according to the determined category of the pavement scene; control a driving component and/or braking component of the vehicle according to the determined speed control parameter and/or braking force control parameter of the vehicle.
In some optional implementations of the present disclosure, the control unit 503 is configured to output prompt information according to the determined category of the pavement scene. The prompt information comprises at least one of the following information:
the speed control parameter of the vehicle, the braking force control parameter of the vehicle, and warning information.
In some optional implementations of the present disclosure, the determining unit 502 is configured to input the obtained pavement image into a neural network, and utilize the neural network to determine the category of the pavement scene in the pavement image, wherein the neural network is trained by using an image set composed of the pavement images marked with the category of the pavement scene.
In some optional implementations of the present disclosure, the apparatus further includes:
a clipping unit 504 configured to, before the category of the pavement scene in the pavement image is determined according to the obtained pavement image, clip the obtained pavement image to obtain a clipped pavement image; wherein the proportion of the pavement on which the vehicle travels to the clipped pavement image is greater than the proportion of the pavement on which the vehicle travels to the obtained pavement image;
the determining unit 502 configured to determine the category of the pavement scene in the pavement image according to the clipped pavement image.
It will be understood by those skilled in the art that the implementation function of each unit in the intelligent driving control apparatus shown in
In the embodiments of the present disclosure, the above-described intelligent driving control apparatus may also be stored in a computer storage medium if it is implemented in the form of a software function module and sold or used as a stand-alone product. Based on such understanding, the technical solutions of the embodiments of the present disclosure essentially, or the part thereof contributing to the prior art, may be embodied in the form of a software product which is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the methods described in various embodiments of the present disclosure. The foregoing storage media include various media capable of storing program codes, such as, a U disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, or a compact disk. In this way, the embodiments of the present disclosure are not limited to any specific combination of hardware and software.
Accordingly, in the embodiments of the present disclosure, there is further provided a computer program product having computer-readable codes stored therein that, when run on the processor, cause the processor in the device to perform the following operations:
obtaining a pavement image of a pavement on which a vehicle travels;
determining a category of a pavement scene in the pavement image according to the obtained pavement image;
performing an intelligent driving control on the vehicle according to the determined category of the pavement scene.
In some optional implementations of the present disclosure, when the computer readable codes are run on the device, the processor in the device performs the operation of determining the category of the pavement scene in the pavement image according to the obtained pavement image, including:
Determining, according to the obtained pavement image, a probability that the pavement in the pavement image belongs to at least one category of the pavement scene: an asphalt pavement, a cement pavement, a desert pavement, a dirt pavement, a slippery pavement, an icy pavement, and a snowy pavement;
determining the category of the pavement scene in the pavement image based on the probability that the pavement in the pavement image belongs to each category of the pavement scene.
In some optional implementations of the present disclosure, when the computer readable codes are run on the device, the processor in the device performs the operation of performing intelligent driving control on the vehicle according to the determined category of the pavement scene, including:
determining a speed control parameter and/or braking force control parameter of the vehicle according to the determined category of the pavement scene;
controlling a driving component and/or braking component of the vehicle according to the determined speed control parameter and/or braking force control parameter of the vehicle.
In some optional implementations of the present disclosure, when the computer readable codes are run on the device, the processor in the device performs the operation of performing intelligent driving control on the vehicle according to the determined category of the pavement scene, including:
outputting prompt information according to the determined category of the pavement scene; the prompt information comprises at least one of the following information:
the speed control parameter of the vehicle, the braking force control parameter of the vehicle, and warning information.
In some optional implementations of the present disclosure, when the computer readable codes are run on the device, the processor in the device performs the operation of determining the category of the pavement scene in the pavement image according to the obtained pavement image, including:
inputting the obtained pavement image into a neural network, and determining the category of the pavement scene in the pavement image by using the neural network, wherein the neural network is trained by using an image set composed of the pavement images marked with the category of the pavement scene.
In some optional implementations of the present disclosure, when the computer readable codes are run on the device, before performing the operation of determining the category of the pavement scene in the pavement image according to the obtained pavement image, the processor in the device further performs the following operations:
clipping the obtained pavement image to obtain a clipped pavement image; wherein the proportion of the pavement on which the vehicle travels to the clipped pavement image is greater than the proportion of the pavement on which the vehicle travels to the obtained pavement image;
when the computer readable codes are run on the device, the processor in the device performs the operation of determining the category of the pavement scene in the pavement image according to the obtained pavement image, including:
determining the category of the pavement scene in the pavement image according to the clipped pavement image.
The memory 6004 may include a high speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage device, flash memory, or other non-volatile solid state memory. In some examples, the memory 6004 may further include memories remotely located relative to the processor 6002, which may be connected to the electronic device 600 over a network. Examples of the above-described networks include, but not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission apparatus 6006 is used for receiving or transmitting data via a network. Specific examples of the above-described networks may include a wireless network provided by a communication provider of the electronic device 600. In one example, the transmission apparatus 6006 includes a Network Interface Controller (NIC) that may be connected to other network devices through a base station to communicate with the Internet. In one example, the transmission apparatus 6006 may be a Radio Frequency (RF) module for communicating with the Internet wirelessly.
The memory 6004 may be used to store executable instructions (which may also be referred to as software programs and modules), and the processor 6002 accomplishes the following operations by executing the executable instructions stored in the memory 6004:
obtaining a pavement image of a pavement on which a vehicle travels;
determining a category of a pavement scene in the pavement image according to the obtained pavement image;
performing an intelligent driving control on the vehicle according to the determined category of the pavement scene.
In some optional implementations of the present disclosure, the processor 6002 is configured to execute the executable instructions to complete the operation of determining a category of the pavement scene in the pavement image according to the obtained pavement image, including:
determining a probability that the pavement in the pavement image belongs to at least one category of the pavement scene according to the obtained pavement image, where the at least one category of pavement scene includes: an asphalt pavement, a cement pavement, a desert pavement, a dirt pavement, a slippery pavement, an icy pavement, and a snowy pavement;
determining the category of the pavement scene in the pavement image based on the probability that the pavement in the pavement image belongs to each category of the pavement scene.
In some optional implementations of the present disclosure, the processor 6002 is configured to execute the executable instructions to complete the operation of performing intelligent driving control on the vehicle according to the determined category of the pavement scene, including:
determining a speed control parameter and/or braking force control parameter of the vehicle according to the determined category of the pavement scene;
controlling a driving component and/or braking component of the vehicle according to the determined speed control parameter and/or braking force control parameter of the vehicle.
In some optional implementations of the present disclosure, the processor 6002 is configured to execute the executable instructions to complete the operation of performing intelligent driving control on the vehicle according to the determined category of the pavement scene, including:
outputting prompt information according to the determined category of the pavement scene; the prompt information comprises at least one of the following information:
the speed control parameter of the vehicle, the braking force control parameter of the vehicle, and warning information.
In some optional implementations of the present disclosure, the processor 6002 is configured to execute the executable instructions to complete the operation of determining the category of the pavement scene in the pavement image according to the obtained pavement image, including:
inputting the obtained pavement image into a neural network, and determining the category of the pavement scene in the pavement image by using the neural network, wherein the neural network is trained by using an image set composed of the pavement images marked with the category of the pavement scene.
In some optional implementations of the present disclosure, the processor 6002 is configured to, before performing the operation of determining the category of the pavement scene in the pavement image according to the obtained pavement image, execute the executable instructions to complete the following operations:
clipping the obtained pavement image to obtain a clipped pavement image; wherein the proportion of the pavement on which the vehicle travels to the clipped pavement image is greater than the proportion of the pavement on which the vehicle travels to the obtained pavement image;
The processor 6002 is configured to execute the executable instructions to complete the operation of determining the category of the pavement scene in the pavement image according to the obtained pavement image, including:
determining the category of the pavement scene in the pavement image according to the clipped pavement image.
The technical solutions described in the embodiments of the present disclosure can be arbitrarily combined in case of no conflict.
In the several embodiments provided by the present disclosure, it should be understood that the disclosed method and intelligent device may be implemented in other manners. The device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined, or may be integrated into another system, or some features may be ignored or not executed. In addition, the displayed or discussed mutual coupling, or direct coupling, or communication connection between the components may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or in another form.
The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed onto multiple network units. Part or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the present embodiment.
In addition, each functional unit in each embodiment of the present disclosure may be integrated into one second processing unit, or each unit used as one unit separately, or two or more units integrated into one unit. The above-described integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
The foregoing is only a specific implementation of the present disclosure, but the scope of protection of the present disclosure is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the scope of the technology disclosed in the present disclosure, which should fall within the scope of protection of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
201910531192.1 | Jun 2019 | CN | national |
This application is a continuation of International Patent Application No. PCT/CN2019/108282, filed on Sep. 26, 2019, which claims priority to Chinese Patent Application No. 201910531192.1, filed on Jun. 19, 2019. The disclosures of International Patent Application No. PCT/CN2019/108282 and Chinese Patent Application No. 201910531192.1 are hereby incorporated by reference in their entireties.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2019/108282 | Sep 2019 | US |
Child | 17101918 | US |