Detailed Description
The embodiment of the application provides a method for improving eye protection performance of VR glasses, and solves the technical problems that VR glasses in the prior art are not provided with a reminding function and are inconvenient to adjust, and users can feel eyestrain and have impaired vision due to long-time use. Hereinafter, example embodiments of the present application will be described in detail with reference to the accompanying drawings. It should be apparent that the described embodiments are merely some embodiments of the present application and not all embodiments of the present application, and it should be understood that the present application is not limited to the example embodiments described herein.
Summary of the application
VR glasses can be applied to various aspects such as amusement, education, medical treatment, and the like, and has a super-strong simulation system, so that man-machine interaction is really realized, people can operate at will in the operation process, and the feedback of the most real environment is obtained. The VR glasses guide a user to generate the feeling of the user in a virtual environment mainly by sealing the vision and the hearing of the user to the outside, so that the user is easy to forget time. Still exist among the prior art VR glasses and do not remind the function, inconvenient regulation, the user can cause technical problem such as tired with the eye, impaired vision owing to use for a long time.
In view of the above technical problems, the technical solution provided by the present application has the following general idea:
the embodiment of the application provides a method for improving eye protection performance of VR glasses, wherein the method comprises the following steps: obtaining vision information of a first user; obtaining light intensity information of a first VR glasses worn by the first user; inputting the vision information and the light intensity information of the first user into a training model, wherein the training model is obtained by training a plurality of groups of training data, and each group of training data in the plurality of groups of training data comprises: the vision information of the first user, the light intensity information and identification information of the man-machine distance grade playing a role of identification; obtaining an output result of the training model, wherein the output result is grade information of the distance between the eyes of the first user and the VR lens; obtaining first adjustment information of a first user; and finely adjusting the grade information of the distance between the eyes of the first user and the VR lens according to the first adjustment information of the first user to obtain first human-machine distance information.
Having thus described the general principles of the present application, various non-limiting embodiments thereof will now be described in detail with reference to the accompanying drawings.
Example one
As shown in fig. 1, an embodiment of the present application provides a method for improving eye protection performance of VR glasses, where the method includes:
step S100: obtaining vision information of a first user;
particularly, VR glasses are connected with an online optometry system, including display device, mobile client, optometry server, by optometry server is right first user passes through the VR glasses carry out optometry test, by mobile client obtains first user's test feedback information, through display device carries out information output, the control center of VR glasses is automatic to be acquireed the information of output, thereby obtains first user's eyesight information, through obtaining first user's eyesight information, for the follow-up goes on first user's eyesight protection has laid a good foundation.
Step S200: obtaining light intensity information of a first VR glasses worn by the first user;
particularly, first VR glasses embeds there is a light intensity sensor for obtain real-time light intensity information, then by the information output end of sensor will light intensity information send to the control center of VR glasses, through obtaining the light intensity information that first VR glasses were worn to first user, for the follow-up the VR glasses are automatic to carry out luminance control, and the protection the basis has been laid down to first user's eyesight.
Step S300: inputting the vision information and the light intensity information of the first user into a training model, wherein the training model is obtained by training a plurality of groups of training data, and each group of training data in the plurality of groups of training data comprises: the vision information of the first user, the light intensity information and identification information of the man-machine distance grade playing a role of identification;
specifically, the machine model is obtained by training a plurality of sets of training data, and the process of training the neural network model by the training data is essentially a process of supervised learning. Each set of training data in the plurality of sets of training data comprises: the vision information of the first user, the light intensity information and identification information of the man-machine distance grade playing a role of identification; under the condition of obtaining the vision information and the light intensity information of the first user, the machine learning model outputs identification information of human-computer distance grade to verify the human-computer distance grade information output by the machine learning model, and if the output human-computer distance grade information is consistent with the identified human-computer distance grade information, the data supervised learning is finished, and then the next group of data supervised learning is carried out; and if the output human-computer distance grade information is inconsistent with the identified human-computer distance grade information, adjusting the machine learning model by the machine learning model, and performing supervised learning on the next group of data until the machine learning model reaches the expected accuracy. The machine learning model is continuously corrected and optimized through training data, the accuracy of the machine learning model for processing the data is improved through the process of supervised learning, the man-machine distance grade information is accurate, and a foundation is laid for adjusting the man-machine distance and protecting the eyesight of a user through accurately evaluating the man-machine distance grade information.
Step S400: obtaining an output result of the training model, wherein the output result is grade information of the distance between the eyes of the first user and the VR lens;
specifically, the training model can continuously learn by constructing a training data set according to the vision information and the light intensity information of the first user, further continuously modify the model, and finally obtain satisfactory experience to process other data, the output result is grade information of the distance between the eyes of the first user and the VR lens, and a foundation is laid for adjusting the distance between the eyes of the first user and the VR lens by obtaining accurate information of the grade of the distance between the eyes of the first user and the VR lens.
Step S500: obtaining first adjustment information of a first user;
specifically, according to the distance grade information between the two eyes of the first user and the VR lens obtained by the training model, the control center of the VR glasses judges whether the real-time distance information between the eyes of the first user and the VR lens meets the distance grade information output by the training model, and if not, the first adjustment information of the first user is automatically obtained. The distance between the two eyes of the first user and the VR lens is adjusted, and the basis is laid for protecting the eyesight of the user.
Step S600: and finely adjusting the grade information of the distance between the eyes of the first user and the VR lens according to the first adjustment information of the first user to obtain first human-machine distance information.
Specifically, the control center automatically adjusts the distance between the two eyes of the first user and the VR lens according to the obtained first adjustment information of the first user, so that the optimal distance according with the vision condition of the first user and the external light intensity is achieved. The technical purpose that the human-computer distance can be adjusted in time according to the user vision information and the light intensity information is achieved, and therefore the user vision of the user is effectively protected.
In order to remind the first user of adjusting the eye-using habit, step S200 in this embodiment of the present application further includes:
step S201 a: obtaining first image information, wherein the first image information comprises image information when the first user looks at objects through both eyes;
step S202 a: obtaining eye use habit information of a first user according to the first image information;
step S203 a: obtaining a predetermined visual standard;
step S204 a: judging whether the eye usage habit of the first user meets the preset visual standard or not;
step S205 a: if the eye using habit of the first user does not accord with the preset visual standard, a first reminding instruction is obtained;
step S206 a: and reminding the first user to adjust the eye using habit according to the first reminding instruction.
Specifically, the VR glasses include an image capturing device, the image capturing device obtains the first image information, the first image information includes image information when the first user looks at objects in both eyes, and then the first image information obtains the information on the eye habits of the first user. If the first image comprises a ceiling lamp, a ceiling and the like, judging that the eye habit of the first user is a lying object; and judging that the first user is a sitting object and the like according to the height degree of the captured object in the first image. The preset object-viewing standard is a preset standard object-viewing requirement, such as sitting sight line is head-up. Through judgment, if the obtained eye use habit information of the first user does not meet the standard visual object requirement, the control center automatically obtains a first adjusting instruction, and reminds the first user to adjust the eye use habit through voice reminding, reminding information sending and other modes. By reminding the first user to adjust the eye using habit, the technical purposes of reminding the user to adjust VR glasses in time, protecting the eyesight of the user and relieving eye fatigue are achieved.
In order to adjust the first human-machine distance information, step S205a in this embodiment of the present application further includes:
step S205a 1: if the eye using habit of the first user does not accord with the preset visual standard, obtaining a first adjusting instruction;
step S205a 2: obtaining a first adjusting parameter according to the first adjusting instruction;
step S205a 3: and adjusting the first human-computer distance information according to the first adjustment parameter to obtain second human-computer distance information.
Specifically, if the control center determines that the eye habit of the first user does not meet the predetermined visual standard, the control center automatically obtains a first adjustment instruction, where the first adjustment parameter is a distance value that needs to be adjusted according to the human-computer distance information that can protect eyesight to the maximum extent under the eye habit of the first user, and the adjusted human-computer distance is the second human-computer distance. Through obtaining the second man-machine distance has realized can in time adjusting the interpersonal distance that the user used VR glasses according to the user uses the eye custom to effectively help the user alleviate with eye fatigue, protect visual technical purpose.
In order to automatically adjust the VR glasses to the child mode, step S100 in this embodiment of the present application further includes:
step S101: obtaining age information of the first user;
step S102: obtaining a predetermined age threshold;
step S103: judging whether the age information of the first user is within the preset age threshold value;
step S104: and if the age information of the first user is within the preset age threshold, obtaining a first control instruction, and controlling the VR glasses to be in a child mode according to the first control instruction.
Specifically, the VR glasses are in data connection with a mobile client. The user inputs the age information of the first user at the mobile client, and the control center judges and processes the input information. The predetermined age threshold is a predetermined age threshold of a first user needing to adjust the VR glasses to a child mode, if the age information of the first user is within the predetermined age threshold, the control center automatically acquires the first control instruction to control the VR glasses to a child mode, and the child mode is used for filtering the content of the VR glasses, controlling the use duration and the like. The technical purpose that the using mode of the VR glasses can be controlled according to the age of a user so as to further protect the eyesight of the user is achieved.
In order to remind the user of the duration of using VR glasses, step S104 in this embodiment of the present application further includes:
step S1041: obtaining a first preset time threshold;
step S1042: obtaining first time length information of the first user, wherein the first time length information is time length information of the first user using the VR glasses;
step S1043: judging whether the first time length information exceeds the first preset time length threshold value or not;
step S1044: and if the first time length information exceeds the first preset time length threshold, second reminding information is obtained, and the second reminding information is used for reminding the first user to stop using the VR glasses.
Specifically, the VR glasses mainly guide the user to feel in the virtual environment by blocking the vision and hearing of the user from the outside, so that the user is likely to forget about the time and is likely to have impaired vision due to long-term use of the VR glasses. The first preset time length threshold value is preset, the time length of the first user is limited by the use time length, the control center of the VR glasses obtains the time length of the first user for using the VR glasses, the control center automatically acquires second reminding information by judging whether the first preset time length threshold value is exceeded or not, and the first user is reminded to stop using the VR glasses in the modes of voice reminding, reminding information sending and the like if the first preset time length threshold value is exceeded. The technical purposes of timely reminding the user to control the use and protect the eyesight according to the use duration of the user are achieved.
In order to adjust the first predetermined duration threshold, step S1042 of the present embodiment further includes:
step S10421: obtaining eye fatigue information of the first user;
step S10422: obtaining a second adjustment parameter according to the eye fatigue information of the first user;
step S10423: and adjusting the first preset time threshold according to the second adjusting parameter.
Specifically, the VR glasses are internally provided with a monitoring device for monitoring eyelid movement and eye gaze, the monitoring device obtains eye fatigue information of the first user by obtaining eyelid movement of the first user, the control center obtains the second adjustment parameter according to the obtained eye fatigue of the first user, and the predetermined time and length information of the first user using the VR glasses is adjusted. The time that the user used VR glasses is controlled according to the eye fatigue of the user, so that the technical effects of protecting eyesight and reducing eyesight damage are achieved.
In order to adjust the frame brightness information of the VR glasses, step S200 in this embodiment of the present application further includes:
step S201 b: obtaining a third adjustment parameter according to the light intensity information of the first VR glasses worn by the first user;
step S202 b: and adjusting the picture brightness information of the first VR glasses according to the third adjustment parameter to obtain first brightness information.
Specifically, the external light intensity information of the first VR glasses during use is obtained by the built-in light intensity sensor of the VR glasses, so that the control center automatically adjusts the image brightness of the VR glasses according to the obtained light intensity information. Thereby achieving the technical purposes of effectively relieving eye fatigue and reducing visual impairment.
To sum up, the method for improving the eye protection performance of the VR glasses provided by the embodiment of the application has the following technical effects:
1. because the technical effects of connecting the VR glasses with the online optometry system, obtaining the vision information of the user and obtaining the light intensity information through the brightness sensor are adopted, the automatic control center of the VR glasses obtains the optimal man-machine distance based on the vision information and the light intensity information of the user through analysis, and automatically adjusts the distance between the eyes and the glasses lenses, so that the vision injury is intelligently and effectively reduced, and the vision of the user is protected.
2. Because the vision information and the light intensity information of the first user are input into the training model, and then the training model outputs the man-machine distance grade, the evaluation on the man-machine distance grade is more accurate based on the characteristic that the training model can continuously optimize learning and obtain experience to process data, the accuracy of adjusting the distance between eyes and lenses is improved by accurately judging the man-machine distance grade when the user uses VR glasses, and the technical aims of relieving eye fatigue, reducing vision damage and protecting vision are achieved by adjusting the man-machine distance.
Example two
Based on the same inventive concept as the method for improving the eye protection performance of the VR glasses in the previous embodiment, the present invention further provides an apparatus for improving the eye protection performance of the VR glasses, as shown in fig. 2, the apparatus includes:
a first obtainingunit 11, wherein the first obtainingunit 11 is used for obtaining vision information of a first user;
a second obtainingunit 12, where the second obtainingunit 12 is configured to obtain light intensity information of the first user wearing the first VR glasses;
afirst input unit 13, where thefirst input unit 13 is configured to input the eyesight information and the light intensity information of the first user into a training model, where the training model is obtained by training multiple sets of training data, and each set of training data in the multiple sets of training data includes: the vision information of the first user, the light intensity information and identification information of man-machine distance grade playing a role of identification;
a third obtainingunit 14, where the third obtainingunit 14 is configured to obtain an output result of the training model, where the output result is level information of a distance between both eyes of the first user and a VR lens;
a fourth obtainingunit 15, where the fourth obtainingunit 15 is configured to obtain first adjustment information of the first user;
afirst adjusting unit 16, where thefirst adjusting unit 16 is configured to perform fine adjustment on level information of a distance between two eyes of the first user and a VR lens according to first adjustment information of the first user, so as to obtain first human-machine distance information.
Further, the apparatus further comprises:
a fifth obtaining unit, configured to obtain first image information, where the first image information includes image information when the first user looks at the object in both eyes;
a sixth obtaining unit, configured to obtain, according to the first image information, eye usage habit information of the first user;
a seventh obtaining unit configured to obtain a predetermined viewing standard;
the first judging unit is used for judging whether the eye using habit of the first user meets the preset visual standard or not;
an eighth obtaining unit, configured to obtain a first reminding instruction if the eye usage habit of the first user does not meet the predetermined viewing standard;
and the first reminding unit is used for reminding the first user of adjusting the eye using habit according to the first reminding instruction.
Further, the apparatus further comprises:
a ninth obtaining unit, configured to obtain a first adjustment instruction if the eye usage habit of the first user does not meet the predetermined viewing standard;
a tenth obtaining unit, configured to obtain a first adjustment parameter according to the first adjustment instruction;
the first adjusting unit is used for adjusting the first man-machine distance information according to the first adjusting parameter to obtain second man-machine distance information.
Further, the apparatus further comprises:
an eleventh obtaining unit configured to obtain age information of the first user;
a twelfth obtaining unit configured to obtain a predetermined age threshold;
a second determination unit, configured to determine whether the age information of the first user is within the predetermined age threshold;
a thirteenth obtaining unit, configured to obtain a first control instruction if the age information of the first user is within the predetermined age threshold, and control the VR glasses to a child mode according to the first control instruction.
Further, the apparatus further comprises:
a fourteenth obtaining unit, configured to obtain a first predetermined duration threshold;
a fifteenth obtaining unit, configured to obtain first time length information of the first user, where the first time length information is time length information of using the VR glasses by the first user;
a third judging unit, configured to judge whether the first duration information exceeds the first predetermined duration threshold;
a sixteenth obtaining unit, configured to obtain second reminding information if the first duration information exceeds the first predetermined duration threshold, where the second reminding information is used to remind the first user to stop using the VR glasses.
Further, the apparatus further comprises:
a seventeenth obtaining unit configured to obtain eye fatigue information of the first user;
an eighteenth obtaining unit, configured to obtain a second adjustment parameter according to the eye fatigue information of the first user;
and the second adjusting unit is used for adjusting the first preset time length threshold according to the second adjusting parameter.
Further, the apparatus further comprises:
a nineteenth obtaining unit, configured to obtain a third adjustment parameter according to the light intensity information of the first VR glasses worn by the first user;
and the third adjusting unit is used for adjusting the picture brightness information of the first VR glasses according to the third adjusting parameter to obtain first brightness information.
Exemplary electronic device
The electronic device of the embodiment of the present application is described below with reference to fig. 3.
Fig. 3 illustrates a schematic structural diagram of an electronic device according to an embodiment of the present application.
Based on the inventive concept of a method for improving eye protection performance of VR glasses in the foregoing embodiments, the present invention further provides an apparatus for improving eye protection performance of VR glasses, wherein the apparatus has a computer program stored thereon, and the computer program is executed by a processor to implement the steps of any one of the aforementioned methods for improving eye protection performance of VR glasses.
Where in fig. 3a bus architecture (represented by bus 300),bus 300 may include any number of interconnected buses and bridges,bus 300 linking together various circuits including one or more processors, represented byprocessor 302, and memory, represented bymemory 304. Thebus 300 may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. Abus interface 306 provides an interface between thebus 300 and thereceiver 301 andtransmitter 303. Thereceiver 301 and thetransmitter 303 may be one and the same element, i.e. a transceiver, providing a means for communicating with various other apparatus over a transmission medium.
Theprocessor 302 is responsible for managing thebus 300 and general processing, and thememory 304 may be used for storing data used by theprocessor 302 in performing operations.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention 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) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of the invention. 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. While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.