WO2022017320A1 - Obstacle information obtaining method, obstacle avoidance method, moving apparatus, and computer-readable storage medium - Google Patents

Obstacle information obtaining method, obstacle avoidance method, moving apparatus, and computer-readable storage medium Download PDF

Info

Publication number
WO2022017320A1
WO2022017320A1 PCT/CN2021/107100 CN2021107100W WO2022017320A1 WO 2022017320 A1 WO2022017320 A1 WO 2022017320A1 CN 2021107100 W CN2021107100 W CN 2021107100W WO 2022017320 A1 WO2022017320 A1 WO 2022017320A1
Authority
WO
WIPO (PCT)
Prior art keywords
images
obstacle
mobile device
resolution
low
Prior art date
Application number
PCT/CN2021/107100
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 影石创新科技股份有限公司
Publication of WO2022017320A1 publication Critical patent/WO2022017320A1/en

Links

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/50Depth or shape recovery
    • G06T7/55Depth or shape recovery from multiple images
    • G06T7/593Depth or shape recovery from multiple images from stereo images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20228Disparity calculation for image-based rendering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30248Vehicle exterior or interior
    • G06T2207/30252Vehicle exterior; Vicinity of vehicle

Definitions

  • the embodiments of the present application belong to the field of environment perception of mobile devices, and specifically relate to a method for acquiring obstacle information, a method for avoiding obstacles, a mobile device, and a computer-readable storage medium.
  • Depth imaging is a technology that uses imaging equipment to extract scene depth information and represent the depth information as a depth image. This technology can be combined with target detection, target recognition, image segmentation and other technologies, and is applied in the fields of intelligent video surveillance, driverless cars, intelligent transportation, security and automatic robot control.
  • existing technologies mainly include stereo vision, structured light, and TOF.
  • structured light is not very effective when the light intensity is high, and TOF cannot be widely used due to high product cost.
  • the local algorithms including local area matching and local feature matching
  • the global algorithms mainly including the graph cut method
  • the purpose of the present invention is to provide an obstacle information acquisition method, an obstacle avoidance method, a mobile device and a computer-readable storage medium, so as to improve the efficiency of obstacle information acquisition and the efficiency of the mobile device to avoid obstacles.
  • the present invention provides a method for obtaining obstacle information, the method comprising: obtaining at least two images of the same scene around a mobile device; saving the at least two images as a high-resolution picture and a low-resolution picture respectively ; Detect suspected obstacles according to low-resolution pictures of at least two images; obtain detailed information of suspected obstacles according to high-resolution pictures of at least two images.
  • the present invention also provides a mobile device and a computer-readable storage medium based on the above method for obtaining obstacle information.
  • the present invention provides an obstacle avoidance method for a mobile device, the method comprising: setting a safe operating area centered on the mobile device; acquiring at least two images of the same scene around the mobile device; The images are saved as high-resolution pictures and low-resolution pictures respectively; the suspected obstacles are detected according to the low-resolution pictures of at least two images; the detailed information of the suspected obstacles is obtained according to the high-resolution pictures of at least two images; Obstacle details to perform obstacle avoidance actions.
  • the present invention also provides a mobile device and a computer-readable storage medium based on the above obstacle avoidance method.
  • the present invention saves the acquired at least two images as high-resolution pictures and low-resolution pictures respectively, then detects suspected obstacles according to the low-resolution pictures of the at least two images, and then detects the suspected obstacles according to the high-resolution pictures of the at least two images. Get detailed information on suspected obstacles.
  • the present invention only performs high-precision matching and distance calculation for pictures with suspected obstacles, which improves the efficiency and speed of obtaining obstacle information.
  • FIG. 1 is a flowchart of a method for obtaining obstacle information in a specific embodiment of the present invention.
  • FIG. 2 is a flowchart of detecting a suspected obstacle in a specific embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a region of interest in a specific embodiment of the present invention.
  • FIG. 4 is a schematic block diagram of a mobile device according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of an obstacle avoidance method for a mobile device in a specific embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a safe operating area of a mobile device according to an embodiment of the present invention.
  • FIG. 1 it is a flowchart of a preferred embodiment of a method for obtaining obstacle information according to the present invention, and the specific steps are as follows.
  • Step 1 Acquire at least two images of the same scene around the mobile device.
  • the mobile device may be a drone or a mobile cart.
  • binocular cameras are installed on the upper and lower sides, the front and rear ends, and the left and right sides of the drone to obtain two images of the drone in all directions; another example, on the top, front and rear ends of the mobile car
  • Binocular cameras are installed on the five sides of the left and right sides respectively to obtain two images of the mobile car in five directions except the ground direction.
  • the number of binocular cameras can also be increased or decreased according to the shape of the mobile device, the positions of the two lenses of the binocular camera, or the field of view of the lenses.
  • the two lenses are installed at the upper and lower ends, so that the upper and lower lenses on the same side form a crossed field of view.
  • the thickness of the mobile device can be appropriately increased.
  • the upper and lower fisheye lenses located on the same side can also form a cross field of view.
  • binocular cameras can also be installed at the front and rear ends of the moving direction of the mobile device, and a camera (such as a fisheye lens) can be installed on the upper and lower sides or the left and right sides of the mobile device, respectively.
  • the two images are captured by the same camera at different times, but it is necessary to ensure that the two images have a common scene, that is, the speed of the mobile device needs to be combined to control the shooting time interval of the two images to ensure that the two images have a common scene;
  • the principle of the object depth map is equivalent to the binocular camera. At this time, it is necessary to calculate the displacement of the camera map when capturing images at different time points, which is equivalent to the distance between the two lenses of the binocular camera.
  • Step 2 Save at least two images as high-resolution images and low-resolution images, respectively.
  • High-resolution pictures are referred to as HD pictures (HD is the abbreviation of English High Definition), which refers to pictures with a vertical resolution greater than or equal to 720, also known as high-definition images, and the dimensions are generally 1280 ⁇ 720 and 1920 ⁇ 1080.
  • the high-resolution picture may adopt the above-mentioned standard or a relative standard, for example, it only needs to satisfy that the resolution of the high-resolution picture is greater than the resolution of the low-resolution picture.
  • images captured by each camera of the binocular camera at the same time are obtained, two high-resolution pictures with a common scene are obtained and saved, and then the two high-resolution pictures are down-sampled respectively. , to obtain the corresponding low-resolution image and save it.
  • Step 3 Detect suspected obstacles based on low-resolution pictures of at least two images.
  • this step includes the following sub-steps:
  • Sub-step 1 Acquire a region of interest in a low-resolution picture of at least two images.
  • the area of interest in this embodiment refers to the overlapping area of the fields of view of adjacent cameras.
  • the area of interest ie, the ROI area
  • the non-ROI area is the area other than S5
  • the area of interest of cameras f1 and f2 is S3
  • the area of interest of cameras f3 and f4 is S3'
  • the area of interest of cameras f2 and f4 is S6.
  • Sub-step 2 Perform stereo matching on the region of interest in the low-resolution pictures of at least two images.
  • a stereo matching process in this embodiment is as follows: Harris feature points of regions of interest in two low-resolution images are extracted respectively, and then matching feature points with higher accuracy are obtained through feature matching, thereby completing image stereo matching.
  • Sub-step 3 Calculate the depth map of the region of interest in the low-resolution pictures of at least two images.
  • the pixel points corresponding to the matching feature points in sub-step 2 are obtained, and then the disparity information is calculated according to the triangulation principle, and then the disparity information is converted into a depth map through.
  • Sub-step 4 Calculate the obstacle distance according to the depth map of the region of interest.
  • the distance value of obstacles can be obtained according to the depth map.
  • Sub-step 5 Determine whether there is a suspected obstacle according to the distance of the obstacle.
  • the obstacle distance value calculated according to sub-step 4 is compared with the preset threshold. If it is less than the threshold, it is considered that there is a suspected obstacle, and the process goes to step 4; if it is greater than the threshold, it is considered that there is no suspected obstacle. Then go back to step one.
  • Step 4 Obtain the detailed information of the suspected obstacle according to the high-resolution pictures of at least two images.
  • the distance value of the suspected obstacle is smaller than the threshold value, two corresponding high-resolution pictures are obtained, and then the regions of interest of the two high-resolution pictures are accurately matched and solved to obtain the interesting
  • the depth map or point cloud of the suspected obstacle corresponding to the area is obtained, so as to obtain the detailed information of the suspected obstacle.
  • the suspected obstacle is detected by using a low-resolution image, and the detailed information of the obstacle is obtained by performing accurate matching and solving through the high-resolution image after the suspected obstacle is found.
  • This embodiment can effectively reduce information acquisition of irrelevant obstacles, and only acquire detailed information for suspected obstacles, which improves the efficiency and speed of acquiring obstacle information, and reduces the requirement for hardware (eg, a chip) to execute the method.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • FIG. 4 it is a schematic diagram of a module of a mobile device in an embodiment of the present invention.
  • the mobile device in this embodiment includes a mobile module, an image sensor, a processor, a memory, and is stored in the memory and can run on the processor. computer program.
  • the mobile module can be the driving wheel of the mobile car or the propeller of the drone, which is used to drive the movement of the mobile device;
  • the image sensor can be a binocular camera or a fisheye camera, which is used to obtain images around the mobile device.
  • the cameras have crossed fields of view; the processor executes the computer program stored in the memory to implement the obstacle information acquisition method in Embodiment 1.
  • a computer-readable storage medium is disclosed in this embodiment, and a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, the method for obtaining obstacle information in Embodiment 1 is implemented.
  • Embodiment 4 is a diagrammatic representation of Embodiment 4:
  • an obstacle avoidance method for a mobile device is disclosed in this embodiment, and the mobile device includes but is not limited to a mobile car and an unmanned aerial vehicle (UAV).
  • the obstacle avoidance method of the mobile device of the present invention includes the following steps.
  • Step 1 Set a safe operating area centered on the mobile device.
  • the safe operation area of the mobile trolley is the safe operation pipeline shown by the dotted line in the figure.
  • the distance R is a circular tubular channel of radius.
  • Step 2 Acquire at least two images of the same scene around the mobile device.
  • the images of the front or the side of the mobile trolley are acquired through the binocular cameras installed on the front and side of the mobile trolley.
  • Step 3 Save at least two images as high-resolution pictures and low-resolution pictures, respectively.
  • High-resolution pictures are referred to as HD pictures (HD is the abbreviation of English High Definition), which refers to pictures with a vertical resolution greater than or equal to 720, also known as high-definition images, and the size is generally 1280 ⁇ 720 and 1920 ⁇ 1080.
  • the high-resolution picture may adopt the above-mentioned standard or a relative standard, for example, it only needs to satisfy that the resolution of the high-resolution picture is greater than the resolution of the low-resolution picture.
  • images captured by each camera of the binocular camera at the same time are obtained, two high-resolution pictures with a common scene are obtained and saved, and then the two high-resolution pictures are down-sampled respectively. , to obtain the corresponding low-resolution image and save it.
  • Step 4 Detect suspected obstacles based on low-resolution pictures of at least two images.
  • This step is basically the same as step 3 in Example 1, and this step includes the following substeps:
  • Sub-step 1 Obtain a region of interest in a low-resolution picture of at least two images.
  • the area of interest in this embodiment refers to the overlapping area of the fields of view of adjacent cameras.
  • the area of interest ie, the ROI area
  • the non-ROI area is the area other than S5
  • the area of interest of cameras f1 and f2 is S3
  • the area of interest of cameras f3 and f4 is S3'
  • the area of interest of cameras f2 and f4 is S6.
  • Sub-step 2 Stereo matching the region of interest in the low-resolution pictures of at least two images.
  • a stereo matching process in this embodiment is as follows: Harris feature points of regions of interest in two low-resolution images are extracted respectively, and then matching feature points with higher accuracy are obtained through feature matching, thereby completing image stereo matching.
  • Sub-step 3 Compute a depth map of the region of interest in the low-resolution picture of at least two images.
  • the pixel points corresponding to the matching feature points in sub-step 2 are obtained, and then the disparity information is calculated according to the triangulation principle, and then the disparity information is converted into a depth map through.
  • Sub-step 4 Calculate the obstacle distance based on the depth map of the region of interest.
  • the distance value of obstacles can be obtained according to the depth map.
  • Sub-step 5 Determine whether there is a suspected obstacle according to the obstacle distance.
  • step 4 judge whether the obstacle is located in the safety pipeline. If so, judge that the obstacle is a suspected obstacle, and then go to step 5; if not, judge that there is no suspected obstacle, and the interval Return to step 2 after a while.
  • Step 5 Obtain detailed information of suspected obstacles based on high-resolution pictures of at least two images.
  • Step 6 Perform obstacle avoidance actions according to the obtained obstacle details.
  • the low-resolution image is used to detect whether the obstacle is located in the safe operation area to determine whether there is a suspected obstacle
  • the high-resolution image is used to accurately match and solve the problem after the suspected obstacle is found. to obtain detailed information on obstacles and perform obstacle avoidance actions. Because this embodiment only obtains detailed information for suspected obstacles, the efficiency and speed of obtaining obstacle information is improved, the speed of the drone or mobile car in responding to obstacles is improved, and the hardware (such as a chip) that executes the method is reduced. need.
  • Embodiment 5 is a diagrammatic representation of Embodiment 5:
  • the mobile device in this embodiment includes a mobile module, an image sensor, a processor, a memory, and a Computer program.
  • the mobile module is the walking wheel of the mobile trolley, which is used to drive the mobile trolley to move;
  • the image sensor is a binocular camera installed in the front or side of the mobile trolley, which is used to obtain the image of the front or side of the mobile trolley;
  • the processor is located inside the mobile trolley (not shown in the figure), for executing the computer program stored in the memory (not shown in the figure) to implement the obstacle avoidance method of the mobile device in Embodiment 4.
  • a computer-readable storage medium is disclosed in this embodiment, and a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the obstacle avoidance method of the mobile device in Embodiment 4 is implemented.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

An obstacle information obtaining method, a moving apparatus implementing the method, and a computer-readable storage medium. The method comprises: obtaining at least two images of the same scene around the moving apparatus; respectively storing the at least two images as a high-resolution picture and a low-resolution picture; detecting a suspected obstacle according to the low-resolution picture of the at least two images; and obtaining detailed information of the suspected obstacle according to the high-resolution picture of the at least two images. According to the method, the obtained at least two images are respectively stored as the high-resolution picture and the low-resolution picture, then the suspected obstacle is detected according to the low-resolution picture of the at least two images, and the detailed information of the suspected obstacle is obtained according to the high-resolution picture of the at least two images. In this way, the method only performs high-precision matching and distance calculation on a picture having the suspected obstacle, thereby improving the efficiency and speed of obtaining the obstacle information.

Description

障碍物信息获取方法、避障方法、移动装置及计算机可读存储介质Obstacle information acquisition method, obstacle avoidance method, mobile device and computer-readable storage medium 技术领域technical field
本申请实施例属于移动装置的环境感知领域,具体涉及一种障碍物信息获取方法、避障方法、移动装置及计算机可读存储介质。The embodiments of the present application belong to the field of environment perception of mobile devices, and specifically relate to a method for acquiring obstacle information, a method for avoiding obstacles, a mobile device, and a computer-readable storage medium.
背景技术Background technique
深度成像是利用成像设备提取场景深度信息,并将深度信息表示为深度图像的技术。该技术可以与目标检测、目标识别、图像分割等技术结合,应用于智能视频监控、无人驾驶汽车、智能交通、安防及机器人自动控制等领域。Depth imaging is a technology that uses imaging equipment to extract scene depth information and represent the depth information as a depth image. This technology can be combined with target detection, target recognition, image segmentation and other technologies, and is applied in the fields of intelligent video surveillance, driverless cars, intelligent transportation, security and automatic robot control.
为了获取环境物体的深度信息,现有技术主要包括立体视觉、结构光和TOF等。其中,结构光在光照强度高的情况下效果不是很好,而TOF则因为产品成本高而无法广泛应用。In order to obtain depth information of environmental objects, existing technologies mainly include stereo vision, structured light, and TOF. Among them, structured light is not very effective when the light intensity is high, and TOF cannot be widely used due to high product cost.
技术问题technical problem
现有的立体视觉的立体匹配算法的局部算法(包括局部区域匹配,局部特征匹配)存在匹配精度不够,而全局算法(主要包括图割法)等存在运行时间过长、对处理器配置要求较高等缺陷。本发明的目的在于提供障碍物信息获取方法、避障方法、移动装置及计算机可读存储介质,旨在提高障碍物信息获取效率及移动装置规避障碍的效率。The local algorithms (including local area matching and local feature matching) of the existing stereo matching algorithms for stereo vision have insufficient matching accuracy, while the global algorithms (mainly including the graph cut method) have too long running time and require more processor configuration. high defect. The purpose of the present invention is to provide an obstacle information acquisition method, an obstacle avoidance method, a mobile device and a computer-readable storage medium, so as to improve the efficiency of obstacle information acquisition and the efficiency of the mobile device to avoid obstacles.
技术解决方案technical solutions
第一方面,本发明提供了一种障碍物信息获取方法,该方法包括:获取移动装置周围的同一场景的至少两个图像;将至少两个图像分别保存为高分辨率图片和低分辨率图片;根据至少两个图像的低分辨率图片检测疑似障碍物;根据至少两个图像的高分辨率图片获取疑似障碍物的详细信息。In a first aspect, the present invention provides a method for obtaining obstacle information, the method comprising: obtaining at least two images of the same scene around a mobile device; saving the at least two images as a high-resolution picture and a low-resolution picture respectively ; Detect suspected obstacles according to low-resolution pictures of at least two images; obtain detailed information of suspected obstacles according to high-resolution pictures of at least two images.
此外,本发明还提供了一种基于上述障碍物信息获取方法的移动装置和计算机可读存储介质。In addition, the present invention also provides a mobile device and a computer-readable storage medium based on the above method for obtaining obstacle information.
第二方面,本发明提供了一种移动装置的避障方法,该方法包括:设定以移动装置为中心的安全运行区域;获取移动装置周围的同一场景的至少两个图像;将至少两个图像分别保存为高分辨率图片和低分辨率图片;根据至少两个图像的低分辨率图片检测疑似障碍物;根据至少两个图像的高分辨率图片获取疑似障碍物的详细信息;根据获取的障碍物详细信息执行避障动作。In a second aspect, the present invention provides an obstacle avoidance method for a mobile device, the method comprising: setting a safe operating area centered on the mobile device; acquiring at least two images of the same scene around the mobile device; The images are saved as high-resolution pictures and low-resolution pictures respectively; the suspected obstacles are detected according to the low-resolution pictures of at least two images; the detailed information of the suspected obstacles is obtained according to the high-resolution pictures of at least two images; Obstacle details to perform obstacle avoidance actions.
此外,本发明还提供了一种基于上述避障方法的移动装置和计算机可读存储介质。In addition, the present invention also provides a mobile device and a computer-readable storage medium based on the above obstacle avoidance method.
有益效果beneficial effect
本发明通过将获取的至少两个图像分别保存为高分辨率图片和低分辨率图片,然后根据至少两个图像的低分辨率图片检测疑似障碍物,再根据至少两个图像的高分辨率图片获取疑似障碍物的详细信息。通过上述方式,本发明仅对存在疑似障碍物的图片进行高精度匹配与距离解算,提高了获取障碍物信息的效率和速度。The present invention saves the acquired at least two images as high-resolution pictures and low-resolution pictures respectively, then detects suspected obstacles according to the low-resolution pictures of the at least two images, and then detects the suspected obstacles according to the high-resolution pictures of the at least two images. Get detailed information on suspected obstacles. In the above manner, the present invention only performs high-precision matching and distance calculation for pictures with suspected obstacles, which improves the efficiency and speed of obtaining obstacle information.
附图说明Description of drawings
图1是本发明一具体实施例中的障碍物信息获取方法的流程图。FIG. 1 is a flowchart of a method for obtaining obstacle information in a specific embodiment of the present invention.
图2是本发明一具体实施例中的检测疑似障碍物的流程图。FIG. 2 is a flowchart of detecting a suspected obstacle in a specific embodiment of the present invention.
图3是本发明一具体实施例中的感兴趣区域的示意图。FIG. 3 is a schematic diagram of a region of interest in a specific embodiment of the present invention.
图4是本发明一具体实施例中的移动装置的模块示意图。FIG. 4 is a schematic block diagram of a mobile device according to an embodiment of the present invention.
图5是本发明一具体实施例中的移动装置的避障方法的流程图。FIG. 5 is a flowchart of an obstacle avoidance method for a mobile device in a specific embodiment of the present invention.
图6是本发明一具体实施例的移动装置的安全运行区域的示意图。FIG. 6 is a schematic diagram of a safe operating area of a mobile device according to an embodiment of the present invention.
本发明的实施方式Embodiments of the present invention
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
以下结合具体实施例对本发明的具体实现进行详细描述:The specific implementation of the present invention is described in detail below in conjunction with specific embodiments:
实施例一:Example 1:
如图1所示,为本发明障碍物信息获取方法一较佳实施例的流程图,具体以下步骤。As shown in FIG. 1 , it is a flowchart of a preferred embodiment of a method for obtaining obstacle information according to the present invention, and the specific steps are as follows.
步骤一:获取移动装置周围的同一场景的至少两个图像。Step 1: Acquire at least two images of the same scene around the mobile device.
具体地,移动装置可为无人机或移动小车。例如,在无人机的上下两面、前后两端和左右两侧共六个面分别安装双目摄像头以获得无人机各个方向的两个图像;又如,在移动小车的上面、前后两端和左右两侧共五个面分别安装双目摄像头以获得移动小车除地面方向的五个方向的两个图像。另外,也可根据移动装置的形状、双目摄像头的两个镜头的位置或镜头的视场来增加或减少双目摄像头的数量,例如,当移动装置厚度较小,可将双目摄像头的两个镜头安装在上下面的两端,从而使得位于同侧的上下两个镜头形成交叉视场,此时,移动装置的前后两端的两个端面可以不用安装双目摄像头,需要说明的是,当镜头的视场较大时(如鱼眼镜头),移动装置的厚度可适当增加,此时也可以使得位于同侧的上下两个鱼眼镜头形成交叉视场。又如,也可以在移动装置的运动方向的前后两端安装双目摄像头,而在移动装置的上下两面或左右两侧分别安装一个摄像头(如鱼眼镜头),上下两面及左右两侧的两个图像是同一摄像头在不同时间拍摄获得的,但需保证两个图像有共同的场景,即需结合移动装置的速度来控制两个图像的拍摄时间间隔以保证两个图像有共同的场景;通过同一摄像头拍摄两个图像来计算障碍物的深度图有严格要求,一是摄像头本身应发生运动,另外,拍摄的障碍物需相对静止;此外,单个摄像头在不同时间点拍摄两张图像来计算障碍物深度图的原理等同于双目摄像头,此时需通过计算该摄像图在不同时间点的拍摄图像时发生的位移,即相当于双目摄像头两个镜头之间的距离。Specifically, the mobile device may be a drone or a mobile cart. For example, binocular cameras are installed on the upper and lower sides, the front and rear ends, and the left and right sides of the drone to obtain two images of the drone in all directions; another example, on the top, front and rear ends of the mobile car Binocular cameras are installed on the five sides of the left and right sides respectively to obtain two images of the mobile car in five directions except the ground direction. In addition, the number of binocular cameras can also be increased or decreased according to the shape of the mobile device, the positions of the two lenses of the binocular camera, or the field of view of the lenses. The two lenses are installed at the upper and lower ends, so that the upper and lower lenses on the same side form a crossed field of view. When the field of view of the lens is large (such as a fisheye lens), the thickness of the mobile device can be appropriately increased. At this time, the upper and lower fisheye lenses located on the same side can also form a cross field of view. For another example, binocular cameras can also be installed at the front and rear ends of the moving direction of the mobile device, and a camera (such as a fisheye lens) can be installed on the upper and lower sides or the left and right sides of the mobile device, respectively. The two images are captured by the same camera at different times, but it is necessary to ensure that the two images have a common scene, that is, the speed of the mobile device needs to be combined to control the shooting time interval of the two images to ensure that the two images have a common scene; There are strict requirements for the same camera to shoot two images to calculate the depth map of obstacles. One is that the camera itself should move, and the other is that the captured obstacles need to be relatively static; in addition, a single camera shoots two images at different time points to calculate obstacles. The principle of the object depth map is equivalent to the binocular camera. At this time, it is necessary to calculate the displacement of the camera map when capturing images at different time points, which is equivalent to the distance between the two lenses of the binocular camera.
步骤二:将至少两个图像分别保存为高分辨率图片和低分辨率图片。Step 2: Save at least two images as high-resolution images and low-resolution images, respectively.
 高分辨率图片简称HD图片(HD是英文High Definition的简称),是指垂直分辨率大于等于720的图片,也称为高清图像,尺寸一般是1280×720和1920×1080。在本实施例中,高分辨图片可采用上述标准,也可以采用相对标准,比如只需满足高分辨率图片的分辨率大于低分辨率图片的分辨率即可。具体地,在本实施例中,获取双目摄像头的各摄像头的同一时间拍摄的图像,获得具有共同场景的两张高分辨率图片并保存,然后通过对两张高分辨率分别进行降采样处理,以获得对应的低分别率图片并保存。High-resolution pictures are referred to as HD pictures (HD is the abbreviation of English High Definition), which refers to pictures with a vertical resolution greater than or equal to 720, also known as high-definition images, and the dimensions are generally 1280×720 and 1920×1080. In this embodiment, the high-resolution picture may adopt the above-mentioned standard or a relative standard, for example, it only needs to satisfy that the resolution of the high-resolution picture is greater than the resolution of the low-resolution picture. Specifically, in this embodiment, images captured by each camera of the binocular camera at the same time are obtained, two high-resolution pictures with a common scene are obtained and saved, and then the two high-resolution pictures are down-sampled respectively. , to obtain the corresponding low-resolution image and save it.
步骤三:根据至少两个图像的低分辨率图片检测疑似障碍物。Step 3: Detect suspected obstacles based on low-resolution pictures of at least two images.
如图2所示,在本实施例中,该步骤包括以下子步骤:As shown in Figure 2, in this embodiment, this step includes the following sub-steps:
子步骤一:获取至少两个图像的低分辨率图片中的感兴趣区域。Sub-step 1: Acquire a region of interest in a low-resolution picture of at least two images.
本实施例中的感兴趣区域是指相邻摄像头的视场重叠区域,如图3所示,对于相邻摄像头f1和f3,感兴趣区域(即ROI区域)为摄像头f1和f3的重叠区域S5,非ROI区域为S5之外的区域;同理,摄像头f1和f2的感兴趣区域为S3;摄像头f3和f4的感兴趣区域为S3’;摄像头f2和f4的感兴趣区域为S6。The area of interest in this embodiment refers to the overlapping area of the fields of view of adjacent cameras. As shown in FIG. 3 , for adjacent cameras f1 and f3, the area of interest (ie, the ROI area) is the overlapping area S5 of the cameras f1 and f3 , the non-ROI area is the area other than S5; similarly, the area of interest of cameras f1 and f2 is S3; the area of interest of cameras f3 and f4 is S3'; the area of interest of cameras f2 and f4 is S6.
子步骤二:对至少两个图像的低分辨率图片中的感兴趣区域进行立体匹配。Sub-step 2: Perform stereo matching on the region of interest in the low-resolution pictures of at least two images.
在本实施例中的一个立体匹配过程如下:分别提取两个低分辨率图片中的感兴趣区域的Harris特征点,然后通过特征匹配得到精度较高的匹配特征点,从而完成图像立体匹配。A stereo matching process in this embodiment is as follows: Harris feature points of regions of interest in two low-resolution images are extracted respectively, and then matching feature points with higher accuracy are obtained through feature matching, thereby completing image stereo matching.
子步骤三:计算至少两个图像的低分辨率图片中的感兴趣区域的深度图。Sub-step 3: Calculate the depth map of the region of interest in the low-resolution pictures of at least two images.
 在本实施例中,获得子步骤二中的匹配特征点对应的像素点,然后根据三角原理计算出视差信息,再将视差信息通过转化为深度图。In this embodiment, the pixel points corresponding to the matching feature points in sub-step 2 are obtained, and then the disparity information is calculated according to the triangulation principle, and then the disparity information is converted into a depth map through.
子步骤四:根据感兴趣区域的深度图计算障碍物距离。Sub-step 4: Calculate the obstacle distance according to the depth map of the region of interest.
由于深度图中的每个像素点的灰度值可用于表征场景中的障碍物的距离,进而可以根据深度图获得障碍物的距离值。Since the gray value of each pixel in the depth map can be used to represent the distance of obstacles in the scene, the distance value of obstacles can be obtained according to the depth map.
子步骤五:根据障碍物距离判断是否存在疑似障碍物。Sub-step 5: Determine whether there is a suspected obstacle according to the distance of the obstacle.
根据子步骤四计算得到的障碍物距离值与预先设定的阈值进行比较,如果小于阈值,则认为存在疑似障碍物,进入步骤四;如果大于阈值,则认为不存在疑似障碍物,间隔一段时间后再返回步骤一。The obstacle distance value calculated according to sub-step 4 is compared with the preset threshold. If it is less than the threshold, it is considered that there is a suspected obstacle, and the process goes to step 4; if it is greater than the threshold, it is considered that there is no suspected obstacle. Then go back to step one.
步骤四:根据至少两个图像的高分辨率图片获取疑似障碍物的详细信息。Step 4: Obtain the detailed information of the suspected obstacle according to the high-resolution pictures of at least two images.
 在本实施例中,当疑似障碍物的距离值小于阈值时,获取其对应的两个高分辨率图片,然后对两个高分辨率图片的感兴趣区域进行精确的匹配和解算,得到感兴趣区域对应的疑似障碍物的深度图或点云,从而获得该疑似障碍物的详细信息。In this embodiment, when the distance value of the suspected obstacle is smaller than the threshold value, two corresponding high-resolution pictures are obtained, and then the regions of interest of the two high-resolution pictures are accurately matched and solved to obtain the interesting The depth map or point cloud of the suspected obstacle corresponding to the area is obtained, so as to obtain the detailed information of the suspected obstacle.
通过上述步骤可知,本实施例中通过低分辨率图片检测疑似障碍物,且在发现疑似障碍物后才通过高分辨率图片进行精确匹配与解算以获得障碍物的详细信息。本实施例能有效减少无关障碍物的信息获取,仅针对疑似障碍物进行详细信息获取,提升了获取障碍物信息的效率和速度,降低了对执行该方法的硬件(如芯片)的需求。It can be known from the above steps that in this embodiment, the suspected obstacle is detected by using a low-resolution image, and the detailed information of the obstacle is obtained by performing accurate matching and solving through the high-resolution image after the suspected obstacle is found. This embodiment can effectively reduce information acquisition of irrelevant obstacles, and only acquire detailed information for suspected obstacles, which improves the efficiency and speed of acquiring obstacle information, and reduces the requirement for hardware (eg, a chip) to execute the method.
实施例二:Embodiment 2:
如图4所示,为本发明一实施例中的移动装置的模块示意图,本实施例中的移动装置包括移动模块、图像传感器、处理器、存储器以及存储在存储器上并可在处理器上运行的计算机程序。移动模块可为移动小车的驱动轮或者无人机的螺旋桨,用于驱动移动装置运动;图像传感器可为双目摄像头或鱼眼摄像头,用于获取移动装置周围的图像,其中双目摄像头的两个摄像头具有交叉的视场;处理器执行存储在存储器上的计算机程序以实现实施例1中的障碍物信息获取方法。As shown in FIG. 4 , it is a schematic diagram of a module of a mobile device in an embodiment of the present invention. The mobile device in this embodiment includes a mobile module, an image sensor, a processor, a memory, and is stored in the memory and can run on the processor. computer program. The mobile module can be the driving wheel of the mobile car or the propeller of the drone, which is used to drive the movement of the mobile device; the image sensor can be a binocular camera or a fisheye camera, which is used to obtain images around the mobile device. The cameras have crossed fields of view; the processor executes the computer program stored in the memory to implement the obstacle information acquisition method in Embodiment 1.
实施例三:Embodiment three:
本实施例中揭示了一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现实施例1中的障碍物信息获取方法。A computer-readable storage medium is disclosed in this embodiment, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the method for obtaining obstacle information in Embodiment 1 is implemented.
实施例四:Embodiment 4:
如图5所示,本实施例中揭示了一种移动装置的避障方法,移动装置包括但不限于移动小车和无人机(UAV),本实施例中以移动小车为例对本发明的避障方法进行说明,本发明的移动装置的避障方法包括以下步骤。As shown in FIG. 5 , an obstacle avoidance method for a mobile device is disclosed in this embodiment, and the mobile device includes but is not limited to a mobile car and an unmanned aerial vehicle (UAV). The obstacle avoidance method of the mobile device of the present invention includes the following steps.
步骤1:设定以移动装置为中心的安全运行区域。Step 1: Set a safe operating area centered on the mobile device.
如图6所示,移动小车的安全运行区域为图中虚线所示的安全运行管道,该安全运行管道以经过移动小车的几何中心且与移动小车运动方向平行的直线L为轴、以预设距离R为半径的圆形管状通道。As shown in Figure 6, the safe operation area of the mobile trolley is the safe operation pipeline shown by the dotted line in the figure. The distance R is a circular tubular channel of radius.
步骤2:获取移动装置周围的同一场景的至少两个图像。Step 2: Acquire at least two images of the same scene around the mobile device.
如图6所示,通过安装在移动小车前方和侧边的双目摄像头来获取移动小车正前方或侧方的图像。As shown in Figure 6, the images of the front or the side of the mobile trolley are acquired through the binocular cameras installed on the front and side of the mobile trolley.
步骤3:将至少两个图像分别保存为高分辨率图片和低分辨率图片。Step 3: Save at least two images as high-resolution pictures and low-resolution pictures, respectively.
高分辨率图片简称HD图片(HD是英文High Definition的简称),是指垂直分辨率大于等于720的图片,也称为高清图像,尺寸一般是1280×720和1920×1080。在本实施例中,高分辨图片可采用上述标准,也可以采用相对标准,比如只需满足高分辨率图片的分辨率大于低分辨率图片的分辨率即可。具体地,在本实施例中,获取双目摄像头的各摄像头的同一时间拍摄的图像,获得具有共同场景的两张高分辨率图片并保存,然后通过对两张高分辨率分别进行降采样处理,以获得对应的低分别率图片并保存。High-resolution pictures are referred to as HD pictures (HD is the abbreviation of English High Definition), which refers to pictures with a vertical resolution greater than or equal to 720, also known as high-definition images, and the size is generally 1280 × 720 and 1920 × 1080. In this embodiment, the high-resolution picture may adopt the above-mentioned standard or a relative standard, for example, it only needs to satisfy that the resolution of the high-resolution picture is greater than the resolution of the low-resolution picture. Specifically, in this embodiment, images captured by each camera of the binocular camera at the same time are obtained, two high-resolution pictures with a common scene are obtained and saved, and then the two high-resolution pictures are down-sampled respectively. , to obtain the corresponding low-resolution image and save it.
步骤4:根据至少两个图像的低分辨率图片检测疑似障碍物。Step 4: Detect suspected obstacles based on low-resolution pictures of at least two images.
该步骤与实施例1中步骤三基本相同,该步骤包括以下子步骤:This step is basically the same as step 3 in Example 1, and this step includes the following substeps:
子步骤1:获取至少两个图像的低分辨率图片中的感兴趣区域。Sub-step 1: Obtain a region of interest in a low-resolution picture of at least two images.
本实施例中的感兴趣区域是指相邻摄像头的视场重叠区域,如图3所示,对于相邻摄像头f1和f3,感兴趣区域(即ROI区域)为摄像头f1和f3的重叠区域S5,非ROI区域为S5之外的区域;同理,摄像头f1和f2的感兴趣区域为S3;摄像头f3和f4的感兴趣区域为S3’;摄像头f2和f4的感兴趣区域为S6。The area of interest in this embodiment refers to the overlapping area of the fields of view of adjacent cameras. As shown in FIG. 3 , for adjacent cameras f1 and f3, the area of interest (ie, the ROI area) is the overlapping area S5 of the cameras f1 and f3 , the non-ROI area is the area other than S5; similarly, the area of interest of cameras f1 and f2 is S3; the area of interest of cameras f3 and f4 is S3'; the area of interest of cameras f2 and f4 is S6.
子步骤2:对至少两个图像的低分辨率图片中的感兴趣区域进行立体匹配。Sub-step 2: Stereo matching the region of interest in the low-resolution pictures of at least two images.
在本实施例中的一个立体匹配过程如下:分别提取两个低分辨率图片中的感兴趣区域的Harris特征点,然后通过特征匹配得到精度较高的匹配特征点,从而完成图像立体匹配。A stereo matching process in this embodiment is as follows: Harris feature points of regions of interest in two low-resolution images are extracted respectively, and then matching feature points with higher accuracy are obtained through feature matching, thereby completing image stereo matching.
子步骤3:计算至少两个图像的低分辨率图片中的感兴趣区域的深度图。Sub-step 3: Compute a depth map of the region of interest in the low-resolution picture of at least two images.
 在本实施例中,获得子步骤二中的匹配特征点对应的像素点,然后根据三角原理计算出视差信息,再将视差信息通过转化为深度图。In this embodiment, the pixel points corresponding to the matching feature points in sub-step 2 are obtained, and then the disparity information is calculated according to the triangulation principle, and then the disparity information is converted into a depth map through.
子步骤4:根据感兴趣区域的深度图计算障碍物距离。Sub-step 4: Calculate the obstacle distance based on the depth map of the region of interest.
由于深度图中的每个像素点的灰度值可用于表征场景中的障碍物的距离,进而可以根据深度图获得障碍物的距离值。Since the gray value of each pixel in the depth map can be used to represent the distance of obstacles in the scene, the distance value of obstacles can be obtained according to the depth map.
子步骤5:根据障碍物距离判断是否存在疑似障碍物。Sub-step 5: Determine whether there is a suspected obstacle according to the obstacle distance.
根据子步骤4计算得到的障碍物距离判断该障碍物是否位于安全管道内,如果是,则判断该障碍物为疑似障碍物,然后进入步骤5;如果否,则判断不存在疑似障碍物,间隔一段时间后再返回步骤2。According to the obstacle distance calculated in sub-step 4, judge whether the obstacle is located in the safety pipeline. If so, judge that the obstacle is a suspected obstacle, and then go to step 5; if not, judge that there is no suspected obstacle, and the interval Return to step 2 after a while.
步骤5:根据至少两个图像的高分辨率图片获取疑似障碍物的详细信息。Step 5: Obtain detailed information of suspected obstacles based on high-resolution pictures of at least two images.
当障碍物位于安全管道内时,获取其对应图像的两个高分辨率图片,然后对两个高分辨率图片的感兴趣区域进行精确的匹配和解算,得到感兴趣区域对应的疑似障碍物的深度图或点云,从而获得该疑似障碍物的详细信息。When the obstacle is located in the safety pipeline, two high-resolution pictures of its corresponding images are obtained, and then the regions of interest of the two high-resolution pictures are accurately matched and solved to obtain the suspected obstacle corresponding to the region of interest. Depth map or point cloud to get detailed information about the suspected obstacle.
步骤6:根据获取的障碍物详细信息执行避障动作。Step 6: Perform obstacle avoidance actions according to the obtained obstacle details.
根据获取的疑似障碍物详细信息生成环境地图,控制移动小车执行障碍规避动作,如停止、转弯或后退等动作。Generate an environment map according to the obtained detailed information of suspected obstacles, and control the mobile car to perform obstacle avoidance actions, such as stopping, turning or retreating.
通过上述步骤可知,本实施例中通过低分辨率图片检测障碍物是否位于安全运行区域内来确定是否存在疑似障碍物,且在发现疑似障碍物后才通过高分辨率图片进行精确匹配与解算以获得障碍物的详细信息并执行避障动作。因本实施例仅针对疑似障碍物进行详细信息获取,提高了获取障碍物信息的效率和速度,提升了无人机或移动小车响应障碍速度,降低了对执行该方法的硬件(如芯片)的需求。It can be seen from the above steps that in this embodiment, the low-resolution image is used to detect whether the obstacle is located in the safe operation area to determine whether there is a suspected obstacle, and the high-resolution image is used to accurately match and solve the problem after the suspected obstacle is found. to obtain detailed information on obstacles and perform obstacle avoidance actions. Because this embodiment only obtains detailed information for suspected obstacles, the efficiency and speed of obtaining obstacle information is improved, the speed of the drone or mobile car in responding to obstacles is improved, and the hardware (such as a chip) that executes the method is reduced. need.
实施例五:Embodiment 5:
如图6所示,为本发明一实施例中的移动装置的示意图,本实施例中的移动装置包括移动模块、图像传感器、处理器、存储器以及存储在存储器上并可在处理器上运行的计算机程序。移动模块为移动小车的行走轮,用于驱动移动小车运动;图像传感器为安装在移动小车前方或侧边的双目摄像头,用于获取移动小车前方或侧方的图像;处理器位于移动小车内部(图中未示出),用于执行存储在存储器(图中未示出)上的计算机程序以实现实施例4中的移动装置的避障方法。As shown in FIG. 6 , which is a schematic diagram of a mobile device in an embodiment of the present invention, the mobile device in this embodiment includes a mobile module, an image sensor, a processor, a memory, and a Computer program. The mobile module is the walking wheel of the mobile trolley, which is used to drive the mobile trolley to move; the image sensor is a binocular camera installed in the front or side of the mobile trolley, which is used to obtain the image of the front or side of the mobile trolley; the processor is located inside the mobile trolley (not shown in the figure), for executing the computer program stored in the memory (not shown in the figure) to implement the obstacle avoidance method of the mobile device in Embodiment 4.
实施例六Embodiment 6
本实施例中揭示了一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现实施例4中的移动装置的避障方法。A computer-readable storage medium is disclosed in this embodiment, and a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the obstacle avoidance method of the mobile device in Embodiment 4 is implemented.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: Read only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention shall be included in the protection of the present invention. within the range.

Claims (10)

  1. 一种障碍物信息获取方法,其特征在于,包括以下步骤:A method for obtaining obstacle information, comprising the following steps:
    获取移动装置周围的同一场景的至少两个图像;acquiring at least two images of the same scene around the mobile device;
    将至少两个图像分别保存为高分辨率图片和低分辨率图片;Save at least two images as a high-resolution image and a low-resolution image;
    根据至少两个图像的低分辨率图片检测疑似障碍物;Detect suspected obstacles based on low-resolution pictures of at least two images;
    根据至少两个图像的高分辨率图片获取疑似障碍物的详细信息。Obtain detailed information on suspected obstacles from high-resolution pictures of at least two images.
  2. 如权利要求1所述的障碍物信息获取方法,其特征在于,所述移动装置周围的同一场景的至少两个图像是通过双目摄像头或者通过同一摄像头在不同时间获取的。The method for obtaining obstacle information according to claim 1, wherein at least two images of the same scene around the mobile device are obtained at different times through a binocular camera or through the same camera.
  3. 如权利要求1所述的障碍物信息获取方法,其特征在于,所述根据至少两个图像的低分辨率图片检测疑似障碍物包括:The method for obtaining obstacle information according to claim 1, wherein the detecting a suspected obstacle according to a low-resolution picture of at least two images comprises:
    获取至少两个图像的低分辨率图片中的感兴趣区域;Obtain a region of interest in a low-resolution picture of at least two images;
    对至少两个图像的低分辨率图片中的感兴趣区域进行立体匹配;performing stereo matching on regions of interest in low-resolution pictures of at least two images;
    计算至少两个图像的低分辨率图片中的感兴趣区域的深度图;calculating a depth map of a region of interest in a low-resolution picture of at least two images;
    根据感兴趣区域的深度图计算障碍物距离;Calculate the obstacle distance based on the depth map of the region of interest;
    根据障碍物距离判断是否存在疑似障碍物。Determine whether there is a suspected obstacle according to the distance of the obstacle.
  4. 一种移动装置,包括移动模块、图像传感器、处理器、存储器以及存储在存储器上并可在处理器上运行的计算机程序,所述移动模块用于驱动移动装置运动,所述图像传感器用于获取图像,其特征在于,所述处理器执行所述计算机程序以实现权利要求1至3任一项所述的障碍物信息获取方法。A mobile device, comprising a mobile module, an image sensor, a processor, a memory, and a computer program stored in the memory and executable on the processor, the mobile module is used to drive the movement of the mobile device, and the image sensor is used to acquire The image, characterized in that the processor executes the computer program to implement the obstacle information acquisition method according to any one of claims 1 to 3.
  5. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1至3任一项所述的障碍物信息获取方法。A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the obstacle information acquisition according to any one of claims 1 to 3 is realized method.
  6. 一种移动装置的避障方法,其特征在于:An obstacle avoidance method for a mobile device, characterized in that:
    设定以移动装置为中心的安全运行区域;Set up a safe operating area centered on the mobile device;
    获取移动装置周围的同一场景的至少两个图像;acquiring at least two images of the same scene around the mobile device;
    将至少两个图像分别保存为高分辨率图片和低分辨率图片;Save at least two images as a high-resolution image and a low-resolution image;
    根据至少两个图像的低分辨率图片检测疑似障碍物;Detect suspected obstacles based on low-resolution pictures of at least two images;
    根据至少两个图像的高分辨率图片获取疑似障碍物的详细信息;Obtain detailed information of suspected obstacles based on high-resolution pictures of at least two images;
    根据获取的障碍物详细信息执行避障动作。Perform obstacle avoidance actions based on the obtained obstacle details.
  7. 如权利要求6所述的移动装置的避障方法,其特征在于,所述移动装置周围的同一场景的至少两个图像是通过双目摄像头或者通过同一摄像头在不同时间获取的。The obstacle avoidance method for a mobile device according to claim 6, wherein at least two images of the same scene around the mobile device are acquired at different times by a binocular camera or by the same camera.
  8. 如权利要求6所述的移动装置的避障方法,其特征在于,所述根据至少两个图像的低分辨率图片检测疑似障碍物包括:The obstacle avoidance method for a mobile device according to claim 6, wherein the detecting a suspected obstacle according to low-resolution pictures of at least two images comprises:
    获取至少两个图像的低分辨率图片中的感兴趣区域;Obtain a region of interest in a low-resolution picture of at least two images;
    对至少两个图像的低分辨率图片中的感兴趣区域进行立体匹配;performing stereo matching on regions of interest in low-resolution pictures of at least two images;
    计算至少两个图像的低分辨率图片中的感兴趣区域的深度图;calculating a depth map of a region of interest in a low-resolution picture of at least two images;
    根据感兴趣区域的深度图计算障碍物距离;Calculate the obstacle distance based on the depth map of the region of interest;
    根据障碍物距离判断是否存在疑似障碍物。Determine whether there is a suspected obstacle according to the distance of the obstacle.
  9. 一种移动装置,包括移动模块、图像传感器、处理器、存储器以及存储在存储器上并可在处理器上运行的计算机程序,所述移动模块用于驱动移动装置运动,所述图像传感器用于获取图像,其特征在于,所述处理器执行所述计算机程序以实现权利要求6至8任一项所述的移动装置的避障方法。A mobile device, comprising a mobile module, an image sensor, a processor, a memory, and a computer program stored on the memory and executable on the processor, the mobile module is used to drive the movement of the mobile device, and the image sensor is used to acquire The image, characterized in that the processor executes the computer program to implement the obstacle avoidance method for a mobile device according to any one of claims 6 to 8.
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求6至8任一项所述的移动装置的避障方法。A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the avoidance of the mobile device according to any one of claims 6 to 8 is realized. obstacle method.
PCT/CN2021/107100 2020-07-21 2021-07-19 Obstacle information obtaining method, obstacle avoidance method, moving apparatus, and computer-readable storage medium WO2022017320A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010706094.XA CN112016394A (en) 2020-07-21 2020-07-21 Obstacle information acquisition method, obstacle avoidance method, mobile device, and computer-readable storage medium
CN202010706094.X 2020-07-21

Publications (1)

Publication Number Publication Date
WO2022017320A1 true WO2022017320A1 (en) 2022-01-27

Family

ID=73498841

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/107100 WO2022017320A1 (en) 2020-07-21 2021-07-19 Obstacle information obtaining method, obstacle avoidance method, moving apparatus, and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN112016394A (en)
WO (1) WO2022017320A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115063772A (en) * 2022-05-09 2022-09-16 厦门金龙联合汽车工业有限公司 Vehicle formation rear vehicle detection method, terminal device and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112016394A (en) * 2020-07-21 2020-12-01 影石创新科技股份有限公司 Obstacle information acquisition method, obstacle avoidance method, mobile device, and computer-readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103253263A (en) * 2012-02-17 2013-08-21 现代摩比斯株式会社 Apparatus and method detectinc obstacle and alerting collision
CN107636679A (en) * 2016-12-30 2018-01-26 深圳前海达闼云端智能科技有限公司 A kind of obstacle detection method and device
CN108496201A (en) * 2017-09-27 2018-09-04 深圳市大疆创新科技有限公司 Image processing method and equipment
US20190149752A1 (en) * 2016-12-28 2019-05-16 Sony Semiconductor Solutions Corporation Image processing device, image processing method, and image processing system
CN110471422A (en) * 2019-08-29 2019-11-19 南京理工大学 The detection of obstacles and automatic obstacle avoiding method of intelligent wheel chair
CN112016394A (en) * 2020-07-21 2020-12-01 影石创新科技股份有限公司 Obstacle information acquisition method, obstacle avoidance method, mobile device, and computer-readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103253263A (en) * 2012-02-17 2013-08-21 现代摩比斯株式会社 Apparatus and method detectinc obstacle and alerting collision
US20190149752A1 (en) * 2016-12-28 2019-05-16 Sony Semiconductor Solutions Corporation Image processing device, image processing method, and image processing system
CN107636679A (en) * 2016-12-30 2018-01-26 深圳前海达闼云端智能科技有限公司 A kind of obstacle detection method and device
CN108496201A (en) * 2017-09-27 2018-09-04 深圳市大疆创新科技有限公司 Image processing method and equipment
CN110471422A (en) * 2019-08-29 2019-11-19 南京理工大学 The detection of obstacles and automatic obstacle avoiding method of intelligent wheel chair
CN112016394A (en) * 2020-07-21 2020-12-01 影石创新科技股份有限公司 Obstacle information acquisition method, obstacle avoidance method, mobile device, and computer-readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115063772A (en) * 2022-05-09 2022-09-16 厦门金龙联合汽车工业有限公司 Vehicle formation rear vehicle detection method, terminal device and storage medium
CN115063772B (en) * 2022-05-09 2024-04-16 厦门金龙联合汽车工业有限公司 Method for detecting vehicles after formation of vehicles, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN112016394A (en) 2020-12-01

Similar Documents

Publication Publication Date Title
US10776939B2 (en) Obstacle avoidance system based on embedded stereo vision for unmanned aerial vehicles
Zaarane et al. Distance measurement system for autonomous vehicles using stereo camera
US7321386B2 (en) Robust stereo-driven video-based surveillance
US20160104047A1 (en) Image recognition system for a vehicle and corresponding method
Salman et al. Distance measurement for self-driving cars using stereo camera
US20130286205A1 (en) Approaching object detection device and method for detecting approaching objects
US20180114067A1 (en) Apparatus and method for extracting objects in view point of moving vehicle
US20210103299A1 (en) Obstacle avoidance method and device and movable platform
JP2013109760A (en) Target detection method and target detection system
KR20090103165A (en) Monocular Motion Stereo-Based Free Parking Space Detection Apparatus and Method
WO2022017320A1 (en) Obstacle information obtaining method, obstacle avoidance method, moving apparatus, and computer-readable storage medium
US11721028B2 (en) Motion segmentation in video from non-stationary cameras
Hayakawa et al. Ego-motion and surrounding vehicle state estimation using a monocular camera
CN113724335B (en) Three-dimensional target positioning method and system based on monocular camera
US11202055B2 (en) Rapid ground-plane discrimination in stereoscopic images
Naser et al. Infrastructure-free NLoS obstacle detection for autonomous cars
CN112733678A (en) Ranging method, ranging device, computer equipment and storage medium
JP6174884B2 (en) Outside environment recognition device and outside environment recognition method
Evans et al. Suppression of detection ghosts in homography based pedestrian detection
WO2022160232A1 (en) Detection method and apparatus, and vehicle
WO2021124657A1 (en) Camera system
Shopovska et al. A hybrid fusion based frontal-lateral collaborative pedestrian detection and tracking
JP2013161433A (en) Periphery monitoring device for vehicle
Castelli et al. Moving object detection for unconstrained low-altitude aerial videos, a pose-independant detector based on artificial flow
Wang et al. A monovision-based 3D pose estimation system for vehicle behavior prediction

Legal Events

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

Ref document number: 21845711

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 14.06.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21845711

Country of ref document: EP

Kind code of ref document: A1