WO2017107537A1 - Virtual reality device and obstacle avoidance method - Google Patents

Virtual reality device and obstacle avoidance method Download PDF

Info

Publication number
WO2017107537A1
WO2017107537A1 PCT/CN2016/096987 CN2016096987W WO2017107537A1 WO 2017107537 A1 WO2017107537 A1 WO 2017107537A1 CN 2016096987 W CN2016096987 W CN 2016096987W WO 2017107537 A1 WO2017107537 A1 WO 2017107537A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
obstacle
virtual reality
reality device
primitive
Prior art date
Application number
PCT/CN2016/096987
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 WO2017107537A1 publication Critical patent/WO2017107537A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/20Scenes; Scene-specific elements in augmented reality scenes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/10Image acquisition

Definitions

  • the present application relates to the field of communications, and in particular, to a virtual reality device and an obstacle avoidance method.
  • a head mounted display is a device for displaying images and colors.
  • the display is placed close to the user's eyes, and the focal length is adjusted by the optical path to project the image to the eye at a close distance.
  • One solution to this problem is to integrate a 3D camera in the head mounted device to detect the environment in which the user is located.
  • holographic 3D cameras usually require more than 5 lenses, which brings about a significant increase in manufacturing costs for equipment manufacturing.
  • the 3D camera only reports the image, but can not give the user the pre-judgment of avoiding obstacles, and the effectiveness of the user's potential safety hazard is insufficient.
  • an obstacle avoidance method for effectively solving the obstacle avoidance effectiveness of a head-mounted virtual reality device by a user and a virtual reality device having an effective obstacle avoidance function are provided.
  • an obstacle avoidance method for guiding a user of a virtual reality device to effectively avoid obstacles and experience satisfactory satisfaction.
  • an obstacle avoidance method is applied to a virtual reality device, including the following steps:
  • the obstacle avoidance instruction is made according to the relative motion speed of the virtual reality device and the obstacle, the distance of the virtual reality device from the obstacle at the second time point, and the acceleration of the virtual reality device at the second time point.
  • the embodiment of the present application further provides a virtual reality device, including:
  • Binocular camera module for:
  • the relative motion speed of the virtual reality device and the obstacle is obtained, and the virtual reality device is at the second time point and the obstacle Distance of matter
  • Acceleration module for:
  • the computing module is further configured to:
  • the obstacle avoidance instruction is made according to the relative motion speed of the virtual reality device and the obstacle, the distance of the virtual reality device from the obstacle at the second time point, and the acceleration of the virtual reality device at the second time point.
  • the embodiment of the present application provides an electronic device, including the virtual reality device described in any of the foregoing embodiments.
  • the embodiment of the present application provides a non-transitory computer readable storage medium, wherein the non-transitory computer readable storage medium can store computer instructions, which can implement the obstacle avoidance method provided by the embodiments of the present application. Some or all of the steps in each implementation.
  • An embodiment of the present application provides an electronic device, including: one or more processors; and a memory; Wherein the memory stores instructions executable by the one or more processors, the instructions being arranged to perform any of the above-described obstacle avoidance methods of the present application.
  • An embodiment of the present application provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, The computer is caused to perform the above-mentioned obstacle avoidance method according to the embodiment of the present application.
  • the user of the virtual reality device can be guided according to the relative motion speed of the virtual reality device and the obstacle, the distance of the virtual reality device from the obstacle at the second time point, and the acceleration of the virtual reality device at the second time point. Effective obstacle avoidance and good experience satisfaction.
  • FIG. 1 is a schematic flowchart of a method for avoiding obstacles in an embodiment of the present application.
  • FIG. 2 is a schematic diagram of measuring the distance of a virtual reality device from an obstacle at a second point in time.
  • FIG. 3 is a schematic structural diagram of a virtual reality device according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • FIG. 1 is a flowchart of a method for avoiding obstacles in an embodiment of the present application, which specifically includes the following steps:
  • S01 At a first time point, acquire a first image of the obstacle photographed by the first camera at the first angle and a second image of the obstacle photographed by the second camera at the second angle.
  • the virtual reality device includes, but is not limited to, an eye-catching device, a helmet, a glasses, and the like, and an electronic virtual reality device that integrates sound, light, electricity, and the like with a computer chip as a core, and integrates visual, acoustic, and tactile sensors.
  • the virtual reality device of the embodiment of the present invention is configured with a binocular camera module, a calculation module, an acceleration module, and the like.
  • the binocular camera module can refer to an integrated camera formed by two cameras arranged in a position similar to a human body.
  • the binocular camera module here includes, in addition to the two cameras, auxiliary components such as corresponding signal transmission lines.
  • the first camera in the binocular camera module captures the obstacle at a first angle to form a first image; the second camera in the binocular camera module takes a second angle An obstacle forms a second image.
  • the obstacle here can be regarded as a target object. In reality, it can be correspondingly a street light pole, a parked car, a person near the user, and the like. These target objects are presented in the background image in the foreground image in the first image and the second image. In practical applications, in order to speed up the speed of information processing, in the design of the computer-specific algorithm, some target objects that are obviously impossible to become obstacles can be pre-filtered out to prevent these target objects from adversely affecting the detection of obstacles. .
  • first and second are used merely for the convenience of the description, and do not imply a certain order or a continuous relationship.
  • first angle refers to the manner in which the obstacle is imaged on the first camera. Different obstacles are imaged differently on the first camera, and the same obstacles are imaged differently on different cameras.
  • first and second herein refer only to the logical difference of this narrative.
  • S02 At a second time point, acquire a third image of the obstacle photographed by the first camera at the third angle and a fourth image of the obstacle photographed by the second camera at the fourth angle.
  • step S01 when the user wears the virtual reality device, at the second time, the first camera in the binocular camera module captures the obstacle at a third angle to form a third image; the second camera in the binocular camera module The obstacle is photographed at a fourth angle to form a fourth image.
  • first”, “second”, “third”, “fourth” are similar to “first” and “second” above, which means that the narrative is logically different.
  • S03 Deriving the relative motion speed of the virtual reality device and the obstacle according to the first image, the second image, the third image, and the fourth image, and the distance between the virtual reality device and the obstacle at the second time point.
  • the computing module of the virtual reality device is based on an obstacle in the double
  • the third image and the fourth image formed by the camera module are derived, and the distance between the virtual reality device and the obstacle at the second time is obtained, which specifically includes:
  • a computing module of the virtual reality device calculates a parallax (L1-L2) of the obstacle in the third image and the fourth image;
  • f is the focal length of the first camera and the second camera.
  • FIG. 2 is a schematic diagram of measuring the distance of the virtual reality device from the obstacle at the second time.
  • the distance between the virtual reality device and the obstacle at the second time point can be derived from the position of the obstacle in the third image and the fourth image.
  • point P is assumed to be any target point on the obstacle.
  • C1 and C2 are assumed to be the optical center of the first camera and the optical center of the second camera, respectively, and the distance between the optical center C1 and the optical center C2 is b.
  • the focal lengths of the first camera and the second camera are both f.
  • the projection point of the point P on the imaging plane of the first camera is P1
  • the projection point of the point P on the imaging plane of the second camera is P2.
  • Point P the distance from the line connecting optical center C1 and optical center C2 is d.
  • the passing center C1 is perpendicular to the imaging plane, and the foot is A1.
  • the optical center C2 is perpendicular to the imaging plane, and the foot is A2.
  • P is perpendicular to the imaging plane, and the foot is B.
  • the distance d is related to b, f and L1-L2.
  • L1-L2 is called the parallax of the point P on the imaging planes of the first camera and the second camera.
  • the corresponding points of the two image responses have parallax only in the horizontal direction, and the coordinate values in the Y direction are equal.
  • the values of the parameters b and f have been determined, and only the corresponding pixel parallax needs to be obtained for the image to obtain the distance of the obstacle.
  • the distance between the virtual reality device and the obstacle can be derived at the first time point in the first image and the second image.
  • the computing module of the virtual reality device is derived according to the first image, the second image, the third image, and the fourth image formed by the obstacle in the binocular camera module.
  • the relative motion speed of the virtual reality device and the obstacle includes:
  • a computing module of the virtual reality device calculates a parallax of the obstacle in the first image and the second image
  • the distance between the virtual reality device and the obstacle at the first time point is set to d1
  • the distance between the virtual reality device and the obstacle at the second time point is d2
  • the time difference t between the two is known, thereby obtaining
  • the average value of the relative motion speed of the virtual reality device and the obstacle can be approximated as the second time point virtual The relative speed of movement of realistic equipment and obstacles.
  • the motion of the obstacle in the three-dimensional scene is considered to correspond to the projection of the obstacle in the two-dimensional image plane.
  • the flow of this motion in the form of image plane brightness is called optical flow.
  • the brightness between the first image and the third image is constant, and the brightness between the second image and the fourth image is constant;
  • the time interval between the first time point and the second time point is small, so that the obstacle has a small variation distance in the first image and the third image;
  • the obstacles in the first camera imaging process, the pixels constituting the first image have substantially the same motion, thereby forming a third image.
  • the computing module of the virtual reality device derives the virtuality according to the first image, the second image, the third image, and the fourth image formed by the obstacle in the binocular camera module.
  • the relative movement speed of the actual equipment and obstacles including:
  • the relative motion speed of the virtual reality device and the obstacle can be obtained
  • I(x, y, t) I(x+dx, y+dy, t+dt);
  • the partial derivatives of the gray value pairs x, y, t, respectively, can be estimated from the image, which has two unknowns, V x and V y .
  • the V x and V y of all the primitives or pixels in the tiny distance are the same, two unknowns, multiple equations, and the least squares method is easy. Find the values of V x and V y . Then, according to the projection relationship, the relative motion speed of the virtual reality device and the obstacle can be obtained.
  • the computing module of the virtual reality device derives the virtual reality according to the first image, the second image, the third image, and the fourth image formed by the obstacle in the binocular camera module.
  • the relative movement speed of the device and the obstacle, and the distance between the virtual reality device and the obstacle at the second time point specifically include:
  • the relative motion speed of the virtual reality device and the obstacle is obtained, and the distance between the virtual reality device and the obstacle at the second time point is derived.
  • the first primitive is determined from the first image
  • the second primitive and the third primitive corresponding to the first primitive are respectively determined from the second image, the third image, and the fourth image.
  • the picture element and the fourth picture element specifically include:
  • big data technology can be used to establish a physical feature database of obstacles.
  • a physical feature database of obstacles For example, it can be built The shape parameters of the contours of the head, shoulders, and feet of the human body. These contours and environmental backgrounds tend to have higher contrast in each image. It is assumed that according to the shape, contrast and other parameters of the contour, a certain pixel or pixel in the first image is found to be the head feature of the human body. In addition, according to the shape, the contrast and other parameters of the contour, a certain pixel or pixel in the second image is found as the head feature of the human body. Then, it can be considered that the primitive representing the human head feature in the first image is identical to the body unit of the human body represented by the primitive representing the human head feature in the second image.
  • the third picture element and the fourth picture element that represent the same physical feature of the obstacle may be searched from the third image and the fourth image. Therefore, on the basis of this, the relative motion speed of the virtual reality device and the obstacle and the distance between the virtual reality device and the obstacle can be calculated.
  • the first primitive is determined from the first image
  • the second primitive and the third primitive corresponding to the first primitive are respectively determined from the second image, the third image, and the fourth image.
  • the picture element and the fourth picture element specifically include:
  • the sift feature in each image can be found, and then the relative motion speed of the virtual reality device and the obstacle and the distance between the virtual reality device and the obstacle are calculated according to the same sift feature in different images.
  • the first primitive is determined from the first image
  • the second primitive and the third primitive corresponding to the first primitive are respectively determined from the second image, the third image, and the fourth image.
  • the picture element and the fourth picture element specifically include:
  • the first primitive, the second primitive, the third primitive, and the fourth primitive that can match each other are searched from the first image, the second image, the third image, and the fourth image by using an image convolution method.
  • the corresponding area in different images may be determined by using image convolution, so that the relative motion speed of the virtual reality device and the obstacle and the distance between the virtual reality device and the obstacle may be calculated.
  • the method further includes:
  • the relative motion speed of the virtual reality device and the obstacle repeatedly acquired repeatedly and the distance between the virtual reality device and the obstacle at the second time point are optimized by the least squares method to obtain the relative motion speed of the optimized virtual reality device and the obstacle. And the distance of the optimized virtual reality device from the obstacle at the second point in time.
  • the least moving method can be used to optimize the relative motion speed of the virtual reality device and the obstacle calculated according to different target points and the distance between the virtual reality device and the obstacle.
  • the acceleration module can be an electronic device capable of measuring acceleration forces.
  • the piezoelectric effect of the piezoelectric ceramic or the quartz crystal can be utilized, and when the acceleration module is vibrated, the force applied to the piezoelectric element by the mass is also changed.
  • the measured vibration frequency is much lower than the natural frequency of the accelerometer, the change in force is proportional to the measured acceleration.
  • the acceleration module of the virtual reality device can acquire the acceleration of the virtual reality device at the second time point.
  • S05 Perform an obstacle avoidance instruction according to the relative motion speed of the virtual reality device and the obstacle, the distance of the virtual reality device from the obstacle at the second time point, and the acceleration of the virtual reality device at the second time point.
  • the computing module of the virtual reality device can calculate the relative motion speed of the virtual reality device and the obstacle, the distance of the virtual reality device from the obstacle at the second time point, and the acceleration of the virtual reality device at the second time point. Obtain the expectation that the virtual reality device will collide with the obstacle, so that the obstacle avoidance instruction fed back to the user can be made in time.
  • the computing module of the virtual reality device is based on the relative motion speed of the virtual reality device and the obstacle, the distance of the virtual reality device from the obstacle at the second time, and the virtual reality device at the second time.
  • the acceleration makes an obstacle avoidance instruction, so that the user of the virtual reality device can be guided to effectively avoid obstacles, and the experience satisfaction is good.
  • the non-transitory computer readable storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
  • FIG. 3 Providing a virtual reality device 1 comprising:
  • Binocular camera module 11 for:
  • the calculation module 12 is configured to:
  • the relative motion speed of the virtual reality device 1 and the obstacle is obtained, and the virtual reality device 1 is in the second time.
  • Acceleration module 13 for:
  • the calculation module 12 is further configured to:
  • the obstacle avoidance instruction is made according to the relative movement speed of the virtual reality device 1 and the obstacle, the distance of the virtual reality device 1 from the obstacle at the second time point, and the acceleration of the virtual reality device 1 at the second time point.
  • the calculating module 12 is configured to:
  • f is the focal length of the first camera and the second camera.
  • the calculating module 12 is further configured to:
  • Calculating the virtual reality device 1 and the obstacle according to the distance of the virtual reality device 1 from the obstacle at the first time point, the distance of the virtual reality device 1 from the obstacle at the second time point, and the time difference between the first time point and the second time point The relative speed of movement of objects.
  • the calculating module 12 is configured to:
  • the relative motion speed of the virtual reality device 1 and the obstacle can be obtained
  • the calculating module 12 is configured to:
  • the relative motion speed of the virtual reality device 1 and the obstacle is obtained, and the virtual reality device 1 is at the second time point and the obstacle the distance.
  • the calculating module 12 is configured to:
  • the calculating module 12 is configured to:
  • the calculating module 12 is configured to:
  • the first primitive, the second primitive, the third primitive, and the fourth primitive that can match each other are searched from the first image, the second image, the third image, and the fourth image by using an image convolution method.
  • the calculating module 12 is further configured to:
  • Determining the first primitive, the second primitive, the third primitive, and the fourth primitive independently and repeatedly, each time The first picture element, the second picture element, the third picture element, and the fourth picture element are different;
  • the relative motion speed of the virtual reality device 1 and the obstacle that are independently acquired repeatedly and the distance between the virtual reality device 1 and the obstacle at the second time point are optimized by the least squares method to obtain the optimized virtual reality device 1 and the obstacle.
  • the relative motion speed and the distance of the optimized virtual reality device 1 from the obstacle at the second time point are optimized by the least squares method to obtain the optimized virtual reality device 1 and the obstacle.
  • an electronic device including the virtual reality device described in any of the foregoing embodiments.
  • a non-transitory computer readable storage medium is also provided, the non-transitory computer readable storage medium storing computer executable instructions executable by any of the above methods The obstacle avoidance method in the example.
  • FIG. 4 is a schematic diagram of a hardware structure of an electronic device for performing an obstacle avoidance method according to an embodiment of the present application. As shown in FIG. 4, the device includes:
  • processors 410 and memory 420 One or more processors 410 and memory 420, one processor 410 is exemplified in FIG.
  • the apparatus for performing the obstacle avoidance method may further include: an input device 430 and an output device 440.
  • the processor 410, the memory 420, the input device 430, and the output device 440 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
  • the memory 420 is used as a non-transitory computer readable storage medium, and can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions corresponding to the obstacle avoidance method in the embodiment of the present application. Modules (eg, binocular camera module 11, calculation module 12, and acceleration module 13 shown in FIG. 3).
  • the processor 410 executes various functional applications and data processing of the electronic device by executing non-volatile software programs, instructions, and modules stored in the memory 420, that is, implementing the above-described method embodiment obstacle avoidance method.
  • the memory 420 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the virtual reality device, and the like.
  • memory 420 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
  • memory 420 can optionally include remotely with respect to processor 410 Set up memory that can be connected to a virtual reality device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Input device 430 can receive input numeric or character information and generate key signal inputs related to user settings and function control of the virtual reality device.
  • Output device 440 can include a display device such as a display screen.
  • the one or more modules are stored in the memory 420, and when executed by the one or more processors 410, perform the obstacle avoidance method in any of the above method embodiments.
  • the electronic device of the embodiment of the present application exists in various forms, including but not limited to:
  • Mobile communication devices These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication.
  • Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
  • Ultra-mobile personal computer equipment This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access.
  • Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
  • Portable entertainment devices These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
  • the server consists of a processor, a hard disk, a memory, a system bus, etc.
  • the server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.

Abstract

Disclosed are a virtual reality device and an obstacle avoidance method. In the embodiments provided in the present application, an obstacle avoidance instruction is made according to a relative movement speed of a virtual reality device with respect to an obstacle, a distance between the virtual reality device and the obstacle at a second time point and the acceleration of the virtual reality device at the second time point, so as to lead a user of the virtual reality device to avoid the obstacle effectively, so that the experience satisfaction is high.

Description

虚拟现实设备及避障方法Virtual reality device and obstacle avoidance method
本申请要求于2015年12月21日提交中国专利局、申请号为201510976181.6、申请名称为“虚拟现实设备及虚拟现实设备提供的避障方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the Chinese Patent Application filed on Dec. 21, 2015, the application number is 201510976181.6, and the application name is “Virtual Reality Device and Obstacle Avoidance Method Provided by Virtual Reality Device”, the entire contents of which are incorporated by reference. Combined in this application.
技术领域Technical field
本申请涉及通信领域,尤其涉及一种虚拟现实设备及避障方法。The present application relates to the field of communications, and in particular, to a virtual reality device and an obstacle avoidance method.
背景技术Background technique
头戴式显示器是用于显示图像及色彩的设备。通常是用眼罩或头盔的形式,把显示屏贴近用户的眼睛,通过光路调整焦距以在近距离中对眼睛投射画面。A head mounted display is a device for displaying images and colors. Usually in the form of an eye mask or helmet, the display is placed close to the user's eyes, and the focal length is adjusted by the optical path to project the image to the eye at a close distance.
在实现现有技术过程中,发明人发现现有技术中至少存在如下问题:In the process of implementing the prior art, the inventors found that at least the following problems exist in the prior art:
在使用头戴式虚拟现实设备,例如,眼罩或头盔的过程中,由于用户的注意力主要集中于头戴式显示器,无法有效感知用户所处的环境中的障碍物,容易给用户带来安全隐患。In the process of using a head-mounted virtual reality device, such as an eye mask or a helmet, since the user's attention is mainly focused on the head-mounted display, the obstacle in the environment in which the user is located cannot be effectively perceived, and the user is easily safe. Hidden dangers.
一种解决该问题的措施是,在头戴式设备中集成3D摄像头,用以侦测用户所处的环境。然而,一方面,全息3D摄像头通常需要5个以上镜头,给设备制造带来制造成本的大幅上升。另一方面,3D摄像头所反馈的仅是图像,而无法给出用户避障的预判,对用户可能撞击障碍的安全隐患解决得有效性有所欠缺。One solution to this problem is to integrate a 3D camera in the head mounted device to detect the environment in which the user is located. However, on the one hand, holographic 3D cameras usually require more than 5 lenses, which brings about a significant increase in manufacturing costs for equipment manufacturing. On the other hand, the 3D camera only reports the image, but can not give the user the pre-judgment of avoiding obstacles, and the effectiveness of the user's potential safety hazard is insufficient.
因此,在本申请中提供一种有效解决用户使用头戴式虚拟现实设备避障有效性的避障方法和具有有效避障功能的虚拟现实设备。Therefore, in the present application, an obstacle avoidance method for effectively solving the obstacle avoidance effectiveness of a head-mounted virtual reality device by a user and a virtual reality device having an effective obstacle avoidance function are provided.
发明内容Summary of the invention
本申请实施例提供一种引导虚拟现实设备的用户有效避障,体验满意度好的避障方法。具体的,一种避障方法,应用于虚拟现实设备,包括以下步骤:The embodiment of the present application provides an obstacle avoidance method for guiding a user of a virtual reality device to effectively avoid obstacles and experience satisfactory satisfaction. Specifically, an obstacle avoidance method is applied to a virtual reality device, including the following steps:
在第一时点,获取第一摄像头以第一角度拍摄的障碍物的第一图像和第二摄像头以第二角度拍摄的障碍物第二图像; At a first time point, acquiring a first image of the obstacle photographed by the first camera at the first angle and a second image of the obstacle photographed by the second camera at the second angle;
在第二时点,获取第一摄像头以第三角度拍摄的障碍物的第三图像和第二摄像头以第四角度拍摄的障碍物第四图像;At a second time point, acquiring a third image of the obstacle photographed by the first camera at the third angle and a fourth image of the obstacle photographed by the second camera at the fourth angle;
根据第一图像、第二图像、第三图像和第四图像,推导获得虚拟现实设备与障碍物的相对运动速度、虚拟现实设备在第二时点与障碍物的距离;Deriving, according to the first image, the second image, the third image, and the fourth image, a relative motion speed of the virtual reality device and the obstacle, and a distance between the virtual reality device and the obstacle at the second time point;
获取虚拟现实设备在第二时点的加速度;Acquiring the acceleration of the virtual reality device at the second time point;
根据虚拟现实设备与障碍物的相对运动速度、虚拟现实设备在第二时点与障碍物的距离、虚拟现实设备在第二时点的加速度做出避障指令。The obstacle avoidance instruction is made according to the relative motion speed of the virtual reality device and the obstacle, the distance of the virtual reality device from the obstacle at the second time point, and the acceleration of the virtual reality device at the second time point.
本申请实施例还提供一种虚拟现实设备,包括:The embodiment of the present application further provides a virtual reality device, including:
双目摄像头模块,用于:Binocular camera module for:
在第一时点,获取第一摄像头以第一角度拍摄的障碍物的第一图像和第二摄像头以第二角度拍摄的障碍物第二图像;At a first time point, acquiring a first image of the obstacle photographed by the first camera at the first angle and a second image of the obstacle photographed by the second camera at the second angle;
在第二时点,获取第一摄像头以第三角度拍摄的障碍物的第三图像和第二摄像头以第四角度拍摄的障碍物第四图像;At a second time point, acquiring a third image of the obstacle photographed by the first camera at the third angle and a fourth image of the obstacle photographed by the second camera at the fourth angle;
计算模块,用于:Calculation module for:
根据障碍物在双目摄像头模块所成的第一图像、第二图像、第三图像和第四图像,推导获得虚拟现实设备与障碍物的相对运动速度、虚拟现实设备在第二时点与障碍物的距离;According to the first image, the second image, the third image and the fourth image formed by the obstacle in the binocular camera module, the relative motion speed of the virtual reality device and the obstacle is obtained, and the virtual reality device is at the second time point and the obstacle Distance of matter
加速度模块,用于:Acceleration module for:
获取,虚拟现实设备在第二时点的加速度;Acquiring, the acceleration of the virtual reality device at the second time point;
其中,所述计算模块还用于:The computing module is further configured to:
根据虚拟现实设备与障碍物的相对运动速度、虚拟现实设备在第二时点与障碍物的距离、虚拟现实设备在第二时点的加速度做出避障指令。The obstacle avoidance instruction is made according to the relative motion speed of the virtual reality device and the obstacle, the distance of the virtual reality device from the obstacle at the second time point, and the acceleration of the virtual reality device at the second time point.
本申请实施例提供一种电子设备,包括前述任一实施例所述的虚拟现实设备。The embodiment of the present application provides an electronic device, including the virtual reality device described in any of the foregoing embodiments.
本申请实施例提供一种非暂态计算机可读存储介质,其中,该非暂态计算机可读存储介质可存储有计算机指令,该计算机指令执行时可实现本申请实施例提供的避障方法的各实现方式中的部分或全部步骤。The embodiment of the present application provides a non-transitory computer readable storage medium, wherein the non-transitory computer readable storage medium can store computer instructions, which can implement the obstacle avoidance method provided by the embodiments of the present application. Some or all of the steps in each implementation.
本申请实施例提供一种电子设备,包括:一个或多个处理器;以及,存储器; 其中,所述存储器存储有可被所述一个或多个处理器执行的指令,所述指令被设置为用于执行本申请上述任一项避障方法。An embodiment of the present application provides an electronic device, including: one or more processors; and a memory; Wherein the memory stores instructions executable by the one or more processors, the instructions being arranged to perform any of the above-described obstacle avoidance methods of the present application.
本申请实施例提供一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行本申请实施例上述任一项避障方法。An embodiment of the present application provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, The computer is caused to perform the above-mentioned obstacle avoidance method according to the embodiment of the present application.
本申请实施例提供的虚拟现实设备及避障方法,至少具有如下有益效果:The virtual reality device and the obstacle avoidance method provided by the embodiments of the present application have at least the following beneficial effects:
根据虚拟现实设备与障碍物的相对运动速度、虚拟现实设备在第二时点与障碍物的距离、虚拟现实设备在第二时点的加速度做出避障指令,从而可以引导虚拟现实设备的用户有效避障,体验满意度好。The user of the virtual reality device can be guided according to the relative motion speed of the virtual reality device and the obstacle, the distance of the virtual reality device from the obstacle at the second time point, and the acceleration of the virtual reality device at the second time point. Effective obstacle avoidance and good experience satisfaction.
附图说明DRAWINGS
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the present application, and are intended to be a part of this application. In the drawing:
图1为本申请实施例中避障方法的流程图示意图。FIG. 1 is a schematic flowchart of a method for avoiding obstacles in an embodiment of the present application.
图2为测量虚拟现实设备在第二时点与障碍物的距离的原理图。2 is a schematic diagram of measuring the distance of a virtual reality device from an obstacle at a second point in time.
图3为本申请实施例提供的虚拟现实设备的结构示意图;FIG. 3 is a schematic structural diagram of a virtual reality device according to an embodiment of the present disclosure;
图4为本申请实施例提供的一种电子设备的结构示意图。FIG. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
具体实施方式detailed description
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请具体实施例及相应的附图对本申请技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions of the present application will be clearly and completely described in the following with reference to the specific embodiments of the present application and the corresponding drawings. It is apparent that the described embodiments are only a part of the embodiments of the present application, and not all of them. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
图1为本申请实施例中避障方法的流程图,具体包括以下步骤:FIG. 1 is a flowchart of a method for avoiding obstacles in an embodiment of the present application, which specifically includes the following steps:
S01:在第一时点,获取第一摄像头以第一角度拍摄的障碍物的第一图像和第二摄像头以第二角度拍摄的障碍物第二图像。 S01: At a first time point, acquire a first image of the obstacle photographed by the first camera at the first angle and a second image of the obstacle photographed by the second camera at the second angle.
虚拟现实设备包括但不限于眼罩、头盔、眼镜等以计算机芯片为核心,结合声、光、电等多种传感器而成的视、听、触一体的电子化虚拟现实设备。其中,本发明实施例的虚拟现实设备配置有双目摄像头模块、计算模块和加速度模块等。The virtual reality device includes, but is not limited to, an eye-catching device, a helmet, a glasses, and the like, and an electronic virtual reality device that integrates sound, light, electricity, and the like with a computer chip as a core, and integrates visual, acoustic, and tactile sensors. The virtual reality device of the embodiment of the present invention is configured with a binocular camera module, a calculation module, an acceleration module, and the like.
双目摄像头模块可以指,两个摄像头按照类似人体双目的位置进行排列形成的集成摄像头。当然,这里的双目摄像头模块,除两个摄像头外,还包括对应的信号传输线路等辅助配件。The binocular camera module can refer to an integrated camera formed by two cameras arranged in a position similar to a human body. Of course, the binocular camera module here includes, in addition to the two cameras, auxiliary components such as corresponding signal transmission lines.
当用户穿戴虚拟现实设备时,在第一时点,双目摄像头模块中的第一摄像头以第一角度拍摄障碍物,形成第一图像;双目摄像头模块中的第二摄像头以第二角度拍摄障碍物,形成第二图像。When the user wears the virtual reality device, at the first time, the first camera in the binocular camera module captures the obstacle at a first angle to form a first image; the second camera in the binocular camera module takes a second angle An obstacle forms a second image.
应当指出的是,这里的障碍物可以看作是一种目标对象,在现实中,可以对应地为路灯杆、停靠的汽车、用户附近的人等。这些目标对象,在第一图像和第二图像中,以前景的形式呈现于环境背景中。在实际应用中,为了加速信息处理的速度,在计算机对应的算法的设计中,可以将一些明显不可能成为障碍物的目标对象预先过滤掉,避免这些目标对象对障碍物的侦测产生不利影响。It should be noted that the obstacle here can be regarded as a target object. In reality, it can be correspondingly a street light pole, a parked car, a person near the user, and the like. These target objects are presented in the background image in the foreground image in the first image and the second image. In practical applications, in order to speed up the speed of information processing, in the design of the computer-specific algorithm, some target objects that are obviously impossible to become obstacles can be pre-filtered out to prevent these target objects from adversely affecting the detection of obstacles. .
这里的“第一”、“第二”仅是为了叙述的方便而采取的措辞,并不意味着存在确定的先后顺序或连续的关系。对于第一摄像头以第一角度拍摄障碍物,形成第一图像而言,这里的“第一角度”是指障碍物在第一摄像头的上的成像的方式。不同的障碍物在第一摄像头上的成像不同,相同的障碍物在不同的摄像头上成像不同。这里的“第一”、“第二”仅指这种叙述逻辑上的不同。The terms "first" and "second" are used merely for the convenience of the description, and do not imply a certain order or a continuous relationship. For the first camera to capture an obstacle at a first angle to form a first image, the "first angle" herein refers to the manner in which the obstacle is imaged on the first camera. Different obstacles are imaged differently on the first camera, and the same obstacles are imaged differently on different cameras. The "first" and "second" herein refer only to the logical difference of this narrative.
S02:在第二时点,获取第一摄像头以第三角度拍摄的障碍物的第三图像和第二摄像头以第四角度拍摄的障碍物第四图像。S02: At a second time point, acquire a third image of the obstacle photographed by the first camera at the third angle and a fourth image of the obstacle photographed by the second camera at the fourth angle.
与步骤S01类似,当用户穿戴虚拟现实设备时,在第二时点,双目摄像头模块中的第一摄像头以第三角度拍摄障碍物,形成第三图像;双目摄像头模块中的第二摄像头以第四角度拍摄障碍物,形成第四图像。Similar to step S01, when the user wears the virtual reality device, at the second time, the first camera in the binocular camera module captures the obstacle at a third angle to form a third image; the second camera in the binocular camera module The obstacle is photographed at a fourth angle to form a fourth image.
这里的“第一”“第二”“第三”、“第四”与上面的“第一”、“第二”类似,是指这种叙述逻辑上的不同。Here, "first", "second", "third", "fourth" are similar to "first" and "second" above, which means that the narrative is logically different.
S03:根据第一图像、第二图像、第三图像和第四图像,推导获得虚拟现实设备与障碍物的相对运动速度、虚拟现实设备在第二时点与障碍物的距离。S03: Deriving the relative motion speed of the virtual reality device and the obstacle according to the first image, the second image, the third image, and the fourth image, and the distance between the virtual reality device and the obstacle at the second time point.
在本申请提供的一种实施例中,虚拟现实设备的计算模块,根据障碍物在双 目摄像头模块所成的第三图像和第四图像,推导获得虚拟现实设备在第二时点与障碍物的距离,具体包括:In an embodiment provided by the present application, the computing module of the virtual reality device is based on an obstacle in the double The third image and the fourth image formed by the camera module are derived, and the distance between the virtual reality device and the obstacle at the second time is obtained, which specifically includes:
虚拟现实设备的计算模块计算障碍物在第三图像和第四图像中的视差(L1-L2);a computing module of the virtual reality device calculates a parallax (L1-L2) of the obstacle in the third image and the fourth image;
根据公式d=bf/(L1-L2)推导获得虚拟现实设备在第二时点与障碍物的距离;其中,b为第一摄像头的光心C1和第二摄像头光心C2之间的距离;Deriving the distance of the virtual reality device from the obstacle at the second time according to the formula d=bf/(L1-L2); wherein b is the distance between the optical center C1 of the first camera and the second camera optical center C2;
f为第一摄像头和第二摄像头的焦距。f is the focal length of the first camera and the second camera.
请参见图2,图2为测量虚拟现实设备在第二时点与障碍物的距离的原理图。Please refer to FIG. 2. FIG. 2 is a schematic diagram of measuring the distance of the virtual reality device from the obstacle at the second time.
具体的,这里可以仅根据障碍物在第三图像和第四图像中的位置,推导获得虚拟现实设备在第二时点与障碍物的距离。Specifically, the distance between the virtual reality device and the obstacle at the second time point can be derived from the position of the obstacle in the third image and the fourth image.
在图2中,点P假设为障碍物上任意一个目标点。C1、C2假设分别为第一摄像头的光心、第二摄像头的光心,光心C1和光心C2的距离为b。第一摄像头和第二摄像头的焦距均为f。点P在第一摄像头的成像平面上的投影点为P1,点P在第二摄像头的成像平面上的投影点为P2。点P,与光心C1、光心C2的连线的距离为d。过光心C1向成像平面做垂线,垂足为A1。过光心C2向成像平面做垂线,垂足为A2。过P向成像平面做垂线,垂足为B。设定,A1P1=L1,A2P2=L2,P2B=a。In Fig. 2, point P is assumed to be any target point on the obstacle. C1 and C2 are assumed to be the optical center of the first camera and the optical center of the second camera, respectively, and the distance between the optical center C1 and the optical center C2 is b. The focal lengths of the first camera and the second camera are both f. The projection point of the point P on the imaging plane of the first camera is P1, and the projection point of the point P on the imaging plane of the second camera is P2. Point P, the distance from the line connecting optical center C1 and optical center C2 is d. The passing center C1 is perpendicular to the imaging plane, and the foot is A1. The optical center C2 is perpendicular to the imaging plane, and the foot is A2. P is perpendicular to the imaging plane, and the foot is B. Set, A1P1 = L1, A2P2 = L2, P2B = a.
由相似三角形关系得:From the similar triangle relationship:
d-f/d=a/(a+L2);D-f/d=a/(a+L2);
d-f/d=(b-L1+L2+a)/(a+b+L2);D-f/d=(b-L1+L2+a)/(a+b+L2);
由以上两公式可以算得:From the above two formulas can be calculated:
d=f(a+L2)/L2=bf/(L1-L2)d=f(a+L2)/L2=bf/(L1-L2)
由此可见,距离d与b、f和L1-L2有关。L1-L2称为点P在第一摄像头和第二摄像头成像平面上的视差。两个图像响应的对应点只在水平方向存在视差,而Y方向的坐标值是相等的。对于固定的双目摄像头模块而言,参数b、f取值已经确定,仅需要对图像求取对应像素视差即可获得障碍物的距离。Thus, the distance d is related to b, f and L1-L2. L1-L2 is called the parallax of the point P on the imaging planes of the first camera and the second camera. The corresponding points of the two image responses have parallax only in the horizontal direction, and the coordinate values in the Y direction are equal. For a fixed binocular camera module, the values of the parameters b and f have been determined, and only the corresponding pixel parallax needs to be obtained for the image to obtain the distance of the obstacle.
同样,可以根据上述公式d=bf/(L1-L2),在第一图像和第二图像中求得在第一时点,推导获得虚拟现实设备与障碍物的距离。 Similarly, according to the above formula d=bf/(L1-L2), the distance between the virtual reality device and the obstacle can be derived at the first time point in the first image and the second image.
进一步的,在本申请提供的又一实施例中,虚拟现实设备的计算模块,根据障碍物在双目摄像头模块所成的第一图像、第二图像、第三图像和第四图像,推导获得虚拟现实设备与障碍物的相对运动速度,具体包括:Further, in still another embodiment provided by the present application, the computing module of the virtual reality device is derived according to the first image, the second image, the third image, and the fourth image formed by the obstacle in the binocular camera module. The relative motion speed of the virtual reality device and the obstacle includes:
虚拟现实设备的计算模块计算障碍物在第一图像和第二图像中的视差;A computing module of the virtual reality device calculates a parallax of the obstacle in the first image and the second image;
根据公式d=bf/(L1-L2)推导获得虚拟现实设备在第一时点与障碍物的距离;Deriving the distance of the virtual reality device from the obstacle at the first time according to the formula d=bf/(L1-L2);
根据虚拟现实设备在第一时点与障碍物的距离、虚拟现实设备在第二时点与障碍物的距离和第一时点与第二时点的时间差,计算虚拟现实设备与障碍物的相对运动速度。Calculating the relative relationship between the virtual reality device and the obstacle according to the distance of the virtual reality device from the obstacle at the first time point, the distance of the virtual reality device from the obstacle at the second time point, and the time difference between the first time point and the second time point Movement speed.
为了区分,设定第一时点虚拟现实设备与障碍物的距离为d1,第二时点虚拟现实设备与障碍物的距离为d2,两者之间的时间差t已知,从而,可以求得虚拟现实设备与障碍物的相对运动速度的均值v=(d2-d1)/t,这里,时间差较短时,可以近似认为虚拟现实设备与障碍物的相对运动速度的均值为第二时点虚拟现实设备与障碍物的相对运动速度。In order to distinguish, the distance between the virtual reality device and the obstacle at the first time point is set to d1, and the distance between the virtual reality device and the obstacle at the second time point is d2, and the time difference t between the two is known, thereby obtaining The average value of the relative motion speed of the virtual reality device and the obstacle is v=(d2-d1)/t. Here, when the time difference is short, the average value of the relative motion speed of the virtual reality device and the obstacle can be approximated as the second time point virtual The relative speed of movement of realistic equipment and obstacles.
本申请实施例提供的另一种可实现方式中,认为障碍物在三维场景中的运动,与障碍物在二维图像平面中的投影是对应的。这种运动以图像平面亮度方式表现出来的流动就称为光流。In another achievable manner provided by the embodiment of the present application, the motion of the obstacle in the three-dimensional scene is considered to correspond to the projection of the obstacle in the two-dimensional image plane. The flow of this motion in the form of image plane brightness is called optical flow.
按照这种算法进行计算时,可以假设:When calculating according to this algorithm, you can assume:
(1)相邻帧之间的亮度恒定;(1) The brightness between adjacent frames is constant;
(2)相邻视频帧的取帧时间连续,或者,相邻帧之间物体的运动比较微小;(2) The frame taking time of adjacent video frames is continuous, or the motion of objects between adjacent frames is relatively small;
(3)保持空间一致性;即,同一子图像的像素点具有相同的运动。(3) Maintain spatial consistency; that is, pixels of the same sub-image have the same motion.
对应的,第一图像、第三图像之间的亮度恒定,第二图像、第四图像之间的亮度恒定;Correspondingly, the brightness between the first image and the third image is constant, and the brightness between the second image and the fourth image is constant;
第一时点、第二时点之间的时间间隔小,以致障碍物在第一图像中和第三图像中变动距离微小;The time interval between the first time point and the second time point is small, so that the obstacle has a small variation distance in the first image and the third image;
障碍物在第一摄像头成像过程中,构成第一图像的各像素点具有大致相同的运动,从而形成第三图像。The obstacles in the first camera imaging process, the pixels constituting the first image have substantially the same motion, thereby forming a third image.
在本申请提供的又一实施例中,虚拟现实设备的计算模块,根据障碍物在双目摄像头模块所成的第一图像、第二图像、第三图像和第四图像,推导获得虚拟 现实设备与障碍物的相对运动速度,具体包括:In still another embodiment provided by the present application, the computing module of the virtual reality device derives the virtuality according to the first image, the second image, the third image, and the fourth image formed by the obstacle in the binocular camera module. The relative movement speed of the actual equipment and obstacles, including:
根据障碍物在双目摄像头模块所成的第一图像、第二图像、第三图像和第四图像,以及方程Ix*Vx+Iy*Vy=-It求得Vx和VyFinding V x and V according to the first image, the second image, the third image, and the fourth image formed by the obstacle in the binocular camera module, and the equation I x *V x +I y *V y =−I t y ;
根据投影关系可以求得虚拟现实设备与障碍物的相对运动速度;According to the projection relationship, the relative motion speed of the virtual reality device and the obstacle can be obtained;
其中,
Figure PCTCN2016096987-appb-000001
分别为灰度值对x,y,t的偏导数。
among them,
Figure PCTCN2016096987-appb-000001
They are the partial derivatives of the gray value pair x, y, t, respectively.
根据障碍物在第一图像中和第三图像中变动距离微小和第一图像、第三图像之间的亮度恒定、第二图像、第四图像之间的亮度恒定这两个假设,也就是说,在2D+t维(空间二维加时间维度)的情况下,假设位于(x,y,t)的障碍物的某体单元的亮度是I(x,y,t)。该体单元在两个图像帧之间移动了dx、dy、dt。于是根据亮度相同的假设:According to the assumption that the obstacle has a small variation distance in the first image and the third image, and the brightness between the first image and the third image is constant, and the brightness between the second image and the fourth image is constant, that is, In the case of 2D+t dimension (spatial two-dimensional plus time dimension), it is assumed that the brightness of a certain unit of the obstacle located at (x, y, t) is I(x, y, t). The volume unit moves dx, dy, dt between two image frames. So according to the same assumption of brightness:
I(x,y,t)=I(x+dx,y+dy,t+dt);I(x, y, t)=I(x+dx, y+dy, t+dt);
将上面的公式根据泰勒级数得出:The above formula is derived from the Taylor series:
Figure PCTCN2016096987-appb-000002
Figure PCTCN2016096987-appb-000002
即:
Figure PCTCN2016096987-appb-000003
Figure PCTCN2016096987-appb-000004
which is:
Figure PCTCN2016096987-appb-000003
or
Figure PCTCN2016096987-appb-000004
Figure PCTCN2016096987-appb-000005
make
Figure PCTCN2016096987-appb-000005
可得:Ix*Vx+Iy*Vy=-It Available: I x *V x +I y *V y =-I t
从而,
Figure PCTCN2016096987-appb-000006
分别为灰度值对x,y,t的偏导数,可以从图像中估计出来,该方程具有Vx和Vy两个未知数。
thereby,
Figure PCTCN2016096987-appb-000006
The partial derivatives of the gray value pairs x, y, t, respectively, can be estimated from the image, which has two unknowns, V x and V y .
Figure PCTCN2016096987-appb-000007
Figure PCTCN2016096987-appb-000007
根据障碍物在第一图像中和第三图像中变动距离微小的假设,在微小距离内 所有图元或像素点的Vx和Vy相同,两个未知数,多个方程,采用最小二乘法容易求得Vx和Vy的值。然后,根据投影关系可以求得虚拟现实设备与障碍物的相对运动速度。According to the assumption that the obstacle has a small variation distance in the first image and the third image, the V x and V y of all the primitives or pixels in the tiny distance are the same, two unknowns, multiple equations, and the least squares method is easy. Find the values of V x and V y . Then, according to the projection relationship, the relative motion speed of the virtual reality device and the obstacle can be obtained.
同样,在第二时点,可以根据上述公式d=bf/(L1-L2),推导获得虚拟现实设备与障碍物的距离。Similarly, at the second time point, the distance between the virtual reality device and the obstacle can be derived according to the above formula d=bf/(L1-L2).
在以上的计算中,直接给出了障碍物的同一体单元在不同的图像中的成像。然而,如何确定一个图像中的某一图元或像素点与另一图像中的另一图元或像素点表示的是障碍物的同一体单元,是一个复杂的问题。In the above calculations, the imaging of the same volume unit of the obstacle in different images is directly given. However, how to determine that one primitive or pixel in one image and another primitive or pixel in another image represent the same unit of the obstacle is a complicated problem.
在本申请提供的又一种实施例中,虚拟现实设备的计算模块,根据障碍物在双目摄像头模块所成的第一图像、第二图像、第三图像和第四图像,推导获得虚拟现实设备与障碍物的相对运动速度、虚拟现实设备在第二时点与障碍物的距离,具体包括:In still another embodiment provided by the present application, the computing module of the virtual reality device derives the virtual reality according to the first image, the second image, the third image, and the fourth image formed by the obstacle in the binocular camera module. The relative movement speed of the device and the obstacle, and the distance between the virtual reality device and the obstacle at the second time point, specifically include:
从第一图像中确定第一图元,该第一图元为障碍物的一个体单元在第一图像的成像;Determining, from the first image, a first primitive, the first primitive being an image of a body unit of the obstacle in the first image;
分别从第二图像、第三图像、第四图像中确定与第一图元对应的第二图元、第三图元、第四图元;Determining, from the second image, the third image, and the fourth image, the second primitive, the third primitive, and the fourth primitive corresponding to the first primitive;
根据第一图元、第二图元、第三图元、第四图元的对应关系,推导获得虚拟现实设备与障碍物的相对运动速度、虚拟现实设备在第二时点与障碍物的距离。According to the correspondence between the first picture element, the second picture element, the third picture element and the fourth picture element, the relative motion speed of the virtual reality device and the obstacle is obtained, and the distance between the virtual reality device and the obstacle at the second time point is derived. .
在本申请提供的可实现方式中,给出了一种检测不同图像中的图元或像素点是否对应的方法。In an implementation manner provided by the present application, a method of detecting whether a primitive or a pixel in a different image corresponds is given.
在本申请提供的又一实施例中,从第一图像确定第一图元,分别从第二图像、第三图像、第四图像中确定与第一图元对应的第二图元、第三图元、第四图元,具体包括:In still another embodiment provided by the present application, the first primitive is determined from the first image, and the second primitive and the third primitive corresponding to the first primitive are respectively determined from the second image, the third image, and the fourth image. The picture element and the fourth picture element specifically include:
从第一图像中查找表征障碍物物理特征的图元;Finding primitives that characterize physical features of the obstacle from the first image;
分别从第二图像、第三图像、第四图像中查找表征障碍物同一物理特征的图元的第二图元、第三图元、第四图元。Searching for the second primitive, the third primitive, and the fourth primitive of the primitive representing the same physical feature of the obstacle from the second image, the third image, and the fourth image, respectively.
具体的,可以利用大数据技术建立障碍物的物理特征数据库。例如,可以建 立人体的头、肩、脚等轮廓的形状参数。这些轮廓与环境背景往往在各图像中具有较高对比度。假设,根据轮廓的形状、对比度等参数,查找到第一图像中某一图元或像素点为人体的头特征。另外,还根据轮廓的形状、对比度等参数,查找到第二图像中某一图元或像素点为人体的头特征。则,可以认为第一图像中表示人体头特征的图元,与第二图像中的表示人体头特征的图元表示的人体的体单元是一致的。同样,可以从第三图像、第四图像中查找表征障碍物同一物理特征的第三图元、第四图元。从而可以在此基础上,计算虚拟现实设备与障碍物的相对运动速度和虚拟现实设备与障碍物的距离。Specifically, big data technology can be used to establish a physical feature database of obstacles. For example, it can be built The shape parameters of the contours of the head, shoulders, and feet of the human body. These contours and environmental backgrounds tend to have higher contrast in each image. It is assumed that according to the shape, contrast and other parameters of the contour, a certain pixel or pixel in the first image is found to be the head feature of the human body. In addition, according to the shape, the contrast and other parameters of the contour, a certain pixel or pixel in the second image is found as the head feature of the human body. Then, it can be considered that the primitive representing the human head feature in the first image is identical to the body unit of the human body represented by the primitive representing the human head feature in the second image. Similarly, the third picture element and the fourth picture element that represent the same physical feature of the obstacle may be searched from the third image and the fourth image. Therefore, on the basis of this, the relative motion speed of the virtual reality device and the obstacle and the distance between the virtual reality device and the obstacle can be calculated.
在本申请提供的又一实施例中,从第一图像确定第一图元,分别从第二图像、第三图像、第四图像中确定与第一图元对应的第二图元、第三图元、第四图元,具体包括:In still another embodiment provided by the present application, the first primitive is determined from the first image, and the second primitive and the third primitive corresponding to the first primitive are respectively determined from the second image, the third image, and the fourth image. The picture element and the fourth picture element specifically include:
从第一图像、第二图像、第三图像、第四图像中查找表征同一sift(Scale-invariant feature transform,尺度不变特征变换)特征的第一图元、第二图元、第三图元、第四图元。Searching, from the first image, the second image, the third image, and the fourth image, the first primitive, the second primitive, and the third primitive that represent the same sift (Scale-invariant feature transform) feature The fourth picture element.
具体的,可以将各图像中的sift特征找出,然后根据不同图像中同一sift特征,计算虚拟现实设备与障碍物的相对运动速度和虚拟现实设备与障碍物的距离。Specifically, the sift feature in each image can be found, and then the relative motion speed of the virtual reality device and the obstacle and the distance between the virtual reality device and the obstacle are calculated according to the same sift feature in different images.
在本申请提供的又一实施例中,从第一图像确定第一图元,分别从第二图像、第三图像、第四图像中确定与第一图元对应的第二图元、第三图元、第四图元,具体包括:In still another embodiment provided by the present application, the first primitive is determined from the first image, and the second primitive and the third primitive corresponding to the first primitive are respectively determined from the second image, the third image, and the fourth image. The picture element and the fourth picture element specifically include:
利用图像卷积方法从第一图像、第二图像、第三图像、第四图像中查找可以相互匹配的第一图元、第二图元、第三图元、第四图元。The first primitive, the second primitive, the third primitive, and the fourth primitive that can match each other are searched from the first image, the second image, the third image, and the fourth image by using an image convolution method.
具体的,可以利用图像卷积的方式,确定不同图像中的对应区域,从而可以在此基础上,计算虚拟现实设备与障碍物的相对运动速度和虚拟现实设备与障碍物的距离。Specifically, the corresponding area in different images may be determined by using image convolution, so that the relative motion speed of the virtual reality device and the obstacle and the distance between the virtual reality device and the obstacle may be calculated.
进一步的,在本申请提供的又一实施例中,所述方法还包括:Further, in a further embodiment provided by the application, the method further includes:
多次独立重复确定第一图元、第二图元、第三图元、第四图元,其中每次确定的第一图元、第二图元、第三图元、第四图元不同;Determining, by the plurality of times, the first primitive, the second primitive, the third primitive, and the fourth primitive, wherein the first primitive, the second primitive, the third primitive, and the fourth primitive are different each time. ;
推导获得多次独立重复的虚拟现实设备与障碍物的相对运动速度、虚拟现实 设备在第二时点与障碍物的距离;Deriving the relative motion speed and virtual reality of multiple independent virtual reality devices and obstacles The distance of the device from the obstacle at the second time;
将多次独立重复获取的虚拟现实设备与障碍物的相对运动速度、虚拟现实设备在第二时点与障碍物的距离利用最小二乘法优化,获得优化的虚拟现实设备与障碍物的相对运动速度和优化的虚拟现实设备在第二时点与障碍物的距离。The relative motion speed of the virtual reality device and the obstacle repeatedly acquired repeatedly and the distance between the virtual reality device and the obstacle at the second time point are optimized by the least squares method to obtain the relative motion speed of the optimized virtual reality device and the obstacle. And the distance of the optimized virtual reality device from the obstacle at the second point in time.
具体的,可以利用最小二乘法,优化根据不同的目标点计算得到的虚拟现实设备与障碍物的相对运动速度和虚拟现实设备与障碍物的距离。Specifically, the least moving method can be used to optimize the relative motion speed of the virtual reality device and the obstacle calculated according to different target points and the distance between the virtual reality device and the obstacle.
S04:获取虚拟现实设备在第二时点的加速度。S04: Acquire the acceleration of the virtual reality device at the second time point.
加速度模块可以是一种能够测量加速力的电子设备。在本申请提供的一种可实现的实施方式中,可以利用压电陶瓷或石英晶体的压电效应,在加速度模块受振时,质量块加在压电元件上的力也随之变化。当被测振动频率远低于加速度计的固有频率时,则力的变化与被测加速度成正比。The acceleration module can be an electronic device capable of measuring acceleration forces. In an achievable embodiment provided by the present application, the piezoelectric effect of the piezoelectric ceramic or the quartz crystal can be utilized, and when the acceleration module is vibrated, the force applied to the piezoelectric element by the mass is also changed. When the measured vibration frequency is much lower than the natural frequency of the accelerometer, the change in force is proportional to the measured acceleration.
虚拟现实设备的加速度模块,可以获取虚拟现实设备在第二时点的加速度。The acceleration module of the virtual reality device can acquire the acceleration of the virtual reality device at the second time point.
S05:根据虚拟现实设备与障碍物的相对运动速度、虚拟现实设备在第二时点与障碍物的距离、虚拟现实设备在第二时点的加速度做出避障指令。S05: Perform an obstacle avoidance instruction according to the relative motion speed of the virtual reality device and the obstacle, the distance of the virtual reality device from the obstacle at the second time point, and the acceleration of the virtual reality device at the second time point.
虚拟现实设备的计算模块,在获得虚拟现实设备与障碍物的相对运动速度、虚拟现实设备在第二时点与障碍物的距离、虚拟现实设备在第二时点的加速度的基础上,可以计算得到虚拟现实设备是否会与障碍物发生碰撞的预计,从而可以及时作出向用户反馈的避障指令。The computing module of the virtual reality device can calculate the relative motion speed of the virtual reality device and the obstacle, the distance of the virtual reality device from the obstacle at the second time point, and the acceleration of the virtual reality device at the second time point. Obtain the expectation that the virtual reality device will collide with the obstacle, so that the obstacle avoidance instruction fed back to the user can be made in time.
在本申请提供的实施例中,虚拟现实设备的计算模块,根据虚拟现实设备与障碍物的相对运动速度、虚拟现实设备在第二时点与障碍物的距离、虚拟现实设备在第二时点的加速度做出避障指令,从而可以引导虚拟现实设备的用户有效避障,体验满意度好。In the embodiment provided by the present application, the computing module of the virtual reality device is based on the relative motion speed of the virtual reality device and the obstacle, the distance of the virtual reality device from the obstacle at the second time, and the virtual reality device at the second time. The acceleration makes an obstacle avoidance instruction, so that the user of the virtual reality device can be guided to effectively avoid obstacles, and the experience satisfaction is good.
最后需要说明的是,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非暂态计算机可读存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的非暂态计算机可读存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(RandomAccessMemory,RAM)等。Finally, it should be understood that those skilled in the art can understand that all or part of the process of implementing the above embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a non-transitory computer. In a readable storage medium, the program, when executed, may include the flow of an embodiment of the methods as described above. The non-transitory computer readable storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
以上是本申请实施例中避障方法,基于同样的思路,请参照图3,本申请还 提供一种虚拟现实设备1,包括:The above is the obstacle avoidance method in the embodiment of the present application. Based on the same idea, please refer to FIG. 3, and the present application also Providing a virtual reality device 1 comprising:
双目摄像头模块11,用于: Binocular camera module 11 for:
在第一时点,获取第一摄像头以第一角度拍摄的障碍物的第一图像和第二摄像头以第二角度拍摄的障碍物第二图像;At a first time point, acquiring a first image of the obstacle photographed by the first camera at the first angle and a second image of the obstacle photographed by the second camera at the second angle;
在第二时点,获取第一摄像头以第三角度拍摄的障碍物的第三图像和第二摄像头以第四角度拍摄的障碍物第四图像;At a second time point, acquiring a third image of the obstacle photographed by the first camera at the third angle and a fourth image of the obstacle photographed by the second camera at the fourth angle;
计算模块12,用于:The calculation module 12 is configured to:
根据障碍物在双目摄像头模块11所成的第一图像、第二图像、第三图像和第四图像,推导获得虚拟现实设备1与障碍物的相对运动速度、虚拟现实设备1在第二时点与障碍物的距离;According to the first image, the second image, the third image, and the fourth image formed by the obstacle in the binocular camera module 11, the relative motion speed of the virtual reality device 1 and the obstacle is obtained, and the virtual reality device 1 is in the second time. The distance between the point and the obstacle;
加速度模块13,用于: Acceleration module 13 for:
获取虚拟现实设备1在第二时点的加速度;Obtaining an acceleration of the virtual reality device 1 at a second time point;
其中,所述计算模块12还用于:The calculation module 12 is further configured to:
根据虚拟现实设备1与障碍物的相对运动速度、虚拟现实设备1在第二时点与障碍物的距离、虚拟现实设备1在第二时点的加速度做出避障指令。The obstacle avoidance instruction is made according to the relative movement speed of the virtual reality device 1 and the obstacle, the distance of the virtual reality device 1 from the obstacle at the second time point, and the acceleration of the virtual reality device 1 at the second time point.
进一步的,在本申请提供的又一实施例中,所述计算模块12用于:Further, in a further embodiment provided by the application, the calculating module 12 is configured to:
计算障碍物在第三图像和第四图像中的视差(L1-L2);Calculating the parallax (L1-L2) of the obstacle in the third image and the fourth image;
根据公式d=bf/(L1-L2)推导获得虚拟现实设备1在第二时点与障碍物的距离;其中,b为第一摄像头的光心C1和第二摄像头光心C2之间的距离;Obtaining the distance of the virtual reality device 1 from the obstacle at the second time point according to the formula d=bf/(L1-L2); wherein b is the distance between the optical center C1 of the first camera and the second camera optical center C2 ;
f为第一摄像头和第二摄像头的焦距。f is the focal length of the first camera and the second camera.
进一步的,在本申请提供的又一实施例中,所述计算模块12还用于:Further, in a further embodiment provided by the application, the calculating module 12 is further configured to:
计算障碍物在第一图像和第二图像中的视差;Calculating a parallax of the obstacle in the first image and the second image;
根据公式d=bf/(L1-L2)推导获得虚拟现实设备1在第一时点与障碍物的距离;Deriving the distance of the virtual reality device 1 from the obstacle at the first time according to the formula d=bf/(L1-L2);
根据虚拟现实设备1在第一时点与障碍物的距离、虚拟现实设备1在第二时点与障碍物的距离和第一时点与第二时点的时间差,计算虚拟现实设备1与障碍物的相对运动速度。 Calculating the virtual reality device 1 and the obstacle according to the distance of the virtual reality device 1 from the obstacle at the first time point, the distance of the virtual reality device 1 from the obstacle at the second time point, and the time difference between the first time point and the second time point The relative speed of movement of objects.
进一步的,在本申请提供的又一实施例中,所述计算模块12用于:Further, in a further embodiment provided by the application, the calculating module 12 is configured to:
根据障碍物在双目摄像头模块11所成的第一图像、第二图像、第三图像和第四图像,以及方程Ix*Vx+Iy*Vy=-It求得Vx和VyFinding V x and the first image, the second image, the third image, and the fourth image formed by the obstacle in the binocular camera module 11, and the equation I x *V x +I y *V y = -I t V y ;
根据投影关系可以求得虚拟现实设备1与障碍物的相对运动速度;According to the projection relationship, the relative motion speed of the virtual reality device 1 and the obstacle can be obtained;
其中,
Figure PCTCN2016096987-appb-000008
分别为灰度值对x,y,t的偏导数。
among them,
Figure PCTCN2016096987-appb-000008
They are the partial derivatives of the gray value pair x, y, t, respectively.
进一步的,在本申请提供的又一实施例中,所述计算模块12用于:Further, in a further embodiment provided by the application, the calculating module 12 is configured to:
从第一图像中确定第一图元,该第一图元为障碍物的一个体单元在第一图像的成像;Determining, from the first image, a first primitive, the first primitive being an image of a body unit of the obstacle in the first image;
分别从第二图像、第三图像、第四图像中确定与第一图元对应的第二图元、第三图元、第四图元;Determining, from the second image, the third image, and the fourth image, the second primitive, the third primitive, and the fourth primitive corresponding to the first primitive;
根据第一图元、第二图元、第三图元、第四图元的对应关系,推导获得虚拟现实设备1与障碍物的相对运动速度、虚拟现实设备1在第二时点与障碍物的距离。According to the correspondence between the first picture element, the second picture element, the third picture element and the fourth picture element, the relative motion speed of the virtual reality device 1 and the obstacle is obtained, and the virtual reality device 1 is at the second time point and the obstacle the distance.
进一步的,在本申请提供的又一实施例中,所述计算模块12用于:Further, in a further embodiment provided by the application, the calculating module 12 is configured to:
从第一图像中查找表征障碍物物理特征的图元;Finding primitives that characterize physical features of the obstacle from the first image;
分别从第二图像、第三图像、第四图像中查找表征障碍物同一物理特征的图元的第二图元、第三图元、第四图元。Searching for the second primitive, the third primitive, and the fourth primitive of the primitive representing the same physical feature of the obstacle from the second image, the third image, and the fourth image, respectively.
进一步的,在本申请提供的又一实施例中,所述计算模块12用于:Further, in a further embodiment provided by the application, the calculating module 12 is configured to:
从第一图像、第二图像、第三图像、第四图像中查找表征同一sift特征的第一图元、第二图元、第三图元、第四图元。Searching from the first image, the second image, the third image, and the fourth image, the first primitive, the second primitive, the third primitive, and the fourth primitive that represent the same sift feature.
进一步的,在本申请提供的又一实施例中,所述计算模块12用于:Further, in a further embodiment provided by the application, the calculating module 12 is configured to:
利用图像卷积方法从第一图像、第二图像、第三图像、第四图像中查找可以相互匹配的第一图元、第二图元、第三图元、第四图元。The first primitive, the second primitive, the third primitive, and the fourth primitive that can match each other are searched from the first image, the second image, the third image, and the fourth image by using an image convolution method.
进一步的,在本申请提供的又一实施例中,所述计算模块12还用于:Further, in a further embodiment provided by the application, the calculating module 12 is further configured to:
多次独立重复确定第一图元、第二图元、第三图元、第四图元,其中每次确 定的第一图元、第二图元、第三图元、第四图元不同;Determining the first primitive, the second primitive, the third primitive, and the fourth primitive independently and repeatedly, each time The first picture element, the second picture element, the third picture element, and the fourth picture element are different;
推导获得多次独立重复的虚拟现实设备1与障碍物的相对运动速度、虚拟现实设备1在第二时点与障碍物的距离;Deriving the relative motion speed of the virtual reality device 1 and the obstacle obtained by multiple independent repetitions, and the distance of the virtual reality device 1 from the obstacle at the second time point;
将多次独立重复获取的虚拟现实设备1与障碍物的相对运动速度、虚拟现实设备1在第二时点与障碍物的距离利用最小二乘法优化,获得优化的虚拟现实设备1与障碍物的相对运动速度和优化的虚拟现实设备1在第二时点与障碍物的距离。The relative motion speed of the virtual reality device 1 and the obstacle that are independently acquired repeatedly and the distance between the virtual reality device 1 and the obstacle at the second time point are optimized by the least squares method to obtain the optimized virtual reality device 1 and the obstacle The relative motion speed and the distance of the optimized virtual reality device 1 from the obstacle at the second time point.
在本申请另一实施例中,还提供一种电子设备,包括前述任一实施例所述的虚拟现实设备。In another embodiment of the present application, an electronic device is provided, including the virtual reality device described in any of the foregoing embodiments.
在本申请另一实施例中,还提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令可执行上述任意方法实施例中的避障方法。In another embodiment of the present application, a non-transitory computer readable storage medium is also provided, the non-transitory computer readable storage medium storing computer executable instructions executable by any of the above methods The obstacle avoidance method in the example.
图4是本申请实施例提供的执行避障方法的电子设备的硬件结构示意图,如图4所示,该设备包括:4 is a schematic diagram of a hardware structure of an electronic device for performing an obstacle avoidance method according to an embodiment of the present application. As shown in FIG. 4, the device includes:
一个或多个处理器410以及存储器420,图4中以一个处理器410为例。One or more processors 410 and memory 420, one processor 410 is exemplified in FIG.
执行避障方法的设备还可以包括:输入装置430和输出装置440。The apparatus for performing the obstacle avoidance method may further include: an input device 430 and an output device 440.
处理器410、存储器420、输入装置430和输出装置440可以通过总线或者其他方式连接,图4中以通过总线连接为例。The processor 410, the memory 420, the input device 430, and the output device 440 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
存储器420作为一种非暂态计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请实施例中的避障方法对应的程序指令/模块(例如,附图3所示的双目摄像头模块11、计算模块12和加速度模块13)。处理器410通过运行存储在存储器420中的非易失性软件程序、指令以及模块,从而执行电子设备的各种功能应用以及数据处理,即实现上述方法实施例避障方法。The memory 420 is used as a non-transitory computer readable storage medium, and can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions corresponding to the obstacle avoidance method in the embodiment of the present application. Modules (eg, binocular camera module 11, calculation module 12, and acceleration module 13 shown in FIG. 3). The processor 410 executes various functional applications and data processing of the electronic device by executing non-volatile software programs, instructions, and modules stored in the memory 420, that is, implementing the above-described method embodiment obstacle avoidance method.
存储器420可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据虚拟现实设备的使用所创建的数据等。此外,存储器420可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器420可选包括相对于处理器410远程 设置的存储器,这些远程存储器可以通过网络连接至虚拟现实设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 420 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the virtual reality device, and the like. Moreover, memory 420 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 420 can optionally include remotely with respect to processor 410 Set up memory that can be connected to a virtual reality device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
输入装置430可接收输入的数字或字符信息,以及产生与虚拟现实设备的用户设置以及功能控制有关的键信号输入。输出装置440可包括显示屏等显示设备。 Input device 430 can receive input numeric or character information and generate key signal inputs related to user settings and function control of the virtual reality device. Output device 440 can include a display device such as a display screen.
所述一个或者多个模块存储在所述存储器420中,当被所述一个或者多个处理器410执行时,执行上述任意方法实施例中的避障方法。The one or more modules are stored in the memory 420, and when executed by the one or more processors 410, perform the obstacle avoidance method in any of the above method embodiments.
上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请实施例所提供的方法。The above products can perform the methods provided by the embodiments of the present application, and have the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiments of the present application.
本申请实施例的电子设备以多种形式存在,包括但不限于:The electronic device of the embodiment of the present application exists in various forms, including but not limited to:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。(1) Mobile communication devices: These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication. Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。(2) Ultra-mobile personal computer equipment: This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access. Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。(3) Portable entertainment devices: These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
(4)服务器:提供计算服务的设备,服务器的构成包括处理器、硬盘、内存、系统总线等,服务器和通用的计算机架构类似,但是由于需要提供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展性、可管理性等方面要求较高。(4) Server: A device that provides computing services. The server consists of a processor, a hard disk, a memory, a system bus, etc. The server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
(5)其他具有数据交互功能的电子装置。(5) Other electronic devices with data interaction functions.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中 还存在另外的相同要素。It is also to be understood that the terms "comprises" or "comprising" or "comprising" or any other variations are intended to encompass a non-exclusive inclusion, such that a process, method, article, Other elements not explicitly listed, or elements that are inherent to such a process, method, commodity, or equipment. In the absence of more restrictions, elements defined by the phrase "including one..." are not excluded from the process, method, article, or device that includes the element. There are also other identical elements.
以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。 The above description is only an embodiment of the present application and is not intended to limit the application. Various changes and modifications can be made to the present application by those skilled in the art. Any modifications, equivalents, improvements, etc. made within the spirit and scope of the present application are intended to be included within the scope of the appended claims.

Claims (21)

  1. 一种避障方法,其特征在于,应用于虚拟现实设备,包括以下步骤:An obstacle avoidance method, which is characterized by being applied to a virtual reality device, comprising the following steps:
    在第一时点,获取第一摄像头以第一角度拍摄的障碍物的第一图像和第二摄像头以第二角度拍摄的障碍物第二图像;At a first time point, acquiring a first image of the obstacle photographed by the first camera at the first angle and a second image of the obstacle photographed by the second camera at the second angle;
    在第二时点,获取第一摄像头以第三角度拍摄的障碍物的第三图像和第二摄像头以第四角度拍摄的障碍物第四图像;At a second time point, acquiring a third image of the obstacle photographed by the first camera at the third angle and a fourth image of the obstacle photographed by the second camera at the fourth angle;
    根据第一图像、第二图像、第三图像和第四图像,推导获得虚拟现实设备与障碍物的相对运动速度、虚拟现实设备在第二时点与障碍物的距离;Deriving, according to the first image, the second image, the third image, and the fourth image, a relative motion speed of the virtual reality device and the obstacle, and a distance between the virtual reality device and the obstacle at the second time point;
    获取虚拟现实设备在第二时点的加速度;Acquiring the acceleration of the virtual reality device at the second time point;
    根据虚拟现实设备与障碍物的相对运动速度、虚拟现实设备在第二时点与障碍物的距离、虚拟现实设备在第二时点的加速度做出避障指令。The obstacle avoidance instruction is made according to the relative motion speed of the virtual reality device and the obstacle, the distance of the virtual reality device from the obstacle at the second time point, and the acceleration of the virtual reality device at the second time point.
  2. 如权利要求1所述的避障方法,其特征在于,根据第三图像和第四图像,推导获得虚拟现实设备在第二时点与障碍物的距离,具体包括:The obstacle avoidance method according to claim 1, wherein the obtaining the distance between the virtual reality device and the obstacle at the second time according to the third image and the fourth image comprises:
    计算障碍物在第三图像和第四图像中的视差(L1-L2);Calculating the parallax (L1-L2) of the obstacle in the third image and the fourth image;
    根据公式d=bf/(L1-L2)推导获得虚拟现实设备在第二时点与障碍物的距离;其中,b为第一摄像头的光心C1和第二摄像头光心C2之间的距离;Deriving the distance of the virtual reality device from the obstacle at the second time according to the formula d=bf/(L1-L2); wherein b is the distance between the optical center C1 of the first camera and the second camera optical center C2;
    f为第一摄像头和第二摄像头的焦距。f is the focal length of the first camera and the second camera.
  3. 如权利要求2所述的避障方法,其特征在于,根据第一图像、第二图像、第三图像和第四图像,推导获得虚拟现实设备与障碍物的相对运动速度,具体包括:The obstacle avoidance method according to claim 2, wherein the relative motion speed of the virtual reality device and the obstacle is derived according to the first image, the second image, the third image, and the fourth image, and specifically includes:
    计算障碍物在第一图像和第二图像中的视差;Calculating a parallax of the obstacle in the first image and the second image;
    根据公式d=bf/(L1-L2)推导获得虚拟现实设备在第一时点与障碍物的距离;Deriving the distance of the virtual reality device from the obstacle at the first time according to the formula d=bf/(L1-L2);
    根据虚拟现实设备在第一时点与障碍物的距离、虚拟现实设备在第二时点与障碍物的距离和第一时点与第二时点的时间差,计算虚拟现实设备与障碍物的相对运动速度。Calculating the relative relationship between the virtual reality device and the obstacle according to the distance of the virtual reality device from the obstacle at the first time point, the distance of the virtual reality device from the obstacle at the second time point, and the time difference between the first time point and the second time point Movement speed.
  4. 如权利要求1所述的避障方法,其特征在于,根据第一图像、第二 图像、第三图像和第四图像,推导获得虚拟现实设备与障碍物的相对运动速度,具体包括:The obstacle avoidance method according to claim 1, wherein the first image and the second image are The image, the third image, and the fourth image are derived to obtain a relative motion speed of the virtual reality device and the obstacle, specifically including:
    根据第一图像、第二图像、第三图像和第四图像,以及方程Ix*Vx+Iy*Vy=-It求得Vx和VyCalculating V x and V y according to the first image, the second image, the third image, and the fourth image, and the equation I x *V x +I y *V y =−I t ;
    根据投影关系可以求得虚拟现实设备与障碍物的相对运动速度;According to the projection relationship, the relative motion speed of the virtual reality device and the obstacle can be obtained;
    其中,
    Figure PCTCN2016096987-appb-100001
    分别为灰度值对x,y,t的偏导数。
    among them,
    Figure PCTCN2016096987-appb-100001
    They are the partial derivatives of the gray value pair x, y, t, respectively.
  5. 如权利要求1所述的避障方法,其特征在于,根据第一图像、第二图像、第三图像和第四图像,推导获得虚拟现实设备与障碍物的相对运动速度、虚拟现实设备在第二时点与障碍物的距离,具体包括:The obstacle avoidance method according to claim 1, wherein the relative motion speed of the virtual reality device and the obstacle is derived according to the first image, the second image, the third image, and the fourth image, and the virtual reality device is in the first The distance between the second point and the obstacle, including:
    从第一图像中确定第一图元,该第一图元为障碍物的一个体单元在第一图像的成像;Determining, from the first image, a first primitive, the first primitive being an image of a body unit of the obstacle in the first image;
    分别从第二图像、第三图像、第四图像中确定与第一图元对应的第二图元、第三图元、第四图元;Determining, from the second image, the third image, and the fourth image, the second primitive, the third primitive, and the fourth primitive corresponding to the first primitive;
    根据第一图元、第二图元、第三图元、第四图元的对应关系,推导获得虚拟现实设备与障碍物的相对运动速度、虚拟现实设备在第二时点与障碍物的距离。According to the correspondence between the first picture element, the second picture element, the third picture element and the fourth picture element, the relative motion speed of the virtual reality device and the obstacle is obtained, and the distance between the virtual reality device and the obstacle at the second time point is derived. .
  6. 如权利要求5所述的避障方法,其特征在于,从第一图像确定第一图元,分别从第二图像、第三图像、第四图像中确定与第一图元对应的第二图元、第三图元、第四图元,具体包括:The obstacle avoidance method according to claim 5, wherein the first primitive is determined from the first image, and the second image corresponding to the first primitive is determined from the second image, the third image, and the fourth image, respectively. The yuan, the third picture element, and the fourth picture element, specifically include:
    从第一图像中查找表征障碍物物理特征的图元;Finding primitives that characterize physical features of the obstacle from the first image;
    分别从第二图像、第三图像、第四图像中查找表征障碍物同一物理特征的图元的第二图元、第三图元、第四图元。Searching for the second primitive, the third primitive, and the fourth primitive of the primitive representing the same physical feature of the obstacle from the second image, the third image, and the fourth image, respectively.
  7. 如权利要求5所述的避障方法,其特征在于,从第一图像确定第一图元,分别从第二图像、第三图像、第四图像中确定与第一图元对应的第二图元、第三图元、第四图元,具体包括:The obstacle avoidance method according to claim 5, wherein the first primitive is determined from the first image, and the second image corresponding to the first primitive is determined from the second image, the third image, and the fourth image, respectively. The yuan, the third picture element, and the fourth picture element, specifically include:
    从第一图像、第二图像、第三图像、第四图像中查找表征同一尺度不变特征变换sift特征的第一图元、第二图元、第三图元、第四图元。Searching from the first image, the second image, the third image, and the fourth image, the first primitive, the second primitive, the third primitive, and the fourth primitive that represent the same scale invariant feature transform sift feature.
  8. 如权利要求5所述的避障方法,其特征在于,从第一图像确定第一 图元,分别从第二图像、第三图像、第四图像中确定与第一图元对应的第二图元、第三图元、第四图元,具体包括:The obstacle avoidance method according to claim 5, wherein the first image is determined from the first image The second element, the third picture element, and the fourth picture element corresponding to the first picture element are respectively determined from the second image, the third image, and the fourth image, and specifically include:
    利用图像卷积方法从第一图像、第二图像、第三图像、第四图像中查找可以相互匹配的第一图元、第二图元、第三图元、第四图元。The first primitive, the second primitive, the third primitive, and the fourth primitive that can match each other are searched from the first image, the second image, the third image, and the fourth image by using an image convolution method.
  9. 如权利要求5所述的避障方法,其特征在于,所述方法还包括:The obstacle avoidance method according to claim 5, wherein the method further comprises:
    多次独立重复确定第一图元、第二图元、第三图元、第四图元,其中每次确定的第一图元、第二图元、第三图元、第四图元不同;Determining, by the plurality of times, the first primitive, the second primitive, the third primitive, and the fourth primitive, wherein the first primitive, the second primitive, the third primitive, and the fourth primitive are different each time. ;
    推导获得多次独立重复的虚拟现实设备与障碍物的相对运动速度、虚拟现实设备在第二时点与障碍物的距离;Deriving the relative motion speed of the virtual reality device and the obstacle obtained by multiple independent repetitions, and the distance of the virtual reality device from the obstacle at the second time point;
    将多次独立重复获取的虚拟现实设备与障碍物的相对运动速度、虚拟现实设备在第二时点与障碍物的距离利用最小二乘法优化,获得优化的虚拟现实设备与障碍物的相对运动速度和优化的虚拟现实设备在第二时点与障碍物的距离。The relative motion speed of the virtual reality device and the obstacle repeatedly acquired repeatedly and the distance between the virtual reality device and the obstacle at the second time point are optimized by the least squares method to obtain the relative motion speed of the optimized virtual reality device and the obstacle. And the distance of the optimized virtual reality device from the obstacle at the second point in time.
  10. 一种虚拟现实设备,其特征在于,包括:A virtual reality device, comprising:
    双目摄像头模块,用于:Binocular camera module for:
    在第一时点,获取第一摄像头以第一角度拍摄的障碍物的第一图像和第二摄像头以第二角度拍摄的障碍物第二图像;At a first time point, acquiring a first image of the obstacle photographed by the first camera at the first angle and a second image of the obstacle photographed by the second camera at the second angle;
    在第二时点,获取第一摄像头以第三角度拍摄的障碍物的第三图像和第二摄像头以第四角度拍摄的障碍物第四图像;At a second time point, acquiring a third image of the obstacle photographed by the first camera at the third angle and a fourth image of the obstacle photographed by the second camera at the fourth angle;
    计算模块,用于:Calculation module for:
    根据障碍物在双目摄像头模块所成的第一图像、第二图像、第三图像和第四图像,推导获得虚拟现实设备与障碍物的相对运动速度、虚拟现实设备在第二时点与障碍物的距离;According to the first image, the second image, the third image and the fourth image formed by the obstacle in the binocular camera module, the relative motion speed of the virtual reality device and the obstacle is obtained, and the virtual reality device is at the second time point and the obstacle Distance of matter
    加速度模块,用于:Acceleration module for:
    获取虚拟现实设备在第二时点的加速度;Acquiring the acceleration of the virtual reality device at the second time point;
    其中,所述计算模块还用于:The computing module is further configured to:
    根据虚拟现实设备与障碍物的相对运动速度、虚拟现实设备在第二时点与障碍物的距离、虚拟现实设备在第二时点的加速度做出避障指令。 The obstacle avoidance instruction is made according to the relative motion speed of the virtual reality device and the obstacle, the distance of the virtual reality device from the obstacle at the second time point, and the acceleration of the virtual reality device at the second time point.
  11. 如权利要求10所述的虚拟现实设备,其特征在于,所述计算模块用于:The virtual reality device of claim 10, wherein the computing module is configured to:
    计算障碍物在第三图像和第四图像中的视差(L1-L2);Calculating the parallax (L1-L2) of the obstacle in the third image and the fourth image;
    根据公式d=bf/(L1-L2)推导获得虚拟现实设备在第二时点与障碍物的距离;其中,b为第一摄像头的光心C1和第二摄像头光心C2之间的距离;Deriving the distance of the virtual reality device from the obstacle at the second time according to the formula d=bf/(L1-L2); wherein b is the distance between the optical center C1 of the first camera and the second camera optical center C2;
    f为第一摄像头和第二摄像头的焦距。f is the focal length of the first camera and the second camera.
  12. 如权利要求11所述的虚拟现实设备,其特征在于,所述计算模块还用于:The virtual reality device of claim 11, wherein the computing module is further configured to:
    计算障碍物在第一图像和第二图像中的视差;Calculating a parallax of the obstacle in the first image and the second image;
    根据公式d=bf/(L1-L2)推导获得虚拟现实设备在第一时点与障碍物的距离;Deriving the distance of the virtual reality device from the obstacle at the first time according to the formula d=bf/(L1-L2);
    根据虚拟现实设备在第一时点与障碍物的距离、虚拟现实设备在第二时点与障碍物的距离和第一时点与第二时点的时间差,计算虚拟现实设备与障碍物的相对运动速度。Calculating the relative relationship between the virtual reality device and the obstacle according to the distance of the virtual reality device from the obstacle at the first time point, the distance of the virtual reality device from the obstacle at the second time point, and the time difference between the first time point and the second time point Movement speed.
  13. 如权利要求11所述的虚拟现实设备,其特征在于,所述计算模块用于:The virtual reality device of claim 11, wherein the computing module is configured to:
    根据障碍物在双目摄像头模块所成的第一图像、第二图像、第三图像和第四图像,以及方程Ix*Vx+Iy*Vy=-It求得Vx和VyFinding V x and V according to the first image, the second image, the third image, and the fourth image formed by the obstacle in the binocular camera module, and the equation I x *V x +I y *V y =−I t y;
    根据投影关系可以求得虚拟现实设备与障碍物的相对运动速度;According to the projection relationship, the relative motion speed of the virtual reality device and the obstacle can be obtained;
    其中,
    Figure PCTCN2016096987-appb-100002
    分别为灰度值对x,y,t的偏导数。
    among them,
    Figure PCTCN2016096987-appb-100002
    They are the partial derivatives of the gray value pair x, y, t, respectively.
  14. 如权利要求10所述的虚拟现实设备,其特征在于,所述计算模块用于:The virtual reality device of claim 10, wherein the computing module is configured to:
    从第一图像中确定第一图元,该第一图元为障碍物的一个体单元在第一图像的成像;Determining, from the first image, a first primitive, the first primitive being an image of a body unit of the obstacle in the first image;
    分别从第二图像、第三图像、第四图像中确定与第一图元对应的第二图元、第三图元、第四图元;Determining, from the second image, the third image, and the fourth image, the second primitive, the third primitive, and the fourth primitive corresponding to the first primitive;
    根据第一图元、第二图元、第三图元、第四图元的对应关系,推导获得 虚拟现实设备与障碍物的相对运动速度、虚拟现实设备在第二时点与障碍物的距离。According to the correspondence between the first picture element, the second picture element, the third picture element and the fourth picture element, the derivation is obtained The relative motion speed of the virtual reality device and the obstacle, and the distance of the virtual reality device from the obstacle at the second time.
  15. 如权利要求14所述的虚拟现实设备,其特征在于,所述计算模块用于:The virtual reality device of claim 14, wherein the computing module is configured to:
    从第一图像中查找表征障碍物物理特征的图元;Finding primitives that characterize physical features of the obstacle from the first image;
    分别从第二图像、第三图像、第四图像中查找表征障碍物同一物理特征的图元的第二图元、第三图元、第四图元。Searching for the second primitive, the third primitive, and the fourth primitive of the primitive representing the same physical feature of the obstacle from the second image, the third image, and the fourth image, respectively.
  16. 如权利要求14所述的虚拟现实设备,其特征在于,所述计算模块用于:The virtual reality device of claim 14, wherein the computing module is configured to:
    从第一图像、第二图像、第三图像、第四图像中查找表征同一尺度不变特征变换sift特征的第一图元、第二图元、第三图元、第四图元。Searching from the first image, the second image, the third image, and the fourth image, the first primitive, the second primitive, the third primitive, and the fourth primitive that represent the same scale invariant feature transform sift feature.
  17. 如权利要求14所述的虚拟现实设备,其特征在于,所述计算模块用于:The virtual reality device of claim 14, wherein the computing module is configured to:
    利用图像卷积方法从第一图像、第二图像、第三图像、第四图像中查找可以相互匹配的第一图元、第二图元、第三图元、第四图元。The first primitive, the second primitive, the third primitive, and the fourth primitive that can match each other are searched from the first image, the second image, the third image, and the fourth image by using an image convolution method.
  18. 如权利要求14所述的虚拟现实设备,其特征在于,所述计算模块还用于:The virtual reality device according to claim 14, wherein the calculation module is further configured to:
    多次独立重复确定第一图元、第二图元、第三图元、第四图元,其中每次确定的第一图元、第二图元、第三图元、第四图元不同;Determining, by the plurality of times, the first primitive, the second primitive, the third primitive, and the fourth primitive, wherein the first primitive, the second primitive, the third primitive, and the fourth primitive are different each time. ;
    推导获得多次独立重复的虚拟现实设备与障碍物的相对运动速度、虚拟现实设备在第二时点与障碍物的距离;Deriving the relative motion speed of the virtual reality device and the obstacle obtained by multiple independent repetitions, and the distance of the virtual reality device from the obstacle at the second time point;
    将多次独立重复获取的虚拟现实设备与障碍物的相对运动速度、虚拟现实设备在第二时点与障碍物的距离利用最小二乘法优化,获得优化的虚拟现实设备与障碍物的相对运动速度和优化的虚拟现实设备在第二时点与障碍物的距离。The relative motion speed of the virtual reality device and the obstacle repeatedly acquired repeatedly and the distance between the virtual reality device and the obstacle at the second time point are optimized by the least squares method to obtain the relative motion speed of the optimized virtual reality device and the obstacle. And the distance of the optimized virtual reality device from the obstacle at the second point in time.
  19. 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行权利要求1-9任一所述方法。 A non-transitory computer readable storage medium, wherein the non-transitory computer readable storage medium stores computer instructions for causing the computer to perform the method of any of claims 1-9 .
  20. 一种电子设备,其特征在于,包括:An electronic device, comprising:
    一个或多个处理器;以及,One or more processors; and,
    与所述一个或多个处理器通信连接的存储器;其中,a memory communicatively coupled to the one or more processors; wherein
    所述存储器存储有可被所述一个或多个处理器执行的指令,所述指令被所述一个或多个处理器执行,以使所述一个或多个处理器能够:The memory stores instructions executable by the one or more processors, the instructions being executed by the one or more processors to enable the one or more processors to:
    在第一时点,获取第一摄像头以第一角度拍摄的障碍物的第一图像和第二摄像头以第二角度拍摄的障碍物第二图像;At a first time point, acquiring a first image of the obstacle photographed by the first camera at the first angle and a second image of the obstacle photographed by the second camera at the second angle;
    在第二时点,获取第一摄像头以第三角度拍摄的障碍物的第三图像和第二摄像头以第四角度拍摄的障碍物第四图像;At a second time point, acquiring a third image of the obstacle photographed by the first camera at the third angle and a fourth image of the obstacle photographed by the second camera at the fourth angle;
    根据第一图像、第二图像、第三图像和第四图像,推导获得虚拟现实设备与障碍物的相对运动速度、虚拟现实设备在第二时点与障碍物的距离;Deriving, according to the first image, the second image, the third image, and the fourth image, a relative motion speed of the virtual reality device and the obstacle, and a distance between the virtual reality device and the obstacle at the second time point;
    获取虚拟现实设备在第二时点的加速度;Acquiring the acceleration of the virtual reality device at the second time point;
    根据虚拟现实设备与障碍物的相对运动速度、虚拟现实设备在第二时点与障碍物的距离、虚拟现实设备在第二时点的加速度做出避障指令。The obstacle avoidance instruction is made according to the relative motion speed of the virtual reality device and the obstacle, the distance of the virtual reality device from the obstacle at the second time point, and the acceleration of the virtual reality device at the second time point.
  21. 一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行权利要求1-9所述的方法。 A computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to execute The method of claims 1-9.
PCT/CN2016/096987 2015-12-21 2016-08-26 Virtual reality device and obstacle avoidance method WO2017107537A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510976181.6 2015-12-21
CN201510976181.6A CN105893928A (en) 2015-12-21 2015-12-21 Virtual reality device and obstacle avoidance method provided by virtual reality device

Publications (1)

Publication Number Publication Date
WO2017107537A1 true WO2017107537A1 (en) 2017-06-29

Family

ID=57002448

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/096987 WO2017107537A1 (en) 2015-12-21 2016-08-26 Virtual reality device and obstacle avoidance method

Country Status (2)

Country Link
CN (1) CN105893928A (en)
WO (1) WO2017107537A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109212536A (en) * 2017-06-30 2019-01-15 蒋昊 A kind of virtual reality glasses avoidance auxiliary device, system and control method
US10375365B2 (en) 2014-02-07 2019-08-06 Samsung Electronics Co., Ltd. Projection system with enhanced color and contrast
US10453371B2 (en) 2014-02-07 2019-10-22 Samsung Electronics Co., Ltd. Multi-layer display with color and contrast enhancement
US10554962B2 (en) 2014-02-07 2020-02-04 Samsung Electronics Co., Ltd. Multi-layer high transparency display for light field generation
US10565925B2 (en) 2014-02-07 2020-02-18 Samsung Electronics Co., Ltd. Full color display with intrinsic transparency

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105893928A (en) * 2015-12-21 2016-08-24 乐视致新电子科技(天津)有限公司 Virtual reality device and obstacle avoidance method provided by virtual reality device
WO2018119744A1 (en) * 2016-12-28 2018-07-05 深圳前海达闼云端智能科技有限公司 False alarm obstacle detection method and device
CN106843475A (en) * 2017-01-03 2017-06-13 京东方科技集团股份有限公司 A kind of method and system for realizing virtual reality interaction
CN106971501B (en) * 2017-03-09 2019-07-26 广州三星通信技术研究有限公司 Based reminding method and alarm set for virtual reality device
US10500496B2 (en) 2018-01-12 2019-12-10 International Business Machines Corporation Physical obstacle avoidance in a virtual reality environment
CN113671953A (en) * 2021-07-31 2021-11-19 河南中烟工业有限责任公司 AGV obstacle avoidance system and method based on VR technology
US11835718B1 (en) 2022-06-22 2023-12-05 International Business Machines Corporation Augmented notifications for vibrations

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101359229A (en) * 2008-08-18 2009-02-04 浙江大学 Barrier-avoiding method for mobile robot based on moving estimation of barrier
CN103231708A (en) * 2013-04-12 2013-08-07 安徽工业大学 Intelligent vehicle obstacle avoiding method based on binocular vision
CN103480154A (en) * 2012-06-12 2014-01-01 索尼电脑娱乐公司 Obstacle avoidance apparatus and obstacle avoidance method
WO2014156033A1 (en) * 2013-03-26 2014-10-02 Seiko Epson Corporation Head-mounted display device, control method of head-mounted display device, and display system
CN105893928A (en) * 2015-12-21 2016-08-24 乐视致新电子科技(天津)有限公司 Virtual reality device and obstacle avoidance method provided by virtual reality device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4707109B2 (en) * 2006-03-02 2011-06-22 アルパイン株式会社 Multi-camera image processing method and apparatus
CN102176232B (en) * 2011-01-26 2014-05-28 新疆中钜电子科技有限公司 Individual safety locating and guiding operating system and application method thereof
CN103714532A (en) * 2013-12-09 2014-04-09 广西科技大学 Method for automatically detecting obstacles based on binocular vision
CN103744656A (en) * 2013-12-23 2014-04-23 乐视网信息技术(北京)股份有限公司 Method and device for data analysis
CN104021388B (en) * 2014-05-14 2017-08-22 西安理工大学 Barrier during backing automatic detection and method for early warning based on binocular vision

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101359229A (en) * 2008-08-18 2009-02-04 浙江大学 Barrier-avoiding method for mobile robot based on moving estimation of barrier
CN103480154A (en) * 2012-06-12 2014-01-01 索尼电脑娱乐公司 Obstacle avoidance apparatus and obstacle avoidance method
WO2014156033A1 (en) * 2013-03-26 2014-10-02 Seiko Epson Corporation Head-mounted display device, control method of head-mounted display device, and display system
CN103231708A (en) * 2013-04-12 2013-08-07 安徽工业大学 Intelligent vehicle obstacle avoiding method based on binocular vision
CN105893928A (en) * 2015-12-21 2016-08-24 乐视致新电子科技(天津)有限公司 Virtual reality device and obstacle avoidance method provided by virtual reality device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WANG, YIFAN ET AL.: "A Fast Parallax Distance Measuring Method For Small UAV Obstacle Avoiding", CHINA MEASUREMENT & TESTING TECHNOLOGY, vol. 34, no. 3, 31 May 2008 (2008-05-31), pages 114 - 116 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10375365B2 (en) 2014-02-07 2019-08-06 Samsung Electronics Co., Ltd. Projection system with enhanced color and contrast
US10453371B2 (en) 2014-02-07 2019-10-22 Samsung Electronics Co., Ltd. Multi-layer display with color and contrast enhancement
US10554962B2 (en) 2014-02-07 2020-02-04 Samsung Electronics Co., Ltd. Multi-layer high transparency display for light field generation
US10565925B2 (en) 2014-02-07 2020-02-18 Samsung Electronics Co., Ltd. Full color display with intrinsic transparency
CN109212536A (en) * 2017-06-30 2019-01-15 蒋昊 A kind of virtual reality glasses avoidance auxiliary device, system and control method

Also Published As

Publication number Publication date
CN105893928A (en) 2016-08-24

Similar Documents

Publication Publication Date Title
WO2017107537A1 (en) Virtual reality device and obstacle avoidance method
AU2019419376B2 (en) Virtual try-on systems and methods for spectacles
CN106663334B (en) Method executed by computing device, mobile communication device and storage medium
CN104380338B (en) Information processor and information processing method
US9600714B2 (en) Apparatus and method for calculating three dimensional (3D) positions of feature points
US20210241495A1 (en) Method and system for reconstructing colour and depth information of a scene
WO2021139549A1 (en) Plane detection method and apparatus and plane tracking method and apparatus
KR20170031733A (en) Technologies for adjusting a perspective of a captured image for display
KR102461232B1 (en) Image processing method and apparatus, electronic device, and storage medium
WO2019196745A1 (en) Face modelling method and related product
US11423510B2 (en) System and method for providing dolly zoom view synthesis
US10147240B2 (en) Product image processing method, and apparatus and system thereof
WO2023273036A1 (en) Navigation method and apparatus, and electronic device and readable storage medium
EP4172862A1 (en) Object recognition neural network for amodal center prediction
KR101950934B1 (en) Virtual reality image providing device, method and program for adjusting virtual space size to provide stereopsis
US10296098B2 (en) Input/output device, input/output program, and input/output method
TWM630947U (en) Stereoscopic image playback apparatus
US11403830B2 (en) Image processing device, image processing method, and program
TWI779332B (en) Augmented reality system and display method for anchor virtual object thereof
WO2018000610A1 (en) Automatic playing method based on determination of image type, and electronic device
US20230260222A1 (en) Efficient dynamic occlusion based on stereo vision within an augmented or virtual reality application
TW202332263A (en) Stereoscopic image playback apparatus and method of generating stereoscopic images thereof
KR20220083166A (en) Method and apparatus for estimating human body

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16877349

Country of ref document: EP

Kind code of ref document: A1