WO2017185268A1 - 一种检测道路障碍物的方法及装置 - Google Patents

一种检测道路障碍物的方法及装置 Download PDF

Info

Publication number
WO2017185268A1
WO2017185268A1 PCT/CN2016/080383 CN2016080383W WO2017185268A1 WO 2017185268 A1 WO2017185268 A1 WO 2017185268A1 CN 2016080383 W CN2016080383 W CN 2016080383W WO 2017185268 A1 WO2017185268 A1 WO 2017185268A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
obstacle
image
road surface
time
Prior art date
Application number
PCT/CN2016/080383
Other languages
English (en)
French (fr)
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 CN201680012132.3A priority Critical patent/CN107548466B/zh
Priority to PCT/CN2016/080383 priority patent/WO2017185268A1/zh
Publication of WO2017185268A1 publication Critical patent/WO2017185268A1/zh

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/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
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and apparatus for detecting road obstacles.
  • the embodiment of the invention provides a method and a device for detecting a road obstacle, which can solve the problem that the mobile terminal has a safety hazard when the pedestrian walks.
  • an embodiment of the present invention provides a method for detecting a road obstacle, including:
  • the mobile terminal collects the road surface image through the camera
  • the mobile terminal performs identification processing on the collected road surface image to determine an obstacle
  • the mobile terminal determines a separation distance from the obstacle, and determines, by the separation distance and a moving speed of the mobile terminal holder, a number required for the mobile terminal holder to contact the obstacle One time
  • the mobile terminal issues a hazard warning when the first time is less than the safe time.
  • the mobile terminal when the first time is less than the security time, the mobile terminal issues a danger warning.
  • the mobile terminal issues a danger warning in time to remind the mobile terminal holder to avoid the obstacle.
  • pedestrians In the process of walking and operating the mobile terminal, pedestrians are prevented from accidents due to ignoring obstacles on the road, which improves safety.
  • the method before the mobile terminal collects the road surface image through the camera, the method further includes:
  • the mobile terminal determines a road surface horizontal line by continuously scanning the road surface image and the reference object through the camera.
  • the mobile terminal performs identification processing on the collected road surface image to determine an obstacle, including:
  • the mobile terminal converts the acquired road surface image into a stereoscopic image
  • the mobile terminal performs augmented reality AR processing on the obstacle to obtain an AR image to be displayed;
  • the mobile terminal displays the AR image to be displayed.
  • the mobile terminal determines the road surface horizontal line by continuously scanning the road surface image and the reference object through the camera. Then, the road surface image is collected in real time, and the acquired road surface image is converted into a stereoscopic image, and the object higher than the road surface horizontal line and the area lower than the road surface horizontal line displayed in the stereoscopic image are determined as obstacles, and the obstacle is subjected to AR processing to obtain an object.
  • the attention is paid to the road surface information, and the obstacles in the road information are highlighted, so that the mobile terminal holder can truly determine the obstacles around him, thereby avoiding the obstacles in time, thereby improving the safety of using the mobile terminal while walking, and can pass
  • the road surface information displayed in the mobile terminal determines whether or not it has missed the destination.
  • the mobile terminal determines a separation distance from the obstacle, by the separation distance and the The moving speed of the mobile terminal holder determines the first time required for the mobile terminal holder to contact the obstacle, including:
  • the mobile terminal determines, by an infrared sensor, a separation distance from the obstacle, a moving direction, a speed, and an acceleration of the obstacle;
  • the mobile terminal determines a moving direction, a speed, and an acceleration of the mobile terminal holder through the motion sensor and the gyroscope;
  • a distance S between the mobile terminal and the obstacle, a moving direction of the obstacle, a speed v 1 and an acceleration a 1 , and a moving direction, a speed v 2 and an acceleration of the mobile terminal holder a 2 , determining the first time t, where S v 1 t+a 1 t 2 +v 2 t+a 2 t 2 .
  • the mobile terminal issues a hazard warning, including:
  • the image suspension window of the mobile terminal flashes a prompt, and the image suspension window is used to display the road surface image collected by the camera and the AR image to be displayed.
  • the image suspension window of the mobile terminal blinks, and the mobile terminal vibrates
  • the image suspension window of the mobile terminal blinks, the mobile terminal vibrates and the sound reminder;
  • the mobile terminal displays a full-screen text alarm, and the mobile terminal continuously sounds an alarm.
  • the method for detecting a road obstacle provided by the embodiment of the present invention divides the risk degree of the mobile terminal holder into two according to the first time required for the mobile terminal to contact the obstacle.
  • the mobile terminal issues a danger warning include:
  • the mobile terminal determines a stride distance and a fall depth of the mobile terminal holder by using a motion sensor and a gyroscope;
  • the mobile terminal determines the diameter of the obstacle and the visible depth through an infrared sensor
  • the mobile terminal issues a warning corresponding to the degree of danger.
  • the method further includes:
  • the mobile terminal issues a hazard warning when it is determined that the mobile terminal holder is about to miss the destination address.
  • the mobile terminal holder when the mobile terminal holder is about to miss the destination, the mobile terminal issues a hazard warning to alert the user to avoid missing the destination.
  • an embodiment of the present invention provides a device for detecting a road obstacle, the device being applied to a mobile terminal, where the device includes:
  • a determining unit configured to perform an identification process on the collected road surface image, determine an obstacle; determine a separation distance from the obstacle, and determine, by the separation distance and a moving speed of the mobile terminal holder The mobile terminal holder is in contact with the barrier The first time required for obstruction;
  • a warning unit configured to issue a hazard warning when the first time determined by the determining unit is less than a safe time.
  • the determining unit is further configured to determine a road surface horizontal line by continuously scanning the road surface image and the reference object by the camera.
  • the determining unit includes:
  • a conversion module configured to convert the acquired road surface image into a stereoscopic image
  • a determining module configured to determine an object displayed in the stereoscopic image above the horizontal line of the road surface and an area lower than the horizontal line of the road surface as an obstacle;
  • a processing module configured to perform augmented reality AR processing on the obstacle to obtain an AR image to be displayed
  • a display module configured to display the AR image to be displayed.
  • the determining unit is further configured to determine, by using an infrared sensor, a separation distance from the obstacle, a moving direction, a speed, and an acceleration of the obstacle; determining a moving direction, a speed, and an acceleration of the mobile terminal holder by the motion sensor and the gyroscope; and a distance S between the obstacle and the obstacle, the obstacle
  • the warning unit is further configured to control an image suspension window to blink when the first time is in the first preset time range, and the image suspension window is used to display the The road image captured by the camera and the AR image to be displayed; when the first time is in the second preset time range, controlling the image suspension window to flash a prompt to control the mobile terminal to vibrate the reminder; When the first time is in the third preset time range, the image suspension window blinking prompt is controlled to control the mobile terminal vibration and the sound reminder; when the first time is in the fourth preset time range, the The mobile terminal displays a full-screen text alarm to control the continuous alarm sound reminder of the mobile terminal.
  • the warning unit is further configured to: when the first time is less than the safety time, pass the motion a sensor and a gyroscope determine a stride distance and a fall depth of the mobile terminal holder; determining a diameter and a visible depth of the obstacle by an infrared sensor; a stride distance by the mobile terminal holder and the obstacle
  • the magnitude relationship of the diameter of the object, and the magnitude of the depth of the fall of the holder of the mobile terminal and the visible depth of the obstacle determine the degree of danger; a warning corresponding to the degree of danger is issued.
  • the device further includes:
  • a receiving unit configured to receive a destination address input by the user
  • the determining unit is further configured to determine, according to the GPS information of the destination address and the collected road surface image, a positional relationship between the current location information of the mobile terminal holder and the destination address;
  • the warning unit is further configured to: when the determining unit determines that the mobile terminal holder is about to miss the destination address, the warning unit issues a danger warning.
  • an embodiment of the present invention provides a device for detecting a road obstacle, the device being applied to a mobile terminal, where the device includes:
  • a processor coupled to the transceiver for controlling execution of the program instructions, specifically for acquiring a road surface image through the camera; identifying and processing the collected road surface image to determine an obstacle; and determining a separation distance from the obstacle Determining, by the separation distance and a moving speed of the mobile terminal holder, a first time required for the mobile terminal holder to contact the obstacle; when the first time is less than a safe time, issuing Hazard warning.
  • the processor is further configured to determine a road surface horizontal line by continuously scanning the road surface image and the reference object through the camera.
  • the processor is further configured to convert the collected road surface image into a stereoscopic image; display the object in the stereoscopic image that is higher than the road surface horizontal line and lower than the road surface horizontal line
  • the area is determined as an obstacle; the augmented reality AR processing is performed on the obstacle to obtain an AR image to be displayed; and the to-be-displayed is displayed AR image.
  • the processor is further configured to determine, by using an infrared sensor, a separation distance from the obstacle, a moving direction, a speed, and an acceleration of the obstacle; determining a moving direction, a speed, and an acceleration of the mobile terminal holder by the motion sensor and the gyroscope; and a distance S between the obstacle and the obstacle, the obstacle
  • the processor is further configured to: when the first time is in the first preset time range, control an image suspension window to blink, and the image suspension window is used to display the The road image captured by the camera and the AR image to be displayed; when the first time is in the second preset time range, controlling the image suspension window to flash a prompt to control the mobile terminal to vibrate the reminder; When the first time is in the third preset time range, the image suspension window blinking prompt is controlled to control the mobile terminal vibration and the sound reminder; when the first time is in the fourth preset time range, the The mobile terminal displays a full-screen text alarm and a continuous alarm sound reminder.
  • the processor is further configured to pass the motion sensor and the gyro when the first time is less than a safe time when the obstacle is an obstacle lower than the horizontal line of the road surface Determining a stride distance and a fall depth of the mobile terminal holder; determining a diameter of the obstacle and a visible depth by an infrared sensor; a stride distance of the holder by the mobile terminal and a diameter of the obstacle The magnitude relationship, and the magnitude of the fall depth of the mobile terminal holder and the visible depth of the obstacle determine the degree of danger; a warning corresponding to the degree of danger is issued.
  • the transceiver is configured to receive a destination address input by a user
  • the processor is configured to determine current location information of the mobile terminal holder and the destination according to the GPS information of the destination address and the collected road surface image A locational relationship of the address; a hazard warning is issued when it is determined that the mobile terminal holder is about to miss the destination address.
  • the mobile terminal collects the road surface image through the camera, performs recognition processing on the collected road surface image, determines the obstacle, determines the separation distance from the obstacle, and passes the separation distance. And the moving speed of the mobile terminal holder determines the first time required for the mobile terminal holder to contact the obstacle. When the first time is less than the safe time, the mobile terminal issues a danger warning, when determining that the mobile terminal is about to reach the obstacle At the time, the mobile terminal issues a hazard warning in time to remind the mobile terminal holder to avoid the obstacle, and avoids the pedestrian in the process of walking and operating the mobile terminal, and the accident occurs due to ignoring obstacles on the road, thereby improving safety.
  • FIG. 1 is a flowchart of a method for detecting a road obstacle according to an embodiment of the present invention
  • FIG. 2 is a flowchart of another method for detecting a road obstacle according to an embodiment of the present invention
  • FIG. 3 is a flowchart of another method for detecting a road obstacle according to an embodiment of the present invention.
  • 3a is an exemplary schematic diagram of a method for detecting a road obstacle according to an embodiment of the present invention
  • FIG. 4 is a flowchart of another method for detecting a road obstacle according to an embodiment of the present invention.
  • 4a is an exemplary schematic diagram of another method for detecting a road obstacle according to an embodiment of the present invention.
  • FIG. 5 is a logic diagram of an apparatus for detecting a road obstacle according to an embodiment of the present invention. Schematic;
  • FIG. 6 is a schematic diagram of a logical structure of another apparatus for detecting a road obstacle according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a logical structure of a mobile terminal in a method for detecting a road obstacle according to an embodiment of the present invention.
  • the embodiment of the present invention provides a method for detecting a road obstacle. As shown in FIG. 1 , the method includes:
  • the mobile terminal collects a road surface image through a camera.
  • the mobile phone camera can be opened, and the mobile phone camera collects the road surface information in real time, and displays the collected road surface information in the image suspension window of the mobile terminal.
  • the mobile terminal performs identification processing on the collected road surface image to determine an obstacle.
  • the object in the image is measured for length, width, height, and edge detection, and the gray contour of the object is obtained, and then the feature of the object and the image model for realizing the storage are performed.
  • the type of the obstacle for example, it can be judged that the obstacle is a stone, a pole, a tree, a car, or a pedestrian.
  • the mobile terminal determines a separation distance from the obstacle, and determines, by the separation distance and the moving speed of the mobile terminal holder, a first time required for the mobile terminal holder to contact the obstacle.
  • the mobile terminal issues a danger warning.
  • the safety time is a preset value. If the first time is less than the safety time, the mobile terminal holder has the danger of contacting the obstacle, so it is necessary to issue a danger warning in time. Wake up the user to avoid obstacles.
  • the mobile terminal collects a road surface image through a camera, performs recognition processing on the collected road surface image, determines an obstacle, determines a separation distance from the obstacle, and passes the separation distance and the movement.
  • the moving speed of the terminal holder determines the first time required for the mobile terminal holder to contact the obstacle.
  • the mobile terminal issues a danger warning, when it is determined that the mobile terminal is about to reach the obstacle,
  • the mobile terminal issues a hazard warning in time to remind the mobile terminal holder to avoid the obstacles, and avoids the pedestrians in the process of walking and operating the mobile terminal, and the accident is caused by ignoring obstacles on the road, thereby improving safety.
  • step 101 before the mobile terminal collects the road surface image through the camera, step 105 is further performed.
  • the mobile terminal continuously scans the road surface image and the reference object through the camera to determine the horizontal line of the road surface.
  • the specific implementation manner of this step is: the mobile terminal continuously scans the road surface image through the camera, obtains the image of the multi-frame, and performs gray processing on the image, and outlines the positional relationship between the road edge and the vertical scenery (or object) on both sides, for each position
  • the edge lines of the two sides appearing continuously in the frame pattern are extended to obtain a vanishing point, and the triangle lines formed by the edge lines on both sides of the road and the vanishing point are the horizontal plane when the user walks.
  • the mobile terminal processes the collected road surface image to determine the obstacle, which may be implemented as steps 1021 to 1023.
  • the mobile terminal converts the collected road surface image into a stereo image.
  • the object displayed above the horizontal line of the road surface and the area lower than the horizontal line of the road surface displayed in the stereoscopic image are determined as obstacles.
  • the mobile terminal can compare the height of the object or the area in the stereo image with the horizontal line of the road surface. If there is an object higher than the horizontal line of the road surface, the obstacle may be a stone, a tree, or the like. If you save In areas below the horizontal line of the road, the obstacle may be a sewer, a crater or a step.
  • the mobile terminal performs AR (Augmented Reality) processing on the obstacle to obtain an AR image to be displayed.
  • AR Augmented Reality
  • the mobile terminal displays an AR image to be displayed.
  • the image of the collected road surface is displayed on the display screen of the mobile terminal in real time.
  • the AR processing of the obstacle is performed, and the image processed by the AR is displayed, so that the user can more intuitively see the obstacle and reduce the accident. happened.
  • the user can determine the location of the user by using the image displayed in the mobile terminal to avoid missing the destination address.
  • the mobile terminal can receive the destination address input by the user, and then pass the destination address.
  • the GPS information and the location information of the collected road image determine the positional relationship between the current location information of the mobile terminal holder and the destination address.
  • the mobile terminal continuously scans the road surface image and the reference object through the camera to determine the road surface horizontal line. Then, the road surface image is collected in real time, and the acquired road surface image is converted into a stereoscopic image, and the object higher than the road surface horizontal line and the area lower than the road surface horizontal line displayed in the stereoscopic image are determined as obstacles, and the obstacle is subjected to AR processing to obtain an object.
  • Displaying the AR image and displaying the AR image to be displayed in the mobile terminal so that when the mobile terminal holder uses the mobile terminal while walking, the mobile terminal can pay attention to the road surface information, and the obstacles in the road surface information are highlighted, The mobile terminal holder can truly determine the obstacles around him, thereby avoiding in time, improving the security of using the mobile terminal while walking, and determining whether the user has missed the destination through the road surface information displayed in the mobile terminal.
  • the obstacles of the present invention provide an implementation of the present invention.
  • a hazard warning method for obstacles above the horizontal line of the road surface is described.
  • the mobile terminal determines the separation distance from the obstacle, and the separation distance and The moving speed of the mobile terminal holder determines the first time required for the mobile terminal holder to contact the obstacle, and may be specifically implemented as steps 1031 to 1033.
  • the mobile terminal determines, by using an infrared sensor, a separation distance from the obstacle, a moving direction, an obstacle, and an acceleration of the obstacle.
  • the mobile terminal needs to first determine whether the obstacle is in a stationary state or a moving state, and if it is in a stationary state, it is not necessary to measure the moving direction, speed, and acceleration of the obstacle.
  • the mobile terminal can emit infrared rays through the infrared sensor, and calculate the distance from the obstacle according to the emission time of the infrared rays and the time when the obstacle is reflected back.
  • the mobile terminal determines a moving direction, a speed, and an acceleration of the mobile terminal holder by using the motion sensor and the gyroscope.
  • the degree of danger of the mobile terminal holder may be determined according to the first time, and different danger warnings are issued according to different degrees of danger. Therefore, the above step 104 is performed as the first When the time is less than the safe time, the mobile terminal issues a danger warning, which may be implemented as steps 1041 to 1044.
  • the image suspension window of the mobile terminal blinks, and the image suspension window is used to display the road surface image captured by the camera and the AR image to be displayed.
  • the image suspension window of the mobile terminal flashes a prompt, the mobile terminal vibrates and the sound reminder.
  • the mobile terminal displays a full-screen text alarm, and the mobile terminal continuously sounds an alarm.
  • the hazard alarm will stop when the user closes the danger alarm or leaves the danger zone.
  • the degree of danger can be divided into four levels, which are safer, warning, more dangerous, and dangerous.
  • the four levels correspond to the first preset range to the fourth preset range, respectively.
  • the mobile terminal holder when the first time is in the first preset range, the mobile terminal holder has the danger of being exposed to the obstacle, but at present it is safer and the degree of danger is safe, so the mobile terminal can flash through the image suspension window. Remind users to pay attention to safety.
  • the time in the first preset time range is less than the safety time, and is greater than the time in the second preset time range, and the time in the second preset time range is greater than the time in the third preset time range, The time within the three preset time ranges is greater than the time within the fourth preset time range.
  • FIG. 3a an exemplary schematic diagram of a method for detecting an obstacle that is higher than a road surface, that is, a protruding obstacle, is shown in FIG. 3a, and the mobile terminal collects an image of the road surface through the camera to determine an obstacle higher than the horizontal line of the road surface. Then, the collected image is processed and analyzed. In the process of analyzing and analyzing, the contour extraction of the obstacle and the measurement of the length, width and height are performed, and then the distance between the obstacle and the obstacle is determined by the sensor in the transfer terminal, and the mobile terminal holds The moving direction, speed and acceleration of the owner, and the moving direction, speed and acceleration of the obstacle determine the first time t. When t is less than the safe time, the mobile terminal outputs a vibration and a sound reminder.
  • the method for detecting a road obstacle provided by the embodiment of the present invention divides the risk degree of the mobile terminal holder into four levels according to the first time required for the mobile terminal to contact the obstacle, and the higher the degree of danger, the mobile terminal The more obvious the reminder is, the mobile terminal holder notices and avoids obstacles in time during walking, and improves the safety of using the mobile terminal while walking.
  • the obstacle is an obstacle lower than the horizontal line of the road surface
  • the obstacle for the horizontal line below the road surface is described.
  • the danger warning method of the object as shown in FIG. 4, in the above step 104, when the first time is less than the safety time, the mobile terminal issues a danger warning, which can be specifically implemented as:
  • the mobile terminal determines the step distance and the fall depth of the mobile terminal holder by using the motion sensor and the gyroscope.
  • the mobile terminal determines the diameter of the obstacle and the visible depth through the infrared sensor.
  • the fall depth of the mobile terminal holder is a depth that can cause a pedestrian to fall, and the depth is a preset value set according to experience.
  • the mobile terminal can determine whether the mobile terminal holder can cross the obstacle by the magnitude relationship between the step distance of the mobile terminal holder and the obstacle diameter, and can determine whether the mobile terminal can be determined by the magnitude relationship of the visible depth of the falling depth obstacle. Whether the holder will fall into contact with the obstacle, and then determine the degree of danger based on these data.
  • the degree of danger can be determined by the difference between the diameter of the obstacle and the step distance, and the difference between the depth of the obstacle and the depth of the fall. The greater the difference, the higher the degree of danger. Since in general, the probability of an obstacle appearing on the road surface below the horizontal line of the road surface is less than the probability of the obstacle appearing above the horizontal line of the road surface, it is possible to only touch the mobile terminal holder to the danger level of the obstacle below the horizontal line of the road surface. Divided into two levels, warning and more dangerous.
  • the image suspension window of the mobile terminal flashes to prompt the mobile terminal to vibrate the alarm; when the degree of danger is dangerous, the image suspension window of the mobile terminal flashes a prompt, the mobile terminal vibrates and the sound reminder.
  • FIG. 4a an exemplary schematic diagram of a method for detecting an obstacle below a horizontal line of a road surface, that is, a recessed area, is shown in FIG. 4a, and the mobile terminal collects a road surface image through a camera to determine an area lower than a horizontal line of the road surface, and then The processed image is processed and analyzed, and the diameter and depth of the recessed area need to be processed during the analysis.
  • the mobile terminal determines the separation distance from the recessed area by the sensor in the mobile terminal, and the moving speed of the mobile terminal holder, the span of the walking, and determining the first time required for the mobile terminal to reach the recessed area
  • t is less than the safe time
  • the mobile terminal outputs a vibration and a sound reminder to prompt the mobile terminal holder to avoid Open the recessed area.
  • the mobile terminal continuously scans the road surface image and the reference object through the camera to determine the road surface horizontal line. Then, the road surface image is collected in real time, and the acquired road surface image is converted into a stereoscopic image, and the object higher than the road surface horizontal line and the area lower than the road surface horizontal line displayed in the stereoscopic image are determined as obstacles, and the obstacle is subjected to AR processing to obtain an object.
  • Displaying the AR image and displaying the AR image to be displayed in the mobile terminal so that when the mobile terminal holder uses the mobile terminal while walking, the mobile terminal can pay attention to the road surface information, and the obstacles in the road surface information are highlighted, The mobile terminal holder can truly determine the obstacles around him, thereby avoiding in time, improving the security of using the mobile terminal while walking, and determining whether the user has missed the destination through the road surface information displayed in the mobile terminal.
  • the embodiment of the present invention further provides a device for detecting a road obstacle, and the device is applied to a mobile terminal.
  • the device includes: an acquisition unit 501, a determination unit 502, and a warning. Unit 503.
  • the collecting unit 501 is configured to collect a road surface image by using a camera
  • a determining unit 502 configured to perform recognition processing on the collected road surface image, determine an obstacle; determine a separation distance from the obstacle, and determine, by the separation distance and a moving speed of the mobile terminal holder, the mobile terminal holder contacts The first time required for the obstacle;
  • the warning unit 503 is configured to issue a danger warning when the first time determined by the determining unit 502 is less than the safety time.
  • the apparatus further includes: a receiving unit 504.
  • the determining unit 502 includes: a converting module 5021, a determining module 5022, a processing module 5023, and a display module 5024.
  • the determining unit 502 is further configured to continuously scan the road surface image and the reference object through the camera Set the horizontal line of the road.
  • a conversion module 5021 configured to convert the collected road surface image into a stereoscopic image
  • a determining module 5022 configured to determine an object displayed in the stereoscopic image above the horizontal line of the road surface and an area lower than the horizontal line of the road surface as an obstacle;
  • the processing module 5023 is configured to perform an augmented reality AR process on the obstacle to obtain an AR image to be displayed.
  • the display module 5024 is configured to display an AR image to be displayed.
  • the warning unit 503 is further configured to control the image suspension window to blink when the first time is in the first preset time range, and the image suspension window is used to display the road image collected by the camera and to be The displayed AR image; when the first time is in the second preset time range, the image suspension window blinks to control, and the mobile terminal vibrates the alarm; when the first time is in the third preset time range, the image suspension window blinks prompt Control the vibration of the mobile terminal and the sound reminder; when the first time is in the fourth preset time range, control the full-screen text alarm of the mobile terminal display, and control the continuous alarm sound reminder of the mobile terminal.
  • the warning unit 503 is further configured to determine a step distance and a fall depth of the mobile terminal holder by using the motion sensor and the gyroscope when the first time is less than the safety time; determining the obstacle by the infrared sensor The diameter of the object and the visible depth; the magnitude of the stride distance of the holder of the mobile terminal and the diameter of the obstacle, and the magnitude of the depth of the fall of the holder of the mobile terminal and the visible depth of the obstacle determine the degree of danger; A warning corresponding to the degree.
  • the receiving unit 503 is configured to receive a destination address input by the user
  • the determining unit 502 is further configured to determine, according to the GPS information of the destination address and the collected road surface image, a positional relationship between the current location information of the mobile terminal holder and the destination address;
  • the warning unit 503 is further configured to: when the determining unit 502 determines that the mobile terminal holder is about to miss the destination address, the warning unit 503 issues a danger warning.
  • the collecting unit collects the road surface image through the camera, the determining unit performs the recognition processing on the collected road surface image, determines the obstacle, determines the separation distance from the obstacle, and passes the separation distance. And the moving speed of the mobile terminal holder determines the first time required for the mobile terminal holder to contact the obstacle.
  • the warning unit issues a danger warning, when determining that the mobile terminal is about to reach the obstacle
  • the mobile terminal issues a hazard warning in time to remind the mobile terminal holder to avoid the obstacle, and avoids the pedestrian in the process of walking and operating the mobile terminal, and the accident occurs due to ignoring obstacles on the road, thereby improving safety.
  • the embodiment of the present invention further provides a device for detecting a road obstacle.
  • the device is a hardware structure diagram of the mobile terminal described in FIG. 5 and FIG.
  • the mobile terminal may include a memory 701, a processor 702, a transceiver 703, and a bus 704.
  • the memory 701 may be a ROM (Read Only Memory), a static storage device, a dynamic storage device, or a RAM (Random Access Memory).
  • the memory 701 can store an operating system and other applications.
  • the program code for implementing the technical solution provided by the embodiment of the present invention is stored in the memory 701 and executed by the processor 702.
  • the transceiver 703 is used for communication between the device and other devices or communication networks (such as, but not limited to, Ethernet, RAN Radio Access Network, WLAN (Wireless Local Area Network), etc.).
  • devices or communication networks such as, but not limited to, Ethernet, RAN Radio Access Network, WLAN (Wireless Local Area Network), etc.
  • the processor 702 can be a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits for executing related programs.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • Bus 704 can include a path for communicating information between various components of the device, such as memory 701, transceiver 703, and processor 702.
  • FIG. 7 only shows the memory 701, the transceiver 703, and the processor 702, and the bus 704, in a specific implementation process, those skilled in the art should understand that the device also includes a normal implementation. Other devices necessary for operation. At the same time, those skilled in the art will appreciate that hardware devices that implement other functions may also be included, depending on the particular needs.
  • the processor 702 in the apparatus is coupled to the memory 701 and the transceiver 703 for controlling execution of program instructions.
  • the road surface image is collected by the camera; the collected road surface image is identified and processed to determine an obstacle; the distance between the obstacle and the obstacle is determined, and the mobile terminal is determined by the separation distance and the moving speed of the mobile terminal holder.
  • the processor 702 is further configured to determine a road surface horizontal line by continuously scanning the road surface image and the reference object through the camera.
  • the processor 702 is further configured to convert the collected road surface image into a stereoscopic image; determine an object that is displayed on the horizontal line of the road surface and an area that is lower than the horizontal line of the road surface as an obstacle.
  • Augmented reality AR processing on the obstacle obtaining an AR image to be displayed; displaying an AR image to be displayed.
  • the processor 702 is further configured to: when the first time is in the first preset time range, control the image suspension window to blink, and the image suspension window is used to display the road image captured by the camera and to be Displayed AR image; when the first time When in the second preset time range, the image suspension window is flashed to control the mobile terminal to vibrate the alarm; when the first time is in the third preset time range, the image suspension window is flashed to control the mobile terminal vibration and the sound reminder; When the first time is in the fourth preset time range, the mobile terminal displays a full-screen text alarm and a continuous alarm sound reminder.
  • the processor 702 is further configured to determine a step distance and a fall depth of the mobile terminal holder by using the motion sensor and the gyroscope when the first time is less than the safety time; determining the obstacle by using the infrared sensor The diameter of the object and the visible depth; the magnitude of the stride distance of the holder of the mobile terminal and the diameter of the obstacle, and the magnitude of the depth of the fall of the holder of the mobile terminal and the visible depth of the obstacle determine the degree of danger; A warning corresponding to the degree.
  • the transceiver 703 is configured to receive a destination address input by a user.
  • the processor 702 is configured to determine, according to the GPS information of the destination address and the collected road surface image, a positional relationship between the current location information of the mobile terminal holder and the destination address; when determining that the mobile terminal holder is about to miss the destination address, issue Hazard warning.
  • the processor collects the road surface image through the camera, performs recognition processing on the collected road surface image, determines the obstacle, determines the separation distance from the obstacle, and passes the separation distance and the movement.
  • the movement speed of the terminal holder determines the first time required for the mobile terminal holder to contact the obstacle, and when the first time is less than the safety time, a danger warning is issued, and when it is determined that the mobile terminal is about to reach the obstacle, the mobile terminal A hazard warning is issued in time to remind the mobile terminal holder to avoid obstacles, and to prevent pedestrians from accidentally ignoring obstacles on the road during walking and operating the mobile terminal, thereby improving safety.
  • the present invention can be implemented by means of software plus necessary general hardware, and of course, by hardware, but in many cases, the former is a better implementation. .
  • the technical solution of the present invention which is essential or contributes to the prior art, can be embodied in the form of a software product that is stored in a readable form.
  • the storage medium such as a floppy disk, hard disk or optical disk of a computer, includes a number of instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Signal Processing (AREA)
  • Traffic Control Systems (AREA)
  • Telephone Function (AREA)
  • Emergency Alarm Devices (AREA)

Abstract

一种检测道路障碍物的方法及装置,涉及通信技术领域,可以解决行人走路时使用移动终端存在安全隐患的问题。该方法包括:通过摄像头采集路面图像(101);对采集到的路面图像进行识别处理,确定障碍物(102);确定与障碍物之间的间隔距离,通过间隔距离和移动终端持有者的移动速度确定移动终端持有者接触到障碍物所需的第一时间(103);当第一时间小于安全时间时,移动终端发出危险警告(104)。

Description

一种检测道路障碍物的方法及装置 技术领域
本发明涉及通信技术领域,尤其涉及一种检测道路障碍物的方法及装置。
背景技术
随着通信网络的发展,在如今快节奏的生活中,城市中的“低头族”越来越多,人们会利用碎片时间使用移动终端进行娱乐休闲,例如边走路边玩手机等,这使得人们在路途中会遇到越来越多的潜在风险。
目前,仅在汽车驾驶领域中为了保障行车安全,存在一种高速公路汽车行驶智能检测的方法,可以由人机接口输入车型和天气信息,通过前向摄像机、后向摄像机对前后方向的路面环境进行摄像,然后将摄录的图像转换为数字电信号,由专用计算机通过这些数字电信号检测出车距、相对速度以及响度加速度,再将这些信息发送至人机接口,由人机接口根据天气信息、车型信息进行信息融合和安全判断,当判断有危险时,进行危险级别判断,并显示危险级别和危险方向的提示信息。
然而,这种方法由于设备要求高、适用场景比较局限,因此只能应用于汽车行驶中。而行人在走路时使用移动终端的过程中,仍然无法受到保护。很容易因为忽视路上的障碍物而出现事故,存在很明显的安全隐患。
发明内容
本发明的实施例提供一种检测道路障碍物的方法及装置,可以解决行人走路时使用移动终端存在安全隐患的问题。
为达到上述目的,本发明的实施例采用如下技术方案:
第一方面,本发明实施例提供一种检测道路障碍物的方法,包括:
移动终端通过摄像头采集路面图像;
所述移动终端对采集到的路面图像进行识别处理,确定障碍物;
所述移动终端确定与所述障碍物之间的间隔距离,通过所述间隔距离和所述移动终端持有者的移动速度确定所述移动终端持有者接触到所述障碍物所需的第一时间;
当所述第一时间小于安全时间时,所述移动终端发出危险警告。
对于本发明实施例,当第一时间小于安全时间时,移动终端发出危险警告,当确定移动终端即将接触到障碍物时,移动终端及时发出危险警告,以提醒移动终端持有者避开障碍物,避免了行人在走路操作移动终端的过程中,由于忽略路上的障碍物而出现事故,提高了安全性。
在第一方面的基础上,在所述移动终端通过摄像头采集路面图像之前,所述方法还包括:
所述移动终端通过摄像头连续扫描路面图像和参考物确定路面水平线。
在第一方面的基础上,所述移动终端对采集到的路面图像进行识别处理,确定障碍物,包括:
所述移动终端将采集到的路面图像转换为立体图像;
将所述立体图像中显示的高出所述路面水平线的物体以及低于所述路面水平线的区域确定为障碍物;
所述移动终端对所述障碍物进行增强现实AR处理,获得待显示的AR图像;
所述移动终端显示所述待显示的AR图像。
对于本发明实施例,移动终端通过摄像头连续扫描路面图像和参考物确定路面水平线。然后实时采集路面图像,将采集到的路面图像转换为立体图像,将立体图像中显示的高出路面水平线的物体以及低于路面水平线的区域确定为障碍物,对障碍物进行AR处理,获得待显示的AR图像,并在移动终端中显示待显示的AR图像,使得移动终端持有者在行走的同时使用移动终端时,可以通过移动终 端关注路面信息,且路面信息中的障碍物重点显示,使得移动终端持有者可以真实的确定自己周围的障碍物,从而及时避开,提高了行走时使用移动终端的安全性,且能够通过移动终端中显示的路面信息确定自己是否已经错过目的地。
结合第一方面,需要指出的是,当所述障碍物为高出所述路面水平线的障碍物时,所述移动终端确定与所述障碍物之间的间隔距离,通过所述间隔距离和所述移动终端持有者的移动速度确定所述移动终端持有者接触到所述障碍物所需的第一时间,包括:
所述移动终端通过红外传感器确定与所述障碍物之间的间隔距离、所述障碍物的移动方向、速度以及加速度;
所述移动终端通过运动传感器和陀螺仪确定移动终端持有者的移动方向、速度以及加速度;
所述移动终端通过与所述障碍物之间的间隔距离S,所述障碍物的移动方向、速度v1以及加速度a1,以及所述动终端持有者的移动方向、速度v2以及加速度a2,确定所述第一时间t,其中,S=v1t+a1t2+v2t+a2t2
结合第一方面,还需指出的是,所述当所述第一时间小于安全时间时,所述移动终端发出危险警告,包括:
当所述第一时间处于第一预设时间范围时,所述移动终端的图像悬浮窗口闪烁提示,所述图像悬浮窗口用于显示所述摄像头采集到的路面图像以及所述待显示的AR图像;
当所述第一时间处于第二预设时间范围时,所述移动终端的图像悬浮窗口闪烁提示,所述移动终端震动提醒;
当所述第一时间处于第三预设时间范围时,所述移动终端的图像悬浮窗口闪烁提示,所述移动终端震动以及声音提醒;
当所述第一时间处于第四预设时间范围时,所述移动终端显示屏全屏文字报警,所述移动终端连续警报声提醒。
本发明实施例提供的检测道路障碍物的方法,根据移动终端接触到障碍物所需的第一时间,将移动终端持有者的危险程度划分为 四个等级,危险程度越高,则移动终端的提醒越明显,使得移动终端持有者在行走过程中及时注意到并避开障碍物,提高了行走时使用移动终端的安全性。
在第一方面的基础上,可选的,当所述障碍物为低于所述路面水平线的障碍物时,所述当所述第一时间小于安全时间时,所述移动终端发出危险警告,包括:
当所述第一时间小于安全时间时,所述移动终端通过运动传感器和陀螺仪确定所述移动终端持有者的跨步距离和跌倒深度;
所述移动终端通过红外传感器确定所述障碍物的直径以及可见深度;
通过所述移动终端持有者的跨步距离与所述障碍物的直径的大小关系,以及所述移动终端持有者的跌倒深度与所述障碍物的可见深度的大小关系确定危险程度;
所述移动终端发出所述危险程度对应的警告。
结合第一方面,所述方法还包括:
所述移动终端接收用户输入的目的地址;
所述移动终端根据所述目的地址的GPS信息以及采集到的路面图像,确定所述移动终端持有者当前的位置信息与所述目的地址的位置关系;
当确定所述移动终端持有者即将错过所述目的地址时,所述移动终端发出危险警告。
对于本发明实施例,当移动终端持有者即将错过目的地时,移动终端会发出危险警告,从而提醒用户避免错过目的地。
第二方面,本发明实施例提供一种检测道路障碍物的装置,所述装置应用于移动终端中,所述装置包括:
采集单元,用于通过摄像头采集路面图像;
确定单元,用于对采集到的路面图像进行识别处理,确定障碍物;确定与所述障碍物之间的间隔距离,通过所述间隔距离和所述移动终端持有者的移动速度确定所述移动终端持有者接触到所述障 碍物所需的第一时间;
警告单元,用于当所述确定单元确定的所述第一时间小于安全时间时,发出危险警告。
在第二方面的基础上,所述确定单元还用于通过摄像头连续扫描路面图像和参考物确定路面水平线。
在第二方面的基础上,所述确定单元包括:
转换模块,用于将采集到的路面图像转换为立体图像;
确定模块,用于将所述立体图像中显示的高出所述路面水平线的物体以及低于所述路面水平线的区域确定为障碍物;
处理模块,用于对所述障碍物进行增强现实AR处理,获得待显示的AR图像;
显示模块,用于显示所述待显示的AR图像。
结合第二方面,需要指出的是,当所述障碍物为高出所述路面水平线的障碍物时,所述确定单元,还用于通过红外传感器确定与所述障碍物之间的间隔距离、所述障碍物的移动方向、速度以及加速度;通过运动传感器和陀螺仪确定移动终端持有者的移动方向、速度以及加速度;通过与所述障碍物之间的间隔距离S,所述障碍物的移动方向、速度v1以及加速度a1,以及所述动终端持有者的移动方向、速度v2以及加速度a2,确定所述第一时间t,其中,S=v1t+a1t2+v2t+a2t2
结合第二方面,还需指出的是,所述警告单元,还用于当所述第一时间处于第一预设时间范围时,控制图像悬浮窗口闪烁提示,所述图像悬浮窗口用于显示所述摄像头采集到的路面图像以及所述待显示的AR图像;当所述第一时间处于第二预设时间范围时,控制所述图像悬浮窗口闪烁提示,控制所述移动终端震动提醒;当所述第一时间处于第三预设时间范围时,控制所述图像悬浮窗口闪烁提示,控制所述移动终端震动以及声音提醒;当所述第一时间处于第四预设时间范围时,控制所述移动终端显示屏全屏文字报警,控制所述移动终端连续警报声提醒。
在第二方面的基础上,可选的,当所述障碍物为低于所述路面水平线的障碍物时,所述警告单元,还用于当所述第一时间小于安全时间时,通过运动传感器和陀螺仪确定所述移动终端持有者的跨步距离和跌倒深度;通过红外传感器确定所述障碍物的直径以及可见深度;通过所述移动终端持有者的跨步距离与所述障碍物的直径的大小关系,以及所述移动终端持有者的跌倒深度与所述障碍物的可见深度的大小关系确定危险程度;发出所述危险程度对应的警告。
在第二方面的基础上,所述装置还包括:
接收单元,用于接收用户输入的目的地址;
所述确定单元,还用于根据所述目的地址的GPS信息以及采集到的路面图像,确定所述移动终端持有者当前的位置信息与所述目的地址的位置关系;
所述警告单元,还用于当所述确定单元确定所述移动终端持有者即将错过所述目的地址时,所述警告单元发出危险警告。
第三方面,本发明实施例提供一种检测道路障碍物的装置,所述装置应用于移动终端中,所述装置包括:
处理器,与收发器耦合,用于控制程序指令的执行,具体用于通过摄像头采集路面图像;对采集到的路面图像进行识别处理,确定障碍物;确定与所述障碍物之间的间隔距离,通过所述间隔距离和所述移动终端持有者的移动速度确定所述移动终端持有者接触到所述障碍物所需的第一时间;当所述第一时间小于安全时间时,发出危险警告。
在第三方面的基础上,所述处理器,还用于通过摄像头连续扫描路面图像和参考物确定路面水平线。
在第三方面的基础上,所述处理器,还用于将采集到的路面图像转换为立体图像;将所述立体图像中显示的高出所述路面水平线的物体以及低于所述路面水平线的区域确定为障碍物;对所述障碍物进行增强现实AR处理,获得待显示的AR图像;显示所述待显示 的AR图像。
结合第三方面,需要指出的是,当所述障碍物为高出所述路面水平线的障碍物时,所述处理器,还用于通过红外传感器确定与所述障碍物之间的间隔距离、所述障碍物的移动方向、速度以及加速度;通过运动传感器和陀螺仪确定移动终端持有者的移动方向、速度以及加速度;通过与所述障碍物之间的间隔距离S,所述障碍物的移动方向、速度v1以及加速度a1,以及所述动终端持有者的移动方向、速度v2以及加速度a2,确定所述第一时间t,其中,S=v1t+a1t2+v2t+a2t2
结合第三方面,还需指出的是,所述处理器,还用于当所述第一时间处于第一预设时间范围时,控制图像悬浮窗口闪烁提示,所述图像悬浮窗口用于显示所述摄像头采集到的路面图像以及所述待显示的AR图像;当所述第一时间处于第二预设时间范围时,控制所述图像悬浮窗口闪烁提示,控制所述移动终端震动提醒;当所述第一时间处于第三预设时间范围时,控制所述图像悬浮窗口闪烁提示,控制所述移动终端震动以及声音提醒;当所述第一时间处于第四预设时间范围时,控制所述移动终端显示屏全屏文字报警以及连续警报声提醒。
结合第三方面,可选的,所述处理器,当所述障碍物为低于所述路面水平线的障碍物时,还用于当所述第一时间小于安全时间时,通过运动传感器和陀螺仪确定所述移动终端持有者的跨步距离和跌倒深度;通过红外传感器确定所述障碍物的直径以及可见深度;通过所述移动终端持有者的跨步距离与所述障碍物的直径的大小关系,以及所述移动终端持有者的跌倒深度与所述障碍物的可见深度的大小关系确定危险程度;发出所述危险程度对应的警告。
在第三方面的基础上,所述收发器,用于接收用户输入的目的地址;
所述处理器,用于根据所述目的地址的GPS信息以及采集到的路面图像,确定所述移动终端持有者当前的位置信息与所述目的地 址的位置关系;当确定所述移动终端持有者即将错过所述目的地址时,发出危险警告。
本发明实施例提供的检测道路障碍物的方法及装置,移动终端通过摄像头采集路面图像,对采集到的路面图像进行识别处理,确定障碍物,确定与障碍物之间的间隔距离,通过间隔距离和移动终端持有者的移动速度确定移动终端持有者接触到障碍物所需的第一时间,当第一时间小于安全时间时,移动终端发出危险警告,当确定移动终端即将接触到障碍物时,移动终端及时发出危险警告,以提醒移动终端持有者避开障碍物,避免了行人在走路操作移动终端的过程中,由于忽略路上的障碍物而出现事故,提高了安全性。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例提供的一种检测道路障碍物的方法的流程图;
图2为本发明实施例提供的另一种检测道路障碍物的方法的流程图;
图3为本发明实施例提供的另一种检测道路障碍物的方法的流程图;
图3a为本发明实施例提供的一种检测道路障碍物的方法的示例性示意图;
图4为本发明实施例提供的另一种检测道路障碍物的方法的流程图;
图4a为本发明实施例提供的另一种检测道路障碍物的方法的示例性示意图;
图5为本发明实施例提供的一种检测道路障碍物的装置的逻辑 结构示意图;
图6为本发明实施例提供的另一种检测道路障碍物的装置的逻辑结构示意图;
图7为本发明实施例提供的检测道路障碍物的方法中移动终端的逻辑结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
为了避免行人走路时使用移动终端存在的安全隐患,本发明实施例提供一种检测道路障碍物的方法,如图1所示,该方法包括:
101、移动终端通过摄像头采集路面图像。
其中,在行人边走路边操作移动终端的过程中,可以打开手机摄像头,手机摄像头会实时采集路面信息,并将采集到的路面信息显示在移动终端的图像悬浮窗口中。
102、移动终端对采集到的路面图像进行识别处理,确定障碍物。
其中,移动终端在采集到路面图像之后,会对图像中的物体进行长、宽、高测量,以及边缘检测,得到物体的灰度轮廓线,进而将该物体的特征与实现存储的图像模型进行对比,确定该物体是否属于障碍物,以及障碍物的类型,例如,可以判断障碍物是石头、电线杆、树木、汽车或者行人。
103、移动终端确定与障碍物之间的间隔距离,通过间隔距离和移动终端持有者的移动速度确定移动终端持有者接触到障碍物所需的第一时间。
104、当第一时间小于安全时间时,移动终端发出危险警告。
其中,安全时间为预设值,如果第一时间小于安全时间,则移动终端持有者有接触障碍物的危险,所以需及时发出危险警告,提 醒用户避开障碍物。
本发明实施例提供的检测道路障碍物的方法,移动终端通过摄像头采集路面图像,对采集到的路面图像进行识别处理,确定障碍物,确定与障碍物之间的间隔距离,通过间隔距离和移动终端持有者的移动速度确定移动终端持有者接触到障碍物所需的第一时间,当第一时间小于安全时间时,移动终端发出危险警告,当确定移动终端即将接触到障碍物时,移动终端及时发出危险警告,以提醒移动终端持有者避开障碍物,避免了行人在走路操作移动终端的过程中,由于忽略路上的障碍物而出现事故,提高了安全性。
为了确定出路面上会对行人正常行走造成影响的障碍物,在检测障碍物之前,需确定路面水平线,进而才能够确定障碍物的类型,在本发明实施例提供的另一种实现方式中,如图2所示,在上述步骤101、移动终端通过摄像头采集路面图像之前,还需执行步骤105。
105、移动终端通过摄像头连续扫描路面图像和参考物确定路面水平线。
本步骤的具体实现方式为:移动终端通过摄像头连续扫描路面图像,获取到多帧的图像后对图像进行灰度处理,勾勒出道路边缘与两侧垂直风景(或物体)的位置关系,对每帧图形中连续出现的两侧道路边缘线延伸得到灭点,道路两侧边缘线以及灭点形成的三角区域即为用户行走时的水平面。
在步骤105确定出路面水平线的基础上,上述步骤102、移动终端对采集到的路面图像进行处理,确定障碍物,具体可以实现为步骤1021至步骤1023。
1021、移动终端将采集到的路面图像转换为立体图像。
1022、将立体图像中显示的高出路面水平线的物体以及低于路面水平线的区域确定为障碍物。
可以理解的是,在确定路面水平线之后,移动终端可以将立体图像中的物体或者区域的高度与路面水平线进行比较,如果存在高出路面水平线的物体,则说明障碍物可能是石头、树木等,如果存 在低于路面水平线的区域,则说明障碍物可能是下水道、洼坑或者是台阶。
1023、移动终端对障碍物进行AR(Augmented Reality,增强现实)处理,获得待显示的AR图像。
1024、移动终端显示待显示的AR图像。
其中,移动终端的显示屏上会实时显示采集到的路面图像,在此基础上,对障碍物进行AR处理,显示出经过AR处理的图像,可以使得用户更直观的看到障碍物,减少事故的发生。
此外,用户还可以通过移动终端中显示的图像确定自己的位置,以免错过目的地址,在本发明实施例提供的一种实现方式中,移动终端可以接收用户输入的目的地址,然后通过目的地址的GPS信息以及采集到的路面图像所在的位置信息,确定移动终端持有者当前的位置信息与目的地址的位置关系,当确定移动终端持有者即将错过目的地址时,发出危险警告,以提醒用户即将到达目的地址。
本发明实施例提供的检测道路障碍物的方法,移动终端通过摄像头连续扫描路面图像和参考物确定路面水平线。然后实时采集路面图像,将采集到的路面图像转换为立体图像,将立体图像中显示的高出路面水平线的物体以及低于路面水平线的区域确定为障碍物,对障碍物进行AR处理,获得待显示的AR图像,并在移动终端中显示待显示的AR图像,使得移动终端持有者在行走的同时使用移动终端时,可以通过移动终端关注路面信息,且路面信息中的障碍物重点显示,使得移动终端持有者可以真实的确定自己周围的障碍物,从而及时避开,提高了行走时使用移动终端的安全性,且能够通过移动终端中显示的路面信息确定自己是否已经错过目的地。
由于障碍物包括高出路面水平线的障碍物还包括低于路面水平线的障碍物,针对不同类型的障碍物,本发明实施例提供了不同的危险预警方法,在本发明实施例提供的一种实现方式中,描述了针对于高出路面水平线的障碍物的危险预警方法。如图3所示,上述步骤103、移动终端确定与障碍物之间的间隔距离,通过间隔距离和 移动终端持有者的移动速度确定移动终端持有者接触到障碍物所需的第一时间,具体可以实现为步骤1031至步骤1033。
1031、移动终端通过红外传感器确定与障碍物之间的间隔距离、障碍物的移动方向、速度以及加速度。
其中,移动终端需首先判断障碍物是处于静止状态还是移动状态,如果处于静止状态则无需测量障碍物的移动方向、速度以及加速度。
移动终端可以通过红外线传感器发射红外线,根据红外线的发射时间和接收所述障碍物反射回的时间,计算与所述障碍物的距离。
1032、移动终端通过运动传感器和陀螺仪确定移动终端持有者的移动方向、速度以及加速度。
1033、移动终端通过与障碍物之间的间隔距离S,障碍物的移动方向、速度v1以及加速度a1,以及动终端持有者的移动方向、速度v2以及加速度a2,确定第一时间t,其中,S=v1t+a1t2+v2t+a2t2
其中,第一时间可利用公式S=v1t+a1t2+v2t+a2t2计算得出,其中t为第一时间,S为移动终端与障碍物之间的间隔距离,v1为障碍物的移动速度,a1为障碍物移动的加速度,v2为移动终端持有者的移动速度,v2为移动终端持有者移动的加速度。
在本发明实施例中,在确定第一时间之后,还可以根据第一时间确定移动终端持有者的危险程度,根据不同的危险程度发出不同的危险警告,所以,上述步骤104、当第一时间小于安全时间时,移动终端发出危险警告具体可以实现为步骤1041至1044。
1041、当第一时间处于第一预设时间范围时,移动终端的图像悬浮窗口闪烁提示,图像悬浮窗口用于显示摄像头采集到的路面图像以及待显示的AR图像。
1042、当第一时间处于第二预设时间范围时,移动终端的图像悬浮窗口闪烁提示,移动终端震动提醒。
1043、当第一时间处于第三预设时间范围时,移动终端的图像悬浮窗口闪烁提示,移动终端震动以及声音提醒。
1044、当第一时间处于第四预设时间范围时,移动终端显示屏全屏文字报警,移动终端连续警报声提醒。
需要说明的是,当用户自行关闭危险告警或者离开危险区域时,危险告警才会停止。
在本发明实施例中,可以将危险程度划分为四个级别,分别为较安全、警告、较危险以及危险。这四个级别分别对应于第一预设范围至第四预设范围。例如,当第一时间处于第一预设范围时,说明移动终端持有者有接触到障碍物的危险,但是目前较为安全,危险程度为安全,所以可以移动终端可通过图像悬浮窗口闪烁提示,提醒用户注意安全。
可以理解的是,第一预设时间范围内的时间小于安全时间,大于第二预设时间范围内的时间,第二预设时间范围内的时间大于第三预设时间范围内的时间,第三预设时间范围内的时间大于第四预设时间范围内的时间。
结合图3,移动终端对于高出路面的障碍物,即凸出障碍物的检测方法的示例性示意图如图3a所示,移动终端通过摄像头采集路面图像,确定出高于路面水平线的障碍物,然后对采集到的图像进行处理分析,处理分析的过程中需要对障碍物进行轮廓抽取以及进行长宽高测量,之后通过移送终端中的传感器,确定与障碍物之间的间隔距离、移动终端持有者的移动方向、速度以及加速度,和障碍物的移动方向、速度以及加速度,进而确定第一时间t,当t小于安全时间时,移动终端会输出震动、声音提醒。
本发明实施例提供的检测道路障碍物的方法,根据移动终端接触到障碍物所需的第一时间,将移动终端持有者的危险程度划分为四个等级,危险程度越高,则移动终端的提醒越明显,使得移动终端持有者在行走过程中及时注意到并避开障碍物,提高了行走时使用移动终端的安全性。
另外,当障碍物为低于路面水平线的障碍物时,在本发明实施例提供的另一种实现方式中,描述了针对与低于路面水平线的障碍 物的危险预警方法,如图4所示,上述步骤104、当第一时间小于安全时间时,移动终端发出危险警告,具体可以实现为:
1045、当第一时间小于安全时间时,移动终端通过运动传感器和陀螺仪确定移动终端持有者的跨步距离和跌倒深度。
1046、移动终端通过红外传感器确定障碍物的直径以及可见深度。
1047、通过移动终端持有者的跨步距离与障碍物的直径的大小关系,以及移动终端持有者的跌倒深度与障碍物的可见深度的大小关系确定危险程度。
其中,移动终端持有者的跌倒深度为可以使行人跌倒的深度,该深度为根据经验设置的预设值。
移动终端通过移动终端持有者的跨步距离与障碍物直径的大小关系,可以确定移动终端持有者是否能够跨过障碍物,通过跌倒深度障碍物的可见深度的大小关系可以确定如果移动终端持有者接触障碍物是否会跌倒,进而根据这些数据确定危险程度。
具体可以通过障碍物直径与跨步距离的差值,以及障碍物深度与跌倒深度的差值确定危险程度,差值越大,危险程度越高。由于一般情况下,路面上低于路面水平线的障碍物出现的概率小于高出路面水平线的障碍物出现的概率,所以可以只将移动终端持有者接触到低于路面水平线的障碍物的危险等级划分为两个等级,分别为警告和较危险。
1048、移动终发出危险程度对应的警告。
其中,当危险程度为警告时,移动终端的图像悬浮窗口闪烁提示,移动终端震动提醒;当危险程度为较危险时,移动终端的图像悬浮窗口闪烁提示,移动终端震动提醒以及声音提醒。
结合图4,移动终端对于低于路面水平线的障碍物,即凹进区域的检测方法的示例性示意图如图4a所示,移动终端通过摄像头采集路面图像,确定出低于路面水平线的区域,然后对采集到的图像进行处理分析,处理分析的过程中需要对凹进区域的直径以及深度进 行测量,之后通过移动终端中的传感器确定与凹进区域之间的间隔距离,以及移动终端持有者的移动速度,行走的跨度,进而确定移动终端到达凹进区域所需的第一时间t,在t小于安全时间的情况下,当凹进区域的直径S大于人行走跨度,或者凹进区域的深度H大于跌倒深度时,移动终端输出震动、声音提醒,以提示移动终端持有者避开凹进区域。
本发明实施例提供的检测道路障碍物的方法,移动终端通过摄像头连续扫描路面图像和参考物确定路面水平线。然后实时采集路面图像,将采集到的路面图像转换为立体图像,将立体图像中显示的高出路面水平线的物体以及低于路面水平线的区域确定为障碍物,对障碍物进行AR处理,获得待显示的AR图像,并在移动终端中显示待显示的AR图像,使得移动终端持有者在行走的同时使用移动终端时,可以通过移动终端关注路面信息,且路面信息中的障碍物重点显示,使得移动终端持有者可以真实的确定自己周围的障碍物,从而及时避开,提高了行走时使用移动终端的安全性,且能够通过移动终端中显示的路面信息确定自己是否已经错过目的地。
对应于上述方法实施例,本发明实施例还提供了一种检测道路障碍物的装置,该装置应用于移动终端中,如图5所示,该装置包括:采集单元501,确定单元502,警告单元503。
采集单元501,用于通过摄像头采集路面图像;
确定单元502,用于对采集到的路面图像进行识别处理,确定障碍物;确定与障碍物之间的间隔距离,通过间隔距离和移动终端持有者的移动速度确定移动终端持有者接触到障碍物所需的第一时间;
警告单元503,用于当确定单元502确定的第一时间小于安全时间时,发出危险警告。
在本发明另一实施例中,如图6所示,该装置还包括:接收单元504。确定单元502包括:转换模块5021,确定模块5022,处理模块5023,显示模块5024。
确定单元502,还用于通过摄像头连续扫描路面图像和参考物确 定路面水平线。
转换模块5021,用于将采集到的路面图像转换为立体图像;
确定模块5022,用于将立体图像中显示的高出路面水平线的物体以及低于路面水平线的区域确定为障碍物;
处理模块5023,用于对障碍物进行增强现实AR处理,获得待显示的AR图像;
显示模块5024,用于显示待显示的AR图像。
在本发明另一实施例中,确定单元502,还用于通过红外传感器确定与障碍物之间的间隔距离、障碍物的移动方向、速度以及加速度;通过运动传感器和陀螺仪确定移动终端持有者的移动方向、速度以及加速度;通过与障碍物之间的间隔距离S,障碍物的移动方向、速度v1以及加速度a1,以及动终端持有者的移动方向、速度v2以及加速度a2,确定第一时间t,其中,S=v1t+a1t2+v2t+a2t2
在本发明另一实施例中,警告单元503,还用于当第一时间处于第一预设时间范围时,控制图像悬浮窗口闪烁提示,图像悬浮窗口用于显示摄像头采集到的路面图像以及待显示的AR图像;当第一时间处于第二预设时间范围时,控制图像悬浮窗口闪烁提示,控制移动终端震动提醒;当第一时间处于第三预设时间范围时,控制图像悬浮窗口闪烁提示,控制移动终端震动以及声音提醒;当第一时间处于第四预设时间范围时,控制移动终端显示屏全屏文字报警,控制移动终端连续警报声提醒。
在本发明另一实施例中,警告单元503,还用于当第一时间小于安全时间时,通过运动传感器和陀螺仪确定移动终端持有者的跨步距离和跌倒深度;通过红外传感器确定障碍物的直径以及可见深度;通过移动终端持有者的跨步距离与障碍物的直径的大小关系,以及移动终端持有者的跌倒深度与障碍物的可见深度的大小关系确定危险程度;发出危险程度对应的警告。
在本发明另一实施例中,接收单元503,用于接收用户输入的目的地址;
确定单元502,还用于根据目的地址的GPS信息以及采集到的路面图像,确定移动终端持有者当前的位置信息与目的地址的位置关系;
警告单元503,还用于当确定单元502确定移动终端持有者即将错过目的地址时,警告单元503发出危险警告。
本发明实施例提供的检测道路障碍物的装置,采集单元通过摄像头采集路面图像,确定单元对采集到的路面图像进行识别处理,确定障碍物,确定与障碍物之间的间隔距离,通过间隔距离和移动终端持有者的移动速度确定移动终端持有者接触到障碍物所需的第一时间,当第一时间小于安全时间时,警告单元发出危险警告,当确定移动终端即将接触到障碍物时,移动终端及时发出危险警告,以提醒移动终端持有者避开障碍物,避免了行人在走路操作移动终端的过程中,由于忽略路上的障碍物而出现事故,提高了安全性。
本发明实施例还提供一种检测道路障碍物的装置,如图7所示,该装置为图5和图6描述的移动终端的硬件结构示意图。其中,移动终端可包括存储器701,处理器702,收发器703,总线704。
存储器701可以是ROM(Read Only Memory,只读存储器),静态存储设备,动态存储设备或者RAM(Random Access Memory,随机存取存储器)。存储器701可以存储操作系统和其他应用程序。在通过软件或者固件来实现本发明实施例提供的技术方案时,用于实现本发明实施例提供的技术方案的程序代码保存在存储器701中,并由处理器702来执行。
收发器703用于装置与其他设备或通信网络(例如但不限于以太网,RAN Radio Access Network,无线接入网),WLAN(Wireless Local Area Network,无线局域网)等)之间的通信。
处理器702可以采用通用的中央处理器(Central Processing Unit,CPU),微处理器,应用专用集成电路(Application Specific Integrated Circuit,ASIC),或者一个或多个集成电路,用于执行相关程序,以实现本发明实施例所提供的技术方案。
总线704可包括一通路,在装置各个部件(例如存储器701、收发器703和处理器702)之间传送信息。
应注意,尽管图7所示的硬件仅仅示出了存储器701、收发器703、和处理器702以及总线704,但是在具体实现过程中,本领域的技术人员应当明白,该装置还包含实现正常运行所必须的其他器件。同时,根据具体需要,本领域的技术人员应当明白,还可包含实现其他功能的硬件器件。
具体的,图7所示的移动终端用于实现图5和图6实施例所示的装置时,该装置中的处理器702,与存储器701和收发器703耦合,用于控制程序指令的执行,具体用于通过摄像头采集路面图像;对采集到的路面图像进行识别处理,确定障碍物;确定与障碍物之间的间隔距离,通过间隔距离和移动终端持有者的移动速度确定移动终端持有者接触到障碍物所需的第一时间;当第一时间小于安全时间时,发出危险警告。
在本发明另一实施例中,处理器702,还用于通过摄像头连续扫描路面图像和参考物确定路面水平线。
在本发明另一实施例中,处理器702,还用于将采集到的路面图像转换为立体图像;将立体图像中显示的高出路面水平线的物体以及低于路面水平线的区域确定为障碍物;对障碍物进行增强现实AR处理,获得待显示的AR图像;显示待显示的AR图像。
在本发明另一实施例中,处理器702,还用于通过红外传感器确定与障碍物之间的间隔距离、障碍物的移动方向、速度以及加速度;通过运动传感器和陀螺仪确定移动终端持有者的移动方向、速度以及加速度;通过与障碍物之间的间隔距离S,障碍物的移动方向、速度v1以及加速度a1,以及动终端持有者的移动方向、速度v2以及加速度a2,确定第一时间t,其中,S=v1t+a1t2+v2t+a2t2
在本发明另一实施例中,处理器702,还用于当第一时间处于第一预设时间范围时,控制图像悬浮窗口闪烁提示,图像悬浮窗口用于显示摄像头采集到的路面图像以及待显示的AR图像;当第一时间 处于第二预设时间范围时,控制图像悬浮窗口闪烁提示,控制移动终端震动提醒;当第一时间处于第三预设时间范围时,控制图像悬浮窗口闪烁提示,控制移动终端震动以及声音提醒;当第一时间处于第四预设时间范围时,控制移动终端显示屏全屏文字报警以及连续警报声提醒。
在本发明另一实施例中,处理器702,还用于当第一时间小于安全时间时,通过运动传感器和陀螺仪确定移动终端持有者的跨步距离和跌倒深度;通过红外传感器确定障碍物的直径以及可见深度;通过移动终端持有者的跨步距离与障碍物的直径的大小关系,以及移动终端持有者的跌倒深度与障碍物的可见深度的大小关系确定危险程度;发出危险程度对应的警告。
在本发明另一实施例中,收发器703,用于接收用户输入的目的地址;
处理器702,用于根据目的地址的GPS信息以及采集到的路面图像,确定移动终端持有者当前的位置信息与目的地址的位置关系;当确定移动终端持有者即将错过目的地址时,发出危险警告。
本发明实施例提供的检测道路障碍物的装置,处理器通过摄像头采集路面图像,对采集到的路面图像进行识别处理,确定障碍物,确定与障碍物之间的间隔距离,通过间隔距离和移动终端持有者的移动速度确定移动终端持有者接触到障碍物所需的第一时间,当第一时间小于安全时间时,发出危险警告,当确定移动终端即将接触到障碍物时,移动终端及时发出危险警告,以提醒移动终端持有者避开障碍物,避免了行人在走路操作移动终端的过程中,由于忽略路上的障碍物而出现事故,提高了安全性。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在可读取 的存储介质中,如计算机的软盘,硬盘或光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。

Claims (21)

  1. 一种检测道路障碍物的方法,其特征在于,包括:
    移动终端通过摄像头采集路面图像;
    所述移动终端对采集到的路面图像进行识别处理,确定障碍物;
    所述移动终端确定与所述障碍物之间的间隔距离,通过所述间隔距离和所述移动终端持有者的移动速度确定所述移动终端持有者接触到所述障碍物所需的第一时间;
    当所述第一时间小于安全时间时,所述移动终端发出危险警告。
  2. 根据权利要求1所述的检测道路障碍物的方法,其特征在于,在所述移动终端通过摄像头采集路面图像之前,所述方法还包括:
    所述移动终端通过摄像头连续扫描路面图像和参考物确定路面水平线。
  3. 根据权利要求2所述的检测道路障碍物的方法,其特征在于,所述移动终端对采集到的路面图像进行识别处理,确定障碍物,包括:
    所述移动终端将采集到的路面图像转换为立体图像;
    将所述立体图像中显示的高出所述路面水平线的物体以及低于所述路面水平线的区域确定为障碍物;
    所述移动终端对所述障碍物进行增强现实AR处理,获得待显示的AR图像;
    所述移动终端显示所述待显示的AR图像。
  4. 根据权利要求3所述的检测道路障碍物的方法,其特征在于,当所述障碍物为高出所述路面水平线的障碍物时,所述移动终端确定与所述障碍物之间的间隔距离,通过所述间隔距离和所述移动终端持有者的移动速度确定所述移动终端持有者接触到所述障碍物所需的第一时间,包括:
    所述移动终端通过红外传感器确定与所述障碍物之间的间隔距离、所述障碍物的移动方向、速度以及加速度;
    所述移动终端通过运动传感器和陀螺仪确定移动终端持有者的移动方向、速度以及加速度;
    所述移动终端通过与所述障碍物之间的间隔距离S,所述障碍物的移动方向、速度v1以及加速度a1,以及所述动终端持有者的移动方向、速度v2以及加速度a2,确定所述第一时间t,其中,S=v1t+a1t2+v2t+a2t2
  5. 根据权利要求4所述的检测道路障碍物的方法,其特征在于,所述当所述第一时间小于安全时间时,所述移动终端发出危险警告,包括:
    当所述第一时间处于第一预设时间范围时,所述移动终端的图像悬浮窗口闪烁提示,所述图像悬浮窗口用于显示所述摄像头采集到的路面图像以及所述待显示的AR图像;
    当所述第一时间处于第二预设时间范围时,所述移动终端的图像悬浮窗口闪烁提示,所述移动终端震动提醒;
    当所述第一时间处于第三预设时间范围时,所述移动终端的图像悬浮窗口闪烁提示,所述移动终端震动以及声音提醒;
    当所述第一时间处于第四预设时间范围时,所述移动终端显示屏全屏文字报警,所述移动终端连续警报声提醒。
  6. 根据权利要求3所述的检测道路障碍物的方法,其特征在于,当所述障碍物为低于所述路面水平线的障碍物时,所述当所述第一时间小于安全时间时,所述移动终端发出危险警告,包括:
    当所述第一时间小于安全时间时,所述移动终端通过运动传感器和陀螺仪确定所述移动终端持有者的跨步距离和跌倒深度;
    所述移动终端通过红外传感器确定所述障碍物的直径以及可见深度;
    通过所述移动终端持有者的跨步距离与所述障碍物的直径的大小关系,以及所述移动终端持有者的跌倒深度与所述障碍物的可见深度的大小关系确定危险程度;
    所述移动终端发出所述危险程度对应的警告。
  7. 根据权利要求1至6中任一项所述的检测道路障碍物的方法,其特征在于,所述方法还包括:
    所述移动终端接收用户输入的目的地址;
    所述移动终端根据所述目的地址的GPS信息以及采集到的路面图像,确定所述移动终端持有者当前的位置信息与所述目的地址的位置关系;
    当确定所述移动终端持有者即将错过所述目的地址时,所述移动终端发出危险警告。
  8. 一种检测道路障碍物的装置,其特征在于,所述装置应用于移动终端中,所述装置包括:
    采集单元,用于通过摄像头采集路面图像;
    确定单元,用于对采集到的路面图像进行识别处理,确定障碍物;确定与所述障碍物之间的间隔距离,通过所述间隔距离和所述移动终端持有者的移动速度确定所述移动终端持有者接触到所述障碍物所需的第一时间;
    警告单元,用于当所述确定单元确定的所述第一时间小于安全时间时,发出危险警告。
  9. 根据权利要求8所述的检测道路障碍物的装置,其特征在于,
    所述确定单元,还用于通过摄像头连续扫描路面图像和参考物确定路面水平线。
  10. 根据权利要求9所述的检测道路障碍物的装置,其特征在于,所述确定单元包括:
    转换模块,用于将采集到的路面图像转换为立体图像;
    确定模块,用于将所述立体图像中显示的高出所述路面水平线的物体以及低于所述路面水平线的区域确定为障碍物;
    处理模块,用于对所述障碍物进行增强现实AR处理,获得待显示的AR图像;
    显示模块,用于显示所述待显示的AR图像。
  11. 根据权利要求10所述的检测道路障碍物的装置,其特征在于,当所述障碍物为高出所述路面水平线的障碍物时,
    所述确定单元,还用于通过红外传感器确定与所述障碍物之间的 间隔距离、所述障碍物的移动方向、速度以及加速度;通过运动传感器和陀螺仪确定移动终端持有者的移动方向、速度以及加速度;通过与所述障碍物之间的间隔距离S,所述障碍物的移动方向、速度v1以及加速度a1,以及所述动终端持有者的移动方向、速度v2以及加速度a2,确定所述第一时间t,其中,S=v1t+a1t2+v2t+a2t2
  12. 根据权利要求11所述的检测道路障碍物的装置,其特征在于,
    所述警告单元,还用于当所述第一时间处于第一预设时间范围时,控制图像悬浮窗口闪烁提示,所述图像悬浮窗口用于显示所述摄像头采集到的路面图像以及所述待显示的AR图像;当所述第一时间处于第二预设时间范围时,控制所述图像悬浮窗口闪烁提示,控制所述移动终端震动提醒;当所述第一时间处于第三预设时间范围时,控制所述图像悬浮窗口闪烁提示,控制所述移动终端震动以及声音提醒;当所述第一时间处于第四预设时间范围时,控制所述移动终端显示屏全屏文字报警,控制所述移动终端连续警报声提醒。
  13. 根据权利要求10所述的检测道路障碍物的装置,其特征在于,当所述障碍物为低于所述路面水平线的障碍物时,
    所述警告单元,还用于当所述第一时间小于安全时间时,通过运动传感器和陀螺仪确定所述移动终端持有者的跨步距离和跌倒深度;通过红外传感器确定所述障碍物的直径以及可见深度;通过所述移动终端持有者的跨步距离与所述障碍物的直径的大小关系,以及所述移动终端持有者的跌倒深度与所述障碍物的可见深度的大小关系确定危险程度;发出所述危险程度对应的警告。
  14. 根据权利要求8至13中任一项所述的检测道路障碍物的装置,其特征在于,所述装置还包括:
    接收单元,用于接收用户输入的目的地址;
    所述确定单元,还用于根据所述目的地址的GPS信息以及采集到的路面图像,确定所述移动终端持有者当前的位置信息与所述目的地址的位置关系;
    所述警告单元,还用于当所述确定单元确定所述移动终端持有者即将错过所述目的地址时,所述警告单元发出危险警告。
  15. 一种检测道路障碍物的装置,其特征在于,所述装置应用于移动终端中,所述装置包括:
    处理器,与收发器耦合,用于控制程序指令的执行,具体用于通过摄像头采集路面图像;对采集到的路面图像进行识别处理,确定障碍物;确定与所述障碍物之间的间隔距离,通过所述间隔距离和所述移动终端持有者的移动速度确定所述移动终端持有者接触到所述障碍物所需的第一时间;当所述第一时间小于安全时间时,发出危险警告。
  16. 根据权利要求15所述的检测道路障碍物的装置,其特征在于,
    所述处理器,还用于通过摄像头连续扫描路面图像和参考物确定路面水平线。
  17. 根据权利要求16所述的检测道路障碍物的装置,其特征在于,
    所述处理器,还用于将采集到的路面图像转换为立体图像;将所述立体图像中显示的高出所述路面水平线的物体以及低于所述路面水平线的区域确定为障碍物;对所述障碍物进行增强现实AR处理,获得待显示的AR图像;显示所述待显示的AR图像。
  18. 根据权利要求17所述的检测道路障碍物的装置,其特征在于,当所述障碍物为高出所述路面水平线的障碍物时,
    所述处理器,还用于通过红外传感器确定与所述障碍物之间的间隔距离、所述障碍物的移动方向、速度以及加速度;通过运动传感器和陀螺仪确定移动终端持有者的移动方向、速度以及加速度;通过与所述障碍物之间的间隔距离S,所述障碍物的移动方向、速度v1以及加速度a1,以及所述动终端持有者的移动方向、速度v2以及加速度a2,确定所述第一时间t,其中,S=v1t+a1t2+v2t+a2t2
  19. 根据权利要求18所述的检测道路障碍物的装置,其特征在 于,
    所述处理器,还用于当所述第一时间处于第一预设时间范围时,控制图像悬浮窗口闪烁提示,所述图像悬浮窗口用于显示所述摄像头采集到的路面图像以及所述待显示的AR图像;当所述第一时间处于第二预设时间范围时,控制所述图像悬浮窗口闪烁提示,控制所述移动终端震动提醒;当所述第一时间处于第三预设时间范围时,控制所述图像悬浮窗口闪烁提示,控制所述移动终端震动以及声音提醒;当所述第一时间处于第四预设时间范围时,控制所述移动终端显示屏全屏文字报警以及连续警报声提醒。
  20. 根据权利要求17所述的检测道路障碍物的装置,其特征在于,当所述障碍物为低于所述路面水平线的障碍物时,
    所述处理器,还用于当所述第一时间小于安全时间时,通过运动传感器和陀螺仪确定所述移动终端持有者的跨步距离和跌倒深度;通过红外传感器确定所述障碍物的直径以及可见深度;通过所述移动终端持有者的跨步距离与所述障碍物的直径的大小关系,以及所述移动终端持有者的跌倒深度与所述障碍物的可见深度的大小关系确定危险程度;发出所述危险程度对应的警告。
  21. 根据权利要求15至20中任一项所述的检测道路障碍物的装置,其特征在于,
    所述收发器,用于接收用户输入的目的地址;
    所述处理器,用于根据所述目的地址的GPS信息以及采集到的路面图像,确定所述移动终端持有者当前的位置信息与所述目的地址的位置关系;当确定所述移动终端持有者即将错过所述目的地址时,发出危险警告。
PCT/CN2016/080383 2016-04-27 2016-04-27 一种检测道路障碍物的方法及装置 WO2017185268A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201680012132.3A CN107548466B (zh) 2016-04-27 2016-04-27 一种检测道路障碍物的方法及装置
PCT/CN2016/080383 WO2017185268A1 (zh) 2016-04-27 2016-04-27 一种检测道路障碍物的方法及装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/080383 WO2017185268A1 (zh) 2016-04-27 2016-04-27 一种检测道路障碍物的方法及装置

Publications (1)

Publication Number Publication Date
WO2017185268A1 true WO2017185268A1 (zh) 2017-11-02

Family

ID=60160614

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/080383 WO2017185268A1 (zh) 2016-04-27 2016-04-27 一种检测道路障碍物的方法及装置

Country Status (2)

Country Link
CN (1) CN107548466B (zh)
WO (1) WO2017185268A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112489365A (zh) * 2020-12-15 2021-03-12 乔东志 一种基于大数据的告警控制系统及方法

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108845334A (zh) * 2018-04-26 2018-11-20 上海与德科技有限公司 一种障碍物提示方法、装置、终端及存储介质
CN111783700B (zh) * 2020-07-06 2023-11-24 中国交通通信信息中心 一种路面异物自动识别预警方法和系统
CN115900688B (zh) * 2023-02-01 2024-04-16 安徽信息工程学院 一种用于自动驾驶的高精度地图视觉定位方法

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006174288A (ja) * 2004-12-17 2006-06-29 Sharp Corp 携帯端末装置、衝突防止方法、衝突防止プログラムおよび記録媒体
JP2008199286A (ja) * 2007-02-13 2008-08-28 Nec Corp 携帯端末
CN101488290A (zh) * 2009-02-27 2009-07-22 清华大学 一种防后车追尾预警方法及其预警系统
CN101549683A (zh) * 2009-04-23 2009-10-07 上海交通大学 自动识别道路深坑与障碍物的车辆智能方法
CN102435993A (zh) * 2011-11-30 2012-05-02 上海博泰悦臻电子设备制造有限公司 车载雷达系统及其探测方法
CN102928833A (zh) * 2011-08-10 2013-02-13 广州三星通信技术研究有限公司 用于便携式终端的防撞装置、防撞方法以及便携式终端
CN104335260A (zh) * 2014-05-14 2015-02-04 华为技术有限公司 一种红外测距防撞方法及终端
CN104822042A (zh) * 2015-03-03 2015-08-05 广东欧珀移动通信有限公司 一种基于摄像头的行人安全检测方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103489314B (zh) * 2013-09-25 2015-09-09 广东欧珀移动通信有限公司 实时路况显示方法及装置
CN104899855A (zh) * 2014-03-06 2015-09-09 株式会社日立制作所 三维障碍物检测方法和装置

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006174288A (ja) * 2004-12-17 2006-06-29 Sharp Corp 携帯端末装置、衝突防止方法、衝突防止プログラムおよび記録媒体
JP2008199286A (ja) * 2007-02-13 2008-08-28 Nec Corp 携帯端末
CN101488290A (zh) * 2009-02-27 2009-07-22 清华大学 一种防后车追尾预警方法及其预警系统
CN101549683A (zh) * 2009-04-23 2009-10-07 上海交通大学 自动识别道路深坑与障碍物的车辆智能方法
CN102928833A (zh) * 2011-08-10 2013-02-13 广州三星通信技术研究有限公司 用于便携式终端的防撞装置、防撞方法以及便携式终端
CN102435993A (zh) * 2011-11-30 2012-05-02 上海博泰悦臻电子设备制造有限公司 车载雷达系统及其探测方法
CN104335260A (zh) * 2014-05-14 2015-02-04 华为技术有限公司 一种红外测距防撞方法及终端
CN104822042A (zh) * 2015-03-03 2015-08-05 广东欧珀移动通信有限公司 一种基于摄像头的行人安全检测方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112489365A (zh) * 2020-12-15 2021-03-12 乔东志 一种基于大数据的告警控制系统及方法
CN112489365B (zh) * 2020-12-15 2023-09-29 湖北华中电力科技开发有限责任公司 一种基于大数据的告警控制系统及方法

Also Published As

Publication number Publication date
CN107548466A (zh) 2018-01-05
CN107548466B (zh) 2021-07-16

Similar Documents

Publication Publication Date Title
US20210365696A1 (en) Vehicle Intelligent Driving Control Method and Device and Storage Medium
WO2022062659A1 (zh) 智能驾驶控制方法及装置、车辆、电子设备和存储介质
JP5691568B2 (ja) 情報処理装置、報知方法及びプログラム
US9975483B1 (en) Driver assist using smart mobile devices
US8953841B1 (en) User transportable device with hazard monitoring
JP6453192B2 (ja) 画像認識処理装置、及びプログラム
WO2017185268A1 (zh) 一种检测道路障碍物的方法及装置
US20120194554A1 (en) Information processing device, alarm method, and program
KR101428236B1 (ko) 보행자 행동 패턴 인지를 통한 차등 경고 시스템 및 그 방법
CN110979318B (zh) 车道信息获取方法、装置、自动驾驶车辆及存储介质
JP2016218732A5 (zh)
JPWO2012004938A1 (ja) 車両の周辺監視装置
JP4991384B2 (ja) 接近物検知装置及び接近物検知プログラム
US9160986B2 (en) Device for monitoring surroundings of a vehicle
CN107730830B (zh) 一种路障告警方法、移动终端以及计算机可读存储介质
JP2014056295A (ja) 車両周辺監視装置
KR101658089B1 (ko) 차선 유지 제어를 위한 차선 중심 추정 방법 및 그 장치
KR101947473B1 (ko) 후방 차량을 고려한 안전 운전 지원 장치 및 방법
JP2018195194A (ja) 情報処理システム、情報処理装置、情報処理方法およびプログラム
KR101793156B1 (ko) 신호등을 이용한 차량 사고 방지 시스템 및 방법
CN110222557B (zh) 路况的实时检测方法、装置、系统和存储介质
JP2008090683A (ja) 車載用ナビゲーション装置
Wei et al. Automatic accident detection and alarm system
JP7426471B2 (ja) 自動運転車インタラクションシステム
CN114973208A (zh) 车辆盲区监测预警方法及相关设备

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16899781

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16899781

Country of ref document: EP

Kind code of ref document: A1