Method and apparatus of controlling driverless vehicle and electronic device
AssigneeApollo Intelligent Connectivity (Beijing) Technology Co., Ltd.
InventorXiang Luo
Life of this patent
Estimating the term…
Abstract
A method and an apparatus of controlling a driverless vehicle and an electronic device are provided, and relates to the field of artificial intelligence technologies, such as computer vision and self-driving. The method includes: in a case that a stop instruction is received or a driverless vehicle arrives at a preset position, acquiring a first road surface image captured by a camera of the driverless vehicle that is on a same side of a door of the driverless vehicle; acquiring, based on the first road surface image, a target road surface state of road surface on one or two sides of the driverless vehicle that are provided with a door; in a case that the target road surface state is a first road surface state, controlling the driverless vehicle to stop.
Claims13
A method of controlling a driverless vehicle, comprising:
- in a case that a stop instruction is received or the driverless vehicle arrives at a preset position, acquiring a first road surface image captured by a camera of the driverless vehicle that is on a same side of a door of the driverless vehicle;
- acquiring, based on the first road surface image, a target road surface state of a road surface on one or two sides of the driverless vehicle that are provided with the door;
- in a case that the target road surface state is a first road surface state, controlling the driverless vehicle to stop;
- wherein, after the acquiring, based on the first road surface image, the target road surface state of the road surface on one or two sides of the driverless vehicle that are provided with the door, the method further comprises:
- in a case that the target road surface state is a second road surface state, outputting a first prompt message, wherein the first prompt message is configured to prompt that a current road surface is not suitable for stop;
- in a case that a second input is received from a user, controlling the driverless vehicle to keep moving;
- in a case that a current time reaches a first time, controlling the camera to capture a second road surface image, updating the first road surface image with the second road surface image, and returning to the step of determining, based on the first road surface image, the target road surface state of the road surface on one or two sides of the driverless vehicle that are provided with the door, until the driverless vehicle stops;
- wherein, a time difference between the first time and a time when the second input is received is less than a preset time length;
- wherein the method further comprises:
- when the number of times the second input is received is less than a preset number of times, controlling the driverless vehicle to keep moving;
- when the number of times the second input is received is greater than or equal to the preset number of times, controlling the driverless vehicle to stop.
An apparatus of controlling a driverless vehicle, comprising:
- at least one processor;
- and
- a storage communicatively connected to the at least one processor,
- wherein the storage stores therein an instruction configured to be executed by the at least one processor, and the at least one processor is configured to execute the instruction to:
- in a case that a stop instruction is received or the driverless vehicle arrives at a preset position, acquire a first road surface image captured by a camera of the driverless vehicle that is on a same side of a door of the driverless vehicle;
- acquire, based on the first road surface image, a target road surface state of a road surface on one or two sides of the driverless vehicle that are provided with the door;
- in a case that the target road surface state is a first road surface state, control the driverless vehicle to stop;
- wherein the at least one processor is configured to execute the instruction to:
- after the acquiring, based on the first road surface image, the target road surface state of the road surface on one or two sides of the driverless vehicle that are provided with the door,
- in a case that the target road surface state is a second road surface state, outputting a first prompt message, wherein the first prompt message is configured to prompt that a current road surface is not suitable for stop;
- in a case that a second input is received from a user, controlling the driverless vehicle to keep moving;
- in a case that a current time reaches a first time, controlling the camera to capture a second road surface image, updating the first road surface image with the second road surface image, and returning to the step of determining, based on the first road surface image, the target road surface state of the road surface on one or two sides of the driverless vehicle that are provided with the door, until the driverless vehicle stops;
- wherein, a time difference between the first time and a time when the second input is received is less than a preset time length;
- wherein the at least one processor is configured to execute the instruction to:
- when the number of times the second input is received is less than a preset number of times, controlling the driverless vehicle to keep moving;
- when the number of times the second input is received is greater than or equal to the preset number of times, controlling the driverless vehicle to stop.
Dependencies are inferred from the claim text.