WO2020132965A1 - Method and apparatus for determining installation parameters of on-board imaging device, and driving control method and apparatus - Google Patents

Method and apparatus for determining installation parameters of on-board imaging device, and driving control method and apparatus Download PDF

Info

Publication number
WO2020132965A1
WO2020132965A1 PCT/CN2018/123991 CN2018123991W WO2020132965A1 WO 2020132965 A1 WO2020132965 A1 WO 2020132965A1 CN 2018123991 W CN2018123991 W CN 2018123991W WO 2020132965 A1 WO2020132965 A1 WO 2020132965A1
Authority
WO
WIPO (PCT)
Prior art keywords
road
imaging device
vehicle
lines
vanishing point
Prior art date
Application number
PCT/CN2018/123991
Other languages
French (fr)
Chinese (zh)
Inventor
苏坤岳
叶长春
周游
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to CN201880072126.6A priority Critical patent/CN111316337A/en
Priority to PCT/CN2018/123991 priority patent/WO2020132965A1/en
Publication of WO2020132965A1 publication Critical patent/WO2020132965A1/en

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R11/00Arrangements for holding or mounting articles, not otherwise provided for
    • B60R11/04Mounting of cameras operative during drive; Arrangement of controls thereof relative to the vehicle
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W40/00Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models
    • B60W40/02Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models related to ambient conditions
    • B60W40/06Road conditions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/56Context or environment of the image exterior to a vehicle by using sensors mounted on the vehicle
    • G06V20/588Recognition of the road, e.g. of lane markings; Recognition of the vehicle driving pattern in relation to the road
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/09Arrangements for giving variable traffic instructions
    • G08G1/0962Arrangements for giving variable traffic instructions having an indicator mounted inside the vehicle, e.g. giving voice messages
    • G08G1/0967Systems involving transmission of highway information, e.g. weather, speed limits
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/09Arrangements for giving variable traffic instructions
    • G08G1/0962Arrangements for giving variable traffic instructions having an indicator mounted inside the vehicle, e.g. giving voice messages
    • G08G1/0967Systems involving transmission of highway information, e.g. weather, speed limits
    • G08G1/096708Systems involving transmission of highway information, e.g. weather, speed limits where the received information might be used to generate an automatic action on the vehicle control
    • G08G1/096725Systems involving transmission of highway information, e.g. weather, speed limits where the received information might be used to generate an automatic action on the vehicle control where the received information generates an automatic action on the vehicle control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/90Arrangement of cameras or camera modules, e.g. multiple cameras in TV studios or sports stadiums
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W2420/00Indexing codes relating to the type of sensors based on the principle of their operation
    • B60W2420/40Photo, light or radio wave sensitive means, e.g. infrared sensors
    • B60W2420/403Image sensing, e.g. optical camera

Definitions

  • Embodiments of the present invention relate to the field of intelligent driving technology, and in particular, to a method and device for determining installation parameters and driving control of a vehicle-mounted imaging device.
  • the lane line inspection is mainly used for visual navigation systems.
  • the lane line is detected from the road map taken by the imaging device, and the detected lane line is projected into a bird's-eye view (bird view), which is convenient for detecting the degree of deviation of the vehicle from the lane line .
  • bird view bird view
  • the current common method is to use the ground plane as the projection screen plane, and project the detected lane line into the bird's eye view based on the pitch angle between the ground plane and the imaging device and the body height under.
  • a common practice is to default the imaging device to horizontal, or perform a calibration or calibration at the time of shipment or installation to obtain the pitch angle and perform subsequent calculations accordingly.
  • the pitch angle of the imaging device will change, resulting in the inability to accurately project the detected lane line to the bird's eye view if the initial pitch angle is continued From the perspective, which affects the subsequent calculation.
  • Embodiments of the present invention provide a method and equipment for determining installation parameters and driving control of a vehicle-mounted imaging device, so as to achieve accurate determination of the installation parameters of the imaging device.
  • an embodiment of the present invention provides a method for determining installation parameters of a vehicle-mounted imaging device, including:
  • N road lines in the road map are detected, where N is a positive integer greater than or equal to 2;
  • the installation parameters of the imaging device are determined.
  • an embodiment of the present invention provides a driving control method, including:
  • N road lines in the road map are detected, where N is a positive integer greater than or equal to 2;
  • the vehicle is controlled to drive intelligently.
  • an embodiment of the present invention provides an electronic device, including:
  • An imaging device for collecting road maps is installed on the vehicle;
  • Memory used to store computer programs
  • a processor for executing the computer program specifically for detecting N road lines in the road map based on the road map taken by the imaging device, where N is a positive integer greater than or equal to 2; The vanishing points of the N road lines; based on the vanishing points, the installation parameters of the imaging device are determined.
  • an embodiment of the present invention provides a driving control device, including:
  • An imaging device for collecting road maps is installed on the vehicle;
  • Memory used to store computer programs
  • a processor for executing the computer program specifically for detecting N road lines in the road map based on the road map taken by the imaging device, where N is a positive integer greater than or equal to 2;
  • the vanishing points of the N road lines based on the vanishing points, determining the installation parameters of the imaging device; based on the installation parameters of the imaging device and the detected road lines, determining the top view of the road lines; based on The top view of the road line controls the intelligent driving of the vehicle.
  • an embodiment of the present invention provides a vehicle including: a vehicle body on which the electronic device described in the third aspect is installed, or a driving control device described in the fourth aspect is installed on the vehicle body.
  • an embodiment of the present invention provides a computer-readable storage medium that stores a computer program, where the computer program includes at least one piece of code that can be executed by a computer to control
  • the computer executes the method for determining the installation parameters of the vehicle-mounted imaging device according to the first aspect of the embodiment of the present invention, or executes the driving control method according to the second aspect of the embodiment of the present invention.
  • an embodiment of the present invention provides a computer program which, when executed by a computer, is used to implement the method for determining the installation parameters of the vehicle-mounted imaging device according to the first aspect of the embodiment of the present invention or the second aspect The driving control method described.
  • the method and device for determining the installation parameters and driving control of the vehicle-mounted imaging device detect N road lines in the road map based on the road map taken by the vehicle-mounted imaging device, where N is equal to or greater than 2.
  • N is equal to or greater than 2.
  • a positive integer determine the vanishing points of the N road lines; based on the vanishing points, accurately determine the installation parameters of the imaging device.
  • the detected road line can be accurately projected into a bird's eye view according to the installation parameters of the imaging device accurately determined.
  • intelligent driving based on the accurately projected road line can improve the safety of intelligent driving and reliability.
  • FIG. 1 is a road map according to an embodiment of the present invention
  • FIG. 2 is a road diagram from a bird’s-eye view according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of a method for determining an installation parameter of a vehicle-mounted imaging device according to an embodiment of the present invention
  • FIG. 4 is a flowchart of a method for determining an installation parameter of a vehicle-mounted imaging device provided by an embodiment of the present invention
  • FIG. 5 is a plan view of an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of the change trend of the histogram shown in FIG. 6;
  • FIG. 8 is a schematic diagram of the intersection of multiple road lines involved in an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a first position of an imaging device according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of the optical center and vanishing point when the imaging device is in the first position
  • FIG. 11 is a schematic diagram of a second position of an imaging device according to an embodiment of the present invention.
  • FIG. 12 is a schematic diagram of the optical center and the vanishing point when the imaging device is in the second position
  • FIG. 13 is a schematic diagram of a third position of an imaging device according to an embodiment of the present invention.
  • FIG. 14 is a schematic diagram of the optical center and vanishing point when the imaging device is in the third position
  • FIG. 15 is a schematic diagram of a fourth position of an imaging device according to an embodiment of the invention.
  • 16 is a schematic diagram of the optical center and vanishing point when the imaging device is in the fourth position
  • FIG. 17 is a schematic diagram of an imaging principle of an imaging device according to an embodiment of the present invention.
  • FIG. 18 is a flowchart of a method for determining installation parameters of a vehicle-mounted imaging device according to an embodiment of the present invention
  • 19 is a schematic flowchart of a driving control method provided by an embodiment of the present invention.
  • 20 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention.
  • 21 is a schematic structural diagram of a driving control device provided by an embodiment of the present invention.
  • 22 is a schematic structural diagram of a vehicle provided by an embodiment of the present invention.
  • FIG. 23 is a schematic structural diagram of a vehicle provided by an embodiment of the present invention.
  • the method of the embodiment of the present invention is applicable to the fields of computer vision, intelligent driving, etc., where the installation parameters of the imaging device need to be obtained.
  • the method of the embodiment of the present invention may be applied to the field of intelligent driving, where intelligent driving includes automatic driving and assisted driving.
  • intelligent driving includes automatic driving and assisted driving.
  • the road lines on the road need to be checked, for example, the lane lines on the road are detected, and the vehicle driving is controlled according to the detected lane lines, or based on the detected lane lines Carry out lane lane departure warning to improve the safety and reliability of intelligent driving.
  • the ground is used as the ground plane, and the detected lane line is projected onto the ground plane according to the pitch angle between the imaging device and the ground plane, and the height of the vehicle body. According to the projection of the lane line on the ground plane, the Accurately detect the degree of deviation between the vehicle and the lane line.
  • installation parameters such as the pitch angle between the imaging device and the ground plane may be generated due to vibrations that loosen the mounting components of the fixed imaging device
  • the lane line cannot be accurately projected on the ground level according to the initial pitch angle of the imaging device.
  • the method of the embodiment of the present invention realizes the accurate determination of the installation parameters of the imaging device by dynamically predicting the current installation parameters of the imaging device in real time.
  • FIG. 3 is a flowchart of a method for determining an installation parameter of a vehicle-mounted imaging device provided by an embodiment of the present invention. As shown in FIG. 3, the method of the embodiment of the present invention may include:
  • N is a positive integer greater than or equal to 2.
  • the on-vehicle imaging device of the embodiment of the present invention is an imaging device mounted on a vehicle, and the imaging device photographs a road on which the vehicle is traveling to obtain a road map.
  • the road map refers to the image including the road captured by the imaging device when the vehicle is traveling on the road. It can be understood that the road map may not include the image acquired when the vehicle is driving in a non-road area, for example, an area with no obvious ground features, such as grass, sand, or the like.
  • the road map includes at least two road lines, that is, N is greater than or equal to 2.
  • the road line in the embodiment of the present invention is a longitudinal parallel line in the road map, for example, a lane line, a shoulder line, a fence line, or other parallel lines in the longitudinal direction.
  • the N road lines in the road map may all be lane lines, and may also include lane lines and shoulder lines, or other combinations of longitudinal parallel lines, which are not limited herein.
  • the execution subject of the embodiment of the present invention is an electronic device, and the electronic device may be, but not limited to, a smart phone, a computer, an in-vehicle device, an in-vehicle system, etc.
  • the execution subject of this embodiment is specifically the processor in the above electronic device.
  • the electronic device of this embodiment is electrically or communicatively connected to the imaging device.
  • the imaging device can take a road map of the scene in front of (or around) the vehicle running.
  • the road map may be a single-frame image or a frame image in the captured video stream.
  • the electronic device and the imaging device of the embodiment of the present invention are integrated, that is, the electronic device of the present application is an imaging device.
  • the imaging device can not only take a road map, but also process the road map to detect the road map. N road lines.
  • the electronic device in this embodiment of the present invention may be a driving recorder, a vehicle-mounted device, an auxiliary driving device, an automatic driving device, or the like.
  • an edge detection method may be used to detect road lines in the road map.
  • the support vector machine method may be used to detect the road lines in the road map.
  • other road line detection methods may be adopted to detect the road lines in the road map from the road map.
  • Road lines are parallel in real-world 3D space, but based on the perspective imaging principle of common cameras, they will eventually intersect at a point in the camera's 2D image, and this intersection point is called the vanishing point of the road line (Vanishing point) .
  • the vanishing points of the N road lines can be determined.
  • S103 Determine installation parameters of the imaging device based on the vanishing point.
  • the installation position of the imaging device changes, that is, when it is not in a horizontal position, the vanishing point determined above does not coincide with the optical center of the imaging device,
  • the installation parameters of the imaging device at the current moment can be determined based on the determined vanishing point, and thus the installation parameters of the imaging device can be accurately determined in real time.
  • the installation parameters of the imaging device may include at least one of an actual pitch angle and an actual yaw angle.
  • the method for determining the installation parameters of the on-vehicle imaging device detects N road lines in the road map based on the road map taken by the on-vehicle imaging device, where N is a positive integer greater than or equal to 2;
  • the detected road line can be accurately projected into a bird's eye view according to the installation parameters of the imaging device accurately determined.
  • intelligent driving based on the accurately projected road line can improve the safety of intelligent driving and reliability.
  • FIG. 4 is a flowchart of a method for determining an installation parameter of a vehicle-mounted imaging device provided by an embodiment of the present invention. Based on the foregoing embodiment, the method of the embodiment of the present invention may include:
  • the deep neural network according to the embodiment of the present invention may be FCN (Fully Convolutional Networks, full convolutional network), ResNet (Residual Network, residual network) or convolutional neural network.
  • FCN Full Convolutional Networks, full convolutional network
  • ResNet Residual Network, residual network
  • convolutional neural network convolutional neural network
  • the deep neural network of this embodiment includes 7 convolutional layers, respectively: the parameters of the first convolutional layer are 145*169*16, and the parameters of the second convolutional layer are 73*85*32 , The parameter of the third convolutional layer is 37*43*64, the parameter of the fourth convolutional layer is 19*22*128, the parameter of the fifth convolutional layer is 73*85*32, and the sixth The parameters of the layer are 145*169*16, and the parameters of the seventh convolution layer are 289*337*5.
  • the deep neural network in the embodiment of the present invention may be trained in advance, and when the road map collected by the imaging device is input to the neural network, the deep neural network outputs the candidate area of the road line in the road map.
  • the wrong road line may be detected, or the road line will not intersect at the vanishing point when turning, and these road lines need to be filtered out, and the vertical line is selected from Road line.
  • the candidate area is determined to be a road line.
  • the above S202 may include: projecting the candidate area onto the ground plane using the initial pitch angle of the imaging device to obtain a plane projection map of the candidate area; counting the plane The number of vertical pixels belonging to the road line in the projection image.
  • the candidate area is projected onto the ground plane to obtain a planar projection image of the candidate area. For example, as shown in FIG. 5, the number of vertical pixels belonging to the road line in each candidate area in the planar projection image is counted. If the number of vertical pixels corresponding to the candidate area is greater than the preset value, the candidate area is determined to be a road line.
  • the number of vertical pixels belonging to the road line in each candidate area in the plan projection shown in FIG. 5 is counted to obtain the histogram shown in FIG. 6, so that the trend of the histogram can be changed according to To determine the road line.
  • the change trend of the histogram shown in FIG. 6 is as shown in FIG. 7, that is, the difference between the peak and the adjacent trough is greater than the preset value, it can be determined that the vehicle is driving straight on the road.
  • the above S205 determining the vanishing points of the N road lines may include: taking the intersection of the two road lines as the vanishing points of the two road lines.
  • N is greater than 2
  • N road lines can intersect at a vanishing point.
  • determine the vanishing point of N road lines which may be the intersection of N road lines as the disappearance of N road lines point.
  • N is greater than 2
  • the above S205 determines the vanishing points of the N road lines, including: taking the point with the smallest sum of distances from the N road lines as the N roads The vanishing point of the route.
  • the vanishing point P can be obtained by finding (x 0 , y 0 ) corresponding to an optimal solution through the following formula (1).
  • the point where the sum of the distances from the N road lines is the smallest as the vanishing point of the N road lines may include: filtering out the N road lines that do not satisfy the pre- Set an error road line that requires an error, and obtain M road lines that meet the preset error requirements; use a point that has the smallest sum of distances from the M road lines as the vanishing point of the N road lines.
  • N 4
  • N 4
  • choose two road lines from them and record them as road line 1 and road line 2.
  • the intersection of road line 1 and road line 2 is recorded as vanishing point 1.
  • the distance is 1 and the distance between vanishing point 1 and road line 4 is distance 2. If the sum of distance 1 and distance 2 is greater than the preset error requirement a, it is determined that at least one road line exists between road line 1 and road line 2 problem.
  • Road line 1, road line 3, and road line 4 are divided into the first group, and road line 2, road line 3, and road line 4 are divided into the second group.
  • the distance 3 between the intersection of the road line 1 and the road line 3 from the road line 4 determines that there is a problem with the road line 1, delete the road line 1.
  • the distance 4 between the intersection of the road line 1 and the road line 4 from the road line 3 can also be determined. If the distance 4 is greater than the preset error requirement, it is determined that the road line 1 has a problem and the road line is deleted 1.
  • the distance 6 between the intersection of the road line 2 and the road line 4 from the road line 3 can also be determined. If the distance 6 is greater than the preset error requirement, it is determined that there is a problem with the road line 2 and the road line is deleted 2.
  • the rotation of the imaging device about the x-axis is referred to as roll deflection
  • the rotation of the imaging device about the y-axis is referred to as pitch deflection
  • the rotation of the imaging device about the z-axis is referred to as yaw deflection.
  • the location of the imaging device usually includes the following four situations:
  • Case 1 as shown in Figure 9, when the image plane of the imaging device is perpendicular to the ground and perpendicular to the road line (ideally, a straight road, the body is horizontal, and the imaging device is also installed horizontally), that is, the imaging device is on the x axis , Y-axis and z-axis directions are not deflected. At this time, as shown in Figure 10, the vanishing point will be at the center point O of the image plane. At this time, the installation parameters of the imaging device are the initial installation parameters.
  • the position of the vanishing point in the image plane is related to the pitch angle ⁇ and the yaw angle ⁇ .
  • ⁇ x fm x
  • ⁇ y fm y
  • f the focal length
  • mx and my are the number of pixels per unit distance in the x and y directions.
  • is the distortion parameter between the x and y axes (for example, CCD camera, pixels are not square).
  • ⁇ 0 , v 0 is the position of the optical center.
  • the matrix R is a rotation matrix
  • the matrix T is a displacement matrix
  • R and T are external parameters of the camera, expressing the rotation and displacement transformation from the world coordinate system to the camera coordinate system in three-dimensional space.
  • a low-pass filter is used to filter out the actual pitch angle and actual yaw angle obtained above, and smooth the detection result, for example, using a Butterworth filter and a Chebyshev filter (Chebyshev filter), Gaussian filter (Gaussian filter), etc. for filtering.
  • the method for determining the installation parameters of the vehicle-mounted imaging device determines the candidate area of the road line on the road map based on the deep neural network, and counts the number of vertical pixels belonging to the road line in the candidate area; if If the number of vertical pixels is greater than the preset value, the candidate area is determined to be a road line; the road line is fitted into a straight line, thereby ensuring that the obtained road lines are all straight lines.
  • the installation parameters of the imaging device are accurately determined.
  • FIG. 18 is a flowchart of a method for determining an installation parameter of a vehicle-mounted imaging device provided by an embodiment of the present invention. Based on the foregoing embodiment, the method of the embodiment of the present invention includes:
  • the vehicle of the embodiment of the present invention is a vehicle installed with the imaging device.
  • the driving state of the vehicle needs to be determined first, where the driving state of the vehicle may include straight driving, turning, lane changing, or U-turn.
  • the determined driving state is straight driving
  • the subsequent road line detection process is executed.
  • the above S301 includes step A and step B;
  • Step A Acquire IMU (Inertial Measurement Unit) data of the vehicle at the current sampling time.
  • IMU Inertial Measurement Unit
  • the IMU data of the embodiment of the present invention includes vehicle acceleration and gyroscope data. If the IMU acquisition frequency is 400 Hz, the IMU data obtained at the current sampling time is 400 data.
  • Step B Determine the driving state of the vehicle based on the IMU data.
  • the IMU data is the acceleration of the vehicle.
  • the acceleration usually remains the same or increases.
  • the vehicle turns changes lanes, or makes a U-turn
  • the acceleration of the vehicle will be significantly reduced, so that the driving state of the vehicle can be determined according to the acceleration of the vehicle.
  • determining the driving state of the vehicle based on the IMU data in step B above may include: determining an average value and variance of the IMU data; if the average value is less than a preset average value, and the If the variance is less than the preset variance, it is determined that the vehicle travels straight.
  • the average value x of the IMU data is determined
  • x i is the i-th IMU data
  • n is the total number of IMU data
  • the preset average value and the preset variance are engineering experience values, which can be modified according to the actual situation.
  • the above S301 may include: acquiring the rotation angle of the steering wheel of the vehicle; and determining the running state of the vehicle according to the rotation angle of the steering wheel.
  • the rotation angle of the steering wheel of the vehicle is 0 degrees. If the rotation angle of the steering wheel is greater than 0 degrees, it is determined that the vehicle is turning, changing lanes, or turning around. Based on this, the driving state of the vehicle can be determined according to the rotation angle of the steering wheel.
  • N road lines in the road map are detected.
  • the detection of N road lines in the road map may refer to the steps in S202 to S205, and specifically refer to the above description, which will not be repeated here.
  • the method for determining the installation parameters of the vehicle-mounted imaging device provided by the embodiment of the present invention first determines the driving state of the vehicle before detecting the road line, and detects the road line in the road map when the driving state of the vehicle is straight driving The subsequent process avoids the blindness of the determination of the installation parameters of the imaging device, and improves the validity and accuracy of the determination of the installation parameters of the imaging device.
  • FIG. 19 is a schematic flowchart of a driving control method provided by an embodiment of the present invention. Based on the foregoing embodiment, an embodiment of the present invention further provides a driving control method, including:
  • N is a positive integer greater than or equal to 2.
  • S404 Determine a top view of the road line based on the installation parameters of the imaging device and the detected road line.
  • S405 Control the vehicle to drive intelligently based on the top view of the road line.
  • the execution subject of this embodiment is a driving control device.
  • the driving control device of this embodiment and the electronic device described in the above embodiment may be the same device or separate devices.
  • the driving control device of the embodiment of the present invention is communicatively connected to the imaging device to obtain a road map collected by the imaging device.
  • the driving control device of the embodiment of the present invention includes an imaging device.
  • the driving control device is provided with a camera, and the camera constitutes the imaging device of the embodiment of the present invention.
  • the driving control device determines the installation parameters of the imaging device and detects the road line in the road map according to the method of the foregoing embodiment.
  • the specific process refers to the description of the foregoing embodiment, and details are not described herein again.
  • the driving control device projects the detected road line onto the ground plane according to the installation parameters of the imaging device, and obtains a top view of the road line, and then performs intelligent acceleration of the vehicle based on the top view, for example, outputting prompt information and/or Carry out intelligent driving control.
  • the prompt information may include a warning warning of lane departure, or a reminder of keeping a lane.
  • the intelligent driving in this embodiment includes assisted driving and/or automatic driving.
  • the above-mentioned intelligent driving control may include: braking, changing driving speed, changing driving direction, lane line keeping, changing lamp status, driving mode switching, etc., wherein driving mode switching may be switching between assisted driving and automatic driving, for example To switch from assisted driving to automatic driving.
  • the driving control device detects N road lines in the road map based on the road map captured by the on-board imaging device, where N is a positive integer greater than or equal to 2; determining the N Vanishing points of road lines; based on the vanishing points, determining the installation parameters of the imaging device; based on the installation parameters of the imaging device and the detected road lines, determining a top view of the road lines; based on the The top view of the road line controls the intelligent driving of the vehicle, thereby improving the safety and reliability of intelligent driving.
  • FIG. 20 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. As shown in FIG. 20, the electronic device 30 of this embodiment includes:
  • the imaging device 31 is used for collecting road maps, and the imaging device is installed on the vehicle.
  • the imaging device 31 may be a camera or a CCD (Charge-coupled Device).
  • CCD Charge-coupled Device
  • the memory 32 is used to store computer programs
  • the processor 33 is used to execute the computer program, and is specifically used to:
  • N road lines in the road map are detected, where N is a positive integer greater than or equal to 2; the vanishing points of the N road lines are determined; based on the vanishing points To determine the installation parameters of the imaging device.
  • the electronic device in this embodiment of the present invention may be a driving recorder, a vehicle-mounted device, an auxiliary driving device, an automatic driving device, or the like.
  • the electronic device of the embodiment of the present invention may be used to execute the technical solution of the method embodiment of the method for determining the installation parameters of the vehicle-mounted imaging device shown above.
  • the implementation principles and technical effects are similar, and are not repeated here.
  • the processor 33 is specifically configured to determine a candidate area of a road line on the road map based on a deep neural network; count the number of vertical pixels belonging to the road line in the candidate area; If the number of vertical pixels is greater than a preset value, it is determined that the candidate area is a road line; the road line is fitted into a straight line.
  • the processor 33 is specifically configured to use the initial pitch angle of the imaging device to project the candidate area onto the ground plane to obtain a planar projection image of the candidate area; The number of vertical pixels belonging to the road line in the plan projection image.
  • the processor 33 is used to determine the driving state of the vehicle before detecting N road lines in the road map based on the road map captured by the on-board imaging device.
  • the vehicle is a vehicle installed with the imaging device;
  • the processor 33 is specifically configured to detect N road lines in the road map based on the road map captured by the on-board imaging device if it is determined that the driving state of the vehicle is straight travel.
  • the processor 33 is specifically configured to acquire the IMU data of the inertial measurement unit at the current sampling time of the vehicle; and determine the driving state of the vehicle according to the IMU data.
  • the processor 33 is specifically configured to determine the average value and variance of the IMU data; if the average value is less than the preset average value and the variance is less than the preset variance, determine The vehicle travels straight.
  • the processor 33 is specifically configured to obtain the rotation angle of the steering wheel of the vehicle; and determine the driving state of the vehicle according to the rotation angle of the steering wheel.
  • the road line includes a longitudinal parallel line on the road map.
  • the N is 2, and the processor 33 is specifically configured to use the intersection of two road lines as the vanishing point of the two road lines.
  • the N is greater than 2
  • the processor 33 is specifically configured to use a point with the smallest distance from the N road lines as the vanishing point of the N road lines.
  • the processor 33 is specifically configured to filter out error road lines that do not meet the preset error requirements among the N road lines, and obtain M road lines that meet the preset error requirements ; The point with the smallest distance from the M road lines is taken as the vanishing point of the N road lines.
  • the processor 33 is specifically configured to filter out the error road lines among the N road lines that do not meet the preset error requirements based on the random sampling consistent RANSAC algorithm.
  • the installation parameters of the imaging device include at least one of an actual pitch angle and an actual yaw angle of the imaging device.
  • the processor 33 is specifically configured to determine the installation parameters of the imaging device based on the vanishing point, the optical center of the imaging device, and the imaging parameters of the imaging device.
  • the processor 33 is specifically configured to, if the vanishing point has a vertical displacement relative to the optical center, based on the vanishing point, the optical center, and the imaging parameter, Determine the actual pitch angle of the imaging device.
  • the processor 33 is specifically configured to determine, based on the vanishing point, the optical center, and the imaging parameter, if the vanishing point has a horizontal displacement relative to the optical center The actual yaw angle of the imaging device.
  • the electronic device of the embodiment of the present invention may be used to execute the technical solution of the method embodiment of the method for determining the installation parameters of the vehicle-mounted imaging device shown above.
  • the implementation principles and technical effects are similar, which will not be repeated here.
  • FIG. 21 is a schematic structural diagram of a driving control device according to an embodiment of the present invention. As shown in FIG. 21, the driving control device 40 of this embodiment includes:
  • the imaging device 41 is used for collecting road maps, and the imaging device is installed on the vehicle.
  • the imaging device 41 may be a camera or a CCD (Charge-coupled Device).
  • Memory 42 used to store computer programs
  • the processor 43 is used to execute the computer program, and is specifically used to:
  • N road lines in the road map are detected, where N is a positive integer greater than or equal to 2; the vanishing points of the N road lines are determined; based on the vanishing points Determine the installation parameters of the imaging device; determine the top view of the road line based on the installation parameters of the imaging device and the detected road line; control the intelligent driving of the vehicle based on the top view of the road line.
  • the driving control device may be used to execute the technical solutions of the driving control method embodiments shown above, and the implementation principles and technical effects are similar, and are not repeated here.
  • the processor 43 is specifically configured to determine a candidate area of a road line on the road map based on a deep neural network; count the number of vertical pixels belonging to the road line in the candidate area; If the number of vertical pixels is greater than a preset value, it is determined that the candidate area is a road line; the road line is fitted into a straight line.
  • the processor 43 is specifically configured to use the initial pitch angle of the imaging device to project the candidate area onto the ground plane to obtain a planar projection image of the candidate area; The number of vertical pixels belonging to the road line in the plan projection image.
  • the processor 43 is used to determine the driving state of the vehicle before detecting N road lines in the road map based on the road map captured by the on-board imaging device.
  • the vehicle is a vehicle installed with the imaging device;
  • the processor 43 is specifically configured to detect N road lines in the road map based on the road map captured by the on-board imaging device if it is determined that the driving state of the vehicle is straight travel.
  • the processor 43 is specifically configured to acquire the IMU data of the inertial measurement unit at the current sampling time of the vehicle; and determine the driving state of the vehicle according to the IMU data.
  • the processor 43 is specifically configured to determine the average value and variance of the IMU data; if the average value is less than the preset average value and the variance is less than the preset variance, determine The vehicle travels straight.
  • the processor 43 is specifically configured to obtain the rotation angle of the steering wheel of the vehicle; and determine the driving state of the vehicle according to the rotation angle of the steering wheel.
  • the road line includes a longitudinal parallel line on the road map.
  • the N is 2, and the processor 43 is specifically configured to use an intersection point of two road lines as a vanishing point of the two road lines.
  • the N is greater than 2
  • the processor 43 is specifically configured to use a point with the smallest distance from the N road lines as the vanishing point of the N road lines.
  • the processor 43 is specifically configured to filter out the error road lines that do not meet the preset error requirements among the N road lines, and obtain M road lines that meet the preset error requirements ; The point with the smallest distance from the M road lines is taken as the vanishing point of the N road lines.
  • the processor 43 is specifically configured to filter out the error road lines among the N road lines that do not meet the preset error requirement based on the random sampling consistent RANSAC algorithm.
  • the installation parameters of the imaging device include at least one of an actual pitch angle and an actual yaw angle of the imaging device.
  • the processor 43 is specifically configured to determine the installation parameters of the imaging device based on the vanishing point, the optical center of the imaging device, and the imaging parameters of the imaging device.
  • the processor 43 is specifically configured to, if the vanishing point has a vertical displacement relative to the optical center, based on the vanishing point, the optical center, and the imaging parameter, Determine the actual pitch angle of the imaging device.
  • the processor 43 is specifically configured to determine, based on the vanishing point, the optical center, and the imaging parameter, if the vanishing point has a horizontal displacement relative to the optical center The actual yaw angle of the imaging device.
  • the driving control device may be used to execute the technical solutions of the driving control method embodiments shown above, and the implementation principles and technical effects are similar, and are not repeated here.
  • the vehicle 50 of this embodiment includes: a body 51 and an electronic device 52 mounted on the body 51.
  • the electronic device 52 is the electronic device shown in FIG. 21, and the electronic device 52 is used to determine the installation parameters of the imaging device.
  • the electronic device 52 is installed on the roof of the vehicle body 51, and the imaging device in the electronic device 52 may face the front or rear of the vehicle for collecting road maps.
  • the electronic device 52 is installed on the front windshield of the vehicle body 51, or the electronic device 52 is installed on the rear windshield of the vehicle body 51.
  • the electronic device 52 is installed on the front of the vehicle body 51, or the electronic device 52 is installed on the rear of the vehicle body 51.
  • the embodiment of the present invention does not limit the installation position of the electronic device 52 on the vehicle body 51, and is specifically determined according to actual needs.
  • the imaging device in the electronic device 52 can collect a road map.
  • the vehicle according to the embodiment of the present invention may be used to execute the technical solution of the method embodiment of the method for determining the installation parameters of the on-vehicle imaging device shown above.
  • the implementation principles and technical effects are similar, and will not be repeated here.
  • the vehicle 60 of this embodiment includes a body 61 and a driving control device 62 mounted on the body 61.
  • the driving control device 62 is the driving control device shown in FIG. 22, and the driving control device 52 is used to control driving of the vehicle.
  • the driving control device 62 is installed on the roof of the vehicle body 61, and the imaging device in the driving control device 62 may be directed toward the front or rear of the vehicle for collecting road maps.
  • the driving control device 62 is installed on the front windshield of the vehicle body 51, or the driving control device 62 is installed on the rear windshield of the vehicle body 61.
  • the driving control device 62 is installed on the front of the vehicle body 61, or the driving control device 62 is installed on the rear of the vehicle body 61.
  • the embodiment of the present invention does not limit the installation position of the driving control device 62 on the vehicle body 61, and is specifically determined according to actual needs, in which the imaging device in the driving control device 62 can collect road maps.
  • the vehicle according to the embodiment of the present invention may be used to execute the technical solutions of the above-described driving control method embodiments.
  • the implementation principles and technical effects are similar, and are not repeated here.
  • An embodiment of the present invention also provides a computer storage medium that stores program instructions, and when the program is executed, it may include some or all of the steps of the method for installing parameters of the imaging device in the foregoing embodiments, Alternatively, the program may include some or all of the steps of the driving control method in the foregoing embodiments when executed.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Mechanical Engineering (AREA)
  • Transportation (AREA)
  • Automation & Control Theory (AREA)
  • Mathematical Physics (AREA)
  • Signal Processing (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Atmospheric Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Traffic Control Systems (AREA)
  • Navigation (AREA)
  • Image Analysis (AREA)

Abstract

Embodiments of the present invention provide a method and an apparatus for determining installation parameters of an on-board imaging device, and a driving control method and apparatus. The determining method comprises: detecting N traffic lanes in a road image on the basis of a road image photographed by an on-board imaging device, wherein N is an integer greater than or equal to 2; determining vanishing points of the N traffic lanes; and accurately determining installation parameters of the imaging device on the basis of the vanishing points. During intelligent driving, the detected traffic lanes can be accurately projected into an overlooking view according to the installation parameters of the imaging device determined accurately, so that the intelligent driving can be performed on the basis of the accurately projected traffic lanes, thereby improving the safety and reliability of intelligent driving.

Description

车载成像装置的安装参数的确定与驾驶控制方法及设备Method and equipment for determining installation parameters and driving control of vehicle-mounted imaging device 技术领域Technical field
本发明实施例涉及智能驾驶技术领域,尤其涉及一种车载成像装置的安装参数的确定与驾驶控制方法及设备。Embodiments of the present invention relate to the field of intelligent driving technology, and in particular, to a method and device for determining installation parameters and driving control of a vehicle-mounted imaging device.
背景技术Background technique
随着智能驾驶的发展,在道路行驶中,为了提高智能驾驶的安全性,则需要对道路上的车道线进行检测。车道线检查主要用于视觉导航系统,从成像装置拍摄的道路图中检测出车道线,并将检测到的车道线投影到鸟瞰视角(bird view)下,便于检测出车辆与车道线的偏离程度。With the development of intelligent driving, in order to improve the safety of intelligent driving during road driving, it is necessary to detect the lane lines on the road. The lane line inspection is mainly used for visual navigation systems. The lane line is detected from the road map taken by the imaging device, and the detected lane line is projected into a bird's-eye view (bird view), which is convenient for detecting the degree of deviation of the vehicle from the lane line .
将检测到的车道线投影到鸟瞰视角下,目前常见的方法是将地平面作为投影幕平面,根据地平面与成像装置之间的俯仰角,以及车身高度,将检测到的车道线投影到鸟瞰视角下。Projecting the detected lane line into a bird's eye view, the current common method is to use the ground plane as the projection screen plane, and project the detected lane line into the bird's eye view based on the pitch angle between the ground plane and the imaging device and the body height under.
通常的做法是将成像装置默认为水平,或者在出厂、安装时进行一次校正或标定来获取俯仰角并据此进行后续计算。但是,由于在车辆运行过程中的震动或者固定安装组件松动等,成像装置的俯仰角会因此发生变化,会导致如果继续使用初始的俯仰角的话无法准确地将检测到的车道线准确投影到鸟瞰视角下,从而影响后续的进一步计算。A common practice is to default the imaging device to horizontal, or perform a calibration or calibration at the time of shipment or installation to obtain the pitch angle and perform subsequent calculations accordingly. However, due to vibrations during vehicle operation or loosening of fixed installation components, etc., the pitch angle of the imaging device will change, resulting in the inability to accurately project the detected lane line to the bird's eye view if the initial pitch angle is continued From the perspective, which affects the subsequent calculation.
发明内容Summary of the invention
本发明实施例提供一种车载成像装置的安装参数的确定与驾驶控制方法及设备,以实现对成像装置的安装参数的准确确定。Embodiments of the present invention provide a method and equipment for determining installation parameters and driving control of a vehicle-mounted imaging device, so as to achieve accurate determination of the installation parameters of the imaging device.
第一方面,本发明实施例提供一种车载成像装置的安装参数的确定方法,包括:In a first aspect, an embodiment of the present invention provides a method for determining installation parameters of a vehicle-mounted imaging device, including:
基于车载成像装置拍摄的道路图,检测出所述道路图中的N条道路线,所述N为大于等于2的正整数;Based on the road map captured by the vehicle-mounted imaging device, N road lines in the road map are detected, where N is a positive integer greater than or equal to 2;
确定所述N条道路线的消失点;Determine the vanishing point of the N road lines;
基于所述消失点,确定所述成像装置的安装参数。Based on the vanishing point, the installation parameters of the imaging device are determined.
第二方面,本发明实施例提供一种驾驶控制方法,包括:In a second aspect, an embodiment of the present invention provides a driving control method, including:
基于车载成像装置拍摄的道路图,检测出所述道路图中的N条道路线,所述N为大于等于2的正整数;Based on the road map captured by the vehicle-mounted imaging device, N road lines in the road map are detected, where N is a positive integer greater than or equal to 2;
确定所述N条道路线的消失点;Determine the vanishing point of the N road lines;
基于所述消失点,确定所述成像装置的安装参数;Determine the installation parameters of the imaging device based on the vanishing point;
基于所述成像装置的安装参数和检测到的所述道路线,确定所述道路线的俯视图;Determine a top view of the road line based on the installation parameters of the imaging device and the detected road line;
基于所述道路线的俯视图,控制所述车辆智能驾驶。Based on the top view of the road line, the vehicle is controlled to drive intelligently.
第三方面,本发明实施例提供一种电子设备,包括:In a third aspect, an embodiment of the present invention provides an electronic device, including:
成像装置,用于采集道路图,所述成像装置安装在车辆上;An imaging device for collecting road maps, the imaging device is installed on the vehicle;
存储器,用于存储计算机程序;Memory, used to store computer programs;
处理器,用于执行所述计算机程序,具体用于基于所述成像装置拍摄的道路图,检测出所述道路图中的N条道路线,所述N为大于等于2的正整数;确定所述N条道路线的消失点;基于所述消失点,确定所述成像装置的安装参数。A processor for executing the computer program, specifically for detecting N road lines in the road map based on the road map taken by the imaging device, where N is a positive integer greater than or equal to 2; The vanishing points of the N road lines; based on the vanishing points, the installation parameters of the imaging device are determined.
第四方面,本发明实施例提供一种驾驶控制设备,包括:According to a fourth aspect, an embodiment of the present invention provides a driving control device, including:
成像装置,用于采集道路图,所述成像装置安装在车辆上;An imaging device for collecting road maps, the imaging device is installed on the vehicle;
存储器,用于存储计算机程序;Memory, used to store computer programs;
处理器,用于执行所述计算机程序,具体用于基于所述成像装置拍摄的道路图,检测出所述道路图中的N条道路线,所述N为大于等于2的正整数;确定所述N条道路线的消失点;基于所述消失点,确定所述成像装置的安装参数;基于所述成像装置的安装参数和检测到的所述道路线,确定所述道路线的俯视图;基于所述道路线的俯视图,控制所述车辆智能驾驶。A processor for executing the computer program, specifically for detecting N road lines in the road map based on the road map taken by the imaging device, where N is a positive integer greater than or equal to 2; The vanishing points of the N road lines; based on the vanishing points, determining the installation parameters of the imaging device; based on the installation parameters of the imaging device and the detected road lines, determining the top view of the road lines; based on The top view of the road line controls the intelligent driving of the vehicle.
第五方面,本发明实施例提供一种车辆,包括:车身,所述车身上安装有如第三方面所述的电子设备,或者,所述车身上安装有如第四方面所述的驾驶控制设备。According to a fifth aspect, an embodiment of the present invention provides a vehicle including: a vehicle body on which the electronic device described in the third aspect is installed, or a driving control device described in the fourth aspect is installed on the vehicle body.
第六方面,本发明实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序包含至少一段代码,所述至少一段代码可由计算机执行,以控制所述计算机执行本发明实施例第一方面所述的车载成像装置的安装参数的确定方法,或者,执行本发明实施例第二 方面所述的驾驶控制方法。According to a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium that stores a computer program, where the computer program includes at least one piece of code that can be executed by a computer to control The computer executes the method for determining the installation parameters of the vehicle-mounted imaging device according to the first aspect of the embodiment of the present invention, or executes the driving control method according to the second aspect of the embodiment of the present invention.
第七方面,本发明实施例提供一种计算机程序,当所述计算机程序被计算机执行时,用于实现本发明实施例第一方面所述的车载成像装置的安装参数的确定方法或第二方面所述的驾驶控制方法。According to a seventh aspect, an embodiment of the present invention provides a computer program which, when executed by a computer, is used to implement the method for determining the installation parameters of the vehicle-mounted imaging device according to the first aspect of the embodiment of the present invention or the second aspect The driving control method described.
本发明实施例提供的车载成像装置的安装参数的确定与驾驶控制方法及设备,基于车载成像装置拍摄的道路图,检测出所述道路图中的N条道路线,其中N为大于等于2的正整数;确定所述N条道路线的消失点;基于所述消失点,准确确定所述成像装置的安装参数。在智能驾驶过程中,可以根据准确确定的成像装置的安装参数,将检测到的道路线准确投影到鸟瞰视角下,基于该准确投影的道路线进行智能驾驶时,可以提高智能驾驶的安全性和可靠性。The method and device for determining the installation parameters and driving control of the vehicle-mounted imaging device provided by the embodiment of the present invention detect N road lines in the road map based on the road map taken by the vehicle-mounted imaging device, where N is equal to or greater than 2. A positive integer; determine the vanishing points of the N road lines; based on the vanishing points, accurately determine the installation parameters of the imaging device. In the process of intelligent driving, the detected road line can be accurately projected into a bird's eye view according to the installation parameters of the imaging device accurately determined. When intelligent driving based on the accurately projected road line can improve the safety of intelligent driving and reliability.
附图说明BRIEF DESCRIPTION
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings used in the description of the embodiments or the prior art. Obviously, the drawings in the following description These are some embodiments of the present invention. For those of ordinary skill in the art, without paying any creative labor, other drawings can be obtained based on these drawings.
图1为本发明实施例涉及的道路图;FIG. 1 is a road map according to an embodiment of the present invention;
图2为本发明实施例涉及的鸟瞰视角下的道路图;FIG. 2 is a road diagram from a bird’s-eye view according to an embodiment of the present invention;
图3为本发明实施例提供的车载成像装置的安装参数的确定方法的流程图;3 is a flowchart of a method for determining an installation parameter of a vehicle-mounted imaging device according to an embodiment of the present invention;
图4为本发明实施例提供的车载成像装置的安装参数的确定方法的流程图;4 is a flowchart of a method for determining an installation parameter of a vehicle-mounted imaging device provided by an embodiment of the present invention;
图5为本发明实施例涉及的平面投影图;5 is a plan view of an embodiment of the present invention;
图6为本发明实施例涉及的直方图;6 is a histogram related to an embodiment of the present invention;
图7为图6所示的直方图的变化趋势示意图;7 is a schematic diagram of the change trend of the histogram shown in FIG. 6;
图8为本发明实施例涉及多条道路线相交示意图;8 is a schematic diagram of the intersection of multiple road lines involved in an embodiment of the present invention;
图9为本发明实施例涉及的成像装置的第一位置示意图;9 is a schematic diagram of a first position of an imaging device according to an embodiment of the present invention;
图10为成像装置在第一位置时光心与消失点的示意图;10 is a schematic diagram of the optical center and vanishing point when the imaging device is in the first position;
图11为本发明实施例涉及的成像装置的第二位置示意图;11 is a schematic diagram of a second position of an imaging device according to an embodiment of the present invention;
图12为成像装置在第二位置时光心与消失点的示意图;12 is a schematic diagram of the optical center and the vanishing point when the imaging device is in the second position;
图13为本发明实施例涉及的成像装置的第三位置示意图;13 is a schematic diagram of a third position of an imaging device according to an embodiment of the present invention;
图14为成像装置在第三位置时光心与消失点的示意图;14 is a schematic diagram of the optical center and vanishing point when the imaging device is in the third position;
图15为本发明实施例涉及的成像装置的第四位置示意图;15 is a schematic diagram of a fourth position of an imaging device according to an embodiment of the invention;
图16为成像装置在第四位置时光心与消失点的示意图;16 is a schematic diagram of the optical center and vanishing point when the imaging device is in the fourth position;
图17为本发明实施例涉及的成像装置的成像原理示意图;17 is a schematic diagram of an imaging principle of an imaging device according to an embodiment of the present invention;
图18为本发明实施例提供的车载成像装置的安装参数的确定方法的流程图;18 is a flowchart of a method for determining installation parameters of a vehicle-mounted imaging device according to an embodiment of the present invention;
图19为本发明实施例提供的驾驶控制方法的流程示意图;19 is a schematic flowchart of a driving control method provided by an embodiment of the present invention;
图20为本发明实施例提供的电子设备的结构示意图;20 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention;
图21为本发明实施例提供的驾驶控制设备的结构示意图;21 is a schematic structural diagram of a driving control device provided by an embodiment of the present invention;
图22为本发明实施例提供的车辆的结构示意图;22 is a schematic structural diagram of a vehicle provided by an embodiment of the present invention;
图23为本发明实施例提供的车辆的结构示意图。23 is a schematic structural diagram of a vehicle provided by an embodiment of the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be described clearly and completely in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, but not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without making creative efforts fall within the protection scope of the present invention.
本发明实施例的方法适用于计算机视觉、智能驾驶等需要获得成像装置的安装参数的领域。The method of the embodiment of the present invention is applicable to the fields of computer vision, intelligent driving, etc., where the installation parameters of the imaging device need to be obtained.
示例性的,本发明实施例的方法可以应用于智能驾驶领域,其中智能驾驶包括自动驾驶和辅助驾驶。如图1所示,在智能驾驶中需要对道路上的道路线进行检查,例如,对道路上的车道线进行检测,并根据检测到的车道线进行控制车辆驾驶,或者根据检测到的车道线进行车道线偏离预警,以提高智能驾驶的安全性和可靠性。Exemplarily, the method of the embodiment of the present invention may be applied to the field of intelligent driving, where intelligent driving includes automatic driving and assisted driving. As shown in Figure 1, in smart driving, the road lines on the road need to be checked, for example, the lane lines on the road are detected, and the vehicle driving is controlled according to the detected lane lines, or based on the detected lane lines Carry out lane lane departure warning to improve the safety and reliability of intelligent driving.
在根据检测到的车道线进行智能驾驶时,需要将检测到的车道线投影到鸟瞰视角下,如图2所示。具体是,将地面作为地平面,根据成像装置与地平面之间的俯仰角,以及车身的高度,将检测到的车道线投影到地平面上, 根据车道线在地平面上的投影,快速、准确地检测出车辆与车道线之间的偏离程度。When performing intelligent driving based on the detected lane line, it is necessary to project the detected lane line into a bird's eye view, as shown in FIG. 2. Specifically, the ground is used as the ground plane, and the detected lane line is projected onto the ground plane according to the pitch angle between the imaging device and the ground plane, and the height of the vehicle body. According to the projection of the lane line on the ground plane, the Accurately detect the degree of deviation between the vehicle and the lane line.
但是,由于成像装置在初始安装时的误差,和/或在后期的使用过程中,由于震动使得固定成像装置的安装组件松动等原因,成像装置与地平面之间的俯仰角等安装参数会产生一些变化,此时,根据成像装置的初始俯仰角无法将车道线准确投影到地面平上。However, due to errors in the initial installation of the imaging device, and/or during later use, installation parameters such as the pitch angle between the imaging device and the ground plane may be generated due to vibrations that loosen the mounting components of the fixed imaging device For some changes, at this time, the lane line cannot be accurately projected on the ground level according to the initial pitch angle of the imaging device.
为了解决上述技术问题,本发明实施例的方法,通过动态实时地预估成像装置的当前安装参数,实现对成像装置的安装参数的准确确定的。In order to solve the above technical problems, the method of the embodiment of the present invention realizes the accurate determination of the installation parameters of the imaging device by dynamically predicting the current installation parameters of the imaging device in real time.
下面以具体地实施例对本发明的技术方案进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。The technical solutions of the present invention will be described in detail below with specific examples. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
图3为本发明实施例提供的车载成像装置的安装参数的确定方法的流程图,如图3所示,本发明实施例的方法可以包括:FIG. 3 is a flowchart of a method for determining an installation parameter of a vehicle-mounted imaging device provided by an embodiment of the present invention. As shown in FIG. 3, the method of the embodiment of the present invention may include:
S101、基于车载成像装置拍摄的道路图,检测出所述道路图中的N条道路线。S101. Detect N road lines in the road map based on the road map photographed by the vehicle-mounted imaging device.
其中,所述N为大于等于2的正整数。Wherein, N is a positive integer greater than or equal to 2.
本发明实施例的车载成像装置为安装在车辆上的成像装置,该成像装置对车辆行驶的道路进行拍摄获得道路图。道路图指的是当车辆行驶在道路上时成像装置拍摄所获取的包含道路的图像。可以理解的是,道路图可以不包括当车辆行驶在非道路区域,例如在草地、沙地等无明显地面特征的区域行驶时所获取的图像。The on-vehicle imaging device of the embodiment of the present invention is an imaging device mounted on a vehicle, and the imaging device photographs a road on which the vehicle is traveling to obtain a road map. The road map refers to the image including the road captured by the imaging device when the vehicle is traveling on the road. It can be understood that the road map may not include the image acquired when the vehicle is driving in a non-road area, for example, an area with no obvious ground features, such as grass, sand, or the like.
该道路图中包括至少两条道路线,即N大于等于2。The road map includes at least two road lines, that is, N is greater than or equal to 2.
本发明实施例的道路线为道路图中的纵向平行线,例如为车道线、路肩线、栅栏线或者是其他的在纵向上平行线。例如,道路图中的N条道路线可以均为车道线,也可以包括车道线和路肩线,或者是其他的纵向平行线的组合,此处并不作限制。The road line in the embodiment of the present invention is a longitudinal parallel line in the road map, for example, a lane line, a shoulder line, a fence line, or other parallel lines in the longitudinal direction. For example, the N road lines in the road map may all be lane lines, and may also include lane lines and shoulder lines, or other combinations of longitudinal parallel lines, which are not limited herein.
本发明实施例的执行主体为电子设备,该电子设备可以但不限于是智能手机、计算机、车载设备、车载系统等。本实施例的执行主体具体为上述电子设备中的处理器。The execution subject of the embodiment of the present invention is an electronic device, and the electronic device may be, but not limited to, a smart phone, a computer, an in-vehicle device, an in-vehicle system, etc. The execution subject of this embodiment is specifically the processor in the above electronic device.
可选的,本实施例的电子设备与成像装置电连接或通信连接。该成像装 置可以拍摄车辆运行前方(或四周)的场景的道路图。其中,该道路图可以为单帧图像,也可为拍摄的视频流中的帧图像。Optionally, the electronic device of this embodiment is electrically or communicatively connected to the imaging device. The imaging device can take a road map of the scene in front of (or around) the vehicle running. The road map may be a single-frame image or a frame image in the captured video stream.
可选的,本发明实施例的电子设备与成像装置为一个整体,即本申请的电子设备为成像装置,该成像装置不仅可以拍摄道路图,还可以对道路图进行处理,检测出道路图中的N条道路线。Optionally, the electronic device and the imaging device of the embodiment of the present invention are integrated, that is, the electronic device of the present application is an imaging device. The imaging device can not only take a road map, but also process the road map to detect the road map. N road lines.
可选的,本发明实施例的电子设备可以是行车记录仪,车载装置、辅助驾驶装置或自动驾驶装置等。Optionally, the electronic device in this embodiment of the present invention may be a driving recorder, a vehicle-mounted device, an auxiliary driving device, an automatic driving device, or the like.
可选的,本实施例可以采用边缘检测法,对道路图中的道路线进行检测。Optionally, in this embodiment, an edge detection method may be used to detect road lines in the road map.
可选的,本实施例可以采用支持向量机法,对道路图中的道路线进行检测。Optionally, in this embodiment, the support vector machine method may be used to detect the road lines in the road map.
可选的,本实施例还可以采用其他的道路线检测方法,对道路图对道路图中的道路线进行检测。Optionally, in this embodiment, other road line detection methods may be adopted to detect the road lines in the road map from the road map.
S102、确定所述N条道路线的消失点。S102. Determine the vanishing points of the N road lines.
道路线在真实世界的3D空间中是平行的,但基于常用相机的透视成像原理,它们在相机的二维图像中最终会相交于一点,将该交点称为道路线的消失点(Vanishing point)。Road lines are parallel in real-world 3D space, but based on the perspective imaging principle of common cameras, they will eventually intersect at a point in the camera's 2D image, and this intersection point is called the vanishing point of the road line (Vanishing point) .
这样,基于上述检测出N条道路线,可以确定出N条道路线的消失点。In this way, based on the detection of the N road lines, the vanishing points of the N road lines can be determined.
S103、基于所述消失点,确定所述成像装置的安装参数。S103: Determine installation parameters of the imaging device based on the vanishing point.
在理想状态下,即成像装置的安装位置水平,道路线的消失点与成像装置的光心重合。In an ideal state, that is, the installation position of the imaging device is horizontal, the vanishing point of the road line coincides with the optical center of the imaging device.
当成像装置的安装位置发生变化时,即不处于水平位置时,上述确定的消失点与成像装置的光心不重合,When the installation position of the imaging device changes, that is, when it is not in a horizontal position, the vanishing point determined above does not coincide with the optical center of the imaging device,
基于上述理由,可以基于上述确定的消失点,确定出成像装置当前时刻的安装参数,进而实现对成像装置的安装参数的准确实时确定的。Based on the above reasons, the installation parameters of the imaging device at the current moment can be determined based on the determined vanishing point, and thus the installation parameters of the imaging device can be accurately determined in real time.
可选的,成像装置的安装参数可以包括实际俯仰角和实际偏航角中的至少一个。Optionally, the installation parameters of the imaging device may include at least one of an actual pitch angle and an actual yaw angle.
本发明实施例提供的车载成像装置的安装参数的确定方法,基于车载成像装置拍摄的道路图,检测出所述道路图中的N条道路线,其中N为大于等于2的正整数;确定所述N条道路线的消失点;基于所述消失点,准确确定所述成像装置的安装参数。在智能驾驶过程中,可以根据准确确定的成像装 置的安装参数,将检测到的道路线准确投影到鸟瞰视角下,基于该准确投影的道路线进行智能驾驶时,可以提高智能驾驶的安全性和可靠性。The method for determining the installation parameters of the on-vehicle imaging device provided by the embodiment of the present invention detects N road lines in the road map based on the road map taken by the on-vehicle imaging device, where N is a positive integer greater than or equal to 2; The vanishing points of the N road lines; based on the vanishing points, accurately determine the installation parameters of the imaging device. In the process of intelligent driving, the detected road line can be accurately projected into a bird's eye view according to the installation parameters of the imaging device accurately determined. When intelligent driving based on the accurately projected road line can improve the safety of intelligent driving and reliability.
图4为本发明实施例提供的车载成像装置的安装参数的确定方法的流程图,在上述实施例的基础上,本发明实施例的方法可以包括:FIG. 4 is a flowchart of a method for determining an installation parameter of a vehicle-mounted imaging device provided by an embodiment of the present invention. Based on the foregoing embodiment, the method of the embodiment of the present invention may include:
S201、基于深度神经网络,确定所述道路图上道路线的候选区域。S201. Determine candidate regions of road lines on the road map based on the deep neural network.
本发明实施例的深度神经网络可以是FCN(Fully Convolutional Networks,全卷积网络)、ResNet(Residual Network,残差网络)或卷积神经网络等。The deep neural network according to the embodiment of the present invention may be FCN (Fully Convolutional Networks, full convolutional network), ResNet (Residual Network, residual network) or convolutional neural network.
可选的,本实施例的深度神经网络包括7个卷积层,分别为:第一个卷积层的参数为145*169*16,第二个卷积层的参数为73*85*32,第三个卷积层的参数为37*43*64,第四个卷积层的参数为19*22*128,第五个卷积层的参数为73*85*32,第六个卷积层的参数为145*169*16,第七个卷积层的参数为289*337*5。Optionally, the deep neural network of this embodiment includes 7 convolutional layers, respectively: the parameters of the first convolutional layer are 145*169*16, and the parameters of the second convolutional layer are 73*85*32 , The parameter of the third convolutional layer is 37*43*64, the parameter of the fourth convolutional layer is 19*22*128, the parameter of the fifth convolutional layer is 73*85*32, and the sixth The parameters of the layer are 145*169*16, and the parameters of the seventh convolution layer are 289*337*5.
本发明实施例的深度神经网络可以为事先训练好,将成像装置采集的道路图输入到该神经网络时,该深度神经网络输出道路图中道路线的候选区域。The deep neural network in the embodiment of the present invention may be trained in advance, and when the road map collected by the imaging device is input to the neural network, the deep neural network outputs the candidate area of the road line in the road map.
S202、统计所述候选区域中属于道路线的纵向像素点的个数。S202. Count the number of vertical pixels belonging to the road line in the candidate area.
S203、若所述纵向像素点的个数大于预设值,则确定所述候选区域为道路线。S203. If the number of vertical pixels is greater than a preset value, determine that the candidate area is a road line.
在根据上述步骤进行道路线检测时,可能检测出错误的道路线,或者是在转弯的时候,道路线并不会交于消失点,对于这些道路线需要过滤掉,从中选择出纵向为直线的道路线。During the road line detection according to the above steps, the wrong road line may be detected, or the road line will not intersect at the vanishing point when turning, and these road lines need to be filtered out, and the vertical line is selected from Road line.
具体是,针对上述获得的多个道路线的候选区域中的每个候选区域,对该候选区域中属于道路线的纵向像素点的个数进行统计。若候选区域对应的纵向像素点的个数大于预设值,则确定该候选区域为道路线。Specifically, for each of the candidate regions of the plurality of road lines obtained above, the number of vertical pixel points belonging to the road line in the candidate region is counted. If the number of vertical pixels corresponding to the candidate area is greater than a preset value, the candidate area is determined to be a road line.
在一种示例中,为了便于像素点的统计,上述S202可以包括:利用成像装置的初始俯仰角将所述候选区域投影至地平面上,获得所述候选区域的平面投影图;统计所述平面投影图中属于道路线的纵向像素点的个数。In one example, in order to facilitate the statistics of the pixels, the above S202 may include: projecting the candidate area onto the ground plane using the initial pitch angle of the imaging device to obtain a plane projection map of the candidate area; counting the plane The number of vertical pixels belonging to the road line in the projection image.
具体的,将候选区域投影至地平面上,获得所述候选区域的平面投影图,例如如图5所示,统计平面投影图中每个候选区域中属于道路线的纵向像素点的个数。若候选区域对应的纵向像素点的个数大于预设值,则确定该候选 区域为道路线。Specifically, the candidate area is projected onto the ground plane to obtain a planar projection image of the candidate area. For example, as shown in FIG. 5, the number of vertical pixels belonging to the road line in each candidate area in the planar projection image is counted. If the number of vertical pixels corresponding to the candidate area is greater than the preset value, the candidate area is determined to be a road line.
可选的,对图5所示的平面投影图中每个候选区域中属于道路线的纵向像素点的个数进行统计,获得如图6所示的直方图,这样可以根据直方图的变化趋势,确定道路线。例如,若图6所示的直方图的变化趋势如图7所示,即波峰与相邻的波谷之间的差值大于预设值,则可以确定车辆在道路上直线行驶,此时,可以确定波峰所对应的候选区域为道路线。若波峰与相邻的波谷之间的差值小于预设值,则可以确定车辆在道路进行转弯或掉头,舍弃这些道路线的候选区域。Optionally, the number of vertical pixels belonging to the road line in each candidate area in the plan projection shown in FIG. 5 is counted to obtain the histogram shown in FIG. 6, so that the trend of the histogram can be changed according to To determine the road line. For example, if the change trend of the histogram shown in FIG. 6 is as shown in FIG. 7, that is, the difference between the peak and the adjacent trough is greater than the preset value, it can be determined that the vehicle is driving straight on the road. Determine the candidate area corresponding to the peak as the road line. If the difference between the wave crest and the adjacent wave trough is less than the preset value, it can be determined that the vehicle is turning or turning around on the road, and the candidate regions of these road lines are discarded.
S204、将所述道路线拟合成直线。S204. Fit the road line into a straight line.
根据上述步骤,确定出道路线后,将道路线拟合成直线,例如,使用直线方程:ax+by=c,将道路线对应的像素点拟合成直线,进而使得获得的道路线均为直线,为后续消失点的确定奠定基础。According to the above steps, after determining the road line, fit the road line to a straight line, for example, use the straight line equation: ax+by=c to fit the pixel points corresponding to the road line to a straight line, so that the obtained road lines are all straight lines To lay the foundation for the subsequent determination of the vanishing point.
S205、确定所述N条道路线的消失点。S205. Determine the vanishing points of the N road lines.
在一种示例中,若N为2,则上述S205确定所述N条道路线的消失点,可以包括:将两条道路线的交点作为两条道路线的消失点。In an example, if N is 2, the above S205 determining the vanishing points of the N road lines may include: taking the intersection of the two road lines as the vanishing points of the two road lines.
若N大于2,若道路线检测准确,N条道路线可以相交于一个消失点,此时,确定N条道路线的消失点,可以是将N条道路线的交点作为N条道路线的消失点。If N is greater than 2, if road line detection is accurate, N road lines can intersect at a vanishing point. At this time, determine the vanishing point of N road lines, which may be the intersection of N road lines as the disappearance of N road lines point.
在实际应用中,若N大于2,由于图像采集误差、道路线检测误差等,如图8所示,可能使得N条道路线中两两相交的消失点都不相同。In practical applications, if N is greater than 2, due to image acquisition errors, road line detection errors, etc., as shown in FIG. 8, the vanishing points that intersect each other in N road lines may be different.
在另一种示例中,若N大于2,则上述S205确定所述N条道路线的消失点,包括:将与所述N条道路线的距离之和最小的点,作为所述N条道路线的消失点。In another example, if N is greater than 2, the above S205 determines the vanishing points of the N road lines, including: taking the point with the smallest sum of distances from the N road lines as the N roads The vanishing point of the route.
具体的,假设N条道路线的消失点为P=(x 0,y 0),通过下式(1)寻找一个最优解对应的(x 0,y 0),可以得到消失点P。 Specifically, assuming that the vanishing points of the N road lines are P=(x 0 , y 0 ), the vanishing point P can be obtained by finding (x 0 , y 0 ) corresponding to an optimal solution through the following formula (1).
Figure PCTCN2018123991-appb-000001
Figure PCTCN2018123991-appb-000001
在另一种示例中,上述将与所述N条道路线的距离之和最小的点,作为所述N条道路线的消失点,可以包括:过滤掉所述N条道路线中不满足预设误差要求的误差道路线,获得满足所述预设误差要求的M条道路线;将与所 述M条道路线的距离之和最小的点,作为所述N条道路线的消失点。In another example, the point where the sum of the distances from the N road lines is the smallest as the vanishing point of the N road lines may include: filtering out the N road lines that do not satisfy the pre- Set an error road line that requires an error, and obtain M road lines that meet the preset error requirements; use a point that has the smallest sum of distances from the M road lines as the vanishing point of the N road lines.
可选的,基于随机抽样一致RANSAC算法,过滤掉所述N条道路线中不满足所述预设误差要求的误差道路线。Optionally, based on the random sampling consistent RANSAC algorithm, filter out error road lines among the N road lines that do not meet the preset error requirements.
举例说明,假设N为4,从中任选两条道路线,记为道路线1和道路线2,将道路线1与道路线2的交点记为消失点1,计算消失点1与道路线3的距离为距离1,消失点1与道路线4的距离为距离2,若距离1与距离2之和大于预设误差要求a,则确定道路线1与道路线2中至少有一条道路线存在问题。将道路线1、道路线3和道路线4分为第一组,将道路线2、道路线3和道路线4分为第二组。在第一组中,确定道路线1与道路线3的交点距离道路线4的距离3,若距离3大于预设误差要求值,确定道路线1存在问题,删除掉道路线1。可选的,在第一组中,还可以确定道路线1与道路线4的交点距离道路线3的距离4,若距离4大于预设误差要求,确定道路线1存在问题,删除掉道路线1。同理,对于第二组,确定道路线2与道路线3的交点距离道路线4的距离5,若距离5大于预设误差要求,确定道路线2存在问题,删除掉道路线2。可选的,在第二组中,还可以确定道路线2与道路线4的交点距离道路线3的距离6,若距离6大于预设误差要求,确定道路线2存在问题,删除掉道路线2。For example, assuming that N is 4, choose two road lines from them, and record them as road line 1 and road line 2. The intersection of road line 1 and road line 2 is recorded as vanishing point 1. Calculate vanishing point 1 and road line 3. The distance is 1 and the distance between vanishing point 1 and road line 4 is distance 2. If the sum of distance 1 and distance 2 is greater than the preset error requirement a, it is determined that at least one road line exists between road line 1 and road line 2 problem. Road line 1, road line 3, and road line 4 are divided into the first group, and road line 2, road line 3, and road line 4 are divided into the second group. In the first group, determine the distance 3 between the intersection of the road line 1 and the road line 3 from the road line 4, if the distance 3 is greater than the preset error requirement value, determine that there is a problem with the road line 1, delete the road line 1. Optionally, in the first group, the distance 4 between the intersection of the road line 1 and the road line 4 from the road line 3 can also be determined. If the distance 4 is greater than the preset error requirement, it is determined that the road line 1 has a problem and the road line is deleted 1. Similarly, for the second group, determine the distance 5 between the intersection of the road line 2 and the road line 3 from the road line 4, if the distance 5 is greater than the preset error requirement, determine that there is a problem with the road line 2 and delete the road line 2. Optionally, in the second group, the distance 6 between the intersection of the road line 2 and the road line 4 from the road line 3 can also be determined. If the distance 6 is greater than the preset error requirement, it is determined that there is a problem with the road line 2 and the road line is deleted 2.
参照上述例子,基于随机抽样一致RANSAC算法,过滤掉N条道路线中不满足预设误差要求的误差道路线,获得M条满足预设误差要求的道路线。接着,将M条道路线带入如下式(2),Referring to the above example, based on the random sampling consistent RANSAC algorithm, the error road lines that do not meet the preset error requirements among N road lines are filtered out, and M road lines that meet the preset error requirements are obtained. Next, bring M road lines into the following formula (2),
Figure PCTCN2018123991-appb-000002
Figure PCTCN2018123991-appb-000002
确定与M条道路线的距离之和最小的点,将该点作为N条道路线的消失点。Determine the point with the smallest sum of distances from M road lines, and use this point as the vanishing point of N road lines.
S206、基于所述消失点、所述成像装置的光心和所述成像装置的成像参数,确定所述成像装置的安装参数。S206. Determine the installation parameters of the imaging device based on the vanishing point, the optical center of the imaging device, and the imaging parameters of the imaging device.
将成像装置绕x轴的旋转记为roll偏转,将成像装置绕y轴的旋转记为pitch偏转,将成像装置绕z轴的旋转记为yaw偏转。The rotation of the imaging device about the x-axis is referred to as roll deflection, the rotation of the imaging device about the y-axis is referred to as pitch deflection, and the rotation of the imaging device about the z-axis is referred to as yaw deflection.
在实际应用中,成像装置的位置通常包括如下4种情况:In practical applications, the location of the imaging device usually includes the following four situations:
情况1,如图9所示,当成像装置的像平面垂直于地面平且垂直与道路 线的时候(理想情况下,一条直路,车身水平,成像装置也安装水平),即成像装置在x轴、y轴和z轴方向均没有偏转,此时,如图10所示,消失点会在像平面的中心点O。此时,成像装置的安装参数即为初始安装参数。Case 1, as shown in Figure 9, when the image plane of the imaging device is perpendicular to the ground and perpendicular to the road line (ideally, a straight road, the body is horizontal, and the imaging device is also installed horizontally), that is, the imaging device is on the x axis , Y-axis and z-axis directions are not deflected. At this time, as shown in Figure 10, the vanishing point will be at the center point O of the image plane. At this time, the installation parameters of the imaging device are the initial installation parameters.
情况2,如图11所示,当成像装置的像平面和地面平不垂直的时候,例如成像装置安装的时候向下或向上,即成像装置沿着y轴旋转,有个俯仰角度(下面用χ表示,称为pitch角),如图12所示,消失点会在像平面上沿着直线x=c x移动,即消失点相对于成像装置的光心具有竖直位移,此时,可以基于消失点、光心和成像参数,确定成像装置当前时刻的俯仰角,将该俯仰角记为成像装置的实际俯仰角。 Case 2, as shown in Figure 11, when the image plane of the imaging device is not perpendicular to the ground, for example, when the imaging device is installed, it is downward or upward, that is, the imaging device rotates along the y-axis, and there is a pitch angle (the following is used χ represents, called pitch angle), as shown in FIG. 12, the vanishing point will move along a straight line x=c x on the image plane, that is, the vanishing point has a vertical displacement relative to the optical center of the imaging device. Based on the vanishing point, optical center and imaging parameters, the pitch angle of the imaging device at the current moment is determined, and the pitch angle is recorded as the actual pitch angle of the imaging device.
情况3,如图13所示,当成像装置的像平面和路面不垂直,例如,车辆行驶过程中变道,此时,成像装置绕z轴旋转,有个偏航角度(下面用φ表示,称为yaw角),如图14所示,此时,消失点会在像平面上沿着直线c=c y移动,即消失点相对于成像装置的光心具有水平位移,此时,可以基于消失点、光心和成像参数,确定成像装置当前时刻的偏航角度,将该偏航角度记为成像装置的实际偏航角。 Case 3, as shown in Figure 13, when the image plane of the imaging device is not perpendicular to the road surface, for example, the vehicle changes lanes during driving, at this time, the imaging device rotates around the z-axis and has a yaw angle (denoted by φ below, (Called yaw angle), as shown in FIG. 14, at this time, the vanishing point will move along a straight line c=c y on the image plane, that is, the vanishing point has a horizontal displacement relative to the optical center of the imaging device. At this time, it can be based on The vanishing point, optical center and imaging parameters determine the yaw angle of the imaging device at the current moment, and the yaw angle is recorded as the actual yaw angle of the imaging device.
情况4,如图15所示,当成像装置沿着x轴旋转时,有个横滚角度(下面用ψ表示,称为roll角),即成像装置安装的时候不水平,一高一低,此时,如图16所示,光心不会变化,与消失点重合。Case 4, as shown in Figure 15, when the imaging device rotates along the x-axis, there is a roll angle (hereinafter expressed by ψ, called roll angle), that is, the imaging device is not horizontal when installed, one high and one low, At this time, as shown in Fig. 16, the optical center does not change, and coincides with the vanishing point.
以上可知,消失点在像平面中的位置,与pitch角χ和yaw角φ有关。如图17所示,经过光心O,并平行于道路线的向量OV,也会与道路线交汇于消失点,令V=(1,0,0),消失点在像平面上坐标记为(u,v)。It can be seen from the above that the position of the vanishing point in the image plane is related to the pitch angle χ and the yaw angle φ. As shown in Figure 17, the vector OV that passes through the optical center O and is parallel to the road line will also intersect with the road line at the vanishing point, let V = (1,0,0), the vanishing point is marked on the image plane as (u,v).
射线OV上任一点记为P,O点在空间中坐标为X 0(x 0,y 0,z 0),则P的坐标可以写成P=X 0+λV,λ是变量,确定λ可以得到确定的P,根据相机小孔成像模型投影公式(3): Any point on the ray OV is denoted as P, and the coordinate of point O in space is X 0 (x 0 , y 0 , z 0 ), then the coordinates of P can be written as P=X 0 +λV, λ is a variable, and λ can be determined P, according to the projection formula (3) of the camera aperture imaging model:
Figure PCTCN2018123991-appb-000003
Figure PCTCN2018123991-appb-000003
Figure PCTCN2018123991-appb-000004
Figure PCTCN2018123991-appb-000004
其中,α x=fm xy=fm y,f为焦距,mx和my为x、y方向上,单位距离的 像素数。γ为x、y轴之间的畸变参数(例如,CCD相机,像素不为正方形)。μ 0,v 0为光心位置。矩阵R为旋转矩阵,矩阵T为位移矩阵,R和T为相机的外参,表达的是三维空间中,世界坐标系到相机坐标系的旋转与位移变换。 Where α x =fm xy =fm y ,f is the focal length, mx and my are the number of pixels per unit distance in the x and y directions. γ is the distortion parameter between the x and y axes (for example, CCD camera, pixels are not square). μ 0 , v 0 is the position of the optical center. The matrix R is a rotation matrix, the matrix T is a displacement matrix, and R and T are external parameters of the camera, expressing the rotation and displacement transformation from the world coordinate system to the camera coordinate system in three-dimensional space.
将P点的坐标带入上述公式(3),得到公式(4)Bring the coordinates of point P into the above formula (3) to get formula (4)
Figure PCTCN2018123991-appb-000005
Figure PCTCN2018123991-appb-000005
当P为无穷远点,即λ无穷大时,上式(4)可以忽略X 0,得到公式(4)的近似公式(5) When P is an infinity point, that is, λ infinity, the above formula (4) can ignore X 0 , and the approximate formula (5) of formula (4) is obtained
Figure PCTCN2018123991-appb-000006
Figure PCTCN2018123991-appb-000006
将V=(1,0,0)带入公式(5),得到公式(6)Bring V = (1,0,0) into formula (5) to get formula (6)
Figure PCTCN2018123991-appb-000007
Figure PCTCN2018123991-appb-000007
将旋转矩阵R带入公式(6)Bring the rotation matrix R into formula (6)
Figure PCTCN2018123991-appb-000008
Figure PCTCN2018123991-appb-000008
得到公式(7)Get the formula (7)
Figure PCTCN2018123991-appb-000009
Figure PCTCN2018123991-appb-000009
将上述步骤确定的消失点带入公式(7),求取实际俯仰角即χ和实际偏航角即φ。Bring the vanishing point determined in the above steps into equation (7), and find the actual pitch angle, χ, and the actual yaw angle, φ.
可选的,通过低通滤波器对上述获得的实际俯仰角和实际偏航角进行噪声滤除,平滑检测结果,例如,使用通过巴待沃思滤波器(Butterworth filter),契比雪夫滤波器(Chebyshev filter),高斯滤波器(Gaussian filter)等进行滤波。Optionally, a low-pass filter is used to filter out the actual pitch angle and actual yaw angle obtained above, and smooth the detection result, for example, using a Butterworth filter and a Chebyshev filter (Chebyshev filter), Gaussian filter (Gaussian filter), etc. for filtering.
本发明实施例提供的车载成像装置的安装参数的确定方法,基于深度神经网络,确定所述道路图上道路线的候选区域,并统计候选区域中属于道路线的纵向像素点的个数;若纵向像素点的个数大于预设值,则确定候选区域为道路线;将道路线拟合成直线,进而保证获得的道路线均为直线。同时,针对不同的情况,使用不同的方法确定消失点,实现对消失点的准确确定。进一步的,通过对成像装置的安装情况进行分析,准确确定出成像装置的安装参数。The method for determining the installation parameters of the vehicle-mounted imaging device provided by the embodiment of the present invention determines the candidate area of the road line on the road map based on the deep neural network, and counts the number of vertical pixels belonging to the road line in the candidate area; if If the number of vertical pixels is greater than the preset value, the candidate area is determined to be a road line; the road line is fitted into a straight line, thereby ensuring that the obtained road lines are all straight lines. At the same time, for different situations, use different methods to determine the vanishing point, to achieve accurate determination of the vanishing point. Further, by analyzing the installation situation of the imaging device, the installation parameters of the imaging device are accurately determined.
图18为本发明实施例提供的车载成像装置的安装参数的确定方法的流程图,在上述实施例的基础上,本发明实施例的方法包括:FIG. 18 is a flowchart of a method for determining an installation parameter of a vehicle-mounted imaging device provided by an embodiment of the present invention. Based on the foregoing embodiment, the method of the embodiment of the present invention includes:
S301、确定车辆的行驶状态。S301. Determine the running state of the vehicle.
本发明实施例的车辆为安装所述成像装置的车辆。The vehicle of the embodiment of the present invention is a vehicle installed with the imaging device.
本发明实施例在基于车载成像装置拍摄的道路图,检测道路线之前,首先需要确定车辆的行驶状态,其中,车辆的行驶状态可以包括直线行驶、转弯、变道或掉头等。在确定的行驶状态为直线行驶时,才执行后续道路线的检测过程。In the embodiment of the present invention, before detecting the road line based on the road map captured by the vehicle-mounted imaging device, the driving state of the vehicle needs to be determined first, where the driving state of the vehicle may include straight driving, turning, lane changing, or U-turn. When the determined driving state is straight driving, the subsequent road line detection process is executed.
在一种示例中,上述S301包括步骤A和步骤B;In an example, the above S301 includes step A and step B;
步骤A,获取所述车辆当前采样时刻的IMU(Inertial Measurement Unit,惯性测量单元)数据。Step A: Acquire IMU (Inertial Measurement Unit) data of the vehicle at the current sampling time.
本发明实施例的IMU数据包括车辆的加速度和陀螺仪数据,如果IMU的采集频率为400Hz,获得当前采样时刻的IMU数据为400个数据,The IMU data of the embodiment of the present invention includes vehicle acceleration and gyroscope data. If the IMU acquisition frequency is 400 Hz, the IMU data obtained at the current sampling time is 400 data.
步骤B,根据所述IMU数据,确定所述车辆的行驶状态。Step B: Determine the driving state of the vehicle based on the IMU data.
接着,根据上述采集的IMU数据,确定车辆的行驶状态,例如,IMU数据为车辆的加速度,当车辆沿着直线行驶时,加速度通常保持不变或递增,当车辆转弯、变道或掉头时,车辆的加速度会显著降低,这样,可以根据车辆的加速度,确定出车辆的行驶状态。Next, based on the IMU data collected above, determine the driving status of the vehicle. For example, the IMU data is the acceleration of the vehicle. When the vehicle travels along a straight line, the acceleration usually remains the same or increases. When the vehicle turns, changes lanes, or makes a U-turn, The acceleration of the vehicle will be significantly reduced, so that the driving state of the vehicle can be determined according to the acceleration of the vehicle.
可选的,上述步骤B中根据所述IMU数据,确定所述车辆的行驶状态,可以包括:确定所述IMU数据的平均值和方差;若所述平均值小于预设平均值,且所述方差小于预设方差,则确定所述车辆直线行驶。Optionally, determining the driving state of the vehicle based on the IMU data in step B above may include: determining an average value and variance of the IMU data; if the average value is less than a preset average value, and the If the variance is less than the preset variance, it is determined that the vehicle travels straight.
具体的,根据公式(8),确定IMU数据的平均值x,Specifically, according to formula (8), the average value x of the IMU data is determined,
Figure PCTCN2018123991-appb-000010
Figure PCTCN2018123991-appb-000010
其中,x i为第i个IMU数据,n为IMU数据的总数量。 Among them, x i is the i-th IMU data, and n is the total number of IMU data.
根据公式(9),确定IMU数据的方差σAccording to formula (9), determine the variance σ of IMU data
Figure PCTCN2018123991-appb-000011
Figure PCTCN2018123991-appb-000011
平均值
Figure PCTCN2018123991-appb-000012
小于预设平均值x t,且所述方差σ小于预设方差σ t,则确定所述车辆直线行驶。其中,预设平均值和预设方差为工程经验值,可以根据实际情况进行修改。
average value
Figure PCTCN2018123991-appb-000012
If it is less than the preset average value x t and the variance σ is less than the preset variance σ t , it is determined that the vehicle travels straight. Among them, the preset average value and the preset variance are engineering experience values, which can be modified according to the actual situation.
在另一种示例中,上述S301可以包括:获取所述车辆的方向盘的旋转角度;根据所述方向盘的旋转角度,确定所述车辆的行驶状态。In another example, the above S301 may include: acquiring the rotation angle of the steering wheel of the vehicle; and determining the running state of the vehicle according to the rotation angle of the steering wheel.
具体的,在直线行驶时,车辆的方向盘的旋转角度为0度,若方向盘的旋转角度大于0度,则确定车辆在转弯、变道或掉头。基于此,可以根据方向盘的旋转角度,确定车辆的行驶状态。Specifically, when driving in a straight line, the rotation angle of the steering wheel of the vehicle is 0 degrees. If the rotation angle of the steering wheel is greater than 0 degrees, it is determined that the vehicle is turning, changing lanes, or turning around. Based on this, the driving state of the vehicle can be determined according to the rotation angle of the steering wheel.
S302、若确定所述车辆的行驶状态为直线行驶,则基于车载成像装置拍摄的道路图,检测出所述道路图中的N条道路线。S302. If it is determined that the driving state of the vehicle is straight driving, then based on the road map captured by the on-board imaging device, N road lines in the road map are detected.
上述S302中基于车载成像装置拍摄的道路图,检测出所述道路图中的N条道路线可以参照上述S202至S205的步骤,具体参照上述描述,在此不再赘述。Based on the road map captured by the on-board imaging device in S302, the detection of N road lines in the road map may refer to the steps in S202 to S205, and specifically refer to the above description, which will not be repeated here.
S303、确定所述N条道路线的消失点。S303. Determine the vanishing points of the N road lines.
S304、基于所述消失点、所述成像装置的光心和所述成像装置的成像参数,确定所述成像装置的安装参数。S304. Determine the installation parameters of the imaging device based on the vanishing point, the optical center of the imaging device, and the imaging parameters of the imaging device.
上述S303和S304可以参照上述S205和S206的步骤执行,具体参照上述实施例,在此不再赘述。The above S303 and S304 can be performed by referring to the above steps of S205 and S206, and specifically refer to the above embodiment, which will not be repeated here.
本发明实施例提供的车载成像装置的安装参数的确定方法,在进行道路线的检测之前,首先确定车辆的行驶状态,当车辆的行驶状态为直线行驶时,进行检测道路图中的道路线等后续流程,进而避免了成像装置的安装参数确定的盲目性,提高了成像装置的安装参数确定的有效性和准确性。The method for determining the installation parameters of the vehicle-mounted imaging device provided by the embodiment of the present invention first determines the driving state of the vehicle before detecting the road line, and detects the road line in the road map when the driving state of the vehicle is straight driving The subsequent process avoids the blindness of the determination of the installation parameters of the imaging device, and improves the validity and accuracy of the determination of the installation parameters of the imaging device.
图19为本发明实施例提供的驾驶控制方法的流程示意图,在上述实施例的基础上,本发明实施例还提供一种驾驶控制方法,包括:19 is a schematic flowchart of a driving control method provided by an embodiment of the present invention. Based on the foregoing embodiment, an embodiment of the present invention further provides a driving control method, including:
S401、基于车载成像装置拍摄的道路图,检测出所述道路图中的N条道路线,所述N为大于等于2的正整数。S401. Based on the road map captured by the vehicle-mounted imaging device, detect N road lines in the road map, where N is a positive integer greater than or equal to 2.
S402、确定所述N条道路线的消失点。S402. Determine the vanishing points of the N road lines.
S403、基于所述消失点,确定所述成像装置的安装参数。S403. Determine installation parameters of the imaging device based on the vanishing point.
上述S401至S403的步骤可以参照上述实施例的步骤,在此不再赘述。For the above steps S401 to S403, reference may be made to the steps in the above embodiments, which will not be repeated here.
S404、基于所述成像装置的安装参数和检测到的所述道路线,确定所述道路线的俯视图。S404: Determine a top view of the road line based on the installation parameters of the imaging device and the detected road line.
S405、基于所述道路线的俯视图,控制所述车辆智能驾驶。S405: Control the vehicle to drive intelligently based on the top view of the road line.
本实施例的执行主体是驾驶控制设备,本实施例的驾驶控制设备和上述实施例所述的电子设备可以是同一设备,也可以单独的设备。The execution subject of this embodiment is a driving control device. The driving control device of this embodiment and the electronic device described in the above embodiment may be the same device or separate devices.
可选的,本发明实施例的驾驶控制设备与成像装置通信连接,可以获得成像装置采集的道路图。Optionally, the driving control device of the embodiment of the present invention is communicatively connected to the imaging device to obtain a road map collected by the imaging device.
可选的,本发明实施例的驾驶控制设备包括成像装置,例如该驾驶控制设备上设置有摄像头,该摄像头构成本发明实施例的成像装置。Optionally, the driving control device of the embodiment of the present invention includes an imaging device. For example, the driving control device is provided with a camera, and the camera constitutes the imaging device of the embodiment of the present invention.
具体的,驾驶控制设备根据上述实施例的方法,确定出成像装置的安装参数,以及检测出道路图中的道路线,具体过程参照上述实施例的描述,在此不再赘述。接着,驾驶控制设备根据成像装置的安装参数,将检测到的道路线投影到地平面上,获得道路线的俯视图,进而基于该俯视图进行车辆的智能加速,例如,输出提示信息和/或对车辆进行智能驾驶控制。Specifically, the driving control device determines the installation parameters of the imaging device and detects the road line in the road map according to the method of the foregoing embodiment. The specific process refers to the description of the foregoing embodiment, and details are not described herein again. Next, the driving control device projects the detected road line onto the ground plane according to the installation parameters of the imaging device, and obtains a top view of the road line, and then performs intelligent acceleration of the vehicle based on the top view, for example, outputting prompt information and/or Carry out intelligent driving control.
其中,提示信息可以包括车道线偏离预警提示,或者,进行车道线保持提示等。The prompt information may include a warning warning of lane departure, or a reminder of keeping a lane.
本实施例的智能驾驶包括辅助驾驶和/或自动驾驶。The intelligent driving in this embodiment includes assisted driving and/or automatic driving.
上述智能驾驶控制可以包括:制动、改变行驶速度、改变行驶方向、车道线保持、改变车灯状态、驾驶模式切换等,其中,驾驶模式切换可以是辅助驾驶与自动驾驶之间的切换,例如,将辅助驾驶切换为自动驾驶。The above-mentioned intelligent driving control may include: braking, changing driving speed, changing driving direction, lane line keeping, changing lamp status, driving mode switching, etc., wherein driving mode switching may be switching between assisted driving and automatic driving, for example To switch from assisted driving to automatic driving.
本实施例提供的驾驶控制方法,驾驶控制设备通过基于车载成像装置拍摄的道路图,检测出所述道路图中的N条道路线,所述N为大于等于2的正整数;确定所述N条道路线的消失点;基于所述消失点,确定所述成像装置的安装参数;基于所述成像装置的安装参数和检测到的所述道路线,确定所述道路线的俯视图;基于所述道路线的俯视图,控制所述车辆智能驾驶,进 而提高了智能驾驶的安全性和可靠性。In the driving control method provided in this embodiment, the driving control device detects N road lines in the road map based on the road map captured by the on-board imaging device, where N is a positive integer greater than or equal to 2; determining the N Vanishing points of road lines; based on the vanishing points, determining the installation parameters of the imaging device; based on the installation parameters of the imaging device and the detected road lines, determining a top view of the road lines; based on the The top view of the road line controls the intelligent driving of the vehicle, thereby improving the safety and reliability of intelligent driving.
图20为本发明实施例提供的电子设备的结构示意图,如图20所示,本实施例的电子设备30包括:FIG. 20 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. As shown in FIG. 20, the electronic device 30 of this embodiment includes:
成像装置31,用于采集道路图,所述成像装置安装在车辆上。The imaging device 31 is used for collecting road maps, and the imaging device is installed on the vehicle.
可选的,该成像装置31可以是摄像头或CCD(Charge-coupled Device,电荷耦合元件)。Optionally, the imaging device 31 may be a camera or a CCD (Charge-coupled Device).
存储器32,用于存储计算机程序;The memory 32 is used to store computer programs;
处理器33,用于执行所述计算机程序,具体用于:The processor 33 is used to execute the computer program, and is specifically used to:
基于所述成像装置拍摄的道路图,检测出所述道路图中的N条道路线,所述N为大于等于2的正整数;确定所述N条道路线的消失点;基于所述消失点,确定所述成像装置的安装参数。Based on the road map captured by the imaging device, N road lines in the road map are detected, where N is a positive integer greater than or equal to 2; the vanishing points of the N road lines are determined; based on the vanishing points To determine the installation parameters of the imaging device.
可选的,本发明实施例的电子设备可以是行车记录仪,车载装置、辅助驾驶装置或自动驾驶装置等。Optionally, the electronic device in this embodiment of the present invention may be a driving recorder, a vehicle-mounted device, an auxiliary driving device, an automatic driving device, or the like.
本发明实施例的电子设备,可以用于执行上述所示车载成像装置的安装参数的确定方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The electronic device of the embodiment of the present invention may be used to execute the technical solution of the method embodiment of the method for determining the installation parameters of the vehicle-mounted imaging device shown above. The implementation principles and technical effects are similar, and are not repeated here.
在一种实现方式中,所述处理器33,具体用于基于深度神经网络,确定所述道路图上道路线的候选区域;统计所述候选区域中属于道路线的纵向像素点的个数;若所述纵向像素点的个数大于预设值,则确定所述候选区域为道路线;将所述道路线拟合成直线。In an implementation manner, the processor 33 is specifically configured to determine a candidate area of a road line on the road map based on a deep neural network; count the number of vertical pixels belonging to the road line in the candidate area; If the number of vertical pixels is greater than a preset value, it is determined that the candidate area is a road line; the road line is fitted into a straight line.
在另一种实现方式中,所述处理器33,具体用于利用所述成像装置的初始俯仰角将所述候选区域投影至地平面上,获得所述候选区域的平面投影图;统计所述平面投影图中属于道路线的纵向像素点的个数。In another implementation manner, the processor 33 is specifically configured to use the initial pitch angle of the imaging device to project the candidate area onto the ground plane to obtain a planar projection image of the candidate area; The number of vertical pixels belonging to the road line in the plan projection image.
在另一种实现方式中,所述处理器33用于基于车载成像装置拍摄的道路图,检测出所述道路图中的N条道路线之前,还用于:确定车辆的行驶状态,其中所述车辆为安装所述成像装置的车辆;In another implementation, the processor 33 is used to determine the driving state of the vehicle before detecting N road lines in the road map based on the road map captured by the on-board imaging device. The vehicle is a vehicle installed with the imaging device;
所述处理器33,具体用于若确定所述车辆的行驶状态为直线行驶,则基于车载成像装置拍摄的道路图,检测出所述道路图中的N条道路线。The processor 33 is specifically configured to detect N road lines in the road map based on the road map captured by the on-board imaging device if it is determined that the driving state of the vehicle is straight travel.
在另一种实现方式中,所述处理器33,具体用于获取所述车辆当前采样时刻的惯性测量单元IMU数据;根据所述IMU数据,确定所述车辆的行驶状态。In another implementation manner, the processor 33 is specifically configured to acquire the IMU data of the inertial measurement unit at the current sampling time of the vehicle; and determine the driving state of the vehicle according to the IMU data.
在另一种实现方式中,所述处理器33,具体用于确定所述IMU数据的平均值和方差;若所述平均值小于预设平均值,且所述方差小于预设方差,则确定所述车辆直线行驶。In another implementation manner, the processor 33 is specifically configured to determine the average value and variance of the IMU data; if the average value is less than the preset average value and the variance is less than the preset variance, determine The vehicle travels straight.
在另一种实现方式中,所述处理器33,具体用于获取所述车辆的方向盘的旋转角度;根据所述方向盘的旋转角度,确定所述车辆的行驶状态。In another implementation manner, the processor 33 is specifically configured to obtain the rotation angle of the steering wheel of the vehicle; and determine the driving state of the vehicle according to the rotation angle of the steering wheel.
可选的,所述道路线包括所述道路图上的纵向平行线。Optionally, the road line includes a longitudinal parallel line on the road map.
在另一种实现方式中,所述N为2,所述处理器33,具体用于将两条道路线的交点作为所述两条道路线的消失点。In another implementation manner, the N is 2, and the processor 33 is specifically configured to use the intersection of two road lines as the vanishing point of the two road lines.
在另一种实现方式中,所述N大于2,所述处理器33,具体用于将与所述N条道路线的距离之和最小的点,作为所述N条道路线的消失点。In another implementation manner, the N is greater than 2, and the processor 33 is specifically configured to use a point with the smallest distance from the N road lines as the vanishing point of the N road lines.
在另一种实现方式中,所述处理器33,具体用于过滤掉所述N条道路线中不满足预设误差要求的误差道路线,获得满足所述预设误差要求的M条道路线;将与所述M条道路线的距离之和最小的点,作为所述N条道路线的消失点。In another implementation manner, the processor 33 is specifically configured to filter out error road lines that do not meet the preset error requirements among the N road lines, and obtain M road lines that meet the preset error requirements ; The point with the smallest distance from the M road lines is taken as the vanishing point of the N road lines.
在另一种实现方式中,所述处理器33,具体用于基于随机抽样一致RANSAC算法,过滤掉所述N条道路线中不满足所述预设误差要求的误差道路线。In another implementation manner, the processor 33 is specifically configured to filter out the error road lines among the N road lines that do not meet the preset error requirements based on the random sampling consistent RANSAC algorithm.
可选的,所述成像装置的安装参数包括所述成像装置的实际俯仰角和实际偏航角中的至少一个。Optionally, the installation parameters of the imaging device include at least one of an actual pitch angle and an actual yaw angle of the imaging device.
在另一种实现方式中,所述处理器33,具体用于基于所述消失点、所述成像装置的光心和所述成像装置的成像参数,确定所述成像装置的安装参数。In another implementation manner, the processor 33 is specifically configured to determine the installation parameters of the imaging device based on the vanishing point, the optical center of the imaging device, and the imaging parameters of the imaging device.
在另一种实现方式中,所述处理器33,具体用于若所述消失点相对于所述光心具有竖直位移,则基于所述消失点、所述光心和所述成像参数,确定所述成像装置的实际俯仰角。In another implementation manner, the processor 33 is specifically configured to, if the vanishing point has a vertical displacement relative to the optical center, based on the vanishing point, the optical center, and the imaging parameter, Determine the actual pitch angle of the imaging device.
在另一种实现方式中,所述处理器33,具体用于若所述消失点相对于所述光心具有水平位移,则基于所述消失点、所述光心和所述成像参数,确定所述成像装置的实际偏航角。In another implementation manner, the processor 33 is specifically configured to determine, based on the vanishing point, the optical center, and the imaging parameter, if the vanishing point has a horizontal displacement relative to the optical center The actual yaw angle of the imaging device.
本发明实施例的电子设备,可以用于执行上述所示车载成像装置的安装参数的确定方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The electronic device of the embodiment of the present invention may be used to execute the technical solution of the method embodiment of the method for determining the installation parameters of the vehicle-mounted imaging device shown above. The implementation principles and technical effects are similar, which will not be repeated here.
图21为本发明实施例提供的驾驶控制设备的结构示意图,如图21所示,本实施例的驾驶控制设备40包括:FIG. 21 is a schematic structural diagram of a driving control device according to an embodiment of the present invention. As shown in FIG. 21, the driving control device 40 of this embodiment includes:
成像装置41,用于采集道路图,所述成像装置安装在车辆上。The imaging device 41 is used for collecting road maps, and the imaging device is installed on the vehicle.
该成像装置41可以是摄像头或CCD(Charge-coupled Device,电荷耦合元件)。The imaging device 41 may be a camera or a CCD (Charge-coupled Device).
存储器42,用于存储计算机程序; Memory 42, used to store computer programs;
处理器43,用于执行所述计算机程序,具体用于:The processor 43 is used to execute the computer program, and is specifically used to:
基于所述成像装置拍摄的道路图,检测出所述道路图中的N条道路线,所述N为大于等于2的正整数;确定所述N条道路线的消失点;基于所述消失点,确定所述成像装置的安装参数;基于所述成像装置的安装参数和检测到的所述道路线,确定所述道路线的俯视图;基于所述道路线的俯视图,控制所述车辆智能驾驶。Based on the road map captured by the imaging device, N road lines in the road map are detected, where N is a positive integer greater than or equal to 2; the vanishing points of the N road lines are determined; based on the vanishing points Determine the installation parameters of the imaging device; determine the top view of the road line based on the installation parameters of the imaging device and the detected road line; control the intelligent driving of the vehicle based on the top view of the road line.
本发明实施例的驾驶控制设备,可以用于执行上述所示驾驶控制方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The driving control device according to the embodiment of the present invention may be used to execute the technical solutions of the driving control method embodiments shown above, and the implementation principles and technical effects are similar, and are not repeated here.
在一种实现方式中,所述处理器43,具体用于基于深度神经网络,确定所述道路图上道路线的候选区域;统计所述候选区域中属于道路线的纵向像素点的个数;若所述纵向像素点的个数大于预设值,则确定所述候选区域为道路线;将所述道路线拟合成直线。In an implementation manner, the processor 43 is specifically configured to determine a candidate area of a road line on the road map based on a deep neural network; count the number of vertical pixels belonging to the road line in the candidate area; If the number of vertical pixels is greater than a preset value, it is determined that the candidate area is a road line; the road line is fitted into a straight line.
在另一种实现方式中,所述处理器43,具体用于利用所述成像装置的初始俯仰角将所述候选区域投影至地平面上,获得所述候选区域的平面投影图;统计所述平面投影图中属于道路线的纵向像素点的个数。In another implementation manner, the processor 43 is specifically configured to use the initial pitch angle of the imaging device to project the candidate area onto the ground plane to obtain a planar projection image of the candidate area; The number of vertical pixels belonging to the road line in the plan projection image.
在另一种实现方式中,所述处理器43用于基于车载成像装置拍摄的道路图,检测出所述道路图中的N条道路线之前,还用于:确定车辆的行驶状态,其中所述车辆为安装所述成像装置的车辆;In another implementation manner, the processor 43 is used to determine the driving state of the vehicle before detecting N road lines in the road map based on the road map captured by the on-board imaging device. The vehicle is a vehicle installed with the imaging device;
所述处理器43,具体用于若确定所述车辆的行驶状态为直线行驶,则基 于车载成像装置拍摄的道路图,检测出所述道路图中的N条道路线。The processor 43 is specifically configured to detect N road lines in the road map based on the road map captured by the on-board imaging device if it is determined that the driving state of the vehicle is straight travel.
在另一种实现方式中,所述处理器43,具体用于获取所述车辆当前采样时刻的惯性测量单元IMU数据;根据所述IMU数据,确定所述车辆的行驶状态。In another implementation manner, the processor 43 is specifically configured to acquire the IMU data of the inertial measurement unit at the current sampling time of the vehicle; and determine the driving state of the vehicle according to the IMU data.
在另一种实现方式中,所述处理器43,具体用于确定所述IMU数据的平均值和方差;若所述平均值小于预设平均值,且所述方差小于预设方差,则确定所述车辆直线行驶。In another implementation manner, the processor 43 is specifically configured to determine the average value and variance of the IMU data; if the average value is less than the preset average value and the variance is less than the preset variance, determine The vehicle travels straight.
在另一种实现方式中,所述处理器43,具体用于获取所述车辆的方向盘的旋转角度;根据所述方向盘的旋转角度,确定所述车辆的行驶状态。In another implementation manner, the processor 43 is specifically configured to obtain the rotation angle of the steering wheel of the vehicle; and determine the driving state of the vehicle according to the rotation angle of the steering wheel.
可选的,所述道路线包括所述道路图上的纵向平行线。Optionally, the road line includes a longitudinal parallel line on the road map.
在另一种实现方式中,所述N为2,所述处理器43,具体用于将两条道路线的交点作为所述两条道路线的消失点。In another implementation manner, the N is 2, and the processor 43 is specifically configured to use an intersection point of two road lines as a vanishing point of the two road lines.
在另一种实现方式中,所述N大于2,所述处理器43,具体用于将与所述N条道路线的距离之和最小的点,作为所述N条道路线的消失点。In another implementation manner, the N is greater than 2, and the processor 43 is specifically configured to use a point with the smallest distance from the N road lines as the vanishing point of the N road lines.
在另一种实现方式中,所述处理器43,具体用于过滤掉所述N条道路线中不满足预设误差要求的误差道路线,获得满足所述预设误差要求的M条道路线;将与所述M条道路线的距离之和最小的点,作为所述N条道路线的消失点。In another implementation manner, the processor 43 is specifically configured to filter out the error road lines that do not meet the preset error requirements among the N road lines, and obtain M road lines that meet the preset error requirements ; The point with the smallest distance from the M road lines is taken as the vanishing point of the N road lines.
在另一种实现方式中,所述处理器43,具体用于基于随机抽样一致RANSAC算法,过滤掉所述N条道路线中不满足所述预设误差要求的误差道路线。In another implementation manner, the processor 43 is specifically configured to filter out the error road lines among the N road lines that do not meet the preset error requirement based on the random sampling consistent RANSAC algorithm.
可选的,所述成像装置的安装参数包括所述成像装置的实际俯仰角和实际偏航角中的至少一个。Optionally, the installation parameters of the imaging device include at least one of an actual pitch angle and an actual yaw angle of the imaging device.
在另一种实现方式中,所述处理器43,具体用于基于所述消失点、所述成像装置的光心和所述成像装置的成像参数,确定所述成像装置的安装参数。In another implementation manner, the processor 43 is specifically configured to determine the installation parameters of the imaging device based on the vanishing point, the optical center of the imaging device, and the imaging parameters of the imaging device.
在另一种实现方式中,所述处理器43,具体用于若所述消失点相对于所述光心具有竖直位移,则基于所述消失点、所述光心和所述成像参数,确定所述成像装置的实际俯仰角。In another implementation manner, the processor 43 is specifically configured to, if the vanishing point has a vertical displacement relative to the optical center, based on the vanishing point, the optical center, and the imaging parameter, Determine the actual pitch angle of the imaging device.
在另一种实现方式中,所述处理器43,具体用于若所述消失点相对于所述光心具有水平位移,则基于所述消失点、所述光心和所述成像参数,确定 所述成像装置的实际偏航角。In another implementation manner, the processor 43 is specifically configured to determine, based on the vanishing point, the optical center, and the imaging parameter, if the vanishing point has a horizontal displacement relative to the optical center The actual yaw angle of the imaging device.
本发明实施例的驾驶控制设备,可以用于执行上述所示驾驶控制方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The driving control device according to the embodiment of the present invention may be used to execute the technical solutions of the driving control method embodiments shown above, and the implementation principles and technical effects are similar, and are not repeated here.
图22为本发明实施例提供的车辆的结构示意图,如图22所示,本实施例的车辆50包括:车身51和安装在车身51上的电子设备52。22 is a schematic structural diagram of a vehicle provided by an embodiment of the present invention. As shown in FIG. 22, the vehicle 50 of this embodiment includes: a body 51 and an electronic device 52 mounted on the body 51.
其中,电子设备52为图21所示的电子设备,该电子设备52用于确定成像装置的安装参数。The electronic device 52 is the electronic device shown in FIG. 21, and the electronic device 52 is used to determine the installation parameters of the imaging device.
可选的,电子设备52安装在车身51的车顶,电子设备52中的成像装置可以朝向车辆的前方或后方,用于采集道路图。Optionally, the electronic device 52 is installed on the roof of the vehicle body 51, and the imaging device in the electronic device 52 may face the front or rear of the vehicle for collecting road maps.
可选的,电子设备52安装在车身51的前挡风玻璃上,或者,电子设备52安装在车身51的后挡风玻璃上。Optionally, the electronic device 52 is installed on the front windshield of the vehicle body 51, or the electronic device 52 is installed on the rear windshield of the vehicle body 51.
可选的,电子设备52安装在车身51的车头上,或者,所述电子设备52安装在车身51的车尾上。Optionally, the electronic device 52 is installed on the front of the vehicle body 51, or the electronic device 52 is installed on the rear of the vehicle body 51.
本发明实施例对电子设备52在车身51上的安装位置不限制,具体根据实际需要确定,其中电子设备52中的成像装置可以采集到道路图。The embodiment of the present invention does not limit the installation position of the electronic device 52 on the vehicle body 51, and is specifically determined according to actual needs. The imaging device in the electronic device 52 can collect a road map.
本发明实施例的车辆,可以用于执行上述所示车载成像装置的安装参数的确定方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The vehicle according to the embodiment of the present invention may be used to execute the technical solution of the method embodiment of the method for determining the installation parameters of the on-vehicle imaging device shown above. The implementation principles and technical effects are similar, and will not be repeated here.
图23为本发明实施例提供的车辆的结构示意图,如图23所示,本实施例的车辆60包括:车身61和安装在车身61上的驾驶控制设备62。23 is a schematic structural diagram of a vehicle provided by an embodiment of the present invention. As shown in FIG. 23, the vehicle 60 of this embodiment includes a body 61 and a driving control device 62 mounted on the body 61.
其中,驾驶控制设备62为图22所示的驾驶控制设备,该驾驶控制设备52用于控制车辆驾驶。Among them, the driving control device 62 is the driving control device shown in FIG. 22, and the driving control device 52 is used to control driving of the vehicle.
可选的,驾驶控制设备62安装在车身61的车顶,驾驶控制设备62中的成像装置可以朝向车辆的前方或后方,用于采集道路图。Optionally, the driving control device 62 is installed on the roof of the vehicle body 61, and the imaging device in the driving control device 62 may be directed toward the front or rear of the vehicle for collecting road maps.
可选的,驾驶控制设备62安装在车身51的前挡风玻璃上,或者,驾驶控制设备62安装在车身61的后挡风玻璃上。Alternatively, the driving control device 62 is installed on the front windshield of the vehicle body 51, or the driving control device 62 is installed on the rear windshield of the vehicle body 61.
可选的,驾驶控制设备62安装在车身61的车头上,或者,所述驾驶控制设备62安装在车身61的车尾上。Optionally, the driving control device 62 is installed on the front of the vehicle body 61, or the driving control device 62 is installed on the rear of the vehicle body 61.
本发明实施例对驾驶控制设备62在车身61上的安装位置不限制,具体 根据实际需要确定,其中驾驶控制设备62中的成像装置可以采集到道路图。The embodiment of the present invention does not limit the installation position of the driving control device 62 on the vehicle body 61, and is specifically determined according to actual needs, in which the imaging device in the driving control device 62 can collect road maps.
本发明实施例的车辆,可以用于执行上述所示驾驶控制方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The vehicle according to the embodiment of the present invention may be used to execute the technical solutions of the above-described driving control method embodiments. The implementation principles and technical effects are similar, and are not repeated here.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:只读内存(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art may understand that all or part of the steps to implement the above method embodiments may be completed by program instructions related hardware. The foregoing program may be stored in a computer-readable storage medium, and when the program is executed, The steps of the above method embodiments are included; and the foregoing storage media include: read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disks or optical disks, etc., which can store program codes Medium.
本发明实施例中还提供了一种计算机存储介质,该计算机存储介质中存储有程序指令,所述程序执行时可包括上述各实施例中的成像装置的安装参数的方法的部分或全部步骤,或者,所述程序执行时可包括上述各实施例中的驾驶控制方法的部分或全部步骤。An embodiment of the present invention also provides a computer storage medium that stores program instructions, and when the program is executed, it may include some or all of the steps of the method for installing parameters of the imaging device in the foregoing embodiments, Alternatively, the program may include some or all of the steps of the driving control method in the foregoing embodiments when executed.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:只读内存(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art may understand that all or part of the steps to implement the above method embodiments may be completed by program instructions related hardware. The foregoing program may be stored in a computer-readable storage medium, and when the program is executed, The steps of the above method embodiments are included; and the foregoing storage media include: read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disks or optical disks, etc., which can store program codes Medium.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention, rather than limiting it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions described in the foregoing embodiments can still be modified, or some or all of the technical features can be equivalently replaced; and these modifications or replacements do not deviate from the essence of the corresponding technical solutions of the technical solutions of the embodiments of the present invention. range.

Claims (66)

  1. 一种车载成像装置的安装参数的确定方法,其特征在于,包括:A method for determining the installation parameters of a vehicle-mounted imaging device is characterized by comprising:
    基于车载成像装置拍摄的道路图,检测出所述道路图中的N条道路线,所述N为大于等于2的正整数;Based on the road map captured by the vehicle-mounted imaging device, N road lines in the road map are detected, where N is a positive integer greater than or equal to 2;
    确定所述N条道路线的消失点;Determine the vanishing point of the N road lines;
    基于所述消失点,确定所述成像装置的安装参数。Based on the vanishing point, the installation parameters of the imaging device are determined.
  2. 根据权利要求1所述的方法,其特征在于,所述基于车载成像装置拍摄的道路图,检测出所述道路图中的N条道路线,包括:The method according to claim 1, wherein the detecting N road lines in the road map based on the road map captured by the vehicle-mounted imaging device includes:
    基于深度神经网络,确定所述道路图上道路线的候选区域;Based on the deep neural network, determine the candidate area of the road line on the road map;
    统计所述候选区域中属于道路线的纵向像素点的个数;Count the number of vertical pixels belonging to the road line in the candidate area;
    若所述纵向像素点的个数大于预设值,则确定所述候选区域为道路线;If the number of vertical pixels is greater than a preset value, it is determined that the candidate area is a road line;
    将所述道路线拟合成直线。Fit the road line into a straight line.
  3. 根据权利要求2所述的方法,其特征在于,所述统计所述候选区域中属于道路线的纵向像素点的个数,包括:The method according to claim 2, wherein the counting of the number of vertical pixels belonging to the road line in the candidate area includes:
    利用所述成像装置的初始俯仰角将所述候选区域投影至地平面上,获得所述候选区域的平面投影图;Using the initial pitch angle of the imaging device to project the candidate area onto the ground plane to obtain a plan view of the candidate area;
    统计所述平面投影图中属于道路线的纵向像素点的个数。Count the number of vertical pixels belonging to the road line in the plane projection image.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述基于车载成像装置拍摄的道路图,检测出所述道路图中的N条道路线之前,还包括:The method according to any one of claims 1 to 3, wherein before detecting N road lines in the road map based on the road map captured by the on-board imaging device, the method further includes:
    确定车辆的行驶状态,其中所述车辆为安装所述成像装置的车辆;Determine the running state of a vehicle, wherein the vehicle is the vehicle on which the imaging device is installed;
    所述基于车载成像装置拍摄的道路图,检测出所述道路图中的N条道路线,包括:The road map captured based on the vehicle-mounted imaging device detects N road lines in the road map, including:
    若确定所述车辆的行驶状态为直线行驶,则基于车载成像装置拍摄的道路图,检测出所述道路图中的N条道路线。If it is determined that the driving state of the vehicle is straight driving, N road lines in the road map are detected based on the road map captured by the on-board imaging device.
  5. 根据权利要求4所述的方法,其特征在于,所述确定车辆的行驶状态,包括:The method according to claim 4, wherein the determining the driving state of the vehicle comprises:
    获取所述车辆当前采样时刻的惯性测量单元IMU数据;Obtain the IMU data of the inertial measurement unit at the current sampling time of the vehicle;
    根据所述IMU数据,确定所述车辆的行驶状态。Based on the IMU data, the driving state of the vehicle is determined.
  6. 根据权利要求5所述的方法,其特征在于,所述根据所述IMU数据,确定所述车辆的行驶状态,包括:The method according to claim 5, wherein the determining the driving state of the vehicle according to the IMU data includes:
    确定所述IMU数据的平均值和方差;Determine the average and variance of the IMU data;
    若所述平均值小于预设平均值,且所述方差小于预设方差,则确定所述车辆直线行驶。If the average value is less than the preset average value, and the variance is less than the preset variance, it is determined that the vehicle travels straight.
  7. 根据权利要求4所述的方法,其特征在于,所述确定车辆的行驶状态,包括:The method according to claim 4, wherein the determining the driving state of the vehicle comprises:
    获取所述车辆的方向盘的旋转角度;Obtaining the rotation angle of the steering wheel of the vehicle;
    根据所述方向盘的旋转角度,确定所述车辆的行驶状态。The running state of the vehicle is determined according to the rotation angle of the steering wheel.
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述道路线包括所述道路图上的纵向平行线。The method according to any one of claims 1-7, wherein the road line includes a longitudinal parallel line on the road map.
  9. 根据权利要求1-8任一项所述的方法,其特征在于,所述N为2,所述确定所述N条道路线的消失点,包括:The method according to any one of claims 1-8, wherein the N is 2, and the determining the vanishing point of the N road lines includes:
    将两条道路线的交点作为所述两条道路线的消失点。The intersection point of the two road lines is taken as the vanishing point of the two road lines.
  10. 根据权利要求1-8任一项所述的方法,其特征在于,所述N大于2,所述确定所述N条道路线的消失点,包括:The method according to any one of claims 1-8, wherein the N is greater than 2, and the determining the vanishing point of the N road lines includes:
    将与所述N条道路线的距离之和最小的点,作为所述N条道路线的消失点。The point with the smallest sum of distances from the N road lines is taken as the vanishing point of the N road lines.
  11. 根据权利要求10所述的方法,其特征在于,所述将与所述N条道路线的距离之和最小的点,作为所述N条道路线的消失点,包括:The method according to claim 10, wherein the point where the sum of the distances from the N road lines is the smallest as the vanishing point of the N road lines includes:
    过滤掉所述N条道路线中不满足预设误差要求的误差道路线,获得满足所述预设误差要求的M条道路线;Filtering out error road lines of the N road lines that do not meet the preset error requirements, to obtain M road lines that meet the preset error requirements;
    将与所述M条道路线的距离之和最小的点,作为所述N条道路线的消失点。The point with the smallest sum of distances from the M road lines is taken as the vanishing point of the N road lines.
  12. 根据权利要求11所述的方法,其特征在于,所述过滤掉所述N条道路线中不满足预设误差要求的误差道路线,包括:The method according to claim 11, wherein the filtering out the error road lines of the N road lines that do not meet the preset error requirements includes:
    基于随机抽样一致RANSAC算法,过滤掉所述N条道路线中不满足所述预设误差要求的误差道路线。Based on the random sampling consistent RANSAC algorithm, filter out error road lines among the N road lines that do not meet the preset error requirements.
  13. 根据权利要求1-12任一项所述的方法,其特征在于,所述成像装置的安装参数包括所述成像装置的实际俯仰角和实际偏航角中的至少一个。The method according to any one of claims 1-12, wherein the installation parameter of the imaging device includes at least one of an actual pitch angle and an actual yaw angle of the imaging device.
  14. 根据权利要求13所述的方法,其特征在于,所述基于所述消失点,确定所述成像装置的安装参数,包括:The method according to claim 13, wherein the determining the installation parameters of the imaging device based on the vanishing point includes:
    基于所述消失点、所述成像装置的光心和所述成像装置的成像参数,确定所述成像装置的安装参数。The installation parameters of the imaging device are determined based on the vanishing point, the optical center of the imaging device, and the imaging parameters of the imaging device.
  15. 根据权利要求14所述的方法,其特征在于,所述基于所述消失点、所述成像装置的光心和所述成像装置的成像参数,确定所述成像装置的安装参数,包括:The method according to claim 14, wherein the determining the installation parameters of the imaging device based on the vanishing point, the optical center of the imaging device, and the imaging parameters of the imaging device includes:
    若所述消失点相对于所述光心具有竖直位移,则基于所述消失点、所述光心和所述成像参数,确定所述成像装置的实际俯仰角。If the vanishing point has a vertical displacement with respect to the optical center, the actual pitch angle of the imaging device is determined based on the vanishing point, the optical center, and the imaging parameter.
  16. 根据权利要求14所述的方法,其特征在于,所述基于所述消失点和所述成像装置和光心,确定所述成像装置的安装参数,包括:The method according to claim 14, wherein the determining the installation parameters of the imaging device based on the vanishing point and the imaging device and the optical center includes:
    若所述消失点相对于所述光心具有水平位移,则基于所述消失点、所述光心和所述成像参数,确定所述成像装置的实际偏航角。If the vanishing point has a horizontal displacement with respect to the optical center, the actual yaw angle of the imaging device is determined based on the vanishing point, the optical center, and the imaging parameters.
  17. 一种驾驶控制方法,其特征在于,包括:A driving control method, characterized in that it includes:
    基于车载成像装置拍摄的道路图,检测出所述道路图中的N条道路线,所述N为大于等于2的正整数;Based on the road map captured by the vehicle-mounted imaging device, N road lines in the road map are detected, where N is a positive integer greater than or equal to 2;
    确定所述N条道路线的消失点;Determine the vanishing point of the N road lines;
    基于所述消失点,确定所述成像装置的安装参数;Determine the installation parameters of the imaging device based on the vanishing point;
    基于所述成像装置的安装参数和检测到的所述道路线,确定所述道路线的俯视图;Determine a top view of the road line based on the installation parameters of the imaging device and the detected road line;
    基于所述道路线的俯视图,控制所述车辆智能驾驶。Based on the top view of the road line, the vehicle is controlled to drive intelligently.
  18. 根据权利要求16所述的方法,其特征在于,所述基于车载成像装置拍摄的道路图,检测出所述道路图中的N条道路线,包括:The method according to claim 16, wherein the detecting N road lines in the road map based on the road map captured by the vehicle-mounted imaging device includes:
    基于深度神经网络,确定所述道路图上道路线的候选区域;Based on the deep neural network, determine the candidate area of the road line on the road map;
    统计所述候选区域中属于道路线的纵向像素点的个数;Count the number of vertical pixels belonging to the road line in the candidate area;
    若所述纵向像素点的个数大于预设值,则确定所述候选区域为道路线;If the number of vertical pixels is greater than a preset value, it is determined that the candidate area is a road line;
    将所述道路线拟合成直线。Fit the road line into a straight line.
  19. 根据权利要求18所述的方法,其特征在于,所述统计所述候选区域中属于道路线的纵向像素点的个数,包括:The method according to claim 18, wherein the counting of the number of vertical pixels belonging to the road line in the candidate area includes:
    利用所述成像装置的初始俯仰角将所述候选区域投影至地平面上,获得所述候选区域的平面投影图;Using the initial pitch angle of the imaging device to project the candidate area onto the ground plane to obtain a plan view of the candidate area;
    统计所述平面投影图中属于道路线的纵向像素点的个数。Count the number of vertical pixels belonging to the road line in the plane projection image.
  20. 根据权利要求17-19任一项所述的方法,其特征在于,所述基于车载成像装置拍摄的道路图,检测出所述道路图中的N条道路线之前,还包括:The method according to any one of claims 17-19, wherein, before detecting the N road lines in the road map based on the road map captured by the vehicle-mounted imaging device, the method further includes:
    确定车辆的行驶状态,其中所述车辆为安装所述成像装置的车辆;Determine the running state of a vehicle, wherein the vehicle is the vehicle on which the imaging device is installed;
    所述基于车载成像装置拍摄的道路图,检测出所述道路图中的N条道路线,包括:The road map captured based on the vehicle-mounted imaging device detects N road lines in the road map, including:
    若确定所述车辆的行驶状态为直线行驶,则基于车载成像装置拍摄的道路图,检测出所述道路图中的N条道路线。If it is determined that the driving state of the vehicle is straight driving, N road lines in the road map are detected based on the road map captured by the on-board imaging device.
  21. 根据权利要求20所述的方法,其特征在于,所述确定车辆的行驶状态,包括:The method according to claim 20, wherein the determining the driving state of the vehicle comprises:
    获取所述车辆当前采样时刻的惯性测量单元IMU数据;Obtain the IMU data of the inertial measurement unit at the current sampling time of the vehicle;
    根据所述IMU数据,确定所述车辆的行驶状态。Based on the IMU data, the driving state of the vehicle is determined.
  22. 根据权利要求21所述的方法,其特征在于,所述根据所述IMU数据,确定所述车辆的行驶状态,包括:The method according to claim 21, wherein the determining the driving state of the vehicle according to the IMU data includes:
    确定所述IMU数据的平均值和方差;Determine the average and variance of the IMU data;
    若所述平均值小于预设平均值,且所述方差小于预设方差,则确定所述车辆直线行驶。If the average value is less than the preset average value, and the variance is less than the preset variance, it is determined that the vehicle travels straight.
  23. 根据权利要求20所述的方法,其特征在于,所述确定车辆的行驶状态,包括:The method according to claim 20, wherein the determining the driving state of the vehicle comprises:
    获取所述车辆的方向盘的旋转角度;Obtaining the rotation angle of the steering wheel of the vehicle;
    根据所述方向盘的旋转角度,确定所述车辆的行驶状态。The running state of the vehicle is determined according to the rotation angle of the steering wheel.
  24. 根据权利要求17-23任一项所述的方法,其特征在于,所述道路线包括所述道路图上的纵向平行线。The method according to any one of claims 17-23, wherein the road line includes a longitudinal parallel line on the road map.
  25. 根据权利要求17-24任一项所述的方法,其特征在于,所述N为2,所述确定所述N条道路线的消失点,包括:The method according to any one of claims 17-24, wherein the N is 2, and the determining the vanishing point of the N road lines includes:
    将两条道路线的交点作为所述两条道路线的消失点。The intersection point of the two road lines is taken as the vanishing point of the two road lines.
  26. 根据权利要求17-24任一项所述的方法,其特征在于,所述N大于2,所述确定所述N条道路线的消失点,包括:The method according to any one of claims 17-24, wherein the N is greater than 2, and the determining the vanishing point of the N road lines includes:
    将与所述N条道路线的距离之和最小的点,作为所述N条道路线的消失点。The point with the smallest sum of distances from the N road lines is taken as the vanishing point of the N road lines.
  27. 根据权利要求26所述的方法,其特征在于,所述将与所述N条道路线的距离之和最小的点,作为所述N条道路线的消失点,包括:The method according to claim 26, wherein the point where the sum of the distances from the N road lines is the smallest as the vanishing point of the N road lines includes:
    过滤掉所述N条道路线中不满足预设误差要求的误差道路线,获得满足所述预设误差要求的M条道路线;Filtering out error road lines of the N road lines that do not meet the preset error requirements, to obtain M road lines that meet the preset error requirements;
    将与所述M条道路线的距离之和最小的点,作为所述N条道路线的消失点。The point with the smallest sum of distances from the M road lines is taken as the vanishing point of the N road lines.
  28. 根据权利要求27所述的方法,其特征在于,所述过滤掉所述N条道路线中不满足预设误差要求的误差道路线,包括:The method according to claim 27, wherein the filtering out the error road lines of the N road lines that do not meet the preset error requirements includes:
    基于随机抽样一致RANSAC算法,过滤掉所述N条道路线中不满足所述预设误差要求的误差道路线。Based on the random sampling consistent RANSAC algorithm, filter out error road lines among the N road lines that do not meet the preset error requirements.
  29. 根据权利要求17-28任一项所述的方法,其特征在于,所述成像装置的安装参数包括所述成像装置的实际俯仰角和实际偏航角中的至少一个。The method according to any one of claims 17 to 28, wherein the installation parameter of the imaging device includes at least one of an actual pitch angle and an actual yaw angle of the imaging device.
  30. 根据权利要求29所述的方法,其特征在于,所述基于所述消失点,确定所述成像装置的安装参数,包括:The method according to claim 29, wherein the determining the installation parameters of the imaging device based on the vanishing point includes:
    基于所述消失点、所述成像装置的光心和所述成像装置的成像参数,确定所述成像装置的安装参数。The installation parameters of the imaging device are determined based on the vanishing point, the optical center of the imaging device, and the imaging parameters of the imaging device.
  31. 根据权利要求30所述的方法,其特征在于,所述基于所述消失点、所述成像装置的光心和所述成像装置的成像参数,确定所述成像装置的安装参数,包括:The method according to claim 30, wherein the determining the installation parameters of the imaging device based on the vanishing point, the optical center of the imaging device, and the imaging parameters of the imaging device includes:
    若所述消失点相对于所述光心具有竖直位移,则基于所述消失点、所述光心和所述成像参数,确定所述成像装置的实际俯仰角。If the vanishing point has a vertical displacement with respect to the optical center, the actual pitch angle of the imaging device is determined based on the vanishing point, the optical center, and the imaging parameter.
  32. 根据权利要求30所述的方法,其特征在于,所述基于所述消失点和所述成像装置和光心,确定所述成像装置的安装参数,包括:The method according to claim 30, wherein the determining the installation parameters of the imaging device based on the vanishing point and the imaging device and the optical center includes:
    若所述消失点相对于所述光心具有水平位移,则基于所述消失点、所述光心和所述成像参数,确定所述成像装置的实际偏航角。If the vanishing point has a horizontal displacement with respect to the optical center, the actual yaw angle of the imaging device is determined based on the vanishing point, the optical center, and the imaging parameters.
  33. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it includes:
    成像装置,用于采集道路图,所述成像装置安装在车辆上;An imaging device for collecting road maps, the imaging device is installed on the vehicle;
    存储器,用于存储计算机程序;Memory, used to store computer programs;
    处理器,用于执行所述计算机程序,具体用于基于所述成像装置拍摄的 道路图,检测出所述道路图中的N条道路线,所述N为大于等于2的正整数;确定所述N条道路线的消失点;基于所述消失点,确定所述成像装置的安装参数。A processor for executing the computer program, specifically for detecting N road lines in the road map based on the road map taken by the imaging device, where N is a positive integer greater than or equal to 2; The vanishing points of the N road lines; based on the vanishing points, the installation parameters of the imaging device are determined.
  34. 根据权利要求33所述的电子设备,其特征在于,所述处理器,具体用于基于深度神经网络,确定所述道路图上道路线的候选区域;统计所述候选区域中属于道路线的纵向像素点的个数;若所述纵向像素点的个数大于预设值,则确定所述候选区域为道路线;将所述道路线拟合成直线。The electronic device according to claim 33, wherein the processor is specifically configured to determine a candidate area of a road line on the road map based on a deep neural network; to calculate the longitudinal direction of the road line in the candidate area The number of pixels; if the number of vertical pixels is greater than a preset value, it is determined that the candidate area is a road line; the road line is fitted into a straight line.
  35. 根据权利要求34所述的电子设备,其特征在于,所述处理器,具体用于利用所述成像装置的初始俯仰角将所述候选区域投影至地平面上,获得所述候选区域的平面投影图;统计所述平面投影图中属于道路线的纵向像素点的个数。The electronic device according to claim 34, wherein the processor is specifically configured to use the initial pitch angle of the imaging device to project the candidate area onto the ground plane to obtain a planar projection of the candidate area Figure; Count the number of vertical pixels belonging to the road line in the plane projection.
  36. 根据权利要求33-35任一项所述的电子设备,其特征在于,所述处理器用于基于车载成像装置拍摄的道路图,检测出所述道路图中的N条道路线之前,还用于:确定车辆的行驶状态,其中所述车辆为安装所述成像装置的车辆;The electronic device according to any one of claims 33 to 35, wherein the processor is used to detect N road lines in the road map before detecting N road lines in the road map based on the road map captured by the on-board imaging device. : Determining the driving state of the vehicle, where the vehicle is the vehicle on which the imaging device is installed;
    所述处理器,具体用于若确定所述车辆的行驶状态为直线行驶,则基于车载成像装置拍摄的道路图,检测出所述道路图中的N条道路线。The processor is specifically configured to detect N road lines in the road map based on the road map captured by the on-board imaging device if it is determined that the driving state of the vehicle is straight travel.
  37. 根据权利要求36所述的电子设备,其特征在于,所述处理器,具体用于获取所述车辆当前采样时刻的惯性测量单元IMU数据;根据所述IMU数据,确定所述车辆的行驶状态。The electronic device according to claim 36, wherein the processor is specifically configured to acquire IMU data of the inertial measurement unit at the current sampling time of the vehicle; and determine the driving state of the vehicle based on the IMU data.
  38. 根据权利要求37所述的电子设备,其特征在于,所述处理器,具体用于确定所述IMU数据的平均值和方差;若所述平均值小于预设平均值,且所述方差小于预设方差,则确定所述车辆直线行驶。The electronic device according to claim 37, wherein the processor is specifically configured to determine an average value and a variance of the IMU data; if the average value is less than a preset average value, and the variance is less than a predetermined Set the variance to determine that the vehicle travels straight.
  39. 根据权利要求36所述的电子设备,其特征在于,所述处理器,具体用于获取所述车辆的方向盘的旋转角度;根据所述方向盘的旋转角度,确定所述车辆的行驶状态。The electronic device according to claim 36, wherein the processor is specifically configured to obtain a rotation angle of a steering wheel of the vehicle; and determine a driving state of the vehicle according to the rotation angle of the steering wheel.
  40. 根据权利要求33-39任一项所述的电子设备,其特征在于,所述道路线包括所述道路图上的纵向平行线。The electronic device according to any one of claims 33 to 39, wherein the road line includes a longitudinal parallel line on the road map.
  41. 根据权利要求33-40任一项所述的电子设备,其特征在于,所述N为2,所述处理器,具体用于将两条道路线的交点作为所述两条道路线的消 失点。The electronic device according to any one of claims 33-40, wherein the N is 2, and the processor is specifically configured to use an intersection of two road lines as a vanishing point of the two road lines .
  42. 根据权利要求33-40任一项所述的电子设备,其特征在于,所述N大于2,所述处理器,具体用于将与所述N条道路线的距离之和最小的点,作为所述N条道路线的消失点。The electronic device according to any one of claims 33-40, wherein the N is greater than 2, and the processor is specifically configured to use a point at which the sum of the distances from the N road lines is the smallest, as The vanishing point of the N road lines.
  43. 根据权利要求42所述的电子设备,其特征在于,所述处理器,具体用于过滤掉所述N条道路线中不满足预设误差要求的误差道路线,获得满足所述预设误差要求的M条道路线;将与所述M条道路线的距离之和最小的点,作为所述N条道路线的消失点。The electronic device according to claim 42, wherein the processor is specifically configured to filter out the error road lines that do not meet the preset error requirements among the N road lines, and obtain the preset error requirements. M road lines; the point with the smallest sum of distances from the M road lines is taken as the vanishing point of the N road lines.
  44. 根据权利要求43所述的电子设备,其特征在于,所述处理器,具体用于基于随机抽样一致RANSAC算法,过滤掉所述N条道路线中不满足所述预设误差要求的误差道路线。The electronic device according to claim 43, wherein the processor is specifically configured to filter out error road lines among the N road lines that do not meet the preset error requirement based on a random sampling consistent RANSAC algorithm .
  45. 根据权利要求33-44任一项所述的电子设备,其特征在于,所述成像装置的安装参数包括所述成像装置的实际俯仰角和实际偏航角中的至少一个。The electronic device according to any one of claims 33 to 44, wherein the installation parameter of the imaging device includes at least one of an actual pitch angle and an actual yaw angle of the imaging device.
  46. 根据权利要求45所述的电子设备,其特征在于,所述处理器,具体用于基于所述消失点、所述成像装置的光心和所述成像装置的成像参数,确定所述成像装置的安装参数。The electronic device according to claim 45, wherein the processor is specifically configured to determine the imaging device based on the vanishing point, the optical center of the imaging device, and the imaging parameter of the imaging device Installation parameters.
  47. 根据权利要求46所述的电子设备,其特征在于,所述处理器,具体用于若所述消失点相对于所述光心具有竖直位移,则基于所述消失点、所述光心和所述成像参数,确定所述成像装置的实际俯仰角。The electronic device according to claim 46, wherein the processor is specifically configured to: based on the vanishing point, the optical center, and the vanishing point, if the vanishing point has a vertical displacement relative to the optical center, The imaging parameter determines the actual pitch angle of the imaging device.
  48. 根据权利要求46所述的电子设备,其特征在于,所述处理器,具体用于若所述消失点相对于所述光心具有水平位移,则基于所述消失点、所述光心和所述成像参数,确定所述成像装置的实际偏航角。The electronic device according to claim 46, wherein the processor is specifically configured to, based on the vanishing point, the optical center, and all positions, if the vanishing point has a horizontal displacement relative to the optical center, The imaging parameters determine the actual yaw angle of the imaging device.
  49. 一种驾驶控制设备,其特征在于,包括:A driving control device is characterized by comprising:
    成像装置,用于采集道路图,所述成像装置安装在车辆上;An imaging device for collecting road maps, the imaging device is installed on the vehicle;
    存储器,用于存储计算机程序;Memory, used to store computer programs;
    处理器,用于执行所述计算机程序,具体用于基于所述成像装置拍摄的道路图,检测出所述道路图中的N条道路线,所述N为大于等于2的正整数;确定所述N条道路线的消失点;基于所述消失点,确定所述成像装置的安装 参数;基于所述成像装置的安装参数和检测到的所述道路线,确定所述道路线的俯视图;基于所述道路线的俯视图,控制所述车辆智能驾驶。A processor for executing the computer program, specifically for detecting N road lines in the road map based on the road map taken by the imaging device, where N is a positive integer greater than or equal to 2; The vanishing points of the N road lines; based on the vanishing points, determining the installation parameters of the imaging device; based on the installation parameters of the imaging device and the detected road lines, determining the top view of the road lines; based on The top view of the road line controls the intelligent driving of the vehicle.
  50. 根据权利要求49所述的驾驶控制设备,其特征在于,所述处理器,具体用于基于深度神经网络,确定所述道路图上道路线的候选区域;统计所述候选区域中属于道路线的纵向像素点的个数;若所述纵向像素点的个数大于预设值,则确定所述候选区域为道路线;将所述道路线拟合成直线。The driving control device according to claim 49, wherein the processor is specifically configured to determine a candidate area of a road line on the road map based on a deep neural network; The number of vertical pixels; if the number of vertical pixels is greater than a preset value, it is determined that the candidate area is a road line; the road line is fitted into a straight line.
  51. 根据权利要求50所述的驾驶控制设备,其特征在于,所述处理器,具体用于利用所述成像装置的初始俯仰角将所述候选区域投影至地平面上,获得所述候选区域的平面投影图;统计所述平面投影图中属于道路线的纵向像素点的个数。The driving control device according to claim 50, wherein the processor is specifically configured to project the candidate area onto the ground plane using the initial pitch angle of the imaging device to obtain the plane of the candidate area Projection diagram; count the number of vertical pixels belonging to the road line in the plane projection diagram.
  52. 根据权利要求49-51任一项所述的驾驶控制设备,其特征在于,所述处理器用于基于车载成像装置拍摄的道路图,检测出所述道路图中的N条道路线之前,还用于:确定车辆的行驶状态,其中所述车辆为安装所述成像装置的车辆;The driving control device according to any one of claims 49 to 51, wherein the processor is used to detect N road lines in the road map based on the road map captured by the on-board imaging device, and Yu: Determining the driving state of the vehicle, where the vehicle is the vehicle on which the imaging device is installed;
    所述处理器,具体用于若确定所述车辆的行驶状态为直线行驶,则基于车载成像装置拍摄的道路图,检测出所述道路图中的N条道路线。The processor is specifically configured to detect N road lines in the road map based on the road map captured by the on-board imaging device if it is determined that the driving state of the vehicle is straight travel.
  53. 根据权利要求52所述的驾驶控制设备,其特征在于,所述处理器,具体用于获取所述车辆当前采样时刻的惯性测量单元IMU数据;根据所述IMU数据,确定所述车辆的行驶状态。The driving control device according to claim 52, wherein the processor is specifically configured to acquire IMU data of the inertial measurement unit at the current sampling time of the vehicle; based on the IMU data, determine the driving state of the vehicle .
  54. 根据权利要求53所述的驾驶控制设备,其特征在于,所述处理器,具体用于确定所述IMU数据的平均值和方差;若所述平均值小于预设平均值,且所述方差小于预设方差,则确定所述车辆直线行驶。The driving control device according to claim 53, wherein the processor is specifically configured to determine an average value and variance of the IMU data; if the average value is less than a preset average value and the variance is less than Predetermining the variance, it is determined that the vehicle travels straight.
  55. 根据权利要求52所述的驾驶控制设备,其特征在于,所述处理器,具体用于获取所述车辆的方向盘的旋转角度;根据所述方向盘的旋转角度,确定所述车辆的行驶状态。The driving control device according to claim 52, wherein the processor is specifically configured to obtain a rotation angle of a steering wheel of the vehicle; and determine a driving state of the vehicle according to the rotation angle of the steering wheel.
  56. 根据权利要求49-55任一项所述的驾驶控制设备,其特征在于,所述道路线包括所述道路图上的纵向平行线。The driving control device according to any one of claims 49 to 55, wherein the road line includes a longitudinal parallel line on the road map.
  57. 根据权利要求40-56任一项所述的驾驶控制设备,其特征在于,所述N为2,所述处理器,具体用于将两条道路线的交点作为所述两条道路线的消失点。The driving control device according to any one of claims 40-56, wherein the N is 2, and the processor is specifically configured to use an intersection of two road lines as the disappearance of the two road lines point.
  58. 根据权利要求40-56任一项所述的驾驶控制设备,其特征在于,所述N大于2,所述处理器,具体用于将与所述N条道路线的距离之和最小的点,作为所述N条道路线的消失点。The driving control device according to any one of claims 40-56, wherein the N is greater than 2, and the processor is specifically configured to a point that minimizes the sum of distances from the N road lines, As the vanishing point of the N road lines.
  59. 根据权利要求58所述的驾驶控制设备,其特征在于,所述处理器,具体用于过滤掉所述N条道路线中不满足预设误差要求的误差道路线,获得满足所述预设误差要求的M条道路线;将与所述M条道路线的距离之和最小的点,作为所述N条道路线的消失点。The driving control device according to claim 58, wherein the processor is specifically configured to filter out the error road lines that do not meet the preset error requirements among the N road lines, and obtain The required M road lines; the point with the smallest distance from the M road lines is taken as the vanishing point of the N road lines.
  60. 根据权利要求59所述的驾驶控制设备,其特征在于,所述处理器,具体用于基于随机抽样一致RANSAC算法,过滤掉所述N条道路线中不满足所述预设误差要求的误差道路线。The driving control device according to claim 59, wherein the processor is specifically configured to filter out the error roads in the N road lines that do not meet the predetermined error requirement based on the random sampling consistent RANSAC algorithm route.
  61. 根据权利要求49-60任一项所述的驾驶控制设备,其特征在于,所述成像装置的安装参数包括所述成像装置的实际俯仰角和实际偏航角中的至少一个。The driving control device according to any one of claims 49 to 60, wherein the installation parameter of the imaging device includes at least one of an actual pitch angle and an actual yaw angle of the imaging device.
  62. 根据权利要求61所述的驾驶控制设备,其特征在于,所述处理器,具体用于基于所述消失点、所述成像装置的光心和所述成像装置的成像参数,确定所述成像装置的安装参数。The driving control device according to claim 61, wherein the processor is specifically configured to determine the imaging device based on the vanishing point, the optical center of the imaging device, and the imaging parameter of the imaging device Installation parameters.
  63. 根据权利要求62所述的驾驶控制设备,其特征在于,所述处理器,具体用于若所述消失点相对于所述光心具有竖直位移,则基于所述消失点、所述光心和所述成像参数,确定所述成像装置的实际俯仰角。The driving control device according to claim 62, wherein the processor is specifically configured to: if the vanishing point has a vertical displacement with respect to the optical center, based on the vanishing point, the optical center And the imaging parameter, determine the actual pitch angle of the imaging device.
  64. 根据权利要求62所述的驾驶控制设备,其特征在于,所述处理器,具体用于若所述消失点相对于所述光心具有水平位移,则基于所述消失点、所述光心和所述成像参数,确定所述成像装置的实际偏航角。The driving control device according to claim 62, wherein the processor is specifically configured to: if the vanishing point has a horizontal displacement relative to the optical center, based on the vanishing point, the optical center and The imaging parameter determines the actual yaw angle of the imaging device.
  65. 一种车辆,其特征在于,包括:车身,所述车身上安装有如权利要求33-48任一项所述的电子设备,或者,所述车身上安装有如权利要求49-64任一项所述的驾驶控制设备。A vehicle, characterized by comprising: a vehicle body on which the electronic device according to any one of claims 33-48 is mounted, or a vehicle body as described in any of claims 49-64 Driving control equipment.
  66. 一种计算机存储介质,其特征在于,所述存储介质中存储计算机程序,所述计算机程序在执行时实现如权利要求1-16中任一项所述的车载成像装置的安装参数的确定方法,以及实现如权利要求17所述的驾驶控制方法。A computer storage medium, characterized in that a computer program is stored in the storage medium, and when the computer program is executed, the method for determining the installation parameters of the vehicle-mounted imaging device according to any one of claims 1-16 is implemented, And the driving control method according to claim 17 is realized.
PCT/CN2018/123991 2018-12-26 2018-12-26 Method and apparatus for determining installation parameters of on-board imaging device, and driving control method and apparatus WO2020132965A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201880072126.6A CN111316337A (en) 2018-12-26 2018-12-26 Method and equipment for determining installation parameters of vehicle-mounted imaging device and controlling driving
PCT/CN2018/123991 WO2020132965A1 (en) 2018-12-26 2018-12-26 Method and apparatus for determining installation parameters of on-board imaging device, and driving control method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/123991 WO2020132965A1 (en) 2018-12-26 2018-12-26 Method and apparatus for determining installation parameters of on-board imaging device, and driving control method and apparatus

Publications (1)

Publication Number Publication Date
WO2020132965A1 true WO2020132965A1 (en) 2020-07-02

Family

ID=71126110

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/123991 WO2020132965A1 (en) 2018-12-26 2018-12-26 Method and apparatus for determining installation parameters of on-board imaging device, and driving control method and apparatus

Country Status (2)

Country Link
CN (1) CN111316337A (en)
WO (1) WO2020132965A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112215214A (en) * 2020-12-11 2021-01-12 智道网联科技(北京)有限公司 Method and system for adjusting camera offset of intelligent vehicle-mounted terminal
CN113642406B (en) * 2021-07-14 2023-01-31 广州市玄武无线科技股份有限公司 System, method, device, equipment and storage medium for counting densely-suspended paper sheets

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080309763A1 (en) * 2007-04-18 2008-12-18 Sanyo Electric Co., Ltd. Driving Support System And Vehicle
CN103699899A (en) * 2013-12-23 2014-04-02 北京理工大学 Traffic lane detection method based on equidistant curves
CN105564335A (en) * 2016-01-29 2016-05-11 深圳市美好幸福生活安全系统有限公司 Vehicle camera correcting method and device
CN107253467A (en) * 2017-06-30 2017-10-17 成都西华升腾科技有限公司 Judge system using IMU lane shift
CN108470159A (en) * 2018-03-09 2018-08-31 腾讯科技(深圳)有限公司 Lane line data processing method, device, computer equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1323547C (en) * 2003-10-22 2007-06-27 西安交通大学 Three-line calibration method for external parmeters of camera carried by car
CN102013099B (en) * 2010-11-26 2012-07-04 中国人民解放军国防科学技术大学 Interactive calibration method for external parameters of vehicle video camera
CN106127787B (en) * 2016-07-01 2019-04-02 北京美讯美通信息科技有限公司 A kind of camera calibration method based on Inverse projection
CN106529493B (en) * 2016-11-22 2019-12-20 北京联合大学 Robust multi-lane line detection method based on perspective view
CN108229406B (en) * 2018-01-11 2022-03-04 海信集团有限公司 Lane line detection method, device and terminal
CN108932472A (en) * 2018-05-23 2018-12-04 中国汽车技术研究中心有限公司 A kind of automatic Pilot running region method of discrimination based on lane detection
CN108875603B (en) * 2018-05-31 2021-06-04 上海商汤智能科技有限公司 Intelligent driving control method and device based on lane line and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080309763A1 (en) * 2007-04-18 2008-12-18 Sanyo Electric Co., Ltd. Driving Support System And Vehicle
CN103699899A (en) * 2013-12-23 2014-04-02 北京理工大学 Traffic lane detection method based on equidistant curves
CN105564335A (en) * 2016-01-29 2016-05-11 深圳市美好幸福生活安全系统有限公司 Vehicle camera correcting method and device
CN107253467A (en) * 2017-06-30 2017-10-17 成都西华升腾科技有限公司 Judge system using IMU lane shift
CN108470159A (en) * 2018-03-09 2018-08-31 腾讯科技(深圳)有限公司 Lane line data processing method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN111316337A (en) 2020-06-19

Similar Documents

Publication Publication Date Title
CN108805934B (en) External parameter calibration method and device for vehicle-mounted camera
CN110567469B (en) Visual positioning method and device, electronic equipment and system
CN107229908B (en) A kind of method for detecting lane lines
CN104854637B (en) Moving object position attitude angle estimating device and moving object position attitude angle estimating method
CN110147382B (en) Lane line updating method, device, equipment, system and readable storage medium
CN111336951B (en) Method and apparatus for calibrating external parameters of image sensor
US11205284B2 (en) Vehicle-mounted camera pose estimation method, apparatus, and system, and electronic device
WO2020228694A1 (en) Camera pose information detection method and apparatus, and corresponding intelligent driving device
CN107284455B (en) A kind of ADAS system based on image procossing
CN111213153A (en) Target object motion state detection method, device and storage medium
WO2021017211A1 (en) Vehicle positioning method and device employing visual sensing, and vehicle-mounted terminal
CN112489106A (en) Video-based vehicle size measuring method and device, terminal and storage medium
JP5310027B2 (en) Lane recognition device and lane recognition method
WO2020132965A1 (en) Method and apparatus for determining installation parameters of on-board imaging device, and driving control method and apparatus
CN114550042A (en) Road vanishing point extraction method, vehicle-mounted sensor calibration method and device
CN110148173B (en) Method and device for positioning target in vehicle-road cooperation, electronic equipment and medium
US20200193184A1 (en) Image processing device and image processing method
US11636624B2 (en) Calibration device and calibration method
CN112215214A (en) Method and system for adjusting camera offset of intelligent vehicle-mounted terminal
CN110861643A (en) Unmanned vehicle one-way tunnel passing method and unmanned vehicle
CN114037977B (en) Road vanishing point detection method, device, equipment and storage medium
CN115294211A (en) Vehicle-mounted camera installation external parameter calibration method, system, device and storage medium
EP3389015A1 (en) Roll angle calibration method and roll angle calibration device
WO2022133986A1 (en) Accuracy estimation method and system
JP6266340B2 (en) Lane identification device and lane identification method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18945048

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18945048

Country of ref document: EP

Kind code of ref document: A1