Control method and device based on eyeball tracking, head-mounted equipment and medium
Through a control method based on eye tracking, the eyeball image and interpupillary distance of smart glasses are used to determine the binocular gaze distance and control the focus of the zoom lens. This solves the problem of low definition and inability to focus in photos taken by smart glasses, and achieves high definition and subject Outstanding shooting effect.
Patent Information
- Application Number
- CN202411216081.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-02
- Publication Date
- 2024-10-01
AI Technical Summary
The lack of a display screen in smart glasses makes it impossible to preview and focus the photos in real time, resulting in low definition of the photos and the inability to highlight the subject.
Using a control method based on eye tracking, by obtaining the wearer's eyeball image and interpupillary distance, the binocular gaze distance is determined, and the focus of the zoom lens is controlled to achieve automatic focusing.
It improves the overall clarity of the photos taken, can highlight the subject, and avoids the tedious process of manual focusing.
Smart Images

Figure CN118741073A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of head-mounted technology, and more specifically, to a control method, device, head-mounted equipment and medium based on eye tracking. Background Art
[0002] At present, smart glasses that can take pictures are increasingly widely used. Such smart glasses usually do not have a display screen, that is, they do not have a display function, which makes it impossible for users to preview the photos taken by the smart glasses in real time, and they cannot focus the pictures like manually operating a smartphone. Therefore, such smart glasses often use a fixed-focus camera module, but this in turn causes the photos taken by the smart glasses to often have shortcomings such as poor overall picture clarity and inability to focus to highlight the subject. Summary of the invention
[0003] One purpose of the present application is to provide a new technical solution for control based on eye tracking.
[0004] According to a first aspect of the present application, a control method based on eye tracking is provided, which is applied to a head-mounted device, wherein a first camera module of the head-mounted device for collecting an environmental image includes a zoom lens, and the method includes: Acquire a first eyeball image of a wearer wearing the head mounted device; Determine the binocular gaze distance of the wearer according to the first eyeball image and the pupil distance of the wearer, where the binocular gaze distance is the distance between the binocular center position of the wearer and the gaze point of the wearer; The zoom lens is controlled to focus according to the binocular gaze distance.
[0005] Optionally, determining the binocular gaze distance of the wearer according to the first eyeball image and the pupil distance of the wearer includes: Determine, based on the first eyeball image, a first angle between a first eyeball sight line direction of a first eyeball of the wearer and a first reference direction, and determine a second angle between a second eyeball sight line direction of a second eyeball of the wearer and a second reference direction; When the first angle is the same as the second angle, the binocular gaze distance of the wearer is determined according to any one of the first angle and the second angle, the pupil distance and a first mapping relationship, and the first mapping relationship is used to reflect the correspondence between the first angle and the second angle of the wearer, the pupil distance and the binocular gaze distance.
[0006] Optionally, the method further comprises: When the first angle is different from the second angle, the binocular gaze distance of the wearer is determined according to the first angle, the second angle, the pupil distance and a second mapping relationship, and the second mapping relationship is used to reflect the correspondence between the first angle, the second angle, the pupil distance and the binocular gaze distance of the wearer.
[0007] Optionally, the first reference direction and the second reference direction are front-view directions, and before acquiring a first eyeball image of a wearer wearing the head mounted device, the method further includes: Outputting prompting information for prompting the wearer to look straight ahead at least at a preset distance; When the wearer is looking straight ahead at a preset distance, acquiring a second eyeball image of the wearer; The first reference direction is recorded as the first reference direction, and the second reference direction is recorded as the second reference direction, which corresponds to the first eye sight line direction of the second eye image.
[0008] Optionally, before determining the binocular gaze distance of the wearer according to the first eyeball image and the pupil distance of the wearer, the method further includes: Acquire an input operation of an input interface, where the input interface is used to input the pupil distance; In response to the input operation, the pupil distance is determined.
[0009] Optionally, the zoom lens is a T-Lens lens, and controlling the focus of the zoom lens according to the binocular gaze distance includes: Determining a target voltage applied to the zoom lens according to the binocular gaze distance; The target voltage is applied to the zoom lens.
[0010] Optionally, before acquiring a first eyeball image of a wearer wearing the head mounted device, the method further includes: In response to a set trigger event, a first eyeball image of a wearer wearing the head mounted device is acquired.
[0011] According to a second aspect of the present application, a control device based on eye tracking is provided, which is applied to a head-mounted device, wherein a first camera module of the head-mounted device for collecting an environmental image includes a zoom lens, and the device includes: An acquisition module, used for acquiring a first eyeball image of a wearer wearing the head mounted device; a determination module, configured to determine the binocular gaze distance of the wearer according to the first eyeball image and the pupil distance of the wearer, wherein the binocular gaze distance is the distance between the binocular center position of the wearer and the gaze point of the wearer; A control module is used to control the focus of the zoom lens according to the binocular gaze distance.
[0012] According to a third aspect of the present application, a head mounted device is provided, the head mounted device comprising a first camera module for collecting environmental images and an eye tracking based control device as described in the second aspect, wherein the first camera module comprises a zoom lens; Alternatively, the head-mounted device includes the first camera module, a memory and a processor, the memory is used to store computer instructions, and the processor is used to call the computer instructions from the memory to execute the method as described in any one of the first aspects to control the focus of the zoom lens.
[0013] According to a fourth aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method according to any one of the first aspects is implemented.
[0014] The present application provides a control method based on eye tracking, which is applied to a head-mounted device. The first camera module of the head-mounted device for collecting environmental images includes a zoom lens. The method includes: obtaining a first eye image of a wearer wearing the head-mounted device; determining the binocular gaze distance of the wearer based on the first eye image and the pupil distance of the wearer, wherein the binocular gaze distance is the distance between the binocular center position of the wearer and the wearer's gaze point; and controlling the focus of the zoom lens based on the binocular gaze distance. Based on this method, it is possible to control the focal length of the zoom lens of the first camera module of the head-mounted device to be the same as the binocular gaze distance of the wearer, thereby completing the automatic focus of the first camera module. In this way, the overall clarity of the environmental image collected by the first camera module is high, and the subject can be highlighted.
[0015] Other features and advantages of the present application will become apparent from the following detailed description of exemplary embodiments of the present application with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the application and, together with the description, serve to explain the principles of the application.
[0017] Figure 1 A frame of a hardware configuration of a head mounted device for implementing a control method based on eye tracking according to an embodiment of the present application Figure 1 ; Figure 2 It is a flowchart of a control method based on eye tracking provided in an embodiment of the present application; Figure 3 A diagram of a graphical relationship between an eyeball and a gaze point provided according to an embodiment of the present application Figure 1 ; Figure 4 A diagram of a graphical relationship between an eyeball and a gaze point provided according to an embodiment of the present application Figure 2 ; Figure 5 is a structural schematic diagram of a control device based on eye tracking provided according to an embodiment of the present application; Figure 6 A frame of a hardware configuration of a head mounted device for implementing a control method based on eye tracking according to an embodiment of the present application Figure 2 . DETAILED DESCRIPTION
[0018] Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that unless otherwise specifically stated, the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present application.
[0019] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present application, its application, or uses.
[0020] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.
[0021] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0022] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0023] Figure 1 A frame of a hardware configuration of a head mounted device for implementing a control method based on eye tracking according to an embodiment of the present application Figure 1 .
[0024] The head-mounted device 1000 is specifically a head-mounted device that can take pictures, and may include a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, an input device 1500, a speaker 1600, a microphone 1700, and a camera module 1800, etc. Among them, the processor 1100 may be a central processing unit CPU, a microprocessor MCU, etc. The memory 1200 includes, for example, a ROM (read-only memory), a RAM (random access memory), a non-volatile memory such as a hard disk, etc. The interface device 1300 includes, for example, a USB interface, a headphone interface, etc. The communication device 1400 is capable of wired or wireless communication, for example. The input device 1500 may include, for example, a touch screen, a keyboard, etc. The user may input / output voice information through the speaker 1600 and the microphone 1700. The camera device 1800 includes a first camera module and a second camera module, wherein the first camera module is used to collect environmental images, and the first camera module includes a zoom lens, and the second camera module is used to collect environmental images.
[0025] Despite Figure 1 Multiple devices are shown for the head-mounted device 1000, but the present application may only involve some of the devices, for example, the head-mounted device 1000 only involves the memory 1200, the processor 1100 and the camera device 1800.
[0026] In the embodiment of the present application, the memory 1200 of the head mounted device 1000 is used to store instructions, which are used to control the processor 1100 to execute the eye tracking based control method provided in the embodiment of the present application, thereby controlling the focus of the zoom lens.
[0027] In the above description, the technician can design instructions according to the scheme disclosed in this application. How instructions control the processor to operate is well known in the art, so it will not be described in detail here.
[0028] The eye tracking control method provided in this application is applied to Figure 1 The head-mounted device shown includes a first camera module for collecting environmental images, and the first camera module includes a zoom lens. In the present application, the focus of the first camera module is achieved by controlling the zoom lens. That is to say, the head-mounted device involved in the present application adopts a camera module with adjustable focal length, which provides a hardware basis for the eye tracking-based control method provided in the present application.
[0029] like Figure 2 As shown, the eye tracking-based control method adopted in the present application includes the following steps S2100 to S2300.
[0030] Step S2100: Acquire a first eyeball image of a wearer wearing a head mounted device.
[0031] In the present application, the head-mounted device also includes a second camera module, which is used to capture eye images.
[0032] Step S2200: determining the binocular gaze distance of the wearer according to the first eyeball image and the pupil distance of the wearer.
[0033] The binocular gaze distance is the distance between the center position of the wearer's binoculars and the wearer's gaze point.
[0034] In one embodiment of the present application, the pupil distance of the wearer may be manually measured in advance and stored in the head mounted device. Based on this, the eye tracking based control method provided by the present application further includes the following steps S2210 and S2211 before the above step S2200.
[0035] Step S2210, obtaining an input operation of an input interface, wherein the input interface is used to input pupil distance.
[0036] Step S2211, in response to an input operation, determining the pupil distance.
[0037] In this embodiment, the head mounted device provides an input interface for the wearer to input the wearer's pupil distance. The wearer performs an input operation by inputting his own pupil distance in the input interface. The head mounted device responds to the input operation to obtain the wearer's pupil distance.
[0038] In this embodiment, the first eyeball image is used to determine the gaze direction of the wearer. The head-mounted device determines the binocular gaze distance of the wearer according to the gaze direction of the wearer and the pupil distance of the wearer. The gaze direction is determined by the eyeball sight directions corresponding to the two eyeballs of the wearer. Based on this, the above step S2200 can be implemented by the following steps S2220 and S2221.
[0039] Step S2220, determining a first angle between a first eye sight direction of a first eye of the wearer and a first reference direction, and determining a second angle between a second eye sight direction of a second eye of the wearer and a second reference direction based on the first eye image.
[0040] In this embodiment, the first eyeball can be the left eyeball of the wearer, and correspondingly, the second eyeball is the right eyeball of the wearer. Of course, the second eyeball can also be the right eyeball of the wearer, and correspondingly, the second eyeball is the left eyeball of the wearer.
[0041] The first reference direction is the sight direction of the first eyeball when looking straight ahead, and the second reference direction is the sight direction of the second eyeball when looking straight ahead.
[0042] In the present application, the first eye image is processed by an eye tracking algorithm to obtain a first angle between a first eye sight direction of the first eye and a first reference direction, and a second angle between a second eye sight direction of the second eye and a second reference direction.
[0043] Step S2221, when the first angle and the second angle are the same, determine the binocular gaze distance of the wearer according to any one of the first angle and the second angle, the pupil distance and the first mapping relationship, and the first mapping relationship is used to reflect the correspondence between the first angle and the second angle of the wearer, the pupil distance and the binocular gaze distance.
[0044] In this application, when the first angle and the second angle are the same, it means that the wearer's gaze direction is normal. Figure 3 As shown, the first mapping relationship is determined according to the trigonometric function as shown in the following formula 1.
[0045] (Formula 1) Among them, IPD represents the pupil distance, a1 represents the distance between the binocular center point position P and the center of the first eyeball or the center of the second eyeball, and d1 represents the binocular gaze distance in the non-emmetropia case. 1 represents the first angle and the second angle.
[0046] On the basis of the above formula 1, the specific implementation of the above step S2221 is: substituting any one of the first angle and the second angle and the pupil distance into the above formula 2 to obtain the binocular gaze distance.
[0047] It should be noted that Figure 3 And the following Figure 4 P in is the binocular center position.
[0048] Corresponding to the above step S2221, the eye tracking-based control method provided in the present application also includes the following step S2222.
[0049] Step S2222, when the first angle and the second angle are different, determine the binocular gaze distance of the wearer according to the first angle, the second angle, the pupil distance and the second mapping relationship, and the second mapping relationship is used to reflect the correspondence between the wearer's first angle, the second angle, the pupil distance and the binocular gaze distance.
[0050] In this embodiment, when the first angle and the second angle are different, it indicates that the wearer's gaze direction is non-rectilinear. Figure 4 As shown, according to trigonometric functions, there exists a corresponding relationship between the first eyeball, the second eyeball and the gaze point as shown in Formula 2, Formula 3, Formula 4 and Formula 5.
[0051] (Formula 2) (Formula 3) (Formula 4) (Formula 5) Combining the above formulas 2 to 5, the second mapping relationship can be specifically expressed as the following formula 6.
[0052] (Formula 6) Wherein, b represents the distance between the center of the first eyeball and the set point, the set point is the vertical point on the line between the center point of the first eyeball and the center point of the second eyeball corresponding to the fixation point, a2 represents the distance between the center point of the second eyeball and the set point, 2 represents the angle between the first eye sight direction of the first eye and the first reference direction, β represents the angle between the second eye sight direction of the second eye and the second reference direction, c represents the distance between the gaze point and the set point, and d2 represents the binocular gaze distance in the non-emmetropia case.
[0053] When the binocular gaze distance of the wearer is determined based on the above content, the following step S2300 is performed to achieve focusing of the zoom lens.
[0054] Step S2300: Control the focus of the zoom lens according to the binocular gaze distance.
[0055] In this embodiment, the specific implementation of the above step S2300 may be: adjusting the focal length of the zoom lens to the binocular gaze distance. Based on this, the focal length of the zoom lens of the first camera module of the head mounted device can be made the same as the binocular gaze distance of the wearer, and the auto focus of the first camera module is completed. In this way, the overall clarity of the environmental image collected by the first camera module is high, and the subject can be highlighted.
[0056] In one embodiment of the present application, the zoom lens is a T-Lens lens. On this basis, the above step S2300 is specifically implemented through the following steps S2310 and S2311.
[0057] Step S2310, determining a target voltage applied to the zoom lens according to the binocular gaze distance.
[0058] Step S2311, applying a target voltage to the zoom lens.
[0059] In this embodiment, when the zoom lens is a T-Lens lens, there is a corresponding relationship between the voltage on the zoom lens and the focal length. Based on this, when the focal length of the zoom lens is equal to the binocular gaze distance, the voltage required on the zoom lens can be recorded as the target voltage. Further, the target voltage is applied to the zoom lens. At this time, the focal length of the zoom lens is equal to the binocular gaze distance.
[0060] The present application provides a control method based on eye tracking, which is applied to a head-mounted device. The first camera module of the head-mounted device for collecting environmental images includes a zoom lens. The method includes: obtaining a first eye image of a wearer wearing the head-mounted device; determining the binocular gaze distance of the wearer based on the first eye image and the pupil distance of the wearer, wherein the binocular gaze distance is the distance between the binocular center position of the wearer and the wearer's gaze point; and controlling the focus of the zoom lens based on the binocular gaze distance. Based on this method, the focal length of the zoom lens of the first camera module of the head-mounted device can be controlled to be the same as the binocular gaze distance of the wearer, thereby completing the automatic focus of the first camera module. In this way, the overall clarity of the environmental image collected by the first camera module is high, and the subject can be highlighted.
[0061] In one embodiment of the present application, based on the above steps S2220 to S2222, when the first reference direction and the second reference direction are the emmetropia direction, the eye tracking-based control method provided by the present application further includes a step of calibrating the first reference direction and the second reference direction before the above step S2100. This step is specifically implemented by the following steps S2110 to S2112.
[0062] Step S2110: outputting a prompt message to prompt the wearer to look straight ahead at least at a preset distance.
[0063] In this embodiment, the prompt information may be a voice type prompt information, and of course may also be other types of prompt information, such as vibration information. The preset distance is the binocular gaze distance of the wearer when the first eyeball sight direction and the second eyeball sight direction of the wearer can represent the standard emmetropia direction. The preset distance is related to the pupil distance of the wearer and can be set according to experience or implementation.
[0064] Step S2111, when the wearer is looking straight ahead at a preset distance, a second eyeball image of the wearer is obtained.
[0065] In this embodiment, after the head mounted device outputs a prompt message prompting the wearer to look straight ahead at least at a preset distance, the wearer looks straight ahead at least at a preset distance within at least a preset time period according to the prompt message. At a time corresponding to the preset time period after the head mounted device outputs the prompt message, it is considered that the wearer looks straight ahead at least at a preset distance, and at this time, an image of the wearer's eyeball is captured through the second camera module to obtain a second eyeball image.
[0066] Step S2112: record the first eye sight direction corresponding to the second eye image as the first reference direction, and record the second eye sight direction corresponding to the second eye image as the second reference direction.
[0067] In this embodiment, since the second eye image is the eye image of the wearer when looking directly at a preset distance, the first eye sight direction corresponding to the second eye image is the first reference direction, and the second eye sight direction corresponding to the second eye image is the second reference direction.
[0068] Based on the above steps S2110 to S2112, the calibration of the first reference direction and the second reference direction can be completed, which can provide a basis for obtaining accurate first angle and second angle.
[0069] In one embodiment of the present application, the above step S2100 can also be implemented through the following step S2110.
[0070] Step S2120: In response to the set trigger event, a first eye image of the wearer wearing the head mounted device is obtained.
[0071] In the present application, the trigger event is set to be triggered by the user, which is used to trigger the head mounted device to execute the above steps S2100 to S2300.
[0072] The trigger event is set to be an input operation performed by the wearer to trigger the head-mounted device to execute the above steps S2100 to S2300, such as pressing a button for triggering the head-mounted device to execute the above steps S2100 to S2300, performing a gesture for triggering the head-mounted device to execute the above steps S2100 to S2300, inputting a set voice for triggering the head-mounted device to execute the above steps S2100 to S2300, etc.
[0073] In this embodiment, when the user triggers the set trigger event, the above step 2100 is executed, and then the above steps S2200 and S2300 are further executed to complete the automatic focus of the head-mounted device. In this way, on the one hand, the head-mounted device can be automatically focused, avoiding the wearer from performing multiple manual focusing in the process of taking multiple photos continuously, and on the other hand, it can also avoid unnecessary automatic focusing of the head-mounted device when the photo requirements are low.
[0074] The present application also provides a control device 500 based on eye tracking, which is applied to a head-mounted device, wherein a first camera module of the head-mounted device for collecting environmental images includes a zoom lens, such as Figure 5 As shown, the eye-tracking-based control device 500 includes: An acquisition module 510 is used to acquire a first eyeball image of a wearer wearing the head mounted device; A determination module 520, configured to determine a binocular gaze distance of the wearer according to the first eyeball image and the pupil distance of the wearer, wherein the binocular gaze distance is a distance between a binocular center position of the wearer and a gaze point of the wearer; The control module 530 is used to control the focus of the zoom lens according to the binocular gaze distance.
[0075] In one embodiment of the present application, the determination module 520 is specifically configured to: determine, based on the first eyeball image, a first angle between a first eyeball sight line direction of a first eyeball of the wearer and a first reference direction, and determine a second angle between a second eyeball sight line direction of a second eyeball of the wearer and a second reference direction; When the first angle is the same as the second angle, the binocular gaze distance of the wearer is determined according to any one of the first angle and the second angle, the pupil distance and a first mapping relationship, and the first mapping relationship is used to reflect the correspondence between the first angle and the second angle of the wearer, the pupil distance and the binocular gaze distance.
[0076] In one embodiment of the present application, the determination module 520 is further specifically used to: when the first angle and the second angle are different, determine the binocular gaze distance of the wearer according to the first angle, the second angle, the pupil distance and a second mapping relationship, and the second mapping relationship is used to reflect the correspondence between the first angle, the second angle, the pupil distance and the binocular gaze distance of the wearer.
[0077] In one embodiment of the present application, the first reference direction and the second reference direction are front-view directions. On this basis, the eye-tracking-based control device 500 provided by the present application further includes: A calibration module, used for outputting prompt information to prompt the wearer to look straight ahead at least at a preset distance; When the wearer is looking straight ahead at a preset distance, acquiring a second eyeball image of the wearer; The first reference direction is recorded as the first reference direction, and the second reference direction is recorded as the second reference direction, which corresponds to the first eye sight line direction of the second eye image.
[0078] In one embodiment of the present application, the determination module 520 is further configured to: Acquire an input operation of an input interface, where the input interface is used to input the pupil distance; In response to the input operation, the pupil distance is determined.
[0079] In one embodiment of the present application, the zoom lens is a T-Lens lens, and the control module 530 is specifically used to: Determining a target voltage applied to the zoom lens according to the binocular gaze distance; The target voltage is applied to the zoom lens.
[0080] In one embodiment of the present application, the acquisition module 510 is specifically configured to acquire a first eye image of a wearer wearing the head mounted device in response to a set trigger event.
[0081] The present application also provides a head mounted device 600, the head mounted device 600 comprising a first camera module for collecting environmental images and any one of the eye tracking based control devices 500 provided in the above eye tracking based control device embodiments, the first camera module comprising a zoom lens; Or, if Figure 6 As shown, the head mounted device 600 includes the first camera module 630, a memory 610 and a processor 620, wherein the memory 610 is used to store computer instructions, and the processor 620 is used to call the computer instructions from the memory 610 to execute any method as described in the above-mentioned eye tracking-based control method embodiments to control the focus of the zoom lens.
[0082] The present application also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method according to any one of the above-mentioned embodiments of the control method based on eye tracking is implemented.
[0083] The present application may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present application.
[0084] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. More specific examples (a non-exhaustive list) of computer-readable storage media include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the above. The computer-readable storage medium used herein is not to be interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.
[0085] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0086] The computer program instructions for performing the operation of the present application may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present application.
[0087] Various aspects of the present application are described herein with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present application. It should be understood that each box in the flowchart and / or block diagram and the combination of boxes in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0088] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0089] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0090] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a part of a module, program segment or instruction, and the part of the module, program segment or instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.
[0091] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present application is defined by the appended claims.
Claims
1. A control method based on eye tracking, characterized in that: Applied to a head mounted device, wherein a first camera module of the head mounted device for collecting an environmental image includes a zoom lens, and the method includes: Acquire a first eyeball image of a wearer wearing the head mounted device; Determine the binocular gaze distance of the wearer according to the first eyeball image and the pupil distance of the wearer, where the binocular gaze distance is the distance between the binocular center position of the wearer and the gaze point of the wearer; The zoom lens is controlled to focus according to the binocular gaze distance.
2. The method according to claim 1, characterized in that The determining the binocular gaze distance of the wearer according to the first eyeball image and the pupil distance of the wearer includes: Determine, based on the first eyeball image, a first angle between a first eyeball sight line direction of a first eyeball of the wearer and a first reference direction, and determine a second angle between a second eyeball sight line direction of a second eyeball of the wearer and a second reference direction; When the first angle is the same as the second angle, the binocular gaze distance of the wearer is determined according to any one of the first angle and the second angle, the pupil distance and a first mapping relationship, and the first mapping relationship is used to reflect the correspondence between the first angle and the second angle of the wearer, the pupil distance and the binocular gaze distance.
3. The method according to claim 2, characterized in that The method further comprises: When the first angle is different from the second angle, the binocular gaze distance of the wearer is determined according to the first angle, the second angle, the pupil distance and a second mapping relationship, and the second mapping relationship is used to reflect the correspondence between the first angle, the second angle, the pupil distance and the binocular gaze distance of the wearer.
4. The method according to claim 2, characterized in that: The first reference direction and the second reference direction are front-view directions. Before acquiring a first eyeball image of a wearer wearing the head-mounted device, the method further includes: Outputting prompting information for prompting the wearer to look straight ahead at least at a preset distance; When the wearer is looking straight ahead at a preset distance, acquiring a second eyeball image of the wearer; The first reference direction is recorded as the first reference direction, and the second reference direction is recorded as the second reference direction, which corresponds to the first eye sight line direction of the second eye image.
5. The method according to claim 1, characterized in that Before determining the binocular gaze distance of the wearer according to the first eyeball image and the pupil distance of the wearer, the method further includes: Acquire an input operation of an input interface, where the input interface is used to input the pupil distance; In response to the input operation, the pupil distance is determined.
6. The method according to claim 1, characterized in that The zoom lens is a T-Lens lens, and controlling the focus of the zoom lens according to the binocular gaze distance includes: Determining a target voltage applied to the zoom lens according to the binocular gaze distance; The target voltage is applied to the zoom lens.
7. The method according to claim 1, characterized in that Before acquiring a first eyeball image of a wearer wearing the head mounted device, the method further includes: In response to a set trigger event, a first eyeball image of a wearer wearing the head mounted device is acquired.
8. A control device based on eye tracking, characterized in that: Applied to a head mounted device, wherein a first camera module of the head mounted device for collecting an environmental image includes a zoom lens, and the device includes: An acquisition module, used for acquiring a first eyeball image of a wearer wearing the head mounted device; a determination module, configured to determine the binocular gaze distance of the wearer according to the first eyeball image and the pupil distance of the wearer, wherein the binocular gaze distance is the distance between the binocular center position of the wearer and the gaze point of the wearer; A control module is used to control the focus of the zoom lens according to the binocular gaze distance.
9. A head mounted device, characterized in that: The head mounted device comprises a first camera module for collecting environmental images and the eye tracking based control device according to claim 8, wherein the first camera module comprises a zoom lens; Alternatively, the head-mounted device includes the first camera module, a memory and a processor, the memory is used to store computer instructions, and the processor is used to call the computer instructions from the memory to execute the method as described in any one of claims 1-7 to control the focus of the zoom lens.
10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, which implements the method according to any one of claims 1 to 7 when executed by a processor.
Citation Information
Patent Citations
Image display method and device
CN105353512A
Method for determining sight focal point in virtual reality equipment and virtual reality equipment
CN106293100A
Method and HMD for dynamically adjusting HUD
CN111506188A
Image processing method and device and storage medium
CN115707355A
Display control method of head-mounted display device, head-mounted display device and storage medium
CN115857682A
Cited By
Head-mounted display device
CN120891647A
Control method of head-mounted display device, head-mounted display device and medium
CN120891648A
