Detailed Description
Exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 shows a flow diagram of a method of diopter adjustment of a headset according to one embodiment of the present application. As shown in fig. 1, the method includes:
step S110, in response to the diopter adjustment instruction of the user, sequentially starting diopter adjustment of the two side eyepieces.
After wearing the VR/AR head-mounted device, the user can manually or through a sensor detect that the head-mounted device is opened. The user sends diopter adjustment instructions to the head-mounted equipment through keys or voice, and the head-mounted equipment responds to the diopter adjustment instructions of the user and sequentially starts diopter adjustment of the left ocular lens and the right ocular lens.
Step S120, the diopter test chart card is displayed in the display area corresponding to one side of the ocular lens, and the diopter test chart card is not displayed in the display area corresponding to the other side of the ocular lens.
For example, the diopter test chart may not be displayed in the display area corresponding to the other side eyepiece by rendering the display area corresponding to the other side eyepiece black.
Step S130, under the current diopter value of the side ocular, the current focusing position of the eyeball of the user in the diopter test chart is obtained, and whether the current diopter value meets the visual requirement of the user is judged according to the current focusing position of the eyeball of the user.
For the same user, the current diopter value corresponds to the diopter value stored after the last diopter adjustment of the user. For different users, the current diopter value corresponds to the diopter value stored after diopter adjustment of the last user.
And step S140, if the current diopter value does not meet the vision requirement of the user, successively adjusting the diopter value according to the set diopter step length, stopping diopter value adjustment until the diopter value is adjusted for a certain time and is determined to meet the vision requirement of the user, and storing the diopter value adjusted for the last time as the diopter of the corresponding user on the side eyepiece, so that diopter adjustment of the side eyepiece is completed.
The diopter value is gradually adjusted according to the set diopter step length, and the diopter value adjustment is stopped until the diopter value is adjusted for a certain time and is determined to meet the vision requirement of a user, and the method comprises the following steps: and after each diopter value adjustment, re-acquiring the current focusing position of the eyeball of the user in the diopter test chart, and judging whether the adjusted diopter value meets the visual requirement of the user according to the re-acquired current focusing position of the eyeball of the user.
Step S150, the diopter adjustment of the eyepiece on the other side is started according to the same step.
In summary, the technical scheme of fig. 1 can dynamically adjust diopter according to a given flow, after receiving a diopter adjustment instruction of a user, the diopter adjustment of the ocular on both sides is sequentially started, after the diopter adjustment of one ocular on the other side is completed, the diopter adjustment of the ocular on the other side is started according to the same steps, so that diopter adjustment is performed for users with different eyesight in a self-adaptive manner, manual operation is not needed in the whole adjustment process, the user does not need to know the adjustment steps, and the product damage caused by overlarge adjustment force or other direction pulling force due to misoperation in the manual adjustment of the user is avoided; after diopter adjustment is completed, diopter values are stored by distinguishing users, and the stored diopter values can be automatically switched to the stored diopter after the users with stored data wear the diopter values, so that the diopter values are convenient for different users to use, and the requirement that users with different eyesight share the same product is met.
Fig. 2 shows a schematic diagram of a test card according to one embodiment of the present application. As shown in fig. 2, the diopter test chart includes a normal diopter region, a larger diopter region, and a smaller diopter region, which do not overlap with each other. For example, the normal diopter region may correspond to a normal font character or picture, the greater diopter region corresponds to an enlarged font character or picture, and the lesser diopter region corresponds to a reduced font character or character.
The positions of the normal diopter region, the large diopter region and the small diopter region which are not overlapped with each other in the diopter test chart card can be sequentially distributed up, middle and down, left, middle and right, upper, left and right and the like.
In the step S130, determining whether the current diopter value meets the user' S vision requirement according to the current focusing position of the eyeball of the user includes:
if the current focusing position of the eyeball of the user in the diopter test chart corresponds to the position of the normal diopter region, the current diopter value is judged to be in accordance with the vision requirement of the user, otherwise, the current diopter value is judged not to be in accordance with the vision requirement of the user.
In this embodiment, during diopter adjustment, the user is prompted to look at a position where the user can see clearly, and the eyeball of the user is tracked. And judging whether the current focusing position of the eyeball of the user in the diopter test chart corresponds to the position of the normal diopter region according to eyeball tracking, if so, judging that the current diopter value meets the vision requirement of the user, storing the diopter, and switching the other eye for diopter adjustment. If the current diopter value does not correspond to the vision requirement of the user, judging that the current diopter value does not meet the vision requirement of the user, and further carrying out diopter adjustment.
In the step S140, if the current diopter value does not meet the visual requirement of the user, the step of gradually adjusting the diopter value according to the set diopter step includes:
if the current focusing position of the eyeball of the user in the diopter test chart does not correspond to the position of the normal diopter region, determining the diopter adjustment direction according to whether the current focusing position of the eyeball of the user in the diopter test chart corresponds to the position of the larger diopter region or the position of the eyeball of the user in the smaller diopter region; and then successively increasing or decreasing the diopter value according to the set diopter step length in the determined diopter adjustment direction.
For example, if the current focusing position of the eyeball of the user in the diopter test chart corresponds to the larger diopter region, the diopter value is determined to be adjusted in the diopter reducing direction, and the diopter value is gradually reduced according to the set diopter step.
Fig. 3 shows a schematic structural diagram of a headset eyepiece according to one embodiment of the present application. As shown in fig. 3, each side eyepiece of the head mounted device includes a display screen, a first lens and a second lens, wherein the display screen is movable in position, the first lens is positioned adjacent to the eyes of the user and fixed in position, and the second lens is positioned between the first lens and the display screen of the head mounted device and movable in position.
In this embodiment, the position of the second lens with respect to the first lens or the position of the second lens with respect to the display screen may be adjusted by moving the position of the second lens or the display screen by the electric motor.
In the above step, in the determined diopter adjustment direction, successively increasing or decreasing the diopter value according to the set diopter step length includes: and in the determined diopter adjustment direction, the distance between the second lens and the display screen is increased or decreased by a distance step each time by gradually moving the position of the display screen or the second lens through the electric motor according to the distance step corresponding to the set diopter step.
For example, under the current diopter value, the distance L2 between the second lens and the display screen corresponds to the distance value a, when it is determined that the current diopter value does not meet the visual requirement of the user, if it is further determined that the diopter adjustment direction is the diopter increasing direction, the diopter value adjustment is stopped according to the set diopter step, for example, according to the distance step a corresponding to the diopter of the minimum scale, the positions of the first lens and the display screen are kept unchanged, the second lens is gradually adjusted by the electric motor to move leftwards, or the positions of the first lens and the second lens are kept unchanged, the corresponding display screen is gradually adjusted by the electric motor to move rightwards, the distance between the second lens and the display screen is increased by the distance step a each time, so that L2 is adjusted to be a+n times a, until the diopter value adjustment is determined to meet the visual requirement of the user after n times of diopter value adjustment, the diopter value adjustment is stopped, and the diopter value after the last adjustment is saved as the diopter of the corresponding user at the side eyepiece, so that diopter adjustment of the side eyepiece is completed.
The diopter is adjusted gradually according to the step length of the preset diopter, so that the accuracy of adjustment can be guaranteed, and excessive adjustment is prevented.
In one embodiment of the present application, before sequentially starting diopter adjustment of the two side eyepieces in response to the diopter adjustment instruction of the user, the method further includes:
identifying whether the user is a created user;
if the user is not the created user, creating a new user;
if the user is a created user, then it is further determined whether the user's diopter value has been stored: if the diopter value of the user is stored, the current diopter value is set according to the diopter value stored by the user, and if the diopter value of the user is not stored, the user is prompted whether diopter adjustment is performed.
The embodiment uses the identity recognition technology, can recognize the user, memorize data and automatically call diopter data, and is convenient for the user to use. If the user adjusts the new diopter data, the user history data can be tracked, and the lens matching reference value and the eye health analysis of the user are given.
In this embodiment, whether the user is a created user may be determined by one or more of iris, face, fingerprint, or voice recognition of the user. If the user is a created user, it is further determined whether the diopter value of the user has been stored, and if the user is not a created user, a new user is created.
In the case where the user is a created user, the user may send an instruction whether to make diopter adjustments by any one of: remote control, facial expression, voice, gestures, eye tracking or blinking, etc. The head-mounted equipment responds to the instruction for diopter adjustment sent by the user through any mode, and diopter adjustment is started; or exit diopter adjustment in response to a command sent by the user through any of the above ways to do not do diopter adjustment.
Fig. 4 shows a flow diagram of another method of diopter adjustment of a headset according to one embodiment of the present application. As shown in fig. 4, the method includes:
in step S410, the head-mounted device determines whether the user is a created user.
After the user wears a head-mounted device such as VR/AR and opens the head-mounted device manually or through detection of a sensor, the head-mounted device recognizes whether the user is a created user through iris, face, fingerprint or voice. If yes, confirm that is already created user, go to step S420; if not, the confirmation is a new user, and the process proceeds to step S401, where a new user is created.
Step S420, determine whether the user has stored diopter values.
If yes, confirming the stored diopter value of the user, and proceeding to step S402, namely automatically adjusting diopter of the ocular lenses at two sides according to the stored diopter value of the user; if not, it is confirmed that the diopter value of the user is not stored, and the process proceeds to step S430.
Step S430, prompt the user whether to make diopter adjustment.
The user may send instructions whether to make diopter adjustments by any of the following means: remote control, facial expression, voice, gestures, eye tracking or blinking, etc. For example, in the preset time, the number of blinks of the user is a single time, which indicates that the user indicates that diopter adjustment is not performed, and the number of blinks of the user is a double number, which indicates that the user indicates that diopter adjustment is performed.
If the user sends the instruction for diopter adjustment in any one of the modes, step S440 is entered, and the headset enters into the diopter adjustment flow; if the user sends the instruction of not performing diopter adjustment in any mode, step S403 is entered, and the headset exits diopter adjustment.
In step S440, the diopter test chart is displayed in the display area corresponding to the left side lens, and the diopter test chart is not displayed in the display area corresponding to the right side lens.
Step S450, under the current diopter value of the left ocular, the current focusing position of the eyeball of the user in the diopter test chart is obtained, and whether the current diopter value meets the visual requirement of the user is judged according to the current focusing position of the eyeball of the user.
The diopter test chart card comprises a normal diopter area, a larger diopter area and a smaller diopter area which are not overlapped with each other. In the testing process, the user is prompted to watch the clearly visible position, and eyeballs of the user are tracked. And judging whether the current focusing position of the eyeball of the user in the diopter test chart corresponds to the position of the normal diopter region according to the eyeball tracking, if so, judging that the current diopter value meets the visual requirement of the user, and entering step S480. If not, it is determined that the current diopter value does not meet the user' S vision requirement, and step S460 is performed.
Step S460, diopter is adjusted for the first time in the determined diopter adjusting direction, and whether the adjusted diopter value meets the visual requirement of the user is judged.
In the determined diopter adjustment direction, for example, the determined diopter adjustment direction is to increase the distance between the second lens and the display screen by a distance step a each time. The adjustment mode may be that the positions of the first lens and the display screen are kept unchanged, the second lens is gradually adjusted by the electric motor to move leftwards, or the positions of the first lens and the second lens are kept unchanged, the display screen is gradually adjusted by the electric motor to move rightwards, the distance between the second lens and the display screen is increased by a distance step a each time, and the distance L2 between the second lens and the display screen is adjusted to be A+a from the distance A corresponding to the current diopter value.
After the diopter is adjusted for the first time, the user is prompted to watch the position which can be seen clearly, and eyeballs of the user are tracked. And judging whether the current focusing position of the eyeball of the user in the diopter test chart corresponds to the position of the normal diopter region according to the eyeball tracking, if so, judging that the current diopter value meets the visual requirement of the user, and entering step S480. If not, the current diopter value is judged to be not in accordance with the vision requirement of the user, and the step S470 is carried out to further carry out diopter adjustment.
And S470, carrying out diopter nth adjustment in the determined diopter adjustment direction, and judging whether the adjusted diopter value meets the visual requirement of the user.
For example, the positions of the first lens and the display screen are kept unchanged, the second lens is adjusted to move leftwards through the electric motor for a plurality of times, the distance between the second lens and the display screen is increased by a distance step a each time, and the distance L2 between the second lens and the display screen is adjusted to be A+n x a from the distance A corresponding to the current diopter value. After each diopter adjustment, the user is prompted to look at a position which can be seen clearly, and eyeballs of the user are tracked. And judging whether the current focusing position of the eyeball of the user in the diopter test chart corresponds to the position of the normal diopter region according to the eyeball tracking until the current diopter value is judged to be in accordance with the visual requirement of the user, and entering step S480.
And step S480, saving the diopter value after the last adjustment as the diopter of the left eye lens corresponding to the user, finishing the diopter adjustment of the left eye lens, and switching to the right eye lens to perform diopter adjustment according to steps S440 to S470.
Fig. 5 shows a schematic structural view of a diopter adjustment system of a head-mounted device according to one embodiment of the present application. As shown in fig. 5, at the hardware level, thediopter adjustment system 500 includes: the diopter test chart 510, theprocessor 520, thememory 530, and optionally an interface module, a communication module, and the like.
The processor, interface module, communication module, and memory may be interconnected by an internal bus, which may be an ISA (Industry Standard Architecture ) bus, a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus, or an EISA (Extended Industry Standard Architecture ) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, only one bi-directional arrow is shown in FIG. 3, but not only one bus or type of bus.
Whereinmemory 530 stores computer-executable instructions;memory 530 provides computer-executable instructions toprocessor 520 via an internal bus.
Processor 520 executes computer-executable instructions stored in memory and is specifically configured to sequentially initiate diopter adjustment of the two side oculars according to computer-executable instructions inmemory 530 in response to diopter adjustment instructions from a user:
the diopter test chart card is displayed in the display area corresponding to one side of the ocular, and the diopter test chart card is not displayed in the display area corresponding to the other side of the ocular;
under the current diopter value of one side ocular, acquiring the current focusing position of the user eyeball in the diopter test chart, and judging whether the current diopter value meets the visual requirement of the user according to the current focusing position of the user eyeball;
if the current diopter value does not meet the vision requirement of the user, sequentially adjusting the diopter value according to the set diopter step length, stopping diopter value adjustment until the diopter value adjustment is determined to meet the vision requirement of the user, and storing the diopter value after the last adjustment as the diopter of the eyepiece of the corresponding user at one side, so that diopter adjustment of the eyepiece of the side is completed;
the diopter adjustment of the other eyepiece is started in the same step.
The diopter adjustment system of the head-mounted device of the present application may perform the steps of the diopter adjustment method of the head-mounted device shown in fig. 1 and may be accomplished by instructions in the form of integrated logic circuitry or software of hardware in the processor.
In one embodiment of the present application, the diopter test chart includes a normal diopter region, a greater diopter region and a lesser diopter region that do not overlap with each other; theprocessor 520 is specifically configured to determine whether the current focusing position of the eyeball of the user in the diopter test chart corresponds to the position of the normal diopter region, if so, determine that the current diopter value meets the user visual requirement, or determine that the current diopter value does not meet the user visual requirement; and when the current diopter value is judged to be not in accordance with the vision requirement of the user, determining the diopter adjustment direction according to whether the current focusing position of the eyeball of the user in the diopter test chart corresponds to the position of the larger diopter area or the position of the smaller diopter area, and gradually increasing or decreasing the diopter value according to the set diopter step length in the determined diopter adjustment direction.
In one embodiment of the present application, each side eyepiece of the headset includes a display screen, a first lens, and a second lens, wherein the display screen is positionally movable, the first lens is positioned proximate to the eyes of the user and is positionally fixed, and the second lens is positioned between the first lens and the display screen of the headset and is positionally movable.
Theprocessor 520 is specifically configured to gradually move the position of the second lens by the electric motor according to a distance step corresponding to the set power step in the determined diopter adjustment direction when the current diopter value does not meet the vision requirement of the user, and increase or decrease the distance between the second lens and the display screen by the distance step each time.
In one embodiment of the present application, theprocessor 520 in thesystem 500 is further configured to identify whether the user is a created user before sequentially initiating diopter adjustment of the two side oculars in response to the diopter adjustment instruction of the user, and create a new user if the user is not a created user; if the user is a created user, then it is further determined whether the user's diopter value has been stored: if the diopter value of the user is stored, the current diopter value is set according to the diopter value stored by the user, and if the diopter value of the user is not stored, the user is prompted whether diopter adjustment is performed.
In one embodiment of the present application,processor 520 insystem 500 described above is responsive to a diopter adjustment instruction sent by the user by any one of: remote control, facial expression, voice, gesture, eye tracking, or blinking;
processor 520 identifies whether the user is a created user includes: whether the user is a created user is determined by one or more of iris, face, fingerprint, or voice recognition of the user.
It should be noted that, the specific implementation of each embodiment of the diopter adjustment system may be performed with reference to the specific implementation of the corresponding method embodiment, which is not described herein.
In summary, according to the technical scheme of the application, diopter can be dynamically adjusted according to a given flow, after diopter adjustment instructions of users are received, diopter adjustment of two side ocular lenses is sequentially started, diopter adjustment of the other side ocular lens is started according to the same steps after diopter adjustment of one side ocular lens is completed, so that diopter adjustment is performed for users with different eyesight in a self-adaptive manner, manual operation is not needed in the whole adjustment process, users do not need to know about the adjustment steps, and product damage caused by overlarge adjustment force or other direction pulling force due to misoperation in manual adjustment of the users is avoided. After diopter adjustment is completed, diopter values are stored by distinguishing users, and the stored diopter values can be automatically switched to the stored diopter after the users with stored data wear the diopter values, so that the diopter values are convenient for different users to use, and the requirement that users with different eyesight share the same product is met.
The embodiments of the present application also provide a computer-readable storage medium storing one or more programs that, when executed by a processor, implement the aforementioned method for diopter adjustment of a head-mounted device, and are specifically configured to perform:
in response to a diopter adjustment instruction of a user, sequentially starting diopter adjustment of the two side eyepieces:
the diopter test chart card is displayed in the display area corresponding to one side of the ocular, and the diopter test chart card is not displayed in the display area corresponding to the other side of the ocular;
under the current diopter value of one side ocular, acquiring the current focusing position of the user eyeball in the diopter test chart, and judging whether the current diopter value meets the visual requirement of the user according to the current focusing position of the user eyeball;
if the current diopter value does not meet the vision requirement of the user, sequentially adjusting the diopter value according to the set diopter step length, stopping diopter value adjustment until the diopter value adjustment is determined to meet the vision requirement of the user, and storing the diopter value after the last adjustment as the diopter of the eyepiece of the corresponding user at one side, so that diopter adjustment of the eyepiece of the side is completed;
the diopter adjustment of the other eyepiece is started in the same step.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) containing computer-usable program code.
The present application is described in terms of flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that: the algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose devices may also be used with the teachings herein. The required structure for the construction of such devices is apparent from the description above. In addition, the present application is not directed to any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of the present application as described herein, and the above description of specific languages is provided for disclosure of preferred embodiments of the present application.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the present application may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the application, various features of the application are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the application and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be construed as reflecting the intention that: i.e., the claimed application requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this application.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the present application and form different embodiments. For example, in the following claims, any of the claimed embodiments can be used in any combination.
Various component embodiments of the present application may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in a diopter adjustment system of a head-mounted device according to embodiments of the present application. The present application may also be embodied as an apparatus or device program (e.g., computer program and computer program product) for performing a portion or all of the methods described herein. Such a program embodying the present application may be stored on a computer readable medium, or may have the form of one or more signals. Such signals may be downloaded from an internet website, provided on a carrier signal, or provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the application, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.