WO2020042589A1 - User distance estimation method and apparatus, device, and storage medium - Google Patents

User distance estimation method and apparatus, device, and storage medium Download PDF

Info

Publication number
WO2020042589A1
WO2020042589A1 PCT/CN2019/078025 CN2019078025W WO2020042589A1 WO 2020042589 A1 WO2020042589 A1 WO 2020042589A1 CN 2019078025 W CN2019078025 W CN 2019078025W WO 2020042589 A1 WO2020042589 A1 WO 2020042589A1
Authority
WO
WIPO (PCT)
Prior art keywords
distance
user
gaze tracking
tracking device
eye image
Prior art date
Application number
PCT/CN2019/078025
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 WO2020042589A1 publication Critical patent/WO2020042589A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/013Eye tracking input arrangements

Definitions

  • the embodiments of the present application relate to the technical field of gaze tracking, and in particular, to a user distance estimation method, device, device, and storage medium.
  • FIG. 1 is a schematic structural diagram of a line-of-sight tracking device provided in the prior art.
  • the line-of-sight tracking device is formed by connecting data lines of the image acquisition device 10, the infrared light source 20, and the body 30 side of the line-of-sight tracking device.
  • Infrared light has no light sense, so the infrared light source can replace the general light source to illuminate the eyes at a short distance without affecting the normal visual effect of a person.
  • This patent proposes a method for estimating the distance from a user to a gaze tracking device.
  • the embodiments of the present application provide a user distance estimation method, device, device, and storage medium, so as to accurately estimate the distance between the user and the gaze tracking device.
  • an embodiment of the present application provides a user distance estimation method.
  • the user distance estimation method includes:
  • a distance between the user and the gaze tracking device is determined by an image of the eye of the user.
  • the acquiring an eye image of a user includes:
  • the user's eye image obtained by the user is received through a wired and / or wireless communication module.
  • determining the distance between the user and the gaze tracking device through the eye image of the user includes:
  • a distance between the user and the gaze tracking device is determined according to the spot distance and / or the binocular distance.
  • determining the distance between the user and the gaze tracking device according to the light spot distance and / or the binocular distance includes:
  • the distance between the user and the gaze tracking device is determined by a function relationship or a mapping table of the spot distance and / or binocular distance and the distance.
  • an embodiment of the present application further provides a user distance estimation device including a target screen, a gaze tracking device main body, an image acquisition device, and an infrared light source, and further includes:
  • a wireless communication module configured to receive a user's eye image collected by a current user terminal
  • the image processing module is connected to the wireless communication module and is configured to determine a distance between the user and the gaze tracking device through an image of the eye of the user.
  • the wireless communication module is configured as:
  • the user's eye image obtained by the user is received through a wired and / or wireless communication module.
  • the image processing module includes:
  • a spot distance or binocular distance determination unit configured to determine, based on the eye image, a spot distance or binocular distance of an eye in the eye image
  • the distance determining unit is configured to determine a distance between the user and the gaze tracking device according to the spot distance or the binocular distance.
  • the distance determining unit is set as:
  • the distance between the user and the gaze tracking device is determined by a function relationship or a mapping table of the spot distance and / or binocular distance and the distance.
  • an embodiment of the present application further provides a device, where the device includes:
  • One or more processors are One or more processors;
  • a storage device configured to store one or more programs
  • the one or more processors are caused to implement the user distance estimation method according to any one of the embodiments of the present application.
  • an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored.
  • the program is executed by a processor, the user distance estimation method according to any one of the embodiments of the present application is implemented.
  • the distance between the user and the gaze tracking device is determined by acquiring an eye image of the user, and the position of the main body of the gaze tracking device is adjusted according to the distance, so as to accurately estimate the user's line of sight. Track the distance of the device.
  • FIG. 1 is a schematic structural diagram of a gaze tracking device provided in the prior art
  • FIG. 3 is a flowchart of a user distance estimation method provided in Embodiment 2 of the present application.
  • FIG. 4 is a structural diagram of a user distance estimation device provided in Embodiment 3 of the present application.
  • FIG. 5 is a schematic structural diagram of a device provided in Embodiment 4 of the present application.
  • FIG. 2 is a flowchart of a user distance estimation method provided in Embodiment 1 of the present application.
  • This embodiment is applicable to a case where a distance between a user and a gaze tracking device is estimated.
  • the method may be performed by the user distance estimation device. carried out.
  • the user distance can be an abstract / general description, that is, the distance from the user's feature point to the sight-tracking device, or the average distance from multiple user feature points to the sight-tracking device.
  • the user feature point can be the user's eyebrow, For the left eye, right eye, nose tip, or forehead, the position corresponding to the gaze tracking device may be the optical center of the image acquisition device at the gaze tracking device, the sensor, or the plane of the display at the gaze tracking device.
  • the user distance estimation method provided in the embodiment of the present application specifically includes the following execution steps:
  • the eye image may be directed to the eye through a light source, and the eye is captured by the eye image acquisition device.
  • the eye image acquisition device may include at least one image acquisition device, and the image acquisition device may be an infrared camera or an infrared camera. Wait.
  • the light spot on the cornea which is the light spot (also referred to as a Purchin spot), is captured, and the user's eye image obtained from this is the user's eye image with light spot.
  • the relative positional relationship between the pupil center and the light spot changes, and the corresponding collected eye image of the user with the light spot will reflect the corresponding positional change relationship, and thus according to the position change relationship Gaze / gaze point estimation for gaze tracking. That is, when the distance between the user and the gaze tracking device is too close, the relative position of the light spot formed on the cornea and the center of the pupil changes when the light source shines on the eye, and the corresponding eye image with the light spot cannot be detected by the eye.
  • the image acquisition device captures, and at this time, it is necessary to realize the estimation of the distance between the user and the gaze tracking device through the obtained eye image of the user with light spots.
  • the embodiment of the present application determines the distance between the user and the gaze tracking device by acquiring an eye image of the user, so as to accurately estimate the distance between the user and the gaze tracking device.
  • FIG. 3 is a flowchart of a user distance estimation method provided in Embodiment 2 of the present application.
  • This embodiment is optimized based on the foregoing embodiment.
  • the step of obtaining the eye image of the user is further optimized to receive the eye image of the user obtained by the user through a wired and / or wireless communication module.
  • the step of determining the distance between the user and the gaze tracking device through the eye image of the user is further optimized as follows: determining the light spot distance of the eyes in the eye image through the eye image Or binocular distance; determining the distance between the user and the gaze tracking device according to the spot distance and / or the binocular distance.
  • the method in this embodiment specifically includes the following execution steps:
  • S210 Receive a user's eye image obtained by a user terminal through a wired and / or wireless communication module.
  • the user terminal may be various users of operating electronic devices with a display platform, and the user terminal may be provided with an image acquisition device for acquiring a screen image of the electronic device display platform.
  • a user may wear a smart head-mounted device, such as smart glasses, which has an image acquisition device that can capture screen images of a display platform of an electronic device, and the image acquisition device may be a camera or a camera, etc.
  • the device for the target screen image is only explained in the embodiment of the present application, and is not limited thereto.
  • the collected eye image is sent to the wireless communication module of the gaze tracking device through the wireless communication module on the user side, that is, the electronic device on the user side and the display platform can be built in
  • the wireless communication module performs wireless data transmission, so that the electronic device end of the display platform obtains the user's eye image collected by the user-side image acquisition device.
  • S220 Determine the spot distance or binocular distance of the eyes in the eye image through the eye image.
  • a geographic coordinate system also called a real-world coordinate system, is a coordinate system used to determine the location of features on the earth.
  • a specific geographic coordinate system is composed of a specific ellipsoid and a specific map projection.
  • the ellipsoid is a mathematical description of the shape of the earth
  • the map projection is a mathematical method for converting spherical coordinates into plane coordinates.
  • Most maps display coordinate data according to a known geographic coordinate system. For example, the 1:25 million topographic map of the country uses the Gauss-Kruger projection on the Krasovsky ellipsoid.
  • the most commonly used geographic coordinate system is the latitude and longitude coordinate system. This coordinate system can determine the position of any point on the earth. It should be noted that the latitude and longitude coordinate system is not a flat coordinate system, because degrees are not standard length units and cannot be measured. Area length.
  • the distance from the user to the gaze tracking device is d
  • the spot distance on the image plane of the spot in the same eye is defined as igd (inter glint distance) and binocular distance It is defined as ipd (interpupil distance) on the image plane.
  • determining the distance between the user and the gaze tracking device according to the spot distance and / or the binocular distance includes:
  • the distance between the user and the gaze tracking device is determined by a function relationship or a mapping table of the spot distance and / or binocular distance and the distance.
  • mapping relationship between d and igd, d and ipd, or d and ipd and ipd can be established to estimate d.
  • This mapping relationship may be a function (for example, the following function) or a mapping table.
  • C is a constant.
  • n is the degree of the estimation equation, which can be 2, 3, 4, and so on.
  • C is a constant.
  • k and c it can be determined through empirical statistics on a large number of experimental objects, or can be derived through the positional relationship between the gaze tracking device and the spatial model of the user's eyeball.
  • interval of ipd or igd that is, the domain of the function
  • ipd or igd can be partitioned, and different functions are used for multiple intervals to obtain more accurate results.
  • the method of determining the spot distance or the binocular distance can be specifically selected by the user according to the actual situation. This embodiment of the present application only explains this and does not This makes no restrictions.
  • an eye image of a user is obtained, a distance between the user and the gaze tracking device is determined, and a position of the gaze tracking device body is adjusted according to the distance, where the gaze tracking device body includes an image Acquisition device and light source.
  • FIG. 4 is a structural diagram of a user distance estimation device provided in Embodiment 3 of the present application. This embodiment is applicable to a case where a distance between a user and a gaze tracking device is estimated.
  • the user distance estimation device includes a wireless communication module 410 and an image processing module 420, where:
  • the wireless communication module 410 is configured to receive a user's eye image collected by a current user terminal;
  • the image processing module 420 is connected to the wireless communication module and is configured to determine a distance between the user and the gaze tracking device through an image of the eye of the user.
  • a user distance estimation device of this embodiment determines the distance between the user and the gaze tracking device by acquiring an eye image of the user, so as to accurately estimate the distance between the user and the gaze tracking device.
  • the wireless communication module 410 is configured to:
  • the user's eye image obtained by the user is received through a wired and / or wireless communication module.
  • the image processing module 420 includes:
  • a spot distance or binocular distance determination unit configured to determine, based on the eye image, a spot distance or binocular distance of an eye in the eye image
  • the distance determining unit is configured to determine a distance between the user and the gaze tracking device according to the spot distance and / or the binocular distance.
  • the distance determining unit is configured as:
  • the distance between the user and the gaze tracking device is determined by a function relationship or a mapping table of the spot distance and / or binocular distance and the distance.
  • the user distance estimation device provided by each of the foregoing embodiments can execute the user distance estimation method provided by any embodiment of the present application, and has the corresponding functional modules and beneficial effects of executing the user distance estimation method.
  • FIG. 5 is a schematic structural diagram of a device provided in Embodiment 4 of the present application.
  • FIG. 5 shows a block diagram of an exemplary device 512 suitable for use in implementing embodiments of the present application.
  • the device 512 shown in FIG. 5 is only an example, and should not impose any limitation on the functions and scope of use of the embodiments of the present application.
  • the device 512 is represented in the form of a general-purpose computing device.
  • the components of the device 512 may include, but are not limited to, one or more processors 516, a system memory 528, and a bus 518 connecting different system components (including the system memory 528 and the processor 516).
  • the bus 518 represents one or more of several types of bus structures, including a memory bus or a memory controller, a peripheral bus, a graphics acceleration port, a processor 516, or a local area bus using any of a variety of bus structures.
  • these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the enhanced ISA bus, the Video Electronics Standards Association (VESA) local area bus, and peripheral component interconnects ( PCI) bus.
  • the device 512 typically includes a variety of computer system-readable media. These media can be any available media that can be accessed by the device 512, including volatile and non-volatile media, removable and non-removable media.
  • System memory 528 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 530 and / or cache memory 532.
  • the device 512 may further include other removable / non-removable, volatile / nonvolatile computer system storage media.
  • the storage device 534 may be used to read and write non-removable, non-volatile magnetic media (not shown in FIG. 5 and is commonly referred to as a “hard drive”).
  • a disk drive for reading and writing to a removable non-volatile disk (such as a "floppy disk"), and a removable non-volatile optical disk (such as a CD-ROM, DVD-ROM, etc.) may be provided. Or other optical media).
  • each drive may be connected to the bus 518 through one or more data medium interfaces.
  • the memory 528 may include at least one program product having a set (eg, at least one) of program modules configured to perform the functions of the embodiments of the present application.
  • a program / utility tool 540 having a set (at least one) of program modules 542 may be stored in, for example, the memory 528.
  • Such program modules 542 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data Each of these examples, or some combination, may include an implementation of a network environment.
  • Program module 542 generally performs functions and / or methods in the embodiments described herein.
  • the device 512 may also communicate with one or more external devices 514 (eg, keyboard, pointing device, display 524, etc.), may also communicate with one or more devices that enable a user to interact with the device 512, and / or with the device that enables
  • the device 512 can communicate with any device (eg, network card, modem, etc.) that is in communication with one or more other computing devices. This communication can be performed through an input / output (I / O) interface 522.
  • the device 512 may also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through the network adapter 520.
  • networks such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet
  • the network adapter 520 communicates with other modules of the device 512 through the bus 518. It should be understood that although not shown in the figure, other hardware and / or software modules may be used in conjunction with the device 512, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and Data backup storage system.
  • the processor 516 executes various functional applications and data processing by running a program stored in the system memory 528, for example, implementing a user distance estimation method provided in the embodiment of the present application.
  • the method includes:
  • a distance between the user and the gaze tracking device is determined by an image of the eye of the user.
  • processor may also implement the technical solution of the user distance estimation method provided by any embodiment of the present application.
  • Embodiment 5 of the present application further provides a computer-readable storage medium on which a computer program is stored.
  • the program is executed by a processor, the user distance estimation method provided by the embodiment of the present application is implemented.
  • the method includes:
  • a distance between the user and the gaze tracking device is determined by an image of the eye of the user.
  • the computer-readable storage medium provided in the embodiment of the present application is not limited to the method operations described above, and the computer program stored on the computer program can also perform the correlation in the user distance estimation method provided by any embodiment of the present application. operating.
  • the computer storage medium in the embodiments of the present application may adopt any combination of one or more computer-readable media.
  • the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium.
  • the computer-readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus, or device.
  • the computer-readable signal medium may include a data signal in baseband or propagated as part of a carrier wave, which carries a computer-readable program code. Such a propagated data signal may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, and the computer-readable medium may send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device .
  • Program code embodied on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
  • Computer program code for performing the operations of this application may be written in one or more programming languages, or a combination thereof, including programming languages such as Java, Smalltalk, C ++, and also conventional Procedural programming language—such as "C" or similar programming language.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, as an independent software package, partly on the user's computer, partly on a remote computer, or entirely on a remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider) Internet connection).
  • LAN local area network
  • WAN wide area network
  • Internet service provider Internet service provider

Abstract

Disclosed in the embodiments of the present invention are a user distance estimation method and apparatus, a device, and a storage medium. The method comprises: acquiring a user eye image; and, by means of the user eye image, determining the distance between the user and a line of sight tracking apparatus. The embodiments of the present application, by means of acquiring a user eye image and determining the distance between the user and a line of sight tracking apparatus, accurately estimate the distance between the user and the line of sight tracking apparatus.

Description

一种用户距离估算方法、装置、设备及存储介质User distance estimation method, device, equipment and storage medium 技术领域Technical field
本申请实施例涉及视线追踪技术领域,尤其涉及一种用户距离估算方法、装置、设备及存储介质。The embodiments of the present application relate to the technical field of gaze tracking, and in particular, to a user distance estimation method, device, device, and storage medium.
背景技术Background technique
部分新型台式机显示器、笔记本显示器和平板显示器等各种带有显示平台的操作电子设备具有视线追踪装置。图1为现有技术提供的视线追踪装置的结构示意图,通常来说视线追踪装置是由图像采集装置10、红外光源20、视线追踪装置的主体30侧的数据线联结而成,因人眼对红外光无光感,因此红外光源可以代替一般光源对眼睛进行近距照射,而并不会影响人的正常视觉效果。Some new types of operating electronic devices with display platforms such as desktop monitors, notebook monitors and flat-panel monitors have gaze tracking devices. FIG. 1 is a schematic structural diagram of a line-of-sight tracking device provided in the prior art. Generally, the line-of-sight tracking device is formed by connecting data lines of the image acquisition device 10, the infrared light source 20, and the body 30 side of the line-of-sight tracking device. Infrared light has no light sense, so the infrared light source can replace the general light source to illuminate the eyes at a short distance without affecting the normal visual effect of a person.
部分应用场景需要知道用户到视线追踪装置之间的距离,如果不借助额外测距设备,仅依靠图像采集装置获取的图像,难以测量或计算出该距离。本专利提出一种估算用户到视线追踪装置距离的方法。In some application scenarios, it is necessary to know the distance between the user and the gaze tracking device. Without additional distance measuring equipment, it is difficult to measure or calculate the distance based on the images acquired by the image acquisition device. This patent proposes a method for estimating the distance from a user to a gaze tracking device.
发明内容Summary of the Invention
本申请实施例提供一种用户距离估算方法、装置、设备及存储介质,以实现准确的估算出用户到视线追踪装置的距离。The embodiments of the present application provide a user distance estimation method, device, device, and storage medium, so as to accurately estimate the distance between the user and the gaze tracking device.
第一方面,本申请实施例提供了一种用户距离估算方法,该用户距离估算方法包括:In a first aspect, an embodiment of the present application provides a user distance estimation method. The user distance estimation method includes:
获取用户的眼部图像;Obtaining an image of a user's eye;
通过所述用户的眼部图像确定所述用户与视线追踪装置之间的距离。A distance between the user and the gaze tracking device is determined by an image of the eye of the user.
可选地,所述获取用户的眼部图像,包括:Optionally, the acquiring an eye image of a user includes:
通过有线和/或无线通信模块接收用户端获取的用户的眼部图像。The user's eye image obtained by the user is received through a wired and / or wireless communication module.
可选地,所述通过所述用户的眼部图像确定所述用户与视线追踪装置之间的距离,包括:Optionally, determining the distance between the user and the gaze tracking device through the eye image of the user includes:
通过所述眼部图像确定所述眼部图像中眼睛的光斑间距或双眼间距;Determining the spot distance or binocular distance of the eyes in the eye image through the eye image;
根据所述光斑间距和/或所述双眼间距确定所述用户与视线追踪装置之间的距离。A distance between the user and the gaze tracking device is determined according to the spot distance and / or the binocular distance.
可选地,所述根据所述光斑间距和/或所述双眼间距确定所述用户与视线追踪装置之间的距离,包括:Optionally, determining the distance between the user and the gaze tracking device according to the light spot distance and / or the binocular distance includes:
通过所述光斑间距和/或双眼间距与所述距离的函数关系或是映射表确定所述用户与视线追踪装置之间的距离。The distance between the user and the gaze tracking device is determined by a function relationship or a mapping table of the spot distance and / or binocular distance and the distance.
第二方面,本申请实施例还提供了一种用户距离估算装置,包括目标屏幕、视线追踪装置主体、图像采集装置和红外光源,还包括:In a second aspect, an embodiment of the present application further provides a user distance estimation device including a target screen, a gaze tracking device main body, an image acquisition device, and an infrared light source, and further includes:
无线通信模块,设置为接收当前用户端采集的用户的眼部图像;A wireless communication module configured to receive a user's eye image collected by a current user terminal;
图像处理模块,与所述无线通信模块相连,设置为通过所述用户的眼部图像确定所述用户与视线追踪装置之间的距离。The image processing module is connected to the wireless communication module and is configured to determine a distance between the user and the gaze tracking device through an image of the eye of the user.
可选地,所述无线通信模块设置为:Optionally, the wireless communication module is configured as:
通过有线和/或无线通信模块接收用户端获取的用户的眼部图像。The user's eye image obtained by the user is received through a wired and / or wireless communication module.
可选地,所述图像处理模块,包括:Optionally, the image processing module includes:
光斑间距或双眼间距确定单元,设置为通过所述眼部图像确定所述眼部图像中眼睛的光斑间距或双眼间距;A spot distance or binocular distance determination unit, configured to determine, based on the eye image, a spot distance or binocular distance of an eye in the eye image;
距离确定单元,设置为根据所述光斑间距或所述双眼间距确定所述用户与视线追踪装置之间的距离。The distance determining unit is configured to determine a distance between the user and the gaze tracking device according to the spot distance or the binocular distance.
可选地,所述距离确定单元设置为:Optionally, the distance determining unit is set as:
通过所述光斑间距和/或双眼间距与所述距离的函数关系或是映射表确定所述用户与视线追踪装置之间的距离。The distance between the user and the gaze tracking device is determined by a function relationship or a mapping table of the spot distance and / or binocular distance and the distance.
第三方面,本申请实施例还提供了一种设备,该设备包括:In a third aspect, an embodiment of the present application further provides a device, where the device includes:
一个或多个处理器;One or more processors;
存储装置,设置为存储一个或多个程序;A storage device configured to store one or more programs;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现本申请实施例任一所述的用户距离估算方法。When the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the user distance estimation method according to any one of the embodiments of the present application.
第四方面,本申请实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现本申请实施例任一所述的用户距离估算方法。According to a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the user distance estimation method according to any one of the embodiments of the present application is implemented.
本申请实施例通过获取用户的眼部图像,确定所述用户与视线追踪装置之间的距离,根据所述距离对所述视线追踪装置主体的位置进行调节,以实现准确的估算出用户到视线追踪装置的距离。In the embodiment of the present application, the distance between the user and the gaze tracking device is determined by acquiring an eye image of the user, and the position of the main body of the gaze tracking device is adjusted according to the distance, so as to accurately estimate the user's line of sight. Track the distance of the device.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为现有技术提供的视线追踪装置的结构示意图;1 is a schematic structural diagram of a gaze tracking device provided in the prior art;
图2是本申请实施例一提供的一种用户距离估算方法的流程图;2 is a flowchart of a user distance estimation method provided in Embodiment 1 of the present application;
图3是本申请实施例二提供的一种用户距离估算方法的流程图;3 is a flowchart of a user distance estimation method provided in Embodiment 2 of the present application;
图4是本申请实施例三提供的一种用户距离估算装置的结构图;4 is a structural diagram of a user distance estimation device provided in Embodiment 3 of the present application;
图5是本申请实施例四提供的一种设备的结构示意图。FIG. 5 is a schematic structural diagram of a device provided in Embodiment 4 of the present application.
具体实施方式detailed description
为了使本申请的目的、技术方案和优点更加清楚,下面结合附图对本申请具体实施例作进一步的详细描述。可以理解的是,此处所描述的具体实施例仅仅用于解释本申请,而非对本申请的限定。In order to make the purpose, technical solution, and advantages of the present application clearer, specific embodiments of the present application are described in further detail below with reference to the accompanying drawings. It can be understood that the specific embodiments described herein are only used to explain the present application, rather than limiting the present application.
另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部内容。在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作(或步骤)描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。It should also be noted that, for the convenience of description, only some parts related to the present application are shown in the drawings instead of the entire content. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although flowcharts describe operations (or steps) as sequential processing, many of these operations can be performed in parallel, concurrently, or simultaneously. In addition, the order of operations can be rearranged. The process may be terminated when its operation is completed, but may also have additional steps not included in the drawings. The processing may correspond to methods, functions, procedures, subroutines, subroutines, and so on.
实施例一Example one
图2是本申请实施例一提供的一种用户距离估算方法的流程图,本实施例可适用于对用户到视线追踪装置之间的距离进行估算的情况,该方法可以由用户距离估算装置来执行。其中,用户距离可以是抽象/概括性的描述,即可以为用户特征点到视线追踪装置的距离,或者是多个用户特征点到视线追踪装置的平均距离,用户特征点可以为用户的眉心、左眼、右眼、鼻尖或是额头等位置,视线追踪装置对应的位置可以为视线追踪装置处图像采集装置的光心、传感器或是视线追踪装置处显示器的平面等位置。本申请实施例提供的用户距离估算方法具体包括如下执行步骤:FIG. 2 is a flowchart of a user distance estimation method provided in Embodiment 1 of the present application. This embodiment is applicable to a case where a distance between a user and a gaze tracking device is estimated. The method may be performed by the user distance estimation device. carried out. The user distance can be an abstract / general description, that is, the distance from the user's feature point to the sight-tracking device, or the average distance from multiple user feature points to the sight-tracking device. The user feature point can be the user's eyebrow, For the left eye, right eye, nose tip, or forehead, the position corresponding to the gaze tracking device may be the optical center of the image acquisition device at the gaze tracking device, the sensor, or the plane of the display at the gaze tracking device. The user distance estimation method provided in the embodiment of the present application specifically includes the following execution steps:
S110、获取用户的眼部图像。S110. Obtain an eye image of the user.
具体的,眼部图像可以是通过光源照向眼睛,由眼部图像采集装置对眼部进行拍摄,眼部图像采集装置可以包括至少一个图像采集设备,图像采集设备可以是红外照相机或是红外摄像机等。相应拍摄光源在角膜上的反射点即光斑(也称为普尔钦斑),由此获取的用户的眼部图像即为用户的带有光斑的眼部图像。Specifically, the eye image may be directed to the eye through a light source, and the eye is captured by the eye image acquisition device. The eye image acquisition device may include at least one image acquisition device, and the image acquisition device may be an infrared camera or an infrared camera. Wait. Correspondingly, the light spot on the cornea, which is the light spot (also referred to as a Purchin spot), is captured, and the user's eye image obtained from this is the user's eye image with light spot.
S120、通过所述用户的眼部图像确定所述用户与视线追踪装置之间的距离。S120. Determine a distance between the user and the gaze tracking device through an eye image of the user.
随着眼球转动时,瞳孔中心与光斑的相对位置关系随之发生变化,相应采集到的用户的带有光斑的眼部图像将会反映出相应的位置变化关系,由此根据所述位置变化关系进行视线/注视点估计以进行视线追踪。也就是说,当用户与视线追踪装置的距离过近时,光源照向眼睛而在角膜上形成的光斑与瞳孔中心的相对位置发生变化,相应的带有光斑的眼部图像也不能被眼部图像采集装置捕获到,此时就需要通过获得的用户的带有光斑的眼部图像,实现对用户与视线追踪装置之间的距离的估算。As the eyeball rotates, the relative positional relationship between the pupil center and the light spot changes, and the corresponding collected eye image of the user with the light spot will reflect the corresponding positional change relationship, and thus according to the position change relationship Gaze / gaze point estimation for gaze tracking. That is, when the distance between the user and the gaze tracking device is too close, the relative position of the light spot formed on the cornea and the center of the pupil changes when the light source shines on the eye, and the corresponding eye image with the light spot cannot be detected by the eye. The image acquisition device captures, and at this time, it is necessary to realize the estimation of the distance between the user and the gaze tracking device through the obtained eye image of the user with light spots.
本申请实施例通过获取用户的眼部图像,确定所述用户与视线追踪装置之间的距离,以实现准确的估算出用户到视线追踪装置的距离。The embodiment of the present application determines the distance between the user and the gaze tracking device by acquiring an eye image of the user, so as to accurately estimate the distance between the user and the gaze tracking device.
实施例二Example two
图3是本申请实施例二提供的一种用户距离估算方法的流程图。本实施例以上述实施例为基础进行优化,在本实施例中,将步骤获取用户的眼部图像进一步优化为:通过有线和/或无线通信模块接收用户端获取的用户的眼部图像。在此基础上,将步骤所述通过所述用户的眼部图像确定所述用户与视线追踪装 置之间的距离进一步优化为:通过所述眼部图像确定所述眼部图像中眼睛的光斑间距或双眼间距;根据所述光斑间距和/或所述双眼间距确定所述用户与视线追踪装置之间的距离。FIG. 3 is a flowchart of a user distance estimation method provided in Embodiment 2 of the present application. This embodiment is optimized based on the foregoing embodiment. In this embodiment, the step of obtaining the eye image of the user is further optimized to receive the eye image of the user obtained by the user through a wired and / or wireless communication module. Based on this, the step of determining the distance between the user and the gaze tracking device through the eye image of the user is further optimized as follows: determining the light spot distance of the eyes in the eye image through the eye image Or binocular distance; determining the distance between the user and the gaze tracking device according to the spot distance and / or the binocular distance.
相应的,本实施例的方法具体包括如下执行步骤:Accordingly, the method in this embodiment specifically includes the following execution steps:
S210、通过有线和/或无线通信模块接收用户端获取的用户的眼部图像。S210. Receive a user's eye image obtained by a user terminal through a wired and / or wireless communication module.
用户端可以为各种带有显示平台的操作电子设备的用户,用户端可以设置用于采集电子设备显示平台的屏幕图像的图像采集装置。根据一个实例,用户可以佩戴有智能头戴式设备、例如智能眼镜,该智能头戴式设备具有可以采集电子设备显示平台的屏幕图像的图像采集装置,图像采集装置可以为照相机或摄像头等可以采集目标屏幕图像的装置,本申请实施例仅对此进行解释,而不对此进行限制。The user terminal may be various users of operating electronic devices with a display platform, and the user terminal may be provided with an image acquisition device for acquiring a screen image of the electronic device display platform. According to an example, a user may wear a smart head-mounted device, such as smart glasses, which has an image acquisition device that can capture screen images of a display platform of an electronic device, and the image acquisition device may be a camera or a camera, etc. The device for the target screen image is only explained in the embodiment of the present application, and is not limited thereto.
具体的,在获取到用户的眼部图像后,将采集到的眼部图像通过用户端的无线通信模块发送给视线追踪装置端的无线通信模块,即用户端和显示平台的电子设备端可以通过各自内置的无线通讯模块进行无线数据的传输,以使显示平台的电子设备端获取用户端的图像采集设备采集的用户的眼部图像。Specifically, after acquiring the user's eye image, the collected eye image is sent to the wireless communication module of the gaze tracking device through the wireless communication module on the user side, that is, the electronic device on the user side and the display platform can be built in The wireless communication module performs wireless data transmission, so that the electronic device end of the display platform obtains the user's eye image collected by the user-side image acquisition device.
S220、通过所述眼部图像确定所述眼部图像中眼睛的光斑间距或双眼间距。S220. Determine the spot distance or binocular distance of the eyes in the eye image through the eye image.
S230、根据所述光斑间距和/或所述双眼间距确定所述用户与视线追踪装置之间的距离。S230. Determine a distance between the user and the gaze tracking device according to the spot distance and / or the binocular distance.
地理坐标系,也可称为真实世界的坐标系,是用于确定地物在地球上位置的坐标系。一个特定的地理坐标系是由一个特定的椭球体和一种特定的地图投影构成,其中椭球体是一种对地球形状的数学描述,而地图投影是将球面坐标转换成平面坐标的数学方法,绝大多数的地图都是遵照一种已知的地理坐标系 来显示坐标数据。例如,全国1∶25万地形图就是采用在克拉索夫斯基椭球体上的高斯-克吕格投影。最常用的地理坐标系是经纬度坐标系,这个坐标系可以确定地球上任何一点的位置,需要说明的是经纬度坐标系不是一种平面坐标系,因为度不是标准的长度单位,不可用其量测面积长度。A geographic coordinate system, also called a real-world coordinate system, is a coordinate system used to determine the location of features on the earth. A specific geographic coordinate system is composed of a specific ellipsoid and a specific map projection. The ellipsoid is a mathematical description of the shape of the earth, and the map projection is a mathematical method for converting spherical coordinates into plane coordinates. Most maps display coordinate data according to a known geographic coordinate system. For example, the 1:25 million topographic map of the country uses the Gauss-Kruger projection on the Krasovsky ellipsoid. The most commonly used geographic coordinate system is the latitude and longitude coordinate system. This coordinate system can determine the position of any point on the earth. It should be noted that the latitude and longitude coordinate system is not a flat coordinate system, because degrees are not standard length units and cannot be measured. Area length.
在本申请的技术方案中,以真实世界坐标系为基准,假定用户至视线追踪装置的距离为d,同一眼睛中的光斑在像平面上的光斑间距定义为igd(inter glint distance),双眼间距在像平面上定义为ipd(inter pupil distance)。In the technical solution of the present application, based on the real world coordinate system, it is assumed that the distance from the user to the gaze tracking device is d, and the spot distance on the image plane of the spot in the same eye is defined as igd (inter glint distance) and binocular distance It is defined as ipd (interpupil distance) on the image plane.
可选的,所述根据所述光斑间距和/或所述双眼间距确定所述用户与视线追踪装置之间的距离,包括:Optionally, determining the distance between the user and the gaze tracking device according to the spot distance and / or the binocular distance includes:
通过所述光斑间距和/或双眼间距与所述距离的函数关系或是映射表确定所述用户与视线追踪装置之间的距离。The distance between the user and the gaze tracking device is determined by a function relationship or a mapping table of the spot distance and / or binocular distance and the distance.
具体的,可以建立d与igd,d与ipd,或d与ipd和ipd之间的映射关系估算d。这种映射关系可以为函数(例如以下函数)或映射表。Specifically, a mapping relationship between d and igd, d and ipd, or d and ipd and ipd can be established to estimate d. This mapping relationship may be a function (for example, the following function) or a mapping table.
d=f(igd)d = f (igd)
d=f(ipd)d = f (ipd)
d=f(igd,ipd)d = f (igd, ipd)
其中,对于大部分场景和用户至视线追踪装置的距离d,可以有多种函数,根据下述公式进行参考,具体可以为:Among them, for most scenes and the distance d from the user to the gaze tracking device, there can be various functions, which are referenced according to the following formulas, which can be specifically:
Figure PCTCN2019078025-appb-000001
Figure PCTCN2019078025-appb-000001
具体的,C是个常数。当用户的双眼间距越小(即用户的眼部图像中的双眼距离越远)时,则用户至视线追踪装置的距离越大,用户可根据实际情况的需要决定是否需要减少或是增大用户至视线追踪装置的距离。Specifically, C is a constant. When the distance between the eyes of the user is smaller (that is, the distance between the eyes in the user's eye image is greater), the greater the distance between the user and the gaze tracking device, the user can decide whether to reduce or increase the user according to the actual needs. Distance to gaze tracking device.
or
d=k nipd n+...+k 1ipd 1+C d = k n ipd n + ... + k 1 ipd 1 + C
其中,n为估计方程的次数,可以为2,3,4等。Among them, n is the degree of the estimation equation, which can be 2, 3, 4, and so on.
类似的,也可以通过下述公式进行参考,具体为:Similarly, you can also refer to it by the following formula, specifically:
Figure PCTCN2019078025-appb-000002
Figure PCTCN2019078025-appb-000002
具体的,C是个常数。当用户的同一眼睛中的光斑的光斑间距越小时,则用户至视线追踪装置的距离越大,用户可根据实际情况的需要决定是否需要减少或是增大用户至视线追踪装置的距离。Specifically, C is a constant. When the spot distance of the spot in the same eye of the user is smaller, the distance between the user and the gaze tracking device is larger, and the user can decide whether to reduce or increase the distance from the user to the gaze tracking device according to the actual needs.
or
d=k nigd n+...+k 1igd 1+C d = k n igd n + ... + k 1 igd 1 + C
对于以上k和c,可以通过对大量实验对象的经验统计确定,也可以通过视线追踪装置和用户眼球的空间模型的位置关系推导得出。For the above k and c, it can be determined through empirical statistics on a large number of experimental objects, or can be derived through the positional relationship between the gaze tracking device and the spatial model of the user's eyeball.
需要说明的是,可以对ipd或igd的区间,即函数的定义域进行分区,对多个区间采用不同的函数,以得到更精确的结果。It should be noted that the interval of ipd or igd, that is, the domain of the function, can be partitioned, and different functions are used for multiple intervals to obtain more accurate results.
需要说明的是在确定用户与视线追踪装置之间的距离时,具体是采用确定光斑距离还是双眼间距的方式,可以由用户根据实际情况进行选择,本申请实施例仅对此进行解释说明,不对此做任何限制。It should be noted that when determining the distance between the user and the gaze tracking device, the method of determining the spot distance or the binocular distance can be specifically selected by the user according to the actual situation. This embodiment of the present application only explains this and does not This makes no restrictions.
本申请实施例通过获取用户的眼部图像,确定所述用户与视线追踪装置之间的距离,根据所述距离对所述视线追踪装置主体的位置进行调节,其中所述视线追踪装置主体包括图像采集装置和光源。In the embodiment of the present application, an eye image of a user is obtained, a distance between the user and the gaze tracking device is determined, and a position of the gaze tracking device body is adjusted according to the distance, where the gaze tracking device body includes an image Acquisition device and light source.
实施例三Example three
图4是本申请实施例三提供的一种用户距离估算装置的结构图,本实施例可适用于对用户到视线追踪装置之间的距离进行估算的情况。FIG. 4 is a structural diagram of a user distance estimation device provided in Embodiment 3 of the present application. This embodiment is applicable to a case where a distance between a user and a gaze tracking device is estimated.
如图4所示,所述用户距离估算装置包括:无线通信模块410和图像处理模块420,其中:As shown in FIG. 4, the user distance estimation device includes a wireless communication module 410 and an image processing module 420, where:
无线通信模块410,设置为接收当前用户端采集的用户的眼部图像;The wireless communication module 410 is configured to receive a user's eye image collected by a current user terminal;
图像处理模块420,与所述无线通信模块相连,设置为通过所述用户的眼部图像确定所述用户与视线追踪装置之间的距离。The image processing module 420 is connected to the wireless communication module and is configured to determine a distance between the user and the gaze tracking device through an image of the eye of the user.
本实施例的一种用户距离估算装置,通过获取用户的眼部图像,确定所述用户与视线追踪装置之间的距离,以实现准确的估算出用户到视线追踪装置的距离。A user distance estimation device of this embodiment determines the distance between the user and the gaze tracking device by acquiring an eye image of the user, so as to accurately estimate the distance between the user and the gaze tracking device.
在上述各实施例的基础上,所述无线通信模块410设置为:Based on the above embodiments, the wireless communication module 410 is configured to:
通过有线和/或无线通信模块接收用户端获取的用户的眼部图像。The user's eye image obtained by the user is received through a wired and / or wireless communication module.
在上述各实施例的基础上,所述图像处理模块420,包括:Based on the above embodiments, the image processing module 420 includes:
光斑间距或双眼间距确定单元,设置为通过所述眼部图像确定所述眼部图像中眼睛的光斑间距或双眼间距;A spot distance or binocular distance determination unit, configured to determine, based on the eye image, a spot distance or binocular distance of an eye in the eye image;
距离确定单元,设置为根据所述光斑间距和/或所述双眼间距确定所述用户与视线追踪装置之间的距离。The distance determining unit is configured to determine a distance between the user and the gaze tracking device according to the spot distance and / or the binocular distance.
在上述各实施例的基础上,所述距离确定单元设置为:Based on the above embodiments, the distance determining unit is configured as:
通过所述光斑间距和/或双眼间距与所述距离的函数关系或是映射表确定所述用户与视线追踪装置之间的距离。The distance between the user and the gaze tracking device is determined by a function relationship or a mapping table of the spot distance and / or binocular distance and the distance.
上述各实施例所提供的用户距离估算装置可执行本申请任意实施例所提供的用户距离估算方法,具备执行用户距离估算方法相应的功能模块和有益效果。The user distance estimation device provided by each of the foregoing embodiments can execute the user distance estimation method provided by any embodiment of the present application, and has the corresponding functional modules and beneficial effects of executing the user distance estimation method.
实施例四Embodiment 4
图5是本申请实施例四提供的一种设备的结构示意图。图5示出了适于用来实现本申请实施方式的示例性设备512的框图。图5显示的设备512仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。FIG. 5 is a schematic structural diagram of a device provided in Embodiment 4 of the present application. FIG. 5 shows a block diagram of an exemplary device 512 suitable for use in implementing embodiments of the present application. The device 512 shown in FIG. 5 is only an example, and should not impose any limitation on the functions and scope of use of the embodiments of the present application.
如图5所示,设备512以通用计算设备的形式表现。设备512的组件可以包括但不限于:一个或者多个处理器516,系统存储器528,连接不同系统组件(包括系统存储器528和处理器516)的总线518。As shown in FIG. 5, the device 512 is represented in the form of a general-purpose computing device. The components of the device 512 may include, but are not limited to, one or more processors 516, a system memory 528, and a bus 518 connecting different system components (including the system memory 528 and the processor 516).
总线518表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器516或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。The bus 518 represents one or more of several types of bus structures, including a memory bus or a memory controller, a peripheral bus, a graphics acceleration port, a processor 516, or a local area bus using any of a variety of bus structures. By way of example, these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the enhanced ISA bus, the Video Electronics Standards Association (VESA) local area bus, and peripheral component interconnects ( PCI) bus.
设备512典型地包括多种计算机系统可读介质。这些介质可以是任何能够被设备512访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。The device 512 typically includes a variety of computer system-readable media. These media can be any available media that can be accessed by the device 512, including volatile and non-volatile media, removable and non-removable media.
系统存储器528可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)530和/或高速缓存存储器532。设备512可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储装置534可以用于读写不可移动的、非易失性磁介质(图5未显示,通常称为“硬盘驱动器”)。尽管图5中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下, 每个驱动器可以通过一个或者多个数据介质接口与总线518相连。存储器528可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本申请各实施例的功能。 System memory 528 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 530 and / or cache memory 532. The device 512 may further include other removable / non-removable, volatile / nonvolatile computer system storage media. For example only, the storage device 534 may be used to read and write non-removable, non-volatile magnetic media (not shown in FIG. 5 and is commonly referred to as a “hard drive”). Although not shown in FIG. 5, a disk drive for reading and writing to a removable non-volatile disk (such as a "floppy disk"), and a removable non-volatile optical disk (such as a CD-ROM, DVD-ROM, etc.) may be provided. Or other optical media). In these cases, each drive may be connected to the bus 518 through one or more data medium interfaces. The memory 528 may include at least one program product having a set (eg, at least one) of program modules configured to perform the functions of the embodiments of the present application.
具有一组(至少一个)程序模块542的程序/实用工具540,可以存储在例如存储器528中,这样的程序模块542包括但不限于操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块542通常执行本申请所描述的实施例中的功能和/或方法。A program / utility tool 540 having a set (at least one) of program modules 542 may be stored in, for example, the memory 528. Such program modules 542 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data Each of these examples, or some combination, may include an implementation of a network environment. Program module 542 generally performs functions and / or methods in the embodiments described herein.
设备512也可以与一个或多个外部设备514(例如键盘、指向设备、显示器524等)通信,还可与一个或者多个使得用户能与该设备512交互的设备通信,和/或与使得该设备512能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口522进行。并且,设备512还可以通过网络适配器520与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器520通过总线518与设备512的其它模块通信。应当明白,尽管图中未示出,可以结合设备512使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The device 512 may also communicate with one or more external devices 514 (eg, keyboard, pointing device, display 524, etc.), may also communicate with one or more devices that enable a user to interact with the device 512, and / or with the device that enables The device 512 can communicate with any device (eg, network card, modem, etc.) that is in communication with one or more other computing devices. This communication can be performed through an input / output (I / O) interface 522. Moreover, the device 512 may also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through the network adapter 520. As shown, the network adapter 520 communicates with other modules of the device 512 through the bus 518. It should be understood that although not shown in the figure, other hardware and / or software modules may be used in conjunction with the device 512, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and Data backup storage system.
处理器516通过运行存储在系统存储器528中的程序,从而执行各种功能应用以及数据处理,例如实现本申请实施例所提供的用户距离估算方法,该方法包括:The processor 516 executes various functional applications and data processing by running a program stored in the system memory 528, for example, implementing a user distance estimation method provided in the embodiment of the present application. The method includes:
获取用户的眼部图像;Obtaining an image of a user's eye;
通过所述用户的眼部图像确定所述用户与视线追踪装置之间的距离。A distance between the user and the gaze tracking device is determined by an image of the eye of the user.
当然,本领域技术人员可以理解,处理器还可以实现本申请任意实施例所提供的用户距离估算方法的技术方案。Of course, those skilled in the art can understand that the processor may also implement the technical solution of the user distance estimation method provided by any embodiment of the present application.
实施例五Example 5
本申请实施例五还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本申请实施例所提供的用户距离估算方法,该方法包括:Embodiment 5 of the present application further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the user distance estimation method provided by the embodiment of the present application is implemented. The method includes:
获取用户的眼部图像;Obtaining an image of a user's eye;
通过所述用户的眼部图像确定所述用户与视线追踪装置之间的距离。A distance between the user and the gaze tracking device is determined by an image of the eye of the user.
当然,本申请实施例所提供的一种计算机可读存储介质,其上存储的计算机程序不限于如上所述的方法操作,还可以执行本申请任意实施例所提供的用户距离估算方法中的相关操作。Certainly, the computer-readable storage medium provided in the embodiment of the present application is not limited to the method operations described above, and the computer program stored on the computer program can also perform the correlation in the user distance estimation method provided by any embodiment of the present application. operating.
本申请实施例的计算机存储介质,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以 被指令执行系统、装置或者器件使用或者与其结合使用。The computer storage medium in the embodiments of the present application may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (non-exhaustive list) of computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), Erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing. In this document, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus, or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。The computer-readable signal medium may include a data signal in baseband or propagated as part of a carrier wave, which carries a computer-readable program code. Such a propagated data signal may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. The computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, and the computer-readable medium may send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于无线、电线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言或其组合来编写用于执行本申请操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of this application may be written in one or more programming languages, or a combination thereof, including programming languages such as Java, Smalltalk, C ++, and also conventional Procedural programming language—such as "C" or similar programming language. The program code can be executed entirely on the user's computer, partly on the user's computer, as an independent software package, partly on the user's computer, partly on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider) Internet connection).
注意,上述仅为本申请的较佳实施例及所运用技术原理。本领域技术人员会理解,本申请不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本申请的保护范围。因此,虽 然通过以上实施例对本申请进行了较为详细的说明,但是本申请不仅仅限于以上实施例,在不脱离本申请构思的情况下,还可以包括更多其他等效实施例,而本申请的范围由所附的权利要求范围决定。Note that the above are only the preferred embodiments of this application and the technical principles applied. Those skilled in the art will understand that this application is not limited to the specific embodiments described herein, and that those skilled in the art can make various obvious changes, readjustments, and substitutions without departing from the scope of protection of this application. Therefore, although the present application has been described in more detail through the above embodiments, this application is not limited to the above embodiments, and without departing from the concept of this application, it may also include more other equivalent embodiments, and this application The scope is determined by the scope of the appended claims.

Claims (10)

  1. 一种用户距离估算方法,包括:A user distance estimation method includes:
    获取用户的眼部图像;Obtaining an image of a user's eye;
    通过所述用户的眼部图像确定所述用户与视线追踪装置之间的距离。A distance between the user and the gaze tracking device is determined by an image of the eye of the user.
  2. 根据权利要求1所述的方法,其中,所述获取用户的眼部图像,包括:The method according to claim 1, wherein the acquiring an eye image of a user comprises:
    通过有线和/或无线通信模块接收用户端获取的用户的眼部图像。The user's eye image obtained by the user is received through a wired and / or wireless communication module.
  3. 根据权利要求1所述的方法,其中,所述通过所述用户的眼部图像确定所述用户与视线追踪装置之间的距离,包括:The method according to claim 1, wherein the determining the distance between the user and the gaze tracking device through the eye image of the user comprises:
    通过所述眼部图像确定所述眼部图像中眼睛的光斑间距或双眼间距;Determining the spot distance or binocular distance of the eyes in the eye image through the eye image;
    根据所述光斑间距和/或所述双眼间距确定所述用户与视线追踪装置之间的距离。A distance between the user and the gaze tracking device is determined according to the spot distance and / or the binocular distance.
  4. 根据权利要求3所述的方法,其中,所述根据所述光斑间距和/或所述双眼间距确定所述用户与视线追踪装置之间的距离,包括:The method according to claim 3, wherein determining the distance between the user and the gaze tracking device according to the spot distance and / or the binocular distance comprises:
    通过所述光斑间距和/或双眼间距与所述距离的函数关系或是映射表确定所述用户与视线追踪装置之间的距离。The distance between the user and the gaze tracking device is determined by a function relationship or a mapping table of the spot distance and / or binocular distance and the distance.
  5. 一种用户距离估算装置,包括目标屏幕、视线追踪装置主体、图像采集装置和红外光源,还包括:A user distance estimation device includes a target screen, a gaze tracking device main body, an image acquisition device, and an infrared light source, and further includes:
    无线通信模块,设置为接收当前用户端采集的用户的眼部图像;A wireless communication module configured to receive a user's eye image collected by a current user terminal;
    图像处理模块,与所述无线通信模块相连,设置为通过所述用户的眼部图像确定所述用户与视线追踪装置之间的距离。The image processing module is connected to the wireless communication module and is configured to determine a distance between the user and the gaze tracking device through an image of the eye of the user.
  6. 根据权利要求5所述的装置,其中,所述无线通信模块设置为:The apparatus according to claim 5, wherein the wireless communication module is configured to:
    通过有线和/或无线通信模块接收用户端获取的用户的眼部图像。The user's eye image obtained by the user is received through a wired and / or wireless communication module.
  7. 根据权利要求5所述的装置,其中,所述图像处理模块,包括:The apparatus according to claim 5, wherein the image processing module comprises:
    光斑间距或双眼间距确定单元,设置为通过所述眼部图像确定所述眼部图像中眼睛的光斑间距或双眼间距;A spot distance or binocular distance determination unit, configured to determine, based on the eye image, a spot distance or binocular distance of an eye in the eye image;
    距离确定单元,设置为根据所述光斑间距和/或所述双眼间距确定所述用户与视线追踪装置之间的距离。The distance determining unit is configured to determine a distance between the user and the gaze tracking device according to the spot distance and / or the binocular distance.
  8. 根据权利要求7所述的装置,其中,所述距离确定单元设置为:The apparatus according to claim 7, wherein the distance determination unit is configured to:
    通过所述光斑间距和/或双眼间距与所述距离的函数关系或是映射表确定所述用户与视线追踪装置之间的距离。The distance between the user and the gaze tracking device is determined by a function relationship or a mapping table of the spot distance and / or binocular distance and the distance.
  9. 一种设备,所述设备包括:A device includes:
    一个或多个处理器;One or more processors;
    存储装置,设置为存储一个或多个程序;A storage device configured to store one or more programs;
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-4中任一所述的用户距离估算方法。When the one or more programs are executed by the one or more processors, the one or more processors enable the user distance estimation method according to any one of claims 1-4.
  10. 一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如权利要求1-4中任一所述的用户距离估算方法。A computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements the user distance estimation method according to any one of claims 1-4.
PCT/CN2019/078025 2018-08-29 2019-03-13 User distance estimation method and apparatus, device, and storage medium WO2020042589A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810998616.0A CN109284002B (en) 2018-08-29 2018-08-29 User distance estimation method, device, equipment and storage medium
CN201810998616.0 2018-08-29

Publications (1)

Publication Number Publication Date
WO2020042589A1 true WO2020042589A1 (en) 2020-03-05

Family

ID=65184191

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/078025 WO2020042589A1 (en) 2018-08-29 2019-03-13 User distance estimation method and apparatus, device, and storage medium

Country Status (2)

Country Link
CN (1) CN109284002B (en)
WO (1) WO2020042589A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109284002B (en) * 2018-08-29 2020-12-29 北京七鑫易维信息技术有限公司 User distance estimation method, device, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103366157A (en) * 2013-05-03 2013-10-23 马建 Method for judging line-of-sight distance of human eye
US20140098198A1 (en) * 2012-10-09 2014-04-10 Electronics And Telecommunications Research Institute Apparatus and method for eye tracking
CN104850842A (en) * 2015-05-21 2015-08-19 北京中科虹霸科技有限公司 Mobile terminal iris identification man-machine interaction method
CN104921697A (en) * 2015-05-18 2015-09-23 华南师范大学 Method for quickly measuring longitudinal distances of sight of human eyes
CN105205438A (en) * 2014-09-05 2015-12-30 北京七鑫易维信息技术有限公司 Method of using infrared eyeball to track and control distance of eyes and screen and system thereof
CN106662917A (en) * 2014-04-11 2017-05-10 眼球控制技术有限公司 Systems and methods of eye tracking calibration
US20170205876A1 (en) * 2016-01-20 2017-07-20 Thalmic Labs Inc. Systems, devices, and methods for proximity-based eye tracking
CN109284002A (en) * 2018-08-29 2019-01-29 北京七鑫易维信息技术有限公司 A kind of user distance evaluation method, device, equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI432172B (en) * 2008-10-27 2014-04-01 Utechzone Co Ltd Pupil location method, pupil positioning system and storage media
CN204087228U (en) * 2014-08-11 2015-01-07 北京天诚盛业科技有限公司 The harvester of iris image
WO2016078728A1 (en) * 2014-11-21 2016-05-26 Metaio Gmbh Method and system for determining spatial coordinates of a 3d reconstruction of at least part of a real object at absolute spatial scale
CN107562190A (en) * 2017-08-03 2018-01-09 广东小天才科技有限公司 A kind of open method and equipment of eyeshield pattern
CN108227925A (en) * 2018-01-08 2018-06-29 广州视源电子科技股份有限公司 A kind of method, apparatus, equipment and the storage medium of sitting posture adjustment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140098198A1 (en) * 2012-10-09 2014-04-10 Electronics And Telecommunications Research Institute Apparatus and method for eye tracking
CN103366157A (en) * 2013-05-03 2013-10-23 马建 Method for judging line-of-sight distance of human eye
CN106662917A (en) * 2014-04-11 2017-05-10 眼球控制技术有限公司 Systems and methods of eye tracking calibration
CN105205438A (en) * 2014-09-05 2015-12-30 北京七鑫易维信息技术有限公司 Method of using infrared eyeball to track and control distance of eyes and screen and system thereof
CN104921697A (en) * 2015-05-18 2015-09-23 华南师范大学 Method for quickly measuring longitudinal distances of sight of human eyes
CN104850842A (en) * 2015-05-21 2015-08-19 北京中科虹霸科技有限公司 Mobile terminal iris identification man-machine interaction method
US20170205876A1 (en) * 2016-01-20 2017-07-20 Thalmic Labs Inc. Systems, devices, and methods for proximity-based eye tracking
CN109284002A (en) * 2018-08-29 2019-01-29 北京七鑫易维信息技术有限公司 A kind of user distance evaluation method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN109284002B (en) 2020-12-29
CN109284002A (en) 2019-01-29

Similar Documents

Publication Publication Date Title
US11403757B2 (en) Sight line detection method and sight line detection device
US11004223B2 (en) Method and device for obtaining image, and recording medium thereof
KR102334139B1 (en) Eye gaze tracking based upon adaptive homography mapping
WO2019242262A1 (en) Augmented reality-based remote guidance method and device, terminal, and storage medium
JP6853188B2 (en) Devices, systems, and methods for determining interpupillary distance
WO2019237942A1 (en) Line-of-sight tracking method and apparatus based on structured light, device, and storage medium
WO2020228643A1 (en) Interactive control method and apparatus, electronic device and storage medium
EP3656302A1 (en) System and method for human gait analysis
US10955245B2 (en) System and method for low latency, high performance pose fusion
JP2018505457A (en) Improved calibration for eye tracking system
KR20180013277A (en) Electronic apparatus for displaying graphic object and computer readable recording medium
CN112102389A (en) Method and system for determining spatial coordinates of a 3D reconstruction of at least a part of a physical object
WO2017126172A1 (en) Information processing device, information processing method, and recording medium
CN110555426A (en) Sight line detection method, device, equipment and storage medium
KR20170097884A (en) Method for processing image and electronic device thereof
US11195259B2 (en) Apparatus and method for dynamic multi-camera rectification using depth camera
US20200042777A1 (en) Method, apparatus and device for determining an object, and storage medium for the same
US11789528B1 (en) On-the-fly calibration for improved on-device eye tracking
US10185399B2 (en) Image processing apparatus, non-transitory computer-readable recording medium, and image processing method
WO2020042589A1 (en) User distance estimation method and apparatus, device, and storage medium
CN113741682A (en) Method, device and equipment for mapping fixation point and storage medium
US20220345621A1 (en) Scene lock mode for capturing camera images
KR20190143287A (en) Method for estimating a distance between iris and imaging device, and terminal for executing the same
US11468657B2 (en) Storage medium, information processing apparatus, and line-of-sight information processing method
CN113012281B (en) Determination method and device for human body model, electronic equipment and storage medium

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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

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

122 Ep: pct application non-entry in european phase

Ref document number: 19855966

Country of ref document: EP

Kind code of ref document: A1