WO2020098297A1 - Method and system for measuring distance to leading vehicle - Google Patents

Method and system for measuring distance to leading vehicle Download PDF

Info

Publication number
WO2020098297A1
WO2020098297A1 PCT/CN2019/095980 CN2019095980W WO2020098297A1 WO 2020098297 A1 WO2020098297 A1 WO 2020098297A1 CN 2019095980 W CN2019095980 W CN 2019095980W WO 2020098297 A1 WO2020098297 A1 WO 2020098297A1
Authority
WO
WIPO (PCT)
Prior art keywords
vehicle
target
distance
rgb image
frame
Prior art date
Application number
PCT/CN2019/095980
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 JP2019563448A priority Critical patent/JP6851505B2/en
Priority to SG11202010955SA priority patent/SG11202010955SA/en
Publication of WO2020098297A1 publication Critical patent/WO2020098297A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/86Combinations of radar systems with non-radar systems, e.g. sonar, direction finder
    • G01S13/867Combination of radar systems with cameras
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/02Systems using reflection of radio waves, e.g. primary radar systems; Analogous systems
    • G01S13/06Systems determining position data of a target
    • G01S13/08Systems for measuring distance only
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/50Depth or shape recovery
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • 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/58Recognition of moving objects or obstacles, e.g. vehicles or pedestrians; Recognition of traffic objects, e.g. traffic signs, traffic lights or roads
    • G06V20/584Recognition of moving objects or obstacles, e.g. vehicles or pedestrians; Recognition of traffic objects, e.g. traffic signs, traffic lights or roads of vehicle lights or traffic lights

Definitions

  • the present disclosure relates to the technical field of distance detection, and in particular to a method and system for distance detection of a preceding vehicle.
  • the distance detection and early warning technology came into being.
  • the principle of detection and early warning is that when the vehicle distance is too close and touches the threshold, the driver will be reminded of the collision or automatically take braking measures to reduce the occurrence of rear-end collisions.
  • the first is a visual solution based on a common camera, which first performs target recognition, and then obtains the distance of the vehicle in front and warns according to the monocular or binocular ranging algorithm;
  • the millimeter wave radar sends electromagnetic waves to the front area and receives echoes to measure the distance, speed and angle of the object in front of it, to get the distance of the vehicle in front and to give early warning.
  • These two early warning technologies have their own advantages and disadvantages.
  • the solution based on the ordinary camera has a lower cost, can accurately identify the position of the front car in the field of view, and provides more semantic information, but the ranging distance and ranging of the visual solution The accuracy is far inferior to millimeter wave radar.
  • millimeter-wave radar has high ranging accuracy, its field of view is relatively narrow, and it cannot return any semantic information. It is difficult to accurately identify the position of the preceding vehicle in two-dimensional space.
  • the purpose of the present disclosure is to provide a method and system for detecting the distance between a vehicle in front and capable of ensuring both ranging accuracy and positioning accuracy.
  • an aspect of the present disclosure provides a method for detecting a distance ahead of a vehicle, including:
  • the overlap rate and the normalized distance corresponding to each of the plurality of vehicles determine the target vehicle in front of the plurality of vehicles, and obtain the target vehicle in front of the vehicle and the own vehicle according to the depth image Distance.
  • the acquiring RGB images and depth images of the front angle of the vehicle includes:
  • the RGB image is collected using a 2D camera installed in the vehicle, and the depth image is collected using a millimeter wave radar / distance sensor installed in the vehicle.
  • the determining the constraint frame of the vehicle in the RGB image according to the size data of the vehicle includes:
  • the calculating the overlapping rate of the constraint frame of the vehicle and the target area frame includes:
  • Car represents the bounding box area of the vehicle
  • ROI represents the area of the target area box
  • the vehicle is calculated based on the size data of the vehicle, the position of the constraint frame of the vehicle in the RGB image, and the position of the target area frame in the RGB image.
  • the normalized distance of the target area frame includes:
  • Car.x represents the horizontal coordinate value of the center point of the constraint frame
  • Car.y represents the vertical coordinate value of the center point of the constraint frame
  • Target.x represents the predetermined target point of the target area frame
  • the abscissa value, Target.y represents the ordinate value of the target point
  • Car.width represents the width data of the vehicle
  • Car.height represents the height data of the vehicle.
  • the target area frame is a trapezoidal area frame directly in front of the vehicle selected from the RGB image, and the target point is a center point of the target area frame.
  • the target vehicle ahead is determined from the plurality of vehicles according to the overlapping rate and normalized distance corresponding to each vehicle of the plurality of vehicles, and the front The distance between the target vehicle and the vehicle includes:
  • the preceding vehicle distance detection method may further include:
  • the abnormal window detection process detects an abnormal window in the predetermined length of time window, and replaces the abnormal window with a vehicle distance fitting result calculated based on the vehicle distance values in time windows before and after the abnormal window Car distance value.
  • a front vehicle distance detection system including:
  • the image acquisition unit is configured to acquire RGB images and depth images of the front angle of the vehicle;
  • a target area frame setting unit configured to preset a target area frame in the RGB image
  • a size data extraction unit configured to extract size data corresponding to multiple vehicles in the RGB image
  • a constraint frame determination unit configured to determine the constraint frame of the vehicle in the RGB image according to the size data of the vehicle for each of the plurality of vehicles
  • An overlapping rate calculation unit configured to calculate the overlapping rate of the constraint frame of the vehicle and the target area frame for each of the plurality of vehicles;
  • the distance calculation unit is configured to, for each vehicle of the plurality of vehicles, based on the size data of the vehicle, the position of the constraint frame of the vehicle in the RGB image, and the target area frame in the The position in the RGB image, calculating the normalized distance between the vehicle and the target area frame;
  • the preceding vehicle target vehicle determining unit is configured to determine the preceding vehicle target vehicle from the plurality of vehicles according to the overlap rate and the normalized distance corresponding to each vehicle of the plurality of vehicles, and according to the depth image Obtain the distance between the preceding target vehicle and the own vehicle.
  • the image acquisition unit is configured to:
  • the RGB image is collected using a 2D camera installed in the vehicle, and the depth image is collected using a millimeter wave radar / distance sensor installed in the vehicle.
  • the constraint box determination unit is configured to:
  • the overlapping rate calculation unit is configured to:
  • Car represents the bounding box area of the vehicle
  • ROI represents the area of the target area box
  • the distance calculation unit is configured to:
  • Car.x represents the horizontal coordinate value of the center point of the constraint frame
  • Car.y represents the vertical coordinate value of the center point of the constraint frame
  • Target.x represents the predetermined target point of the target area frame
  • the abscissa value, Target.y represents the ordinate value of the target point
  • Car.width represents the width data of the vehicle
  • Car.height represents the height data of the vehicle.
  • the target area frame is a trapezoidal area frame directly in front of the vehicle selected from the RGB image, and the target point is a center point of the target area frame.
  • the preceding vehicle target vehicle determination unit is configured to:
  • the preceding vehicle distance detection system may further include:
  • a motion filtering unit configured to sequentially perform median filtering, anomalous window detection processing, and Kalman filtering on the distance between the preceding target vehicle and the own vehicle in a predetermined length of time window centered on the current time , To get the optimized distance between the target vehicle in front and the vehicle,
  • the abnormal window detection process detects an abnormal window in the predetermined length of time window, and replaces the abnormal window with a vehicle distance fitting result calculated based on the vehicle distance values in time windows before and after the abnormal window Car distance value.
  • Yet another aspect of the present disclosure provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the processor is caused to perform the following processing:
  • the overlap rate and the normalized distance corresponding to each of the plurality of vehicles determine the target vehicle in front of the plurality of vehicles, and obtain the target vehicle in front of the vehicle and the own vehicle according to the depth image Distance.
  • a preceding vehicle distance detection method and system capable of simultaneously ensuring ranging accuracy and positioning accuracy can be realized.
  • FIG. 1 is a schematic flowchart of a method for detecting a distance ahead of a vehicle according to an embodiment of the present disclosure
  • FIG. 2 is an exemplary structural block diagram of a preceding vehicle distance detection system according to an embodiment of the present disclosure
  • FIG. 3 is a block diagram of an exemplary configuration of a computing device that can implement embodiments of the present disclosure.
  • FIG. 1 is a schematic flowchart of a method for detecting a distance ahead of a vehicle according to an embodiment of the present disclosure.
  • step S101 an RGB image and a depth image of the front angle of the host vehicle are acquired.
  • the RGB image and the depth image of the front view of the vehicle can be collected in real time by an image acquisition unit installed in the vehicle (for example, the front of the vehicle).
  • the RGB image may include all vehicles in the current perspective.
  • the depth image can extract the distance information between each vehicle and the own vehicle in the RGB image.
  • a depth camera installed in the vehicle may be used to simultaneously acquire RGB images and depth images of the front view angle.
  • a 2D camera mounted on the vehicle can be used to collect RGB images in the front view
  • a millimeter wave radar / distance sensor mounted on the front of the vehicle can be used to collect depth images in the front view.
  • the depth camera may be an Intel RealSense active infrared stereo depth camera D435.
  • step S102 a target area frame is set in the RGB image.
  • the target area box indicates the area where the vehicle in front may appear.
  • the target area frame may be set directly in front of the vehicle.
  • the target area frame may be a trapezoidal area frame.
  • a fixed point may be selected as a target point in the target area frame, and the target point may represent a desired position where the preceding vehicle appears.
  • the target point may be the center point of the target area frame.
  • the trapezoidal area directly in front of the depth camera or 2D camera can be selected from the RGB image as the target area frame; the center point of the selected target area frame is defined as the target point.
  • the settings of the target area frame and the target point can also be fine-tuned according to the experience of the engineer. For example, when the depth camera is installed on the front left of the vehicle, the target area frame and target point can be set to the left of the center of the RGB image.
  • step S103 size data corresponding to a plurality of vehicles in the RGB image is extracted.
  • a vehicle detection algorithm may be used to identify all vehicles in the RGB image, and correspondingly extract the size data of each vehicle.
  • the size data of the vehicle may include width data, height data, and the like of the vehicle.
  • a pre-trained vehicle detection model may be used to obtain all vehicles in the RGB image and identify the size data of each vehicle in the RGB image.
  • the vehicle detection model can use, for example, a target detection algorithm (such as Faster RCNN, SSD, YOLO, etc.), which is obtained by training using the COCO data set.
  • a target detection algorithm such as Faster RCNN, SSD, YOLO, etc.
  • step S104 for each of the plurality of vehicles, the constraint frame of the vehicle is determined in the RGB image based on the size data of the vehicle.
  • a virtual coordinate system can be constructed in the RGB image.
  • a virtual coordinate system can be constructed in an RGB image with a depth camera or a 2D camera as the origin. Then, extract the coordinates of the upper left corner of each vehicle in the RGB image based on the virtual coordinate system, and draw the rectangular constraint frame including the vehicle in the RGB image according to the size data of the corresponding vehicle obtained.
  • the width of the vehicle in the RGB image is used as the rectangular constraint frame
  • the width of the car, with the height of the vehicle in the image as the length of the rectangular constrained frame, can quickly draw the rectangular constrained frame corresponding to the vehicle in the RGB image.
  • the coordinates of other points of the vehicle in the RGB image may also be extracted to draw the constraint frame.
  • the shape of the constraint frame is not limited to a rectangle, but may be any shape designed according to actual needs.
  • step S105 for each of a plurality of vehicles, the overlapping rate of the constraint frame of the vehicle and the target area frame is calculated.
  • the intersection ratio of the vehicle and the target area may be calculated based on the bounding frame area of the vehicle and the target area frame area as the overlap ratio.
  • step S106 for each of the plurality of vehicles, based on the size data of the vehicle, the position of the constraint frame of the vehicle in the RGB image, and the position of the target area frame in the RGB image, calculate the vehicle and the The normalized distance of the target area frame.
  • a normalized distance formula may be used
  • Car.x represents the abscissa value of the center point of the constraint frame
  • Car.y represents the ordinate value of the center point of the constraint frame
  • Target.x Represents the abscissa value of the target
  • Target.y represents the ordinate value of the target
  • Car.width represents the width data of the vehicle
  • Car.height represents the height data of the vehicle.
  • step S107 according to the overlap rate and the normalized distance corresponding to each of the plurality of vehicles, a preceding vehicle target vehicle is determined from the plurality of vehicles, and the preceding vehicle target vehicle is obtained according to the depth image The distance from the car.
  • an unsupervised front vehicle screening algorithm may be used to lock the target vehicle in front of the vehicle based on the overlap rate and normalized distance corresponding to each vehicle.
  • the unsupervised preceding vehicle screening algorithm is as follows:
  • the vehicle distance corresponding to the preceding vehicle target vehicle is extracted from the depth image as the vehicle distance between the preceding vehicle target vehicle and the own vehicle.
  • the first overlap rate threshold, the second overlap rate threshold, and the distance threshold can be arbitrarily selected according to actual experience, and the disclosure does not limit the selection of the threshold.
  • the foregoing embodiment may also use a neural network front-vehicle screening algorithm to locate the preceding vehicle target vehicle.
  • the specific method is:
  • xi represents the vehicle characteristics, including three dimensional vectors, which are the overlap rate (intersection and merge ratio IOU), normalization
  • yi represents the screening result of the target vehicle in front
  • yi will automatically output the recognition result based on the three-dimensional vector values in xi. For example, when the output of yi is 1, it indicates that the vehicle is a target vehicle in front, and when the output of yi is 0, it indicates that the vehicle is not a target vehicle in front.
  • the classifier can select different neural network frameworks to train the sample set, and the neural network frameworks can be AlexNet, VGG, etc.
  • a combination of RGB image and depth image is adopted, which can accurately locate the position of each vehicle in the RGB image and the distance from the vehicle, and can simultaneously ensure the ranging accuracy and positioning Accuracy.
  • an unsupervised front vehicle screening algorithm is used to lock the target vehicle in front of the vehicle, and the distance between the target vehicle in front is combined with the depth image to achieve accurate and fast detection of the distance in front of the vehicle.
  • the distance between the target vehicle in front of the vehicle and the own vehicle can also be optimized.
  • median distance filtering, anomaly window detection processing, and Kalman filtering may be sequentially performed on the distance between the target vehicle in front of the vehicle and the vehicle in a predetermined length of time window centered on the current time to obtain the optimized The distance between the target vehicle in front and the own vehicle.
  • the median filter is a commonly used time-series filtering algorithm.
  • the isolated noise caused by the false detection of the target detection algorithm is similar to salt and pepper noise, showing the characteristics of pulses.
  • the median filter can be used to remove it, that is, at the current time as the center In a time window with a length of Tn, after sorting the distance of the target vehicle in front of the vehicle, the median is selected as the filtered distance at the current time. For example, it is generally better to set Tn to 5.
  • Kalman filtering is an optimized autoregressive data processing algorithm. In a dynamic system where the state is approximately linear and the measurement result is disturbed by Gaussian noise, the regression data processing algorithm is known when both the state transition equation and the measurement variance are known. Filtering the measured values can be used in the fields of robot navigation, control, sensor data fusion, radar missile tracking, and computer graphics processing.
  • the state transition equation of Kalman filter is as follows:
  • X (k) AX (k-1) + BU (k) + W (k)
  • X (k) represents the state variable of the system at time k, which is the distance between the target vehicle in front of the vehicle and the target vehicle speed in this embodiment;
  • A is the state transition matrix, which can be obtained by using the first-order constant speed model Out;
  • BU (k) means external control items;
  • W (k) is the state change caused by other unknown interference, in the absence of more information, it can be replaced by Gaussian noise with known variance, the larger the variance is set , Representing less confidence in the equation of state, that is, the higher the randomness of the movement of the distance ahead.
  • the time window maintained by false detection and missed detection is about 1-15 frames, showing a peak-noise-like property.
  • the median distance between the target vehicle in front of the vehicle and the vehicle is sequentially filtered and The abnormal window detection process can remove the false detection and missed detection noise, and improve the accuracy of the screening of the target vehicle in front.
  • Kalman filtering is performed on the distance between the target vehicle in front and the vehicle to obtain the optimized distance between the target vehicle in front and the vehicle, which can ensure the measurement accuracy of the distance between vehicles.
  • FIG. 2 is an exemplary structural block diagram of a preceding vehicle distance detection system according to an embodiment of the present disclosure.
  • the system 200 may include a processing circuit 201.
  • the processing circuit 201 of the system 200 provides various functions of the system 200.
  • the processing circuit 201 of the system 200 may be configured to perform the preceding vehicle distance detection method described above with reference to FIG. 1.
  • the processing circuit 201 may refer to various implementations of digital circuitry, analog circuitry, or mixed-signal (combination of analog and digital) circuitry that performs functions in a computing system.
  • the processing circuit may include, for example, a circuit such as an integrated circuit (IC), an application specific integrated circuit (ASIC), a part or circuit of a separate processor core, an entire processor core, a separate processor, such as a field programmable gate array (FPGA) Programmable hardware devices, and / or systems that include multiple processors.
  • IC integrated circuit
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • the processing circuit 201 may include an image acquisition unit 202, a target area setting unit 203, a size data extraction unit 204, a constraint frame determination unit 205, an overlap ratio calculation unit 206, a distance calculation unit 207, a preceding vehicle target vehicle Determination unit 208.
  • the image acquisition unit 202 is configured to acquire an RGB image and a depth image of the front angle of the vehicle; the target area frame setting unit 203 is configured to preset the target area frame in the RGB image; the size data extraction unit 204 is configured to extract the RGB image
  • the constraint frame determination unit 205 is configured to determine the constraint frame of the vehicle in the RGB image according to the size data of the vehicle for each vehicle in the plurality of vehicles;
  • the overlap rate calculation unit 206 is configured to calculate the overlap rate of the constraint frame of the vehicle and the target area frame for each of the plurality of vehicles;
  • the distance calculation unit 207 is configured to target the plurality of vehicles For each vehicle in, based on the size data of the vehicle, the position of the constraint frame of the vehicle in the RGB image, and the position of the target area frame in the RGB image, calculate the relationship between the vehicle and the target area frame Normalized distance;
  • the preceding vehicle target vehicle determining unit 208 is configured to determine the preceding vehicle target
  • the system 200 may also include memory (not shown).
  • the memory of the system 200 may store the information generated by the processing circuit 201 and the programs and data used for the operation of the system 200.
  • the memory may be volatile memory and / or non-volatile memory.
  • the memory may include, but is not limited to, random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), read only memory (ROM), and flash memory.
  • the system 200 may be implemented at the chip level, or may also be implemented at the device level by including other external components.
  • the system 200 may include a motion filtering unit (not shown) configured to sequentially median the distance between the target vehicle in front and the own vehicle in a predetermined length of time window centered on the current time Filtering, anomaly window detection processing and Kalman filtering to obtain an optimized distance between the target vehicle in front and the own vehicle, wherein the anomaly window detection processing detects an anomalous window in the predetermined length of time window, using The vehicle distance fitting result calculated by the vehicle distance value in the time window before and after the abnormal window replaces the vehicle distance value in the abnormal window.
  • a motion filtering unit (not shown) configured to sequentially median the distance between the target vehicle in front and the own vehicle in a predetermined length of time window centered on the current time Filtering, anomaly window detection processing and Kalman filtering to obtain an optimized distance between the target vehicle in front and the own vehicle, wherein the anomaly window detection processing detects an anomalous window in the predetermined length of time window, using The vehicle distance fitting result calculated by the vehicle distance value in the time window before and after the abnormal window replaces
  • the above units are only logical modules divided according to the specific functions they implement, and are not intended to limit specific implementations. In actual implementation, the above units may be implemented as independent physical entities, or may be implemented by a single entity (for example, a processor (CPU or DSP, etc.), an integrated circuit, etc.).
  • the preceding vehicle distance detection system provided by the embodiment of the present disclosure and the preceding vehicle distance detection method provided by the embodiments of the present disclosure belong to the same inventive concept, and can execute the preceding vehicle distance detection method provided by any embodiment of the present disclosure, and have The corresponding functional modules and beneficial effects of the detection method.
  • the preceding vehicle distance detection method provided in the embodiments of the present disclosure and details are not described herein again.
  • FIG. 3 is a block diagram of an exemplary configuration of a computing device that can implement embodiments of the present disclosure.
  • the computing device 300 is an example of a hardware device to which the above-mentioned aspects of the present disclosure can be applied.
  • the computing device 300 may be any machine configured to perform processing and / or calculations.
  • the computing device 300 may be, but not limited to, a workstation, server, desktop computer, laptop computer, tablet computer, personal data assistant (PDA), smart phone, in-vehicle computer, or combination thereof.
  • PDA personal data assistant
  • the computing device 300 may include one or more elements that may connect or communicate with the bus 302 via one or more interfaces.
  • the bus 302 may include, but is not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus, etc.
  • the computing device 300 may include, for example, one or more processors 304, one or more input devices 306, and one or more output devices 308.
  • the one or more processors 304 may be any kind of processors, and may include, but are not limited to, one or more general-purpose processors or special-purpose processors (such as special-purpose processing chips).
  • the processor 304 may correspond to, for example, the processing circuit 201 in FIG. 2 and is configured to implement the functions of the units of the preceding vehicle distance detection system of the present disclosure.
  • the input device 306 may be any type of input device capable of inputting information to a computing device, and may include, but is not limited to, a mouse, keyboard, touch screen, microphone, and / or remote controller.
  • the output device 308 may be any type of device capable of presenting information, and may include, but is not limited to, a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer.
  • the computing device 300 may also include or be connected to a non-transitory storage device 314, which may be any non-transitory storage device that can implement data storage, and may include but is not limited to disk drives, optical Storage devices, solid-state memory, floppy disks, flexible disks, hard disks, magnetic tape, or any other magnetic media, compact disks, or any other optical media, cache memory, and / or any other memory chips or modules, and / or computers can read data from them , Instructions and / or any other medium of code.
  • the computing device 300 may also include random access memory (RAM) 310 and read-only memory (ROM) 312.
  • the ROM 312 may store programs, utilities, or processes to be executed in a non-volatile manner.
  • the RAM 310 may provide volatile data storage and store instructions related to the operation of the computing device 300.
  • the computing device 300 may also include a network / bus interface 316 coupled to the data link 318.
  • the network / bus interface 316 may be any kind of device or system capable of enabling communication with external devices and / or networks, and may include, but is not limited to, a modem, a network card, an infrared communication device, a wireless communication device, and / or a chipset (such as Bluetooth (TM) device, an 802.11 device, WiFi equipment, WiMax, cellular communication facilities, etc.).
  • TM Bluetooth
  • a vehicle distance detection device including:
  • One or more processors are One or more processors;
  • a memory on which computer-executable instructions are stored, which when executed by the one or more processors cause the one or more processors to:
  • the overlap rate and the normalized distance corresponding to each of the plurality of vehicles determine the target vehicle in front of the plurality of vehicles, and obtain the target vehicle in front of the vehicle and the own vehicle according to the depth image Distance.
  • Solution 2 In the preceding vehicle distance detection device of Solution 1, the computer-executable instructions, when executed by the one or more processors, cause the one or more processors to:
  • the RGB image is collected using a 2D camera installed in the vehicle, and the depth image is collected using a millimeter wave radar / distance sensor installed in the vehicle.
  • Solution 3 In the preceding vehicle distance detection device of solution 1, the computer-executable instructions, when executed by the one or more processors, cause the one or more processors to:
  • Solution 4 In the preceding vehicle distance detection device of solution 1, the computer-executable instructions, when executed by the one or more processors, cause the one or more processors to:
  • Car represents the bounding box area of the vehicle
  • ROI represents the area of the target area box
  • Solution 5 In the preceding vehicle distance detection device of solution 1, the computer-executable instructions, when executed by the one or more processors, cause the one or more processors to:
  • Car.x represents the horizontal coordinate value of the center point of the constraint frame
  • Car.y represents the vertical coordinate value of the center point of the constraint frame
  • Target.x represents the predetermined target point of the target area frame
  • the abscissa value, Target.y represents the ordinate value of the target point
  • Car.width represents the width data of the vehicle
  • Car.height represents the height data of the vehicle.
  • the target area frame is a trapezoidal area frame directly in front of the vehicle selected from the RGB image, and the target point is a center point of the target area frame .
  • Solution 7 In the preceding vehicle distance detection device of Solution 1, the computer-executable instructions, when executed by the one or more processors, cause the one or more processors to:
  • Solution 8 In the preceding vehicle distance detection device of solution 1, the computer-executable instructions, when executed by the one or more processors, cause the one or more processors to:
  • the abnormal window detection process detects an abnormal window in the predetermined length of time window, and replaces the abnormal window with a vehicle distance fitting result calculated based on the vehicle distance values in time windows before and after the abnormal window Car distance value.
  • the aforementioned embodiments may be embodied as computer-readable codes on a computer-readable medium.
  • the computer-readable medium is any data storage device that can store data, which can thereafter be read by a computer system. Examples of computer-readable media include read-only memory, random access memory, CD-ROM, DVD, magnetic tape, hard disk drives, solid-state drives, and optical data storage devices.
  • the computer-readable medium can also be distributed among network-coupled computer systems so that the computer-readable code is stored and executed in a distributed fashion.
  • Hardware circuits may include combined logic circuits, clock storage devices (such as floppy disks, flip-flops, latches, etc.), finite state machines, memories such as static random access memory or embedded dynamic random access memory, custom-designed circuits, Any combination of programmable logic arrays, etc.
  • clock storage devices such as floppy disks, flip-flops, latches, etc.
  • finite state machines such as static random access memory or embedded dynamic random access memory
  • custom-designed circuits any combination of programmable logic arrays, etc.

Abstract

A method and a system for measuring the distance to a leading vehicle. The method for measuring the distance to a leading vehicle comprises: acquiring an RGB image and a depth image at a front viewing angle of a vehicle (S101); setting a target area frame in the RGB image (S102); extracting size data corresponding to a plurality of vehicles in the RGB image (S103); for each of the plurality of vehicles, according to the size data of the vehicle, determining a constraint frame of the vehicle in the RGB image (S104), calculating an overlapping ratio of the constraint frame of the vehicle to the target area frame (S105), calculating a normalized distance between the vehicle and the target area frame on the basis of the size data of the vehicle, the position of the constraint frame of the vehicle in the RGB image, and the position of the target area frame in the RGB image (S106); and according to the overlapping ratio and normalized distance corresponding to each of the plurality of vehicles, determining a target leading vehicle from the plurality of vehicles, and obtaining a vehicle distance between the target leading vehicle and the vehicle according to the depth image (S107).

Description

一种前车距离检测方法及系统Method and system for detecting distance in front of vehicle 技术领域Technical field
本公开涉及距离检测技术领域,尤其涉及一种前车距离检测方法及系统。The present disclosure relates to the technical field of distance detection, and in particular to a method and system for distance detection of a preceding vehicle.
背景技术Background technique
随着经济的发展,汽车的保有量也随之逐年增加,安全驾驶已成为一个不可忽视的问题,经统计分析汽车追尾事故占交通总事故的比例居高不下,而为了减少汽车追尾事故的发生,车距检测预警技术应运而生,其检测预警的原理是当车距过近触碰阈值时会对驾驶员进行碰撞提醒或者自动采取制动措施,以减少追尾事故的发生。With the development of economy, the number of cars has increased year by year, and safe driving has become a problem that cannot be ignored. After statistical analysis, the proportion of car rear-end accidents in the total traffic accidents remains high, and in order to reduce the occurrence of car rear-end accidents The distance detection and early warning technology came into being. The principle of detection and early warning is that when the vehicle distance is too close and touches the threshold, the driver will be reminded of the collision or automatically take braking measures to reduce the occurrence of rear-end collisions.
常用的车距检测预警技术包括两类,第一种为基于普通摄像头的视觉解决方案,先进行目标识别,然后根据单目或双目测距算法得到前车距离并预警;第二种是通过毫米波雷达向前方区域发送电磁波并接收回波以测得前方物体的距离、速度和角度,得到前车距离并预警。这两种预警技术各有优劣,基于普通摄像头的解决方案成本较低,可以精准识别前车在视野中的位置,提供了更多的语义信息,但视觉解决方案的测距距离和测距精度远不如毫米波雷达。与之相反,毫米波雷达虽然测距精度高,但视野相对较窄,也不能返回任何语义信息,在二维空间中难以准确识别前车位置。Commonly used vehicle distance detection and early warning technologies include two types. The first is a visual solution based on a common camera, which first performs target recognition, and then obtains the distance of the vehicle in front and warns according to the monocular or binocular ranging algorithm; The millimeter wave radar sends electromagnetic waves to the front area and receives echoes to measure the distance, speed and angle of the object in front of it, to get the distance of the vehicle in front and to give early warning. These two early warning technologies have their own advantages and disadvantages. The solution based on the ordinary camera has a lower cost, can accurately identify the position of the front car in the field of view, and provides more semantic information, but the ranging distance and ranging of the visual solution The accuracy is far inferior to millimeter wave radar. In contrast, although millimeter-wave radar has high ranging accuracy, its field of view is relatively narrow, and it cannot return any semantic information. It is difficult to accurately identify the position of the preceding vehicle in two-dimensional space.
发明内容Summary of the invention
在下文中给出了关于本公开的简要概述,以便提供关于本公开的一些方面的基本理解。但是,应当理解,这个概述并不是关于本公开的穷举性概述。它并不是意图用来确定本公开的关键性部分或重要部分,也不是意图用来限定本公开的范围。其目的仅仅是以简化的形式给出关于本公开的某些概念,以此作为稍后给出的更详细描述的前序。A brief overview of the present disclosure is given below in order to provide a basic understanding of some aspects of the present disclosure. However, it should be understood that this overview is not an exhaustive overview of the disclosure. It is not intended to be used to determine critical or important parts of the disclosure, nor is it intended to limit the scope of the disclosure. Its purpose is to present some concepts of the disclosure in a simplified form as a prelude to the more detailed description that is presented later.
本公开的目的在于提供一种能够同时确保测距精度和定位准确度的前车距离检测方法及系统。The purpose of the present disclosure is to provide a method and system for detecting the distance between a vehicle in front and capable of ensuring both ranging accuracy and positioning accuracy.
为了实现上述目的,本公开的一方面提供一种前车距离检测方法,包括:In order to achieve the above objective, an aspect of the present disclosure provides a method for detecting a distance ahead of a vehicle, including:
获取本车前方视角的RGB图像和深度图像;Obtain RGB images and depth images of the front view of the vehicle;
在所述RGB图像中设定目标区域框;Setting a target area frame in the RGB image;
提取所述RGB图像中的多个车辆对应的尺寸数据;Extract size data corresponding to multiple vehicles in the RGB image;
针对所述多个车辆中的每个车辆:For each vehicle in the plurality of vehicles:
根据所述车辆的尺寸数据,在所述RGB图像中确定所述车辆的约束框;Determine the constraint frame of the vehicle in the RGB image according to the size data of the vehicle;
计算所述车辆的约束框与所述目标区域框的重叠率;Calculating the overlapping rate of the constraint frame of the vehicle and the target area frame;
基于所述车辆的尺寸数据、所述车辆的约束框在所述RGB图像中的位置和所述目标区域框在所述RGB图像中的位置,计算所述车辆与所述目标区域框的归一化距离;Based on the size data of the vehicle, the position of the constraint frame of the vehicle in the RGB image, and the position of the target area frame in the RGB image, calculating the normalization of the vehicle and the target area frame Distance
根据所述多个车辆中的每个车辆对应的重叠率和归一化距离,从所述多个车辆中确定前车目标车辆,并根据所述深度图像得到所述前车目标车辆与本车的车距。According to the overlap rate and the normalized distance corresponding to each of the plurality of vehicles, determine the target vehicle in front of the plurality of vehicles, and obtain the target vehicle in front of the vehicle and the own vehicle according to the depth image Distance.
在一些实施例中,所述获取本车前方视角的RGB图像和深度图像包括:In some embodiments, the acquiring RGB images and depth images of the front angle of the vehicle includes:
利用安装于本车的深度摄像头同时采集所述RGB图像和所述深度图像;或者Collect the RGB image and the depth image at the same time using a depth camera installed in the vehicle; or
利用安装于本车的2D摄像头采集所述RGB图像,以及利用安装于本车的毫米波雷达/距离传感器采集所述深度图像。The RGB image is collected using a 2D camera installed in the vehicle, and the depth image is collected using a millimeter wave radar / distance sensor installed in the vehicle.
在一些实施例中,所述根据所述车辆的尺寸数据,在所述RGB图像中确定所述车辆的约束框包括:In some embodiments, the determining the constraint frame of the vehicle in the RGB image according to the size data of the vehicle includes:
在所述RGB图像中构建虚拟坐标系;Construct a virtual coordinate system in the RGB image;
基于所述虚拟坐标系提取所述RGB图像中所述车辆的左上角点坐标,并根据所述车辆的尺寸数据,在所述RGB图像中绘制包括所述车辆的矩形约束框。Extract the coordinates of the upper left corner of the vehicle in the RGB image based on the virtual coordinate system, and draw a rectangular constraint frame including the vehicle in the RGB image according to the size data of the vehicle.
在一些实施例中,所述计算所述车辆的约束框与所述目标区域框的重叠率包括:In some embodiments, the calculating the overlapping rate of the constraint frame of the vehicle and the target area frame includes:
采用交并比公式
Figure PCTCN2019095980-appb-000001
计算所述车辆的约束框与所述目标区域框的交并比IOU,作为所述重叠率,
Use the cross-combination formula
Figure PCTCN2019095980-appb-000001
Calculating the intersection ratio IOU of the constraint frame of the vehicle and the target area frame as the overlapping rate,
其中,Car表示所述车辆的约束框面积,ROI表示所述目标区域框的面积。Wherein, Car represents the bounding box area of the vehicle, and ROI represents the area of the target area box.
在一些实施例中,所述基于所述车辆的尺寸数据、所述车辆的约束框在所述RGB图像中的位置和所述目标区域框在所述RGB图像中的位置,计算所述车辆与所述目标区域框的归一化距离包括:In some embodiments, the vehicle is calculated based on the size data of the vehicle, the position of the constraint frame of the vehicle in the RGB image, and the position of the target area frame in the RGB image. The normalized distance of the target area frame includes:
采用归一化距离公式
Figure PCTCN2019095980-appb-000002
计算所述车辆与所述目标区域框的归一化距离,
Use the normalized distance formula
Figure PCTCN2019095980-appb-000002
Calculating the normalized distance between the vehicle and the target area frame,
其中,Car.x表示所述约束框的中心点的横坐标值,Car.y表示所述约束框的中心点的纵坐标值,Target.x表示所述目标区域框中预先确定的靶点的横坐标值,Target.y表示所述靶点的纵坐标值,Car.width表示所述车辆的宽数据,Car.height表示所述车辆的高数据。Where Car.x represents the horizontal coordinate value of the center point of the constraint frame, Car.y represents the vertical coordinate value of the center point of the constraint frame, and Target.x represents the predetermined target point of the target area frame The abscissa value, Target.y represents the ordinate value of the target point, Car.width represents the width data of the vehicle, and Car.height represents the height data of the vehicle.
在一些实施例中,所述目标区域框是从所述RGB图像中选取的本车正前方的梯形区域框,所述靶点是所述目标区域框的中心点。In some embodiments, the target area frame is a trapezoidal area frame directly in front of the vehicle selected from the RGB image, and the target point is a center point of the target area frame.
在一些实施例中,所述根据所述多个车辆中的每个车辆对应的重叠率和归一化距离,从所述多个车辆中确定前车目标车辆,并根据深度图像得到所述前车目标车辆与本车的车距包括:In some embodiments, the target vehicle ahead is determined from the plurality of vehicles according to the overlapping rate and normalized distance corresponding to each vehicle of the plurality of vehicles, and the front The distance between the target vehicle and the vehicle includes:
从所述多个车辆中筛选所述重叠率大于第一重叠率阈值或者所述归一化距离小于距离阈值的车辆,作为第一目标车辆集合;Selecting vehicles from the plurality of vehicles whose overlap rate is greater than a first overlap rate threshold or the normalized distance is less than a distance threshold as a first target vehicle set;
从所述第一目标车辆集合中筛选所述重叠率大于第二重叠率阈值的车辆,作为第二目标车辆集合,其中,所述第二重叠率阈值小于所述第一重叠率阈值;Selecting vehicles from the first target vehicle set with the overlap rate greater than a second overlap rate threshold as a second target vehicle set, wherein the second overlap rate threshold is less than the first overlap rate threshold;
从所述第二目标车辆集合中筛选所述重叠率最大的车辆作为所述前车目标车辆;Selecting the vehicle with the largest overlap rate from the second target vehicle set as the preceding vehicle target vehicle;
从所述深度图像中提取所述前车目标车辆对应的车距作为所述前车目标车辆与本车的车距。Extract the vehicle distance corresponding to the preceding vehicle target vehicle from the depth image as the vehicle distance between the preceding vehicle target vehicle and the own vehicle.
在一些实施例中,所述前车距离检测方法还可以包括:In some embodiments, the preceding vehicle distance detection method may further include:
对以当前时刻为中心的预定长度的时间窗口中的前车目标车辆与本车的车距依次进行中值滤波、异常窗口检测处理和卡尔曼滤波,得到优化后的前车目标车辆与本车的车距,Perform the median filtering, abnormal window detection processing and Kalman filtering on the distance between the target vehicle in front of the vehicle and the vehicle in a predetermined length of time window centered on the current time to obtain the optimized target vehicle in front of the vehicle Distance
其中,所述异常窗口检测处理检测所述预定长度时间窗口中的异常窗口,使用基于所述异常窗口前后的时间窗口中的车距值计算出的车距拟合结果来代替所述异常窗口中的车距值。Wherein, the abnormal window detection process detects an abnormal window in the predetermined length of time window, and replaces the abnormal window with a vehicle distance fitting result calculated based on the vehicle distance values in time windows before and after the abnormal window Car distance value.
本公开的另一方面提供一种前车距离检测系统,包括:Another aspect of the present disclosure provides a front vehicle distance detection system, including:
图像获取单元,被配置为获取本车前方视角的RGB图像和深度图像;The image acquisition unit is configured to acquire RGB images and depth images of the front angle of the vehicle;
目标区域框设定单元,被配置为在所述RGB图像中预设目标区域框;A target area frame setting unit configured to preset a target area frame in the RGB image;
尺寸数据提取单元,被配置为提取所述RGB图像中的多个车辆对应的尺寸数据;A size data extraction unit configured to extract size data corresponding to multiple vehicles in the RGB image;
约束框确定单元,被配置为针对所述多个车辆中的每个车辆,根据所述车辆的尺寸数据,在所述RGB图像中确定所述车辆的约束框;A constraint frame determination unit configured to determine the constraint frame of the vehicle in the RGB image according to the size data of the vehicle for each of the plurality of vehicles;
重叠率计算单元,被配置为针对所述多个车辆中的每个车辆,计算所述车辆的约束框与所述目标区域框的重叠率;An overlapping rate calculation unit configured to calculate the overlapping rate of the constraint frame of the vehicle and the target area frame for each of the plurality of vehicles;
距离计算单元,被配置为针对所述多个车辆中的每个车辆,基于所述车辆的尺寸数据、所述车辆的约束框在所述RGB图像中的位置和所述目标区域框在所述RGB图像中的位置,计算所述车辆与所述目标区域框的归一化距离;The distance calculation unit is configured to, for each vehicle of the plurality of vehicles, based on the size data of the vehicle, the position of the constraint frame of the vehicle in the RGB image, and the target area frame in the The position in the RGB image, calculating the normalized distance between the vehicle and the target area frame;
前车目标车辆确定单元,被配置为根据所述多个车辆中的每个车辆对应的重叠率和归一化距离,从所述多个车辆中确定前车目标车辆,并根据所述深度图像得到所述前车目标 车辆与本车的车距。The preceding vehicle target vehicle determining unit is configured to determine the preceding vehicle target vehicle from the plurality of vehicles according to the overlap rate and the normalized distance corresponding to each vehicle of the plurality of vehicles, and according to the depth image Obtain the distance between the preceding target vehicle and the own vehicle.
在一些实施例中,所述图像获取单元被配置为:In some embodiments, the image acquisition unit is configured to:
利用安装于本车的深度摄像头同时采集所述RGB图像和所述深度图像;或者Collect the RGB image and the depth image at the same time using a depth camera installed in the vehicle; or
利用安装于本车的2D摄像头采集所述RGB图像,以及利用安装于本车的毫米波雷达/距离传感器采集所述深度图像。The RGB image is collected using a 2D camera installed in the vehicle, and the depth image is collected using a millimeter wave radar / distance sensor installed in the vehicle.
在一些实施例中,所述约束框确定单元被配置为:In some embodiments, the constraint box determination unit is configured to:
在所述RGB图像中构建虚拟坐标系;Construct a virtual coordinate system in the RGB image;
基于所述虚拟坐标系提取所述RGB图像中所述车辆的左上角点坐标,并根据所述车辆的尺寸数据,在所述RGB图像中绘制包括所述车辆的矩形约束框。Extract the coordinates of the upper left corner of the vehicle in the RGB image based on the virtual coordinate system, and draw a rectangular constraint frame including the vehicle in the RGB image according to the size data of the vehicle.
在一些实施例中,所述重叠率计算单元被配置为:In some embodiments, the overlapping rate calculation unit is configured to:
采用交并比公式
Figure PCTCN2019095980-appb-000003
计算所述车辆的约束框与所述目标区域框的交并比IOU,作为所述重叠率,
Use the cross-combination formula
Figure PCTCN2019095980-appb-000003
Calculating the intersection ratio IOU of the constraint frame of the vehicle and the target area frame as the overlapping rate,
其中,Car表示所述车辆的约束框面积,ROI表示所述目标区域框的面积。Wherein, Car represents the bounding box area of the vehicle, and ROI represents the area of the target area box.
在一些实施例中,所述距离计算单元被配置为:In some embodiments, the distance calculation unit is configured to:
采用归一化距离公式
Figure PCTCN2019095980-appb-000004
计算所述车辆与所述目标区域框的归一化距离,
Use the normalized distance formula
Figure PCTCN2019095980-appb-000004
Calculating the normalized distance between the vehicle and the target area frame,
其中,Car.x表示所述约束框的中心点的横坐标值,Car.y表示所述约束框的中心点的纵坐标值,Target.x表示所述目标区域框中预先确定的靶点的横坐标值,Target.y表示所述靶点的纵坐标值,Car.width表示所述车辆的宽数据,Car.height表示所述车辆的高数据。Where Car.x represents the horizontal coordinate value of the center point of the constraint frame, Car.y represents the vertical coordinate value of the center point of the constraint frame, and Target.x represents the predetermined target point of the target area frame The abscissa value, Target.y represents the ordinate value of the target point, Car.width represents the width data of the vehicle, and Car.height represents the height data of the vehicle.
在一些实施例中,所述目标区域框是从所述RGB图像中选取的本车正前方的梯形区域框,所述靶点是所述目标区域框的中心点。In some embodiments, the target area frame is a trapezoidal area frame directly in front of the vehicle selected from the RGB image, and the target point is a center point of the target area frame.
在一些实施例中,所述前车目标车辆确定单元被配置为:In some embodiments, the preceding vehicle target vehicle determination unit is configured to:
从所述多个车辆中筛选所述重叠率大于第一重叠率阈值或者所述归一化距离小于距离阈值的车辆,作为第一目标车辆集合;Selecting vehicles from the plurality of vehicles whose overlap rate is greater than a first overlap rate threshold or the normalized distance is less than a distance threshold as a first target vehicle set;
从所述第一目标车辆集合中筛选所述重叠率大于第二重叠率阈值的车辆,作为第二目标车辆集合,其中,所述第二重叠率阈值小于所述第一重叠率阈值;Selecting vehicles from the first target vehicle set with the overlap rate greater than a second overlap rate threshold as a second target vehicle set, wherein the second overlap rate threshold is less than the first overlap rate threshold;
从所述第二目标车辆集合中筛选所述重叠率最大的车辆作为所述前车目标车辆;Selecting the vehicle with the largest overlap rate from the second target vehicle set as the preceding vehicle target vehicle;
从所述深度图像中提取所述前车目标车辆对应的车距作为所述前车目标车辆与本车的车距。Extract the vehicle distance corresponding to the preceding vehicle target vehicle from the depth image as the vehicle distance between the preceding vehicle target vehicle and the own vehicle.
在一些实施例中,所述前车距离检测系统还可以包括:In some embodiments, the preceding vehicle distance detection system may further include:
运动滤波单元,所述运动滤波单元被配置为对以当前时刻为中心的预定长度的时间窗口中的前车目标车辆与本车的车距依次进行中值滤波、异常窗口检测处理和卡尔曼滤波,得到优化后的前车目标车辆与本车的车距,A motion filtering unit configured to sequentially perform median filtering, anomalous window detection processing, and Kalman filtering on the distance between the preceding target vehicle and the own vehicle in a predetermined length of time window centered on the current time , To get the optimized distance between the target vehicle in front and the vehicle,
其中,所述异常窗口检测处理检测所述预定长度时间窗口中的异常窗口,使用基于所述异常窗口前后的时间窗口中的车距值计算出的车距拟合结果来代替所述异常窗口中的车距值。Wherein, the abnormal window detection process detects an abnormal window in the predetermined length of time window, and replaces the abnormal window with a vehicle distance fitting result calculated based on the vehicle distance values in time windows before and after the abnormal window Car distance value.
本公开的又一方面提供一种计算机可读存储介质,其上存储有计算机程序,所述程序被处理器运行时,使所述处理器执行如下处理:Yet another aspect of the present disclosure provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the processor is caused to perform the following processing:
获取本车前方视角的RGB图像和深度图像;Obtain RGB images and depth images of the front view of the vehicle;
在所述RGB图像中设定目标区域框;Setting a target area frame in the RGB image;
提取所述RGB图像中的多个车辆对应的尺寸数据;Extract size data corresponding to multiple vehicles in the RGB image;
针对所述多个车辆中的每个车辆:For each vehicle in the plurality of vehicles:
根据所述车辆的尺寸数据,在所述RGB图像中确定所述车辆的约束框;Determine the constraint frame of the vehicle in the RGB image according to the size data of the vehicle;
计算所述车辆的约束框与所述目标区域框的重叠率;Calculating the overlapping rate of the constraint frame of the vehicle and the target area frame;
基于所述车辆的尺寸数据、所述车辆的约束框在所述RGB图像中的位置和所述目标区域框在所述RGB图像中的位置,计算所述车辆与所述目标区域框的归一化距离;Based on the size data of the vehicle, the position of the constraint frame of the vehicle in the RGB image, and the position of the target area frame in the RGB image, calculating the normalization of the vehicle and the target area frame Distance
根据所述多个车辆中的每个车辆对应的重叠率和归一化距离,从所述多个车辆中确定前车目标车辆,并根据所述深度图像得到所述前车目标车辆与本车的车距。According to the overlap rate and the normalized distance corresponding to each of the plurality of vehicles, determine the target vehicle in front of the plurality of vehicles, and obtain the target vehicle in front of the vehicle and the own vehicle according to the depth image Distance.
根据本公开的一个或多个实施例,能够实现同时确保测距精度和定位准确度的前车距离检测方法和系统。According to one or more embodiments of the present disclosure, a preceding vehicle distance detection method and system capable of simultaneously ensuring ranging accuracy and positioning accuracy can be realized.
附图说明BRIEF DESCRIPTION
此处所说明的附图用来提供对本公开的进一步理解,构成本公开的一部分,本公开的示意性实施例及其说明用于解释本公开,并不构成对本公开的不当限定。在附图中:The drawings described herein are used to provide a further understanding of the present disclosure and constitute a part of the present disclosure. The exemplary embodiments and descriptions of the present disclosure are used to explain the present disclosure and do not constitute an undue limitation on the present disclosure. In the drawings:
图1为根据本公开实施例的前车距离检测方法的流程示意图;FIG. 1 is a schematic flowchart of a method for detecting a distance ahead of a vehicle according to an embodiment of the present disclosure;
图2为根据本公开实施例的前车距离检测系统的示例性结构框图;2 is an exemplary structural block diagram of a preceding vehicle distance detection system according to an embodiment of the present disclosure;
图3为可以实现本公开实施例的计算设备的示例性配置框图。3 is a block diagram of an exemplary configuration of a computing device that can implement embodiments of the present disclosure.
具体实施方式detailed description
为使本公开的上述目的、特征和优点能够更加明显易懂,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述。显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动的前提下所获得的所有其它实施例,均属于本公开保护的范围。To make the above objectives, features, and advantages of the present disclosure more obvious and understandable, the technical solutions in the embodiments of the present disclosure will be described clearly and completely in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, but not all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present disclosure.
图1为根据本公开实施例的前车距离检测方法的流程示意图。FIG. 1 is a schematic flowchart of a method for detecting a distance ahead of a vehicle according to an embodiment of the present disclosure.
如图1所示,在步骤S101中,获取本车前方视角的RGB图像和深度图像。As shown in FIG. 1, in step S101, an RGB image and a depth image of the front angle of the host vehicle are acquired.
在一些实施例中,可以通过安装在本车(例如车头)的图像采集单元实时采集本车前方视角的RGB图像和深度图像。RGB图像中可以包括当前视角的所有车辆。另外,深度图像能够提取RGB图像中各车辆与本车的车距信息。In some embodiments, the RGB image and the depth image of the front view of the vehicle can be collected in real time by an image acquisition unit installed in the vehicle (for example, the front of the vehicle). The RGB image may include all vehicles in the current perspective. In addition, the depth image can extract the distance information between each vehicle and the own vehicle in the RGB image.
在一些实施例中,可以利用安装在本车的深度摄像头同时采集前方视角的RGB图像和深度图像。在另一些实施例中,可以利用安装在本车的2D摄像头采集前方视角的RGB图像,以及利用安装在本车车头的毫米波雷达/距离传感器采集前方视角的深度图像。In some embodiments, a depth camera installed in the vehicle may be used to simultaneously acquire RGB images and depth images of the front view angle. In other embodiments, a 2D camera mounted on the vehicle can be used to collect RGB images in the front view, and a millimeter wave radar / distance sensor mounted on the front of the vehicle can be used to collect depth images in the front view.
在具体实施的过程中,若选择深度摄像头,则采集到的本车前方视角的RGB图像和深度图像已自动完成匹配,也即从深度图像中可直接提取各车辆的车距,无需在深度摄像头安装时对其再次匹配调整;若选择2D摄像头和毫米波雷达/距离传感器的组合方案,在安装2D摄像头和毫米波雷达/距离传感器时,需对其进行匹配校正,使其输出的RGB图像和深度图像能够匹配对应。示例性地,深度摄像头可以为英特尔RealSense主动红外立体深度摄像头D435。In the specific implementation process, if the depth camera is selected, the RGB image and the depth image of the front angle of the vehicle collected have been automatically matched, that is, the distance of each vehicle can be directly extracted from the depth image without the need for a depth camera Match and adjust it again during installation; if you choose the combination of 2D camera and millimeter wave radar / distance sensor, you need to match and correct the 2D camera and millimeter wave radar / distance sensor when installing the RGB image and The depth image can match the correspondence. Exemplarily, the depth camera may be an Intel RealSense active infrared stereo depth camera D435.
在步骤S102中,在RGB图像中设定目标区域框。In step S102, a target area frame is set in the RGB image.
目标区域框表示前车可能出现的区域。在一些实施例中,可以将目标区域框设定在本车的正前方。在一些实施例中,目标区域框可以是梯形区域框。在一些实施例中,可以在目标区域框中筛选一固定点作为靶点,该靶点可以代表前车出现的期望位置。在一些实施例中,靶点可以是目标区域框的中心点。The target area box indicates the area where the vehicle in front may appear. In some embodiments, the target area frame may be set directly in front of the vehicle. In some embodiments, the target area frame may be a trapezoidal area frame. In some embodiments, a fixed point may be selected as a target point in the target area frame, and the target point may represent a desired position where the preceding vehicle appears. In some embodiments, the target point may be the center point of the target area frame.
在一些实施例中,可以从RGB图像中选取深度摄像头或者2D摄像头的正前方梯形区域作为目标区域框;选取目标区域框的中心点定义为靶点。当然在实际操作过程中,也可根据工程师的经验对目标区域框和靶点的设置进行微调。例如,当深度摄像头安装在车头左前方时,目标区域框和靶点可选择设置在RGB图像中部偏左的位置。In some embodiments, the trapezoidal area directly in front of the depth camera or 2D camera can be selected from the RGB image as the target area frame; the center point of the selected target area frame is defined as the target point. Of course, in the actual operation process, the settings of the target area frame and the target point can also be fine-tuned according to the experience of the engineer. For example, when the depth camera is installed on the front left of the vehicle, the target area frame and target point can be set to the left of the center of the RGB image.
在步骤S103中,提取RGB图像中的多个车辆对应的尺寸数据。In step S103, size data corresponding to a plurality of vehicles in the RGB image is extracted.
在一些实施例中,可以采用车辆检测算法识别RGB图像中的全部车辆,并对应提取 各车辆的尺寸数据。在一些实施例中,车辆的尺寸数据可以包括车辆的宽数据、高数据等。In some embodiments, a vehicle detection algorithm may be used to identify all vehicles in the RGB image, and correspondingly extract the size data of each vehicle. In some embodiments, the size data of the vehicle may include width data, height data, and the like of the vehicle.
在一些实施例中,可以采用预训练的车辆检测模型获取RGB图像中的全部车辆,并识别其中各车辆的尺寸数据。其中,车辆检测模型例如可以采用目标检测算法(例如Faster RCNN、SSD、YOLO等),利用COCO数据集训练得到。In some embodiments, a pre-trained vehicle detection model may be used to obtain all vehicles in the RGB image and identify the size data of each vehicle in the RGB image. Among them, the vehicle detection model can use, for example, a target detection algorithm (such as Faster RCNN, SSD, YOLO, etc.), which is obtained by training using the COCO data set.
在步骤S104中,针对多个车辆中的每个车辆,根据该车辆的尺寸数据,在RGB图像中确定该车辆的约束框。In step S104, for each of the plurality of vehicles, the constraint frame of the vehicle is determined in the RGB image based on the size data of the vehicle.
在一些实施例中,可以在RGB图像中构建虚拟坐标系。例如,可以以深度摄像头或者2D摄像头为原点在RGB图像中构建虚拟坐标系。然后,基于虚拟坐标系提取RGB图像中各车辆的左上角点坐标,并根据获取到对应车辆的尺寸数据,在RGB图像中绘制包括该车辆的矩形约束框。In some embodiments, a virtual coordinate system can be constructed in the RGB image. For example, a virtual coordinate system can be constructed in an RGB image with a depth camera or a 2D camera as the origin. Then, extract the coordinates of the upper left corner of each vehicle in the RGB image based on the virtual coordinate system, and draw the rectangular constraint frame including the vehicle in the RGB image according to the size data of the corresponding vehicle obtained.
具体实施时,由于车辆左上角点坐标是可以获取的,且车辆的尺寸数据(例如宽高数据)也是已知的,因此基于车辆左上角点,以车辆在RGB图像中的宽作为矩形约束框的宽,以车辆在图像中的高作为矩形约束框的长,可快速的在RGB图像中绘制出车辆所对应的矩形约束框。In the specific implementation, since the coordinates of the upper left corner of the vehicle can be obtained, and the size data (such as width and height data) of the vehicle is also known, based on the upper left corner of the vehicle, the width of the vehicle in the RGB image is used as the rectangular constraint frame The width of the car, with the height of the vehicle in the image as the length of the rectangular constrained frame, can quickly draw the rectangular constrained frame corresponding to the vehicle in the RGB image.
应当理解,在以上的方法中,也可以提取RGB图像中车辆的其它点(例如右上角点、左下角点、右下角点等)的坐标来绘制约束框。另外,约束框的形状不限于矩形,也可以是根据实际需要设计的任意形状。It should be understood that in the above method, the coordinates of other points of the vehicle in the RGB image (for example, the upper right corner point, the lower left corner point, the lower right corner point, etc.) may also be extracted to draw the constraint frame. In addition, the shape of the constraint frame is not limited to a rectangle, but may be any shape designed according to actual needs.
在步骤S105中,针对多个车辆中的每个车辆,计算该车辆的约束框与目标区域框的重叠率。In step S105, for each of a plurality of vehicles, the overlapping rate of the constraint frame of the vehicle and the target area frame is calculated.
在一些实施例中,可以基于车辆的约束框面积和目标区域框面积,计算车辆与目标区域的交并比,作为重叠率。In some embodiments, the intersection ratio of the vehicle and the target area may be calculated based on the bounding frame area of the vehicle and the target area frame area as the overlap ratio.
具体而言,可以采用交并比公式
Figure PCTCN2019095980-appb-000005
计算各车辆的约束框与目标区域框的交并比IOU,其中,Car表示车辆的约束框面积,ROI表示目标区域框面积。
Specifically, you can use the cross-combination formula
Figure PCTCN2019095980-appb-000005
Calculate the IOU of the bound frame of each vehicle and the target area frame, where Car represents the area of the bound frame of the vehicle and ROI represents the area of the target area frame.
在步骤S106中,针对多个车辆中的每个车辆,基于该车辆的尺寸数据、该车辆的约束框在RGB图像中的位置和目标区域框在RGB图像中的位置,计算该车辆与所述目标区域框的归一化距离。In step S106, for each of the plurality of vehicles, based on the size data of the vehicle, the position of the constraint frame of the vehicle in the RGB image, and the position of the target area frame in the RGB image, calculate the vehicle and the The normalized distance of the target area frame.
在一些实施例中,可以采用归一化距离公式In some embodiments, a normalized distance formula may be used
Figure PCTCN2019095980-appb-000006
Figure PCTCN2019095980-appb-000006
来计算所述车辆与所述目标区域框的归一化距离,其中,Car.x表示约束框的中心点的 横坐标值,Car.y表示约束框的中心点的纵坐标值,Target.x表示靶点的横坐标值,Target.y表示靶点的纵坐标值,Car.width表示所述车辆的宽数据,Car.height表示所述车辆的高数据。To calculate the normalized distance between the vehicle and the target area frame, where Car.x represents the abscissa value of the center point of the constraint frame, Car.y represents the ordinate value of the center point of the constraint frame, Target.x Represents the abscissa value of the target, Target.y represents the ordinate value of the target, Car.width represents the width data of the vehicle, and Car.height represents the height data of the vehicle.
在步骤S107中,根据所述多个车辆中的每个车辆对应的重叠率和归一化距离,从所述多个车辆中确定前车目标车辆,并根据深度图像得到所述前车目标车辆与本车的车距。In step S107, according to the overlap rate and the normalized distance corresponding to each of the plurality of vehicles, a preceding vehicle target vehicle is determined from the plurality of vehicles, and the preceding vehicle target vehicle is obtained according to the depth image The distance from the car.
在一些实施例中,可以根据每个车辆对应的重叠率和归一化距离,采用无监督前车筛选算法锁定前车目标车辆。In some embodiments, an unsupervised front vehicle screening algorithm may be used to lock the target vehicle in front of the vehicle based on the overlap rate and normalized distance corresponding to each vehicle.
该无监督前车筛选算法如下:The unsupervised preceding vehicle screening algorithm is as follows:
分别统计RGB图像中多个车辆对应的重叠率和归一化距离;Count the overlap rate and normalized distance of multiple vehicles in RGB images respectively;
从多个车辆中筛选重叠率大于第一重叠率阈值或者归一化距离小于距离阈值的车辆,作为第一目标车辆集合;Select vehicles from multiple vehicles whose overlap rate is greater than the first overlap rate threshold or normalized distance is less than the distance threshold as the first target vehicle set;
从第一目标车辆集合中筛选重叠率大于第二重叠率阈值的车辆,作为第二目标车辆集合,其中,第二重叠率阈值小于第一重叠率阈值;Screening vehicles from the first target vehicle set with an overlap rate greater than the second overlap rate threshold as the second target vehicle set, where the second overlap rate threshold is less than the first overlap rate threshold;
从第二目标车辆集合中筛选重叠率最大的车辆作为所述前车目标车辆;Selecting the vehicle with the largest overlap rate from the second target vehicle set as the preceding vehicle target vehicle;
从深度图像中提取所述前车目标车辆对应的车距作为前车目标车辆与本车的车距。The vehicle distance corresponding to the preceding vehicle target vehicle is extracted from the depth image as the vehicle distance between the preceding vehicle target vehicle and the own vehicle.
上述第一重叠率阈值、第二重叠率阈值以及距离阈值可以根据实际经验来任意选取,本公开对阈值的选取没有限定。The first overlap rate threshold, the second overlap rate threshold, and the distance threshold can be arbitrarily selected according to actual experience, and the disclosure does not limit the selection of the threshold.
需要说明的是,上述实施例除了可以采用无监督前车筛选算法定位前车目标车辆以外,也可以采用神经网络前车筛选算法定位前车目标车辆,具体方法为:It should be noted that, in addition to using the unsupervised front-vehicle screening algorithm to locate the preceding vehicle target vehicle, the foregoing embodiment may also use a neural network front-vehicle screening algorithm to locate the preceding vehicle target vehicle. The specific method is:
通过事先训练生成带标注的训练样本集S={xi,yi}筛选前车目标车辆,其中,xi表示车辆特征,包括了三个维度向量,分别为重叠率(交并比IOU)、归一化距离Dist_norm和与本车的车距,yi表示前车目标车辆筛选结果,yi会根据xi中的三个维度向量值,自动输出识别结果。例如,当yi输出为1时则表示该车辆是前车目标车辆,当yi输出为0时则表示该车辆不是前车目标车辆。分类器可以选择不同的神经网络框架对样本集进行训练,神经网络框架可以为AlexNet、VGG等。The labeled training sample set S = {xi, yi} is generated by pre-training to filter the target vehicle in front, where xi represents the vehicle characteristics, including three dimensional vectors, which are the overlap rate (intersection and merge ratio IOU), normalization The distance Dist_norm and the distance to the own vehicle, yi represents the screening result of the target vehicle in front, and yi will automatically output the recognition result based on the three-dimensional vector values in xi. For example, when the output of yi is 1, it indicates that the vehicle is a target vehicle in front, and when the output of yi is 0, it indicates that the vehicle is not a target vehicle in front. The classifier can select different neural network frameworks to train the sample set, and the neural network frameworks can be AlexNet, VGG, etc.
在本实施例提供的前车距离检测方法中,采用的是RGB图像和深度图像相结合的方式,能够准确定位RGB图像中各车辆的位置和与本车距离,能够同时确保测距精度和定位准确度。另外,基于各车辆的重叠率和归一化距离采用无监督前车筛选算法锁定前车目标车辆,同时结合深度图像得到前车目标车辆车距,实现了对前车距离的精准、快速检测。In the method for detecting the distance to the preceding vehicle provided in this embodiment, a combination of RGB image and depth image is adopted, which can accurately locate the position of each vehicle in the RGB image and the distance from the vehicle, and can simultaneously ensure the ranging accuracy and positioning Accuracy. In addition, based on the overlap rate of each vehicle and the normalized distance, an unsupervised front vehicle screening algorithm is used to lock the target vehicle in front of the vehicle, and the distance between the target vehicle in front is combined with the depth image to achieve accurate and fast detection of the distance in front of the vehicle.
在本公开实施例中,还可以对所得到的前车目标车辆与本车的车距进行优化。In the embodiment of the present disclosure, the distance between the target vehicle in front of the vehicle and the own vehicle can also be optimized.
在一些实施例中,可以对以当前时刻为中心的预定长度的时间窗口中的前车目标车辆与本车的车距依次进行中值滤波、异常窗口检测处理和卡尔曼滤波,得到优化后的前车目标车辆与本车的车距。In some embodiments, median distance filtering, anomaly window detection processing, and Kalman filtering may be sequentially performed on the distance between the target vehicle in front of the vehicle and the vehicle in a predetermined length of time window centered on the current time to obtain the optimized The distance between the target vehicle in front and the own vehicle.
由于目标检测算法的精度并非100%,会因一些前后帧跳变的孤立噪点导致一定的误检率,而孤立噪点可以利用中值滤波过滤平滑掉。其中,中值滤波是常用的时序滤波算法,因目标检测算法误检所造成的孤立噪声类似椒盐噪声,呈现出脉冲的特性,采用中值滤波可对其进行去除,即在以当前时刻为中心的长度为Tn的时间窗口中,对前车目标车辆车距排序后选择中位数作为当前时刻的滤波后距离,示例性地,Tn一般设为5效果比较好。Since the accuracy of the target detection algorithm is not 100%, it will cause a certain false detection rate due to some isolated noise in the frame jump before and after, and the isolated noise can be smoothed out by median filtering. Among them, the median filter is a commonly used time-series filtering algorithm. The isolated noise caused by the false detection of the target detection algorithm is similar to salt and pepper noise, showing the characteristics of pulses. The median filter can be used to remove it, that is, at the current time as the center In a time window with a length of Tn, after sorting the distance of the target vehicle in front of the vehicle, the median is selected as the filtered distance at the current time. For example, it is generally better to set Tn to 5.
因相邻车道干扰等因素导致的筛选误差时有发生,现有通过阈值比较法对上述干扰因素进行过滤,会存在较大的误筛选概率。经过实验发现,该误筛选在检测结果中表现为一段维持时间为Te的异常窗口(区别于中值滤波中的噪点),该异常窗口也称为孤立窗口。孤立窗口前后时刻的值近似连续。通过异常窗口检测对孤立窗口前后的前车目标车辆车距进行拟合,用车距拟合结果代替孤立窗口内的值,可以实现对上述干扰因素的精准过滤。例如,可以采用三阶多项式函数拟合对孤立窗口前后的前车目标车辆车距进行拟合,并用该函数的插值计算结果作为车距拟合结果,代替孤立窗口内的值。Screening errors due to interference of adjacent lanes and other factors occur from time to time. Existing filtering methods for the above interference factors through threshold comparison methods have a large probability of false screening. It is found through experiments that the false screening appears in the detection results as an abnormal window with a maintenance time of Te (different from the noise in the median filter). This abnormal window is also called an isolated window. The values before and after the isolated window are approximately continuous. The abnormal window detection is used to fit the distance between the target vehicle in front of and behind the isolated window, and the value in the isolated window is replaced with the result of the distance fitting to achieve accurate filtering of the above interference factors. For example, a third-order polynomial function fitting can be used to fit the target vehicle distance between the front and back of the isolated window, and the interpolation calculation result of the function is used as the distance fitting result instead of the value in the isolated window.
经过了中值滤波与异常窗口检测,由RGB图像识别所造成的视觉误差已经基本消除,而由深度图像测量导致的测量误差,可以采用卡尔曼滤波来消除。卡尔曼滤波是一种最优化自回归数据处理算法,在一个状态近似线性变化、测量结果受高斯噪声干扰的动态系统中,该回归数据处理算法在状态转移方程和测量方差均已知的情况下对测量值进行滤波,可以应用于机器人导航、控制、传感器数据融合、雷达导弹追踪、以及计算机图形处理领域。卡尔曼滤波的状态转移方程如下所示:After median filtering and abnormal window detection, visual errors caused by RGB image recognition have been basically eliminated, and measurement errors caused by depth image measurement can be eliminated by using Kalman filtering. Kalman filtering is an optimized autoregressive data processing algorithm. In a dynamic system where the state is approximately linear and the measurement result is disturbed by Gaussian noise, the regression data processing algorithm is known when both the state transition equation and the measurement variance are known. Filtering the measured values can be used in the fields of robot navigation, control, sensor data fusion, radar missile tracking, and computer graphics processing. The state transition equation of Kalman filter is as follows:
X(k)=AX(k-1)+BU(k)+W(k)X (k) = AX (k-1) + BU (k) + W (k)
X(k)表示k时刻系统的状态变量,即为本实施例中的前车目标车辆与本车的车距和前车目标车辆车速;A是状态转移矩阵,采用一阶恒速度模型可得出;BU(k)表示外部控制项;W(k)是由于其他未知干扰而引起的状态变化,在没有更多信息的情况下,可以以已知方差的高斯噪声替代,方差设置得越大,代表对该状态方程的信心越小,即认为前车距离的运动随机程度越高。X (k) represents the state variable of the system at time k, which is the distance between the target vehicle in front of the vehicle and the target vehicle speed in this embodiment; A is the state transition matrix, which can be obtained by using the first-order constant speed model Out; BU (k) means external control items; W (k) is the state change caused by other unknown interference, in the absence of more information, it can be replaced by Gaussian noise with known variance, the larger the variance is set , Representing less confidence in the equation of state, that is, the higher the randomness of the movement of the distance ahead.
具体实施时,误检和漏检所维持的时间窗口约为1-15帧,呈现出类似峰值噪声的性质,本实施例通过对前车目标车辆与本车的车距依次进行中值滤波和异常窗口检测处理,能够去除误检漏检噪声,提高前车目标车辆筛选的准确度。另外,对前车目标车辆与本车的车距进行卡尔曼滤波,得到优化后的前车目标车辆与本车的车距,能够保证车距的测量 精度。During specific implementation, the time window maintained by false detection and missed detection is about 1-15 frames, showing a peak-noise-like property. In this embodiment, the median distance between the target vehicle in front of the vehicle and the vehicle is sequentially filtered and The abnormal window detection process can remove the false detection and missed detection noise, and improve the accuracy of the screening of the target vehicle in front. In addition, Kalman filtering is performed on the distance between the target vehicle in front and the vehicle to obtain the optimized distance between the target vehicle in front and the vehicle, which can ensure the measurement accuracy of the distance between vehicles.
图2为根据本公开实施例的前车距离检测系统的示例性结构框图。FIG. 2 is an exemplary structural block diagram of a preceding vehicle distance detection system according to an embodiment of the present disclosure.
在一些实施例中,系统200可以包括处理电路201。系统200的处理电路201提供系统200的各种功能。在一些实施例中,系统200的处理电路201可以被配置为执行以上参照图1描述的前车距离检测方法。In some embodiments, the system 200 may include a processing circuit 201. The processing circuit 201 of the system 200 provides various functions of the system 200. In some embodiments, the processing circuit 201 of the system 200 may be configured to perform the preceding vehicle distance detection method described above with reference to FIG. 1.
处理电路201可以指在计算系统中执行功能的数字电路系统、模拟电路系统或混合信号(模拟和数字的组合)电路系统的各种实现。处理电路可以包括例如诸如集成电路(IC)、专用集成电路(ASIC)这样的电路、单独处理器核心的部分或电路、整个处理器核心、单独的处理器、诸如现场可编程门阵列(FPGA)的可编程硬件设备、和/或包括多个处理器的系统。The processing circuit 201 may refer to various implementations of digital circuitry, analog circuitry, or mixed-signal (combination of analog and digital) circuitry that performs functions in a computing system. The processing circuit may include, for example, a circuit such as an integrated circuit (IC), an application specific integrated circuit (ASIC), a part or circuit of a separate processor core, an entire processor core, a separate processor, such as a field programmable gate array (FPGA) Programmable hardware devices, and / or systems that include multiple processors.
在一些实施例中,处理电路201可以包括图像获取单元202、目标区域设定单元203、尺寸数据提取单元204、约束框确定单元205、重叠率计算单元206、距离计算单元207、前车目标车辆确定单元208。In some embodiments, the processing circuit 201 may include an image acquisition unit 202, a target area setting unit 203, a size data extraction unit 204, a constraint frame determination unit 205, an overlap ratio calculation unit 206, a distance calculation unit 207, a preceding vehicle target vehicle Determination unit 208.
图像获取单元202被配置为获取本车前方视角的RGB图像和深度图像;目标区域框设定单元203被配置为在RGB图像中预设目标区域框;尺寸数据提取单元204被配置为提取RGB图像中的多个车辆对应的尺寸数据;约束框确定单元205被配置为针对所述多个车辆中的每个车辆,根据所述车辆的尺寸数据,在RGB图像中确定所述车辆的约束框;重叠率计算单元206被配置为针对所述多个车辆中的每个车辆,计算所述车辆的约束框与所述目标区域框的重叠率;距离计算单元207被配置为针对所述多个车辆中的每个车辆,基于所述车辆的尺寸数据、所述车辆的约束框在RGB图像中的位置和所述目标区域框在RGB图像中的位置,计算所述车辆与所述目标区域框的归一化距离;前车目标车辆确定单元208被配置为根据所述多个车辆中的每个车辆对应的重叠率和归一化距离,从所述多个车辆中确定前车目标车辆,并根据深度图像得到所述前车目标车辆与本车的车距。上述单元202~208可以分别被配置为执行前述图1中所示的前车距离检测方法中的步骤S101~步骤S107。The image acquisition unit 202 is configured to acquire an RGB image and a depth image of the front angle of the vehicle; the target area frame setting unit 203 is configured to preset the target area frame in the RGB image; the size data extraction unit 204 is configured to extract the RGB image The size data corresponding to the plurality of vehicles in; the constraint frame determination unit 205 is configured to determine the constraint frame of the vehicle in the RGB image according to the size data of the vehicle for each vehicle in the plurality of vehicles; The overlap rate calculation unit 206 is configured to calculate the overlap rate of the constraint frame of the vehicle and the target area frame for each of the plurality of vehicles; the distance calculation unit 207 is configured to target the plurality of vehicles For each vehicle in, based on the size data of the vehicle, the position of the constraint frame of the vehicle in the RGB image, and the position of the target area frame in the RGB image, calculate the relationship between the vehicle and the target area frame Normalized distance; the preceding vehicle target vehicle determining unit 208 is configured to determine the preceding vehicle target vehicle from the plurality of vehicles according to the overlap rate and the normalized distance corresponding to each vehicle of the plurality of vehicles, and The distance between the preceding target vehicle and the own vehicle is obtained from the depth image. The above units 202 to 208 may be configured to execute steps S101 to S107 in the preceding vehicle distance detection method shown in FIG. 1, respectively.
在一些实施例中,系统200还可以包括存储器(未图示)。系统200的存储器可以存储由处理电路201产生的信息以及用于系统200操作的程序和数据。存储器可以是易失性存储器和/或非易失性存储器。例如,存储器可以包括但不限于随机存取存储器(RAM)、动态随机存取存储器(DRAM)、静态随机存取存储器(SRAM)、只读存储器(ROM)以及闪存存储器。另外,系统200可以以芯片级来实现,或者也可以通过包括其它外部部件而以设备级来实现。In some embodiments, the system 200 may also include memory (not shown). The memory of the system 200 may store the information generated by the processing circuit 201 and the programs and data used for the operation of the system 200. The memory may be volatile memory and / or non-volatile memory. For example, the memory may include, but is not limited to, random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), read only memory (ROM), and flash memory. In addition, the system 200 may be implemented at the chip level, or may also be implemented at the device level by including other external components.
在一些实施例中,系统200可以包括运动滤波单元(未图示),被配置为对以当前时刻为中心的预定长度的时间窗口中的前车目标车辆与本车的车距依次进行中值滤波、异常窗口检测处理和卡尔曼滤波,得到优化后的前车目标车辆与本车的车距,其中,所述异常窗口检测处理检测所述预定长度时间窗口中的异常窗口,使用基于所述异常窗口前后的时间窗口中的车距值计算出的车距拟合结果来代替所述异常窗口中的车距值。In some embodiments, the system 200 may include a motion filtering unit (not shown) configured to sequentially median the distance between the target vehicle in front and the own vehicle in a predetermined length of time window centered on the current time Filtering, anomaly window detection processing and Kalman filtering to obtain an optimized distance between the target vehicle in front and the own vehicle, wherein the anomaly window detection processing detects an anomalous window in the predetermined length of time window, using The vehicle distance fitting result calculated by the vehicle distance value in the time window before and after the abnormal window replaces the vehicle distance value in the abnormal window.
应当理解,上述各个单元仅是根据其所实现的具体功能所划分的逻辑模块,而不是用于限制具体的实现方式。在实际实现时,上述各个单元可被实现为独立的物理实体,或者也可由单个实体(例如,处理器(CPU或DSP等)、集成电路等)来实现。It should be understood that the above units are only logical modules divided according to the specific functions they implement, and are not intended to limit specific implementations. In actual implementation, the above units may be implemented as independent physical entities, or may be implemented by a single entity (for example, a processor (CPU or DSP, etc.), an integrated circuit, etc.).
本公开实施例提供的前车距离检测系统与本公开实施例所提供的前车距离检测方法属于同一发明构思,可执行本公开任意实施例所提供的前车距离检测方法,具备执行前车距离检测方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本公开实施例提供的前车距离检测方法,此处不再加以赘述。The preceding vehicle distance detection system provided by the embodiment of the present disclosure and the preceding vehicle distance detection method provided by the embodiments of the present disclosure belong to the same inventive concept, and can execute the preceding vehicle distance detection method provided by any embodiment of the present disclosure, and have The corresponding functional modules and beneficial effects of the detection method. For technical details that are not described in detail in this embodiment, reference may be made to the preceding vehicle distance detection method provided in the embodiments of the present disclosure, and details are not described herein again.
图3为可以实现本公开实施例的计算设备的示例性配置框图。3 is a block diagram of an exemplary configuration of a computing device that can implement embodiments of the present disclosure.
计算设备300是可以应用本公开的上述方面的硬件设备的实例。计算设备300可以是被配置为执行处理和/或计算的任何机器。计算设备300可以是但不限制于工作站、服务器、台式计算机、膝上型计算机、平板计算机、个人数据助手(PDA)、智能电话、车载计算机或以上组合。The computing device 300 is an example of a hardware device to which the above-mentioned aspects of the present disclosure can be applied. The computing device 300 may be any machine configured to perform processing and / or calculations. The computing device 300 may be, but not limited to, a workstation, server, desktop computer, laptop computer, tablet computer, personal data assistant (PDA), smart phone, in-vehicle computer, or combination thereof.
如图3所示,计算设备300可以包括可以经由一个或多个接口与总线302连接或通信的一个或多个元件。总线302可以包括但不限于,工业标准架构(Industry Standard Architecture,ISA)总线、微通道架构(Micro Channel Architecture,MCA)总线、增强ISA(EISA)总线、视频电子标准协会(VESA)局部总线、以及外设组件互连(PCI)总线等。计算设备300可以包括例如一个或多个处理器304、一个或多个输入设备306、以及一个或多个输出设备308。一个或多个处理器304可以是任何种类的处理器,并且可以包括但不限于一个或多个通用处理器或专用处理器(诸如专用处理芯片)。处理器304例如可以对应于图2中的处理电路201,被配置为实现本公开的前车距离检测系统的各单元的功能。输入设备306可以是能够向计算设备输入信息的任何类型的输入设备,并且可以包括但不限于鼠标、键盘、触摸屏、麦克风和/或远程控制器。输出设备308可以是能够呈现信息的任何类型的设备,并且可以包括但不限于显示器、扬声器、视频/音频输出终端、振动器和/或打印机。As shown in FIG. 3, the computing device 300 may include one or more elements that may connect or communicate with the bus 302 via one or more interfaces. The bus 302 may include, but is not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus, etc. The computing device 300 may include, for example, one or more processors 304, one or more input devices 306, and one or more output devices 308. The one or more processors 304 may be any kind of processors, and may include, but are not limited to, one or more general-purpose processors or special-purpose processors (such as special-purpose processing chips). The processor 304 may correspond to, for example, the processing circuit 201 in FIG. 2 and is configured to implement the functions of the units of the preceding vehicle distance detection system of the present disclosure. The input device 306 may be any type of input device capable of inputting information to a computing device, and may include, but is not limited to, a mouse, keyboard, touch screen, microphone, and / or remote controller. The output device 308 may be any type of device capable of presenting information, and may include, but is not limited to, a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer.
计算设备300还可以包括或被连接至非暂态存储设备314,该非暂态存储设备314可以是任何非暂态的并且可以实现数据存储的存储设备,并且可以包括但不限于盘驱动器、 光存储设备、固态存储器、软盘、柔性盘、硬盘、磁带或任何其他磁性介质、压缩盘或任何其他光学介质、缓存存储器和/或任何其他存储芯片或模块、和/或计算机可以从其中读取数据、指令和/或代码的其他任何介质。计算设备300还可以包括随机存取存储器(RAM)310和只读存储器(ROM)312。ROM 312可以以非易失性方式存储待执行的程序、实用程序或进程。RAM 310可提供易失性数据存储,并存储与计算设备300的操作相关的指令。计算设备300还可包括耦接至数据链路318的网络/总线接口316。网络/总线接口316可以是能够启用与外部装置和/或网络通信的任何种类的设备或系统,并且可以包括但不限于调制解调器、网络卡、红外线通信设备、无线通信设备和/或芯片集(诸如蓝牙 TM设备、802.11设备、WiFi设备、WiMax设备、蜂窝通信设施等)。 The computing device 300 may also include or be connected to a non-transitory storage device 314, which may be any non-transitory storage device that can implement data storage, and may include but is not limited to disk drives, optical Storage devices, solid-state memory, floppy disks, flexible disks, hard disks, magnetic tape, or any other magnetic media, compact disks, or any other optical media, cache memory, and / or any other memory chips or modules, and / or computers can read data from them , Instructions and / or any other medium of code. The computing device 300 may also include random access memory (RAM) 310 and read-only memory (ROM) 312. The ROM 312 may store programs, utilities, or processes to be executed in a non-volatile manner. The RAM 310 may provide volatile data storage and store instructions related to the operation of the computing device 300. The computing device 300 may also include a network / bus interface 316 coupled to the data link 318. The network / bus interface 316 may be any kind of device or system capable of enabling communication with external devices and / or networks, and may include, but is not limited to, a modem, a network card, an infrared communication device, a wireless communication device, and / or a chipset (such as Bluetooth (TM) device, an 802.11 device, WiFi equipment, WiMax, cellular communication facilities, etc.).
另外,本公开的一个或多个实施例可以如下实施。In addition, one or more embodiments of the present disclosure may be implemented as follows.
方案1:一种前车距离检测装置,包括:Scheme 1: A vehicle distance detection device, including:
一个或多个处理器;One or more processors;
存储器,其上存储有计算机可执行指令,所述计算机可执行指令在由所述一个或多个处理器执行时使得所述一个或多个处理器:A memory on which computer-executable instructions are stored, which when executed by the one or more processors cause the one or more processors to:
获取本车前方视角的RGB图像和深度图像;Obtain RGB images and depth images of the front view of the vehicle;
在所述RGB图像中设定目标区域框;Setting a target area frame in the RGB image;
提取所述RGB图像中的多个车辆对应的尺寸数据;Extract size data corresponding to multiple vehicles in the RGB image;
针对所述多个车辆中的每个车辆:For each vehicle in the plurality of vehicles:
根据所述车辆的尺寸数据,在所述RGB图像中确定所述车辆的约束框;Determine the constraint frame of the vehicle in the RGB image according to the size data of the vehicle;
计算所述车辆的约束框与所述目标区域框的重叠率;Calculating the overlapping rate of the constraint frame of the vehicle and the target area frame;
基于所述车辆的尺寸数据、所述车辆的约束框在所述RGB图像中的位置和所述目标区域框在所述RGB图像中的位置,计算所述车辆与所述目标区域框的归一化距离;Based on the size data of the vehicle, the position of the constraint frame of the vehicle in the RGB image, and the position of the target area frame in the RGB image, calculating the normalization of the vehicle and the target area frame Distance
根据所述多个车辆中的每个车辆对应的重叠率和归一化距离,从所述多个车辆中确定前车目标车辆,并根据所述深度图像得到所述前车目标车辆与本车的车距。According to the overlap rate and the normalized distance corresponding to each of the plurality of vehicles, determine the target vehicle in front of the plurality of vehicles, and obtain the target vehicle in front of the vehicle and the own vehicle according to the depth image Distance.
方案2:在方案1的前车距离检测装置中,所述计算机可执行指令在由所述一个或多个处理器执行时使得所述一个或多个处理器:Solution 2: In the preceding vehicle distance detection device of Solution 1, the computer-executable instructions, when executed by the one or more processors, cause the one or more processors to:
利用安装于本车的深度摄像头同时采集所述RGB图像和所述深度图像;或者Collect the RGB image and the depth image at the same time using a depth camera installed in the vehicle; or
利用安装于本车的2D摄像头采集所述RGB图像,以及利用安装于本车的毫米波雷达/距离传感器采集所述深度图像。The RGB image is collected using a 2D camera installed in the vehicle, and the depth image is collected using a millimeter wave radar / distance sensor installed in the vehicle.
方案3:在方案1的前车距离检测装置中,所述计算机可执行指令在由所述一个或多个处理器执行时使得所述一个或多个处理器:Solution 3: In the preceding vehicle distance detection device of solution 1, the computer-executable instructions, when executed by the one or more processors, cause the one or more processors to:
在所述RGB图像中构建虚拟坐标系;Construct a virtual coordinate system in the RGB image;
基于所述虚拟坐标系提取所述RGB图像中所述车辆的左上角点坐标,并根据所述车辆的尺寸数据,在所述RGB图像中绘制包括所述车辆的矩形约束框。Extract the coordinates of the upper left corner of the vehicle in the RGB image based on the virtual coordinate system, and draw a rectangular constraint frame including the vehicle in the RGB image according to the size data of the vehicle.
方案4:在方案1的前车距离检测装置中,所述计算机可执行指令在由所述一个或多个处理器执行时使得所述一个或多个处理器:Solution 4: In the preceding vehicle distance detection device of solution 1, the computer-executable instructions, when executed by the one or more processors, cause the one or more processors to:
采用交并比公式
Figure PCTCN2019095980-appb-000007
计算所述车辆的约束框与所述目标区域框的交并比IOU,作为所述重叠率,
Use the cross-combination formula
Figure PCTCN2019095980-appb-000007
Calculating the intersection ratio IOU of the constraint frame of the vehicle and the target area frame as the overlapping rate,
其中,Car表示所述车辆的约束框面积,ROI表示所述目标区域框的面积。Wherein, Car represents the bounding box area of the vehicle, and ROI represents the area of the target area box.
方案5:在方案1的前车距离检测装置中,所述计算机可执行指令在由所述一个或多个处理器执行时使得所述一个或多个处理器:Solution 5: In the preceding vehicle distance detection device of solution 1, the computer-executable instructions, when executed by the one or more processors, cause the one or more processors to:
采用归一化距离公式
Figure PCTCN2019095980-appb-000008
计算所述车辆与所述目标区域框的归一化距离,
Use the normalized distance formula
Figure PCTCN2019095980-appb-000008
Calculating the normalized distance between the vehicle and the target area frame,
其中,Car.x表示所述约束框的中心点的横坐标值,Car.y表示所述约束框的中心点的纵坐标值,Target.x表示所述目标区域框中预先确定的靶点的横坐标值,Target.y表示所述靶点的纵坐标值,Car.width表示所述车辆的宽数据,Car.height表示所述车辆的高数据。Where Car.x represents the horizontal coordinate value of the center point of the constraint frame, Car.y represents the vertical coordinate value of the center point of the constraint frame, and Target.x represents the predetermined target point of the target area frame The abscissa value, Target.y represents the ordinate value of the target point, Car.width represents the width data of the vehicle, and Car.height represents the height data of the vehicle.
方案6:在方案5的前车距离检测装置中,所述目标区域框是从所述RGB图像中选取的本车正前方的梯形区域框,所述靶点是所述目标区域框的中心点。Scheme 6: In the preceding vehicle distance detection device of Scheme 5, the target area frame is a trapezoidal area frame directly in front of the vehicle selected from the RGB image, and the target point is a center point of the target area frame .
方案7:在方案1的前车距离检测装置中,所述计算机可执行指令在由所述一个或多个处理器执行时使得所述一个或多个处理器:Solution 7: In the preceding vehicle distance detection device of Solution 1, the computer-executable instructions, when executed by the one or more processors, cause the one or more processors to:
从所述多个车辆中筛选所述重叠率大于第一重叠率阈值或者所述归一化距离小于距离阈值的车辆,作为第一目标车辆集合;Selecting vehicles from the plurality of vehicles whose overlap rate is greater than a first overlap rate threshold or the normalized distance is less than a distance threshold as a first target vehicle set;
从所述第一目标车辆集合中筛选所述重叠率大于第二重叠率阈值的车辆,作为第二目标车辆集合,其中,所述第二重叠率阈值小于所述第一重叠率阈值;Selecting vehicles from the first target vehicle set with the overlap rate greater than a second overlap rate threshold as a second target vehicle set, wherein the second overlap rate threshold is less than the first overlap rate threshold;
从所述第二目标车辆集合中筛选所述重叠率最大的车辆作为所述前车目标车辆;Selecting the vehicle with the largest overlap rate from the second target vehicle set as the preceding vehicle target vehicle;
从所述深度图像中提取所述前车目标车辆对应的车距作为所述前车目标车辆与本车的车距。Extract the vehicle distance corresponding to the preceding vehicle target vehicle from the depth image as the vehicle distance between the preceding vehicle target vehicle and the own vehicle.
方案8:在方案1的前车距离检测装置中,所述计算机可执行指令在由所述一个或多个处理器执行时使得所述一个或多个处理器:Solution 8: In the preceding vehicle distance detection device of solution 1, the computer-executable instructions, when executed by the one or more processors, cause the one or more processors to:
对以当前时刻为中心的预定长度的时间窗口中的前车目标车辆与本车的车距依次进行中值滤波、异常窗口检测处理和卡尔曼滤波,得到优化后的前车目标车辆与本车的车距,Perform the median filtering, abnormal window detection processing and Kalman filtering on the distance between the target vehicle in front of the vehicle and the vehicle in a predetermined length of time window centered on the current time to obtain the optimized target vehicle in front of the vehicle Distance
其中,所述异常窗口检测处理检测所述预定长度时间窗口中的异常窗口,使用基于所述异常窗口前后的时间窗口中的车距值计算出的车距拟合结果来代替所述异常窗口中的车距值。Wherein, the abnormal window detection process detects an abnormal window in the predetermined length of time window, and replaces the abnormal window with a vehicle distance fitting result calculated based on the vehicle distance values in time windows before and after the abnormal window Car distance value.
上述所有可选技术方案,可以采用任意结合形成本公开的可选实施例,在此不再一一赘述。在本公开所提供的几个实施例中,应该理解到,所揭露的方法、装置和系统,可以通过其他的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。All the above optional technical solutions may be combined in any combination to form optional embodiments of the present disclosure, which will not be repeated here. In the several embodiments provided by the present disclosure, it should be understood that the disclosed method, device, and system may be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a division of logical functions. In actual implementation, there may be other divisions, for example, multiple modules or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
需要说明的是,在本公开的描述中,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性或顺序。此外,在本公开的描述中,除非另有说明,“多个”的含义是两个或两个以上。It should be noted that, in the description of the present disclosure, the terms “first”, “second”, etc. are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or order. In addition, in the description of the present disclosure, unless otherwise specified, the meaning of "plurality" is two or more.
可单独地或以任何组合方式来使用前述实施例的各个方面、实施方案、具体实施或特征。可由软件、硬件或硬件与软件的组合来实现前述实施方案的各个方面。The various aspects, implementations, specific implementations or features of the foregoing examples can be used individually or in any combination. The various aspects of the foregoing embodiments may be implemented by software, hardware, or a combination of hardware and software.
例如,前述实施例可体现为计算机可读介质上的计算机可读代码。计算机可读介质为可存储数据的任何数据存储设备,所述数据其后可由计算机系统读取。计算机可读介质的示例包括只读存储器、随机存取存储器、CD-ROM、DVD、磁带、硬盘驱动器、固态驱动器和光学数据存储设备。计算机可读介质还可分布在网络耦接的计算机系统中使得计算机可读代码以分布式方式来存储和执行。For example, the aforementioned embodiments may be embodied as computer-readable codes on a computer-readable medium. The computer-readable medium is any data storage device that can store data, which can thereafter be read by a computer system. Examples of computer-readable media include read-only memory, random access memory, CD-ROM, DVD, magnetic tape, hard disk drives, solid-state drives, and optical data storage devices. The computer-readable medium can also be distributed among network-coupled computer systems so that the computer-readable code is stored and executed in a distributed fashion.
例如,前述实施例可采用硬件电路的形式。硬件电路可以包括组合式逻辑电路、时钟存储设备(诸如软盘、触发器、锁存器等)、有限状态机、诸如静态随机存取存储器或嵌入式动态随机存取存储器的存储器、定制设计电路、可编程逻辑阵列等的任意组合。For example, the foregoing embodiments may take the form of hardware circuits. Hardware circuits may include combined logic circuits, clock storage devices (such as floppy disks, flip-flops, latches, etc.), finite state machines, memories such as static random access memory or embedded dynamic random access memory, custom-designed circuits, Any combination of programmable logic arrays, etc.
以上所述,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of the present disclosure, but the scope of protection of the present disclosure is not limited to this, and any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present disclosure. It should be covered by the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.

Claims (17)

  1. 一种前车距离检测方法,其特征在于,包括:A method for detecting the distance ahead of a vehicle is characterized by comprising:
    获取本车前方视角的RGB图像和深度图像;Obtain RGB images and depth images of the front view of the vehicle;
    在所述RGB图像中设定目标区域框;Setting a target area frame in the RGB image;
    提取所述RGB图像中的多个车辆对应的尺寸数据;Extract size data corresponding to multiple vehicles in the RGB image;
    针对所述多个车辆中的每个车辆:For each vehicle in the plurality of vehicles:
    根据所述车辆的尺寸数据,在所述RGB图像中确定所述车辆的约束框;Determine the constraint frame of the vehicle in the RGB image according to the size data of the vehicle;
    计算所述车辆的约束框与所述目标区域框的重叠率;Calculating the overlapping rate of the constraint frame of the vehicle and the target area frame;
    基于所述车辆的尺寸数据、所述车辆的约束框在所述RGB图像中的位置和所述目标区域框在所述RGB图像中的位置,计算所述车辆与所述目标区域框的归一化距离;Based on the size data of the vehicle, the position of the constraint frame of the vehicle in the RGB image, and the position of the target area frame in the RGB image, calculating the normalization of the vehicle and the target area frame Distance
    根据所述多个车辆中的每个车辆对应的重叠率和归一化距离,从所述多个车辆中确定前车目标车辆,并根据所述深度图像得到所述前车目标车辆与本车的车距。According to the overlap rate and the normalized distance corresponding to each of the plurality of vehicles, determine the target vehicle in front of the plurality of vehicles, and obtain the target vehicle in front of the vehicle and the own vehicle according to the depth image Distance.
  2. 根据权利要求1所述的方法,其特征在于,所述获取本车前方视角的RGB图像和深度图像包括:The method according to claim 1, wherein the acquiring the RGB image and the depth image of the front angle of the vehicle include:
    利用安装于本车的深度摄像头同时采集所述RGB图像和所述深度图像;或者Collect the RGB image and the depth image at the same time using a depth camera installed in the vehicle; or
    利用安装于本车的2D摄像头采集所述RGB图像,以及利用安装于本车的毫米波雷达/距离传感器采集所述深度图像。The RGB image is collected using a 2D camera installed in the vehicle, and the depth image is collected using a millimeter wave radar / distance sensor installed in the vehicle.
  3. 根据权利要求1所述的方法,其特征在于,所述根据所述车辆的尺寸数据,在所述RGB图像中确定所述车辆的约束框包括:The method according to claim 1, wherein the determining the constraint frame of the vehicle in the RGB image according to the size data of the vehicle comprises:
    在所述RGB图像中构建虚拟坐标系;Construct a virtual coordinate system in the RGB image;
    基于所述虚拟坐标系提取所述RGB图像中所述车辆的左上角点坐标,并根据所述车辆的尺寸数据,在所述RGB图像中绘制包括所述车辆的矩形约束框。Extract the coordinates of the upper left corner of the vehicle in the RGB image based on the virtual coordinate system, and draw a rectangular constraint frame including the vehicle in the RGB image according to the size data of the vehicle.
  4. 根据权利要求1所述的方法,其特征在于,所述计算所述车辆的约束框与所述目标区域框的重叠率包括:The method according to claim 1, wherein the calculating the overlapping rate of the constraint frame of the vehicle and the target area frame comprises:
    采用交并比公式
    Figure PCTCN2019095980-appb-100001
    计算所述车辆的约束框与所述目标区域框的交并 比IOU,作为所述重叠率,
    Use the cross-combination formula
    Figure PCTCN2019095980-appb-100001
    Calculating the intersection ratio IOU of the constraint frame of the vehicle and the target area frame as the overlapping rate,
    其中,Car表示所述车辆的约束框面积,ROI表示所述目标区域框的面积。Wherein, Car represents the bounding box area of the vehicle, and ROI represents the area of the target area box.
  5. 根据权利要求1所述的方法,其特征在于,所述基于所述车辆的尺寸数据、所述车辆的约束框在所述RGB图像中的位置和所述目标区域框在所述RGB图像中的位置,计算所述车辆与所述目标区域框的归一化距离包括:The method according to claim 1, characterized in that, based on the size data of the vehicle, the position of the constraint frame of the vehicle in the RGB image and the target area frame in the RGB image For the location, calculating the normalized distance between the vehicle and the target area frame includes:
    采用归一化距离公式
    Figure PCTCN2019095980-appb-100002
    计算所述车辆与所述目标区域框的归一化距离,
    Use the normalized distance formula
    Figure PCTCN2019095980-appb-100002
    Calculating the normalized distance between the vehicle and the target area frame,
    其中,Car.x表示所述约束框的中心点的横坐标值,Car.y表示所述约束框的中心点的纵坐标值,Target.x表示所述目标区域框中预先确定的靶点的横坐标值,Target.y表示所述靶点的纵坐标值,Car.width表示所述车辆的宽数据,Car.height表示所述车辆的高数据。Where Car.x represents the horizontal coordinate value of the center point of the constraint frame, Car.y represents the vertical coordinate value of the center point of the constraint frame, and Target.x represents the predetermined target point of the target area frame The abscissa value, Target.y represents the ordinate value of the target point, Car.width represents the width data of the vehicle, and Car.height represents the height data of the vehicle.
  6. 根据权利要求5所述的方法,其特征在于,所述目标区域框是从所述RGB图像中选取的本车正前方的梯形区域框,所述靶点是所述目标区域框的中心点。The method according to claim 5, wherein the target area frame is a trapezoidal area frame directly in front of the vehicle selected from the RGB image, and the target point is a center point of the target area frame.
  7. 根据权利要求1所述的方法,其特征在于,所述根据所述多个车辆中的每个车辆对应的重叠率和归一化距离,从所述多个车辆中确定前车目标车辆,并根据深度图像得到所述前车目标车辆与本车的车距包括:The method according to claim 1, wherein the target vehicle in front of the vehicle is determined from the plurality of vehicles according to the overlap rate and the normalized distance corresponding to each vehicle in the plurality of vehicles, and Obtaining the distance between the preceding target vehicle and the own vehicle according to the depth image includes:
    从所述多个车辆中筛选所述重叠率大于第一重叠率阈值或者所述归一化距离小于距离阈值的车辆,作为第一目标车辆集合;Selecting vehicles from the plurality of vehicles whose overlap rate is greater than a first overlap rate threshold or the normalized distance is less than a distance threshold as a first target vehicle set;
    从所述第一目标车辆集合中筛选所述重叠率大于第二重叠率阈值的车辆,作为第二目标车辆集合,其中,所述第二重叠率阈值小于所述第一重叠率阈值;Selecting vehicles from the first target vehicle set with the overlap rate greater than a second overlap rate threshold as a second target vehicle set, wherein the second overlap rate threshold is less than the first overlap rate threshold;
    从所述第二目标车辆集合中筛选所述重叠率最大的车辆作为所述前车目标车辆;Selecting the vehicle with the largest overlap rate from the second target vehicle set as the preceding vehicle target vehicle;
    从所述深度图像中提取所述前车目标车辆对应的车距作为所述前车目标车辆与本车的车距。Extract the vehicle distance corresponding to the preceding vehicle target vehicle from the depth image as the vehicle distance between the preceding vehicle target vehicle and the own vehicle.
  8. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    对以当前时刻为中心的预定长度的时间窗口中的前车目标车辆与本车的车距依次进行中值滤波、异常窗口检测处理和卡尔曼滤波,得到优化后的前车目标车辆与本车的车距,Perform the median filtering, abnormal window detection processing and Kalman filtering on the distance between the target vehicle in front of the vehicle and the vehicle in a predetermined length of time window centered on the current time to obtain the optimized target vehicle in front of the vehicle Distance
    其中,所述异常窗口检测处理检测所述预定长度时间窗口中的异常窗口,使用基于所述异常窗口前后的时间窗口中的车距值计算出的车距拟合结果来代替所述异常窗口中的车距值。Wherein, the abnormal window detection process detects an abnormal window in the predetermined length of time window, and replaces the abnormal window with a vehicle distance fitting result calculated based on the vehicle distance values in time windows before and after the abnormal window Car distance value.
  9. 一种前车距离检测系统,其特征在于,包括:A vehicle distance detection system is characterized by including:
    图像获取单元,被配置为获取本车前方视角的RGB图像和深度图像;The image acquisition unit is configured to acquire RGB images and depth images of the front angle of the vehicle;
    目标区域框设定单元,被配置为在所述RGB图像中预设目标区域框;A target area frame setting unit configured to preset a target area frame in the RGB image;
    尺寸数据提取单元,被配置为提取所述RGB图像中的多个车辆对应的尺寸数据;A size data extraction unit configured to extract size data corresponding to multiple vehicles in the RGB image;
    约束框确定单元,被配置为针对所述多个车辆中的每个车辆,根据所述车辆的尺寸数据,在所述RGB图像中确定所述车辆的约束框;A constraint frame determination unit configured to determine the constraint frame of the vehicle in the RGB image according to the size data of the vehicle for each of the plurality of vehicles;
    重叠率计算单元,被配置为针对所述多个车辆中的每个车辆,计算所述车辆的约束框与所述目标区域框的重叠率;An overlapping rate calculation unit configured to calculate the overlapping rate of the constraint frame of the vehicle and the target area frame for each of the plurality of vehicles;
    距离计算单元,被配置为针对所述多个车辆中的每个车辆,基于所述车辆的尺寸数据、所述车辆的约束框在所述RGB图像中的位置和所述目标区域框在所述RGB图像中的位置,计算所述车辆与所述目标区域框的归一化距离;The distance calculation unit is configured to, for each vehicle of the plurality of vehicles, based on the size data of the vehicle, the position of the constraint frame of the vehicle in the RGB image, and the target area frame in the The position in the RGB image, calculating the normalized distance between the vehicle and the target area frame;
    前车目标车辆确定单元,被配置为根据所述多个车辆中的每个车辆对应的重叠率和归一化距离,从所述多个车辆中确定前车目标车辆,并根据所述深度图像得到所述前车目标车辆与本车的车距。The preceding vehicle target vehicle determining unit is configured to determine the preceding vehicle target vehicle from the plurality of vehicles according to the overlap rate and the normalized distance corresponding to each vehicle of the plurality of vehicles, and according to the depth image Obtain the distance between the preceding target vehicle and the own vehicle.
  10. 根据权利要求9所述的系统,其特征在于,所述图像获取单元被配置为:The system according to claim 9, wherein the image acquisition unit is configured to:
    利用安装于本车的深度摄像头同时采集所述RGB图像和所述深度图像;或者Collect the RGB image and the depth image at the same time using a depth camera installed in the vehicle; or
    利用安装于本车的2D摄像头采集所述RGB图像,以及利用安装于本车的毫米波雷达/距离传感器采集所述深度图像。The RGB image is collected using a 2D camera installed in the vehicle, and the depth image is collected using a millimeter wave radar / distance sensor installed in the vehicle.
  11. 根据权利要求9所述的系统,其特征在于,所述约束框确定单元被配置为:The system according to claim 9, wherein the constraint frame determination unit is configured to:
    在所述RGB图像中构建虚拟坐标系;Construct a virtual coordinate system in the RGB image;
    基于所述虚拟坐标系提取所述RGB图像中所述车辆的左上角点坐标,并根据所述车辆的尺寸数据,在所述RGB图像中绘制包括所述车辆的矩形约束框。Extract the coordinates of the upper left corner of the vehicle in the RGB image based on the virtual coordinate system, and draw a rectangular constraint frame including the vehicle in the RGB image according to the size data of the vehicle.
  12. 根据权利要求9所述的系统,其特征在于,所述重叠率计算单元被配置为:The system according to claim 9, wherein the overlapping rate calculation unit is configured to:
    采用交并比公式
    Figure PCTCN2019095980-appb-100003
    计算所述车辆的约束框与所述目标区域框的交并 比IOU,作为所述重叠率,
    Use the cross-combination formula
    Figure PCTCN2019095980-appb-100003
    Calculating the intersection ratio IOU of the constraint frame of the vehicle and the target area frame as the overlapping rate,
    其中,Car表示所述车辆的约束框面积,ROI表示所述目标区域框的面积。Wherein, Car represents the bounding box area of the vehicle, and ROI represents the area of the target area box.
  13. 根据权利要求9所述的系统,其特征在于,所述距离计算单元被配置为:The system according to claim 9, wherein the distance calculation unit is configured to:
    采用归一化距离公式
    Figure PCTCN2019095980-appb-100004
    计算所述车辆与所述目标区域框的归一化距离,
    Use the normalized distance formula
    Figure PCTCN2019095980-appb-100004
    Calculating the normalized distance between the vehicle and the target area frame,
    其中,Car.x表示所述约束框的中心点的横坐标值,Car.y表示所述约束框的中心点的纵坐标值,Target.x表示所述目标区域框中预先确定的靶点的横坐标值,Target.y表示所述靶点的纵坐标值,Car.width表示所述车辆的宽数据,Car.height表示所述车辆的高数据。Where Car.x represents the horizontal coordinate value of the center point of the constraint frame, Car.y represents the vertical coordinate value of the center point of the constraint frame, and Target.x represents the predetermined target point of the target area frame The abscissa value, Target.y represents the ordinate value of the target point, Car.width represents the width data of the vehicle, and Car.height represents the height data of the vehicle.
  14. 根据权利要求13所述的系统,其特征在于,所述目标区域框是从所述RGB图像中选取的本车正前方的梯形区域框,所述靶点是所述目标区域框的中心点。The system according to claim 13, wherein the target area frame is a trapezoidal area frame directly in front of the vehicle selected from the RGB image, and the target point is a center point of the target area frame.
  15. 根据权利要求9所述的系统,其特征在于,所述前车目标车辆确定单元被配置为:The system according to claim 9, wherein the preceding vehicle target vehicle determination unit is configured to:
    从所述多个车辆中筛选所述重叠率大于第一重叠率阈值或者所述归一化距离小于距离阈值的车辆,作为第一目标车辆集合;Selecting vehicles from the plurality of vehicles whose overlap rate is greater than a first overlap rate threshold or the normalized distance is less than a distance threshold as a first target vehicle set;
    从所述第一目标车辆集合中筛选所述重叠率大于第二重叠率阈值的车辆,作为第二目标车辆集合,其中,所述第二重叠率阈值小于所述第一重叠率阈值;Selecting vehicles from the first target vehicle set with the overlap rate greater than a second overlap rate threshold as a second target vehicle set, wherein the second overlap rate threshold is less than the first overlap rate threshold;
    从所述第二目标车辆集合中筛选所述重叠率最大的车辆作为所述前车目标车辆;Selecting the vehicle with the largest overlap rate from the second target vehicle set as the preceding vehicle target vehicle;
    从所述深度图像中提取所述前车目标车辆对应的车距作为所述前车目标车辆与本车的车距。Extract the vehicle distance corresponding to the preceding vehicle target vehicle from the depth image as the vehicle distance between the preceding vehicle target vehicle and the own vehicle.
  16. 根据权利要求9所述的系统,其特征在于,所述系统还包括:The system according to claim 9, wherein the system further comprises:
    运动滤波单元,所述运动滤波单元被配置为对以当前时刻为中心的预定长度的时间窗口中的前车目标车辆与本车的车距依次进行中值滤波、异常窗口检测处理和卡尔曼滤波,得到优化后的前车目标车辆与本车的车距,A motion filtering unit configured to sequentially perform median filtering, anomalous window detection processing, and Kalman filtering on the distance between the preceding target vehicle and the own vehicle in a predetermined length of time window centered on the current time , To get the optimized distance between the target vehicle in front and the vehicle,
    其中,所述异常窗口检测处理检测所述预定长度时间窗口中的异常窗口,使用基于所述异常窗口前后的时间窗口中的车距值计算出的车距拟合结果来代替所述异常窗口中的 车距值。Wherein, the abnormal window detection process detects an abnormal window in the predetermined length of time window, and replaces the abnormal window with a vehicle distance fitting result calculated based on the vehicle distance values in time windows before and after the abnormal window Car distance value.
  17. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述程序被处理器运行时,使所述处理器执行如下处理:A computer-readable storage medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the processor is caused to perform the following processing:
    获取本车前方视角的RGB图像和深度图像;Obtain RGB images and depth images of the front view of the vehicle;
    在所述RGB图像中设定目标区域框;Setting a target area frame in the RGB image;
    提取所述RGB图像中的多个车辆对应的尺寸数据;Extract size data corresponding to multiple vehicles in the RGB image;
    针对所述多个车辆中的每个车辆:For each vehicle in the plurality of vehicles:
    根据所述车辆的尺寸数据,在所述RGB图像中确定所述车辆的约束框;Determine the constraint frame of the vehicle in the RGB image according to the size data of the vehicle;
    计算所述车辆的约束框与所述目标区域框的重叠率;Calculating the overlapping rate of the constraint frame of the vehicle and the target area frame;
    基于所述车辆的尺寸数据、所述车辆的约束框在所述RGB图像中的位置和所述目标区域框在所述RGB图像中的位置,计算所述车辆与所述目标区域框的归一化距离;Based on the size data of the vehicle, the position of the constraint frame of the vehicle in the RGB image, and the position of the target area frame in the RGB image, calculating the normalization of the vehicle and the target area frame Distance
    根据所述多个车辆中的每个车辆对应的重叠率和归一化距离,从所述多个车辆中确定前车目标车辆,并根据所述深度图像得到所述前车目标车辆与本车的车距。According to the overlap rate and the normalized distance corresponding to each of the plurality of vehicles, determine the target vehicle in front of the plurality of vehicles, and obtain the target vehicle in front of the vehicle and the own vehicle according to the depth image Distance.
PCT/CN2019/095980 2018-11-15 2019-07-15 Method and system for measuring distance to leading vehicle WO2020098297A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2019563448A JP6851505B2 (en) 2018-11-15 2019-07-15 Distance detection method and system with the preceding vehicle
SG11202010955SA SG11202010955SA (en) 2018-11-15 2019-07-15 Method and system for detecting distance to front vehicle

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811359075.3 2018-11-15
CN201811359075.3A CN109541583B (en) 2018-11-15 2018-11-15 Front vehicle distance detection method and system

Publications (1)

Publication Number Publication Date
WO2020098297A1 true WO2020098297A1 (en) 2020-05-22

Family

ID=65847562

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/095980 WO2020098297A1 (en) 2018-11-15 2019-07-15 Method and system for measuring distance to leading vehicle

Country Status (4)

Country Link
JP (1) JP6851505B2 (en)
CN (1) CN109541583B (en)
SG (1) SG11202010955SA (en)
WO (1) WO2020098297A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112567439A (en) * 2020-11-09 2021-03-26 驭势(上海)汽车科技有限公司 Method and device for determining traffic flow information, electronic equipment and storage medium
CN113421298A (en) * 2021-06-17 2021-09-21 深圳市高格通讯技术有限公司 Vehicle distance measuring method, vehicle control device, vehicle and readable storage medium
CN113781665A (en) * 2020-07-28 2021-12-10 北京沃东天骏信息技术有限公司 Method and device for auditing label information

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109541583B (en) * 2018-11-15 2020-05-01 众安信息技术服务有限公司 Front vehicle distance detection method and system
JP7291505B2 (en) * 2019-03-19 2023-06-15 株式会社Subaru External environment detection device
CN110401786A (en) * 2019-04-24 2019-11-01 解晗 Digital device switching control mechanism
CN112580402A (en) * 2019-09-30 2021-03-30 广州汽车集团股份有限公司 Monocular vision pedestrian distance measurement method and system, vehicle and medium thereof
CN110794397B (en) * 2019-10-18 2022-05-24 北京全路通信信号研究设计院集团有限公司 Target detection method and system based on camera and radar
CN111009166B (en) * 2019-12-04 2021-06-01 上海市城市建设设计研究总院(集团)有限公司 Road three-dimensional sight distance checking calculation method based on BIM and driving simulator
CN111369824B (en) * 2020-01-22 2020-12-15 星汉智能科技股份有限公司 Parking guiding method and system based on image recognition and positioning
CN111746545A (en) * 2020-06-29 2020-10-09 中国联合网络通信集团有限公司 Vehicle distance detection method and device and vehicle distance reminding method and device
CN111931864B (en) * 2020-09-17 2020-12-25 南京甄视智能科技有限公司 Method and system for multiple optimization of target detector based on vertex distance and cross-over ratio
CN112241717B (en) * 2020-10-23 2021-11-16 北京嘀嘀无限科技发展有限公司 Front vehicle detection method, and training acquisition method and device of front vehicle detection model
CN112949544A (en) * 2021-03-17 2021-06-11 上海大学 Action time sequence detection method based on 3D convolutional network

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150219758A1 (en) * 2014-01-31 2015-08-06 Applied Concepts, Inc. Mobile radar and visual tracking coordinate transformation
CN105469052A (en) * 2015-11-25 2016-04-06 东方网力科技股份有限公司 Vehicle detection and tracking method and device
CN107202983A (en) * 2017-05-19 2017-09-26 深圳佑驾创新科技有限公司 The self-actuating brake method and system merged based on image recognition and millimetre-wave radar
CN107272021A (en) * 2016-03-30 2017-10-20 德尔福技术有限公司 The object detection of the image detection region defined using radar and vision
CN107463890A (en) * 2017-07-20 2017-12-12 浙江零跑科技有限公司 A kind of Foregut fermenters and tracking based on monocular forward sight camera
CN108764108A (en) * 2018-05-22 2018-11-06 湖北省专用汽车研究院 A kind of Foregut fermenters method based on Bayesian inference
CN109541583A (en) * 2018-11-15 2019-03-29 众安信息技术服务有限公司 A kind of leading vehicle distance detection method and system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100588902C (en) * 2006-12-19 2010-02-10 北京中星微电子有限公司 Vehicle distance detecting method and apparatus
JP4968369B2 (en) * 2010-06-25 2012-07-04 アイシン・エィ・ダブリュ株式会社 In-vehicle device and vehicle recognition method
CN104837007B (en) * 2014-02-11 2018-06-05 阿里巴巴集团控股有限公司 A kind of method and apparatus of digital picture quality classification
US20160132728A1 (en) * 2014-11-12 2016-05-12 Nec Laboratories America, Inc. Near Online Multi-Target Tracking with Aggregated Local Flow Descriptor (ALFD)
JP6591188B2 (en) * 2015-03-30 2019-10-16 株式会社Subaru Outside environment recognition device
JP6236039B2 (en) * 2015-06-26 2017-11-22 株式会社Subaru Outside environment recognition device
JP6427611B2 (en) * 2017-02-28 2018-11-21 株式会社東芝 Vehicle image processing apparatus and vehicle image processing system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150219758A1 (en) * 2014-01-31 2015-08-06 Applied Concepts, Inc. Mobile radar and visual tracking coordinate transformation
CN105469052A (en) * 2015-11-25 2016-04-06 东方网力科技股份有限公司 Vehicle detection and tracking method and device
CN107272021A (en) * 2016-03-30 2017-10-20 德尔福技术有限公司 The object detection of the image detection region defined using radar and vision
CN107202983A (en) * 2017-05-19 2017-09-26 深圳佑驾创新科技有限公司 The self-actuating brake method and system merged based on image recognition and millimetre-wave radar
CN107463890A (en) * 2017-07-20 2017-12-12 浙江零跑科技有限公司 A kind of Foregut fermenters and tracking based on monocular forward sight camera
CN108764108A (en) * 2018-05-22 2018-11-06 湖北省专用汽车研究院 A kind of Foregut fermenters method based on Bayesian inference
CN109541583A (en) * 2018-11-15 2019-03-29 众安信息技术服务有限公司 A kind of leading vehicle distance detection method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113781665A (en) * 2020-07-28 2021-12-10 北京沃东天骏信息技术有限公司 Method and device for auditing label information
CN112567439A (en) * 2020-11-09 2021-03-26 驭势(上海)汽车科技有限公司 Method and device for determining traffic flow information, electronic equipment and storage medium
CN112567439B (en) * 2020-11-09 2022-11-29 驭势(上海)汽车科技有限公司 Method and device for determining traffic flow information, electronic equipment and storage medium
CN113421298A (en) * 2021-06-17 2021-09-21 深圳市高格通讯技术有限公司 Vehicle distance measuring method, vehicle control device, vehicle and readable storage medium

Also Published As

Publication number Publication date
SG11202010955SA (en) 2020-12-30
JP2021508387A (en) 2021-03-04
CN109541583B (en) 2020-05-01
JP6851505B2 (en) 2021-03-31
CN109541583A (en) 2019-03-29

Similar Documents

Publication Publication Date Title
WO2020098297A1 (en) Method and system for measuring distance to leading vehicle
EP4044117A1 (en) Target tracking method and apparatus, electronic device, and computer-readable storage medium
CN112292711B (en) Associating LIDAR data and image data
CN110045376B (en) Drivable region acquisition method, computer-readable storage medium, and terminal device
CN107272021B (en) Object detection using radar and visually defined image detection areas
JP6794436B2 (en) Systems and methods for unobstructed area detection
CN107038723B (en) Method and system for estimating rod-shaped pixels
EP3379509A1 (en) Apparatus, method, and image processing device for smoke detection
JP5353455B2 (en) Perimeter monitoring device
EP3631755B1 (en) Method and apparatus for representing environmental elements, system, and vehicle/robot
CN108446622A (en) Detecting and tracking method and device, the terminal of target object
CN107636680A (en) A kind of obstacle detection method and device
TWI595450B (en) Object detection system
CN112711034B (en) Object detection method, device and equipment
JP2017068700A (en) Object detection apparatus, object detection method, and program
Pyo et al. Front collision warning based on vehicle detection using CNN
Gluhaković et al. Vehicle detection in the autonomous vehicle environment for potential collision warning
JP2015011713A (en) Vehicle detection method and device
Romero-Cano et al. Stereo-based motion detection and tracking from a moving platform
CN112505652A (en) Target detection method, device and storage medium
JP2016189084A (en) Vehicle state determination device
EP3598175A1 (en) Object detection system
Liu et al. Obstacle recognition for ADAS using stereovision and snake models
CN116110230A (en) Vehicle lane crossing line identification method and system based on vehicle-mounted camera
CN112101139B (en) Human shape detection method, device, equipment and storage medium

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2019563448

Country of ref document: JP

Kind code of ref document: A

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

Ref document number: 19884244

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: 19884244

Country of ref document: EP

Kind code of ref document: A1