Vision detection method and device, electronic product and storage medium

文档序号:1383714 发布日期:2020-08-18 浏览:17次 中文

阅读说明:本技术 一种视力检测方法、装置、电子产品及存储介质 (Vision detection method and device, electronic product and storage medium ) 是由 余辉 于 2020-04-29 设计创作,主要内容包括:本发明实施例公开了一种视力检测方法、装置、电子产品及存储介质,其中该方法包括:响应于作用在检测距离选取界面的用户操作,确定目标检测距离以及对应的视力表的第一显示参数;采集用户位置图像,根据目标检测距离、第一显示参数以及用户位置图像,调整用户位置;根据检测到的环境光确定显示屏的第二显示参数,根据第一显示参数和第二显示参数对视力表进行第一模式显示;依次选取视力表中的至少一个待判定视标,将当前选取的待判定视标进行第二模式显示,并接收用户输入的判定结果;对判定结果进行分析,得到视力检测结果,并进行用眼提示。在保证检测精度的基础上,使视力检测更加便捷,有利于用户及时了解视力情况。(The embodiment of the invention discloses a vision detection method, a vision detection device, an electronic product and a storage medium, wherein the method comprises the following steps: responding to user operation acting on a detection distance selection interface, and determining a target detection distance and a first display parameter of a corresponding visual chart; acquiring a user position image, and adjusting the user position according to the target detection distance, the first display parameter and the user position image; determining a second display parameter of the display screen according to the detected ambient light, and performing first-mode display on the visual chart according to the first display parameter and the second display parameter; sequentially selecting at least one visual target to be judged in the visual chart, displaying the currently selected visual target to be judged in a second mode, and receiving a judgment result input by a user; and analyzing the judgment result to obtain a vision detection result, and prompting with eyes. On the basis of guaranteeing the detection precision, the vision detection is more convenient, and the user can know the vision condition in time.)

1. A method of vision testing, comprising:

responding to user operation acting on a detection distance selection interface, and determining a target detection distance and a first display parameter of the visual chart corresponding to the target detection distance;

acquiring a user position image, and adjusting a user to a preset detection position according to the target detection distance, the first display parameter and the user position image;

detecting ambient light, determining second display parameters of a display screen according to the ambient light, and performing first-mode display on the visual chart according to the first display parameters and the second display parameters;

sequentially selecting at least one visual target to be judged in the visual chart, displaying the currently selected visual target to be judged in a second mode, and receiving a judgment result input by a user, wherein the first mode is different from the second mode;

and analyzing the judgment result to obtain a vision detection result, and prompting with eyes according to the vision detection result.

2. The method of claim 1, wherein the first display parameters include size and center position coordinates, and the second display parameters include brightness and color temperature;

correspondingly, the adjusting the user to a preset detection position according to the target detection distance, the first display parameter and the user position image includes:

identifying user characteristic points in the user position image and determining three-dimensional position coordinates of the user characteristic points; adjusting the user to a preset detection position according to the target detection distance, the central position coordinate of the visual chart and the three-dimensional position coordinate;

correspondingly, the performing a first mode display on the eye chart according to the first display parameter and the second display parameter includes:

determining the display position and the display size of each sighting target in the visual chart according to the size and the central position coordinate of the visual chart; determining the type of the sighting target at each display position, setting the sighting target of the type as a corresponding display size, and displaying each sighting target in a first mode; and adjusting the display screen to the determined brightness and color temperature.

3. The method of claim 1, wherein receiving the determination of the user input comprises: and receiving a gesture judgment result, a voice judgment result and/or a remote controller judgment result input by a user.

4. The method of claim 1, wherein analyzing the determination to obtain a vision test result comprises:

comparing the judgment result with a standard judgment result to determine the visual force value of the user;

and determining a vision change trend according to the vision value and the historical vision value, and taking the vision value and the vision change trend as vision detection results.

5. The method of claim 1, further comprising, after said acquiring a user location image: and when the eye shielding object exists in the user position image, prompting the user to remove the eye shielding object.

6. The method of claim 1, wherein responding to a user action on a detection distance selection interface further comprises: and responding to the vision detection request, and displaying a selection interface of the detection distance.

7. The method according to any one of claims 1-6, wherein the vision testing method is applied to a smart television.

8. A vision testing device, comprising:

the interface response module is used for responding to user operation acting on the detection distance selection interface and determining a target detection distance and a first display parameter of the visual chart corresponding to the target detection distance;

the position adjusting module is used for acquiring a user position image and adjusting a user to a preset detection position according to the target detection distance, the first display parameter and the user position image;

the visual chart display module is used for detecting ambient light, determining second display parameters of a display screen according to the ambient light, and displaying the visual chart in a first mode according to the first display parameters and the second display parameters;

the judgment receiving module is used for sequentially selecting at least one visual target to be judged in the visual chart, displaying the currently selected visual target to be judged in a second mode and receiving a judgment result input by a user, wherein the first mode is different from the second mode;

and the analysis prompting module is used for analyzing the judgment result to obtain a vision detection result and carrying out eye use prompting according to the vision detection result.

9. An electronic product, comprising:

one or more processors;

a memory for storing one or more programs;

the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the vision testing method of any of claims 1-7.

10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the vision detecting method according to any one of claims 1 to 7.

Technical Field

The embodiment of the invention relates to the technical field of intelligent control, in particular to a vision detection method and device, an electronic product and a storage medium.

Background

With the continuous improvement of the technological level, electronic products such as computers, mobile phones and the like are widely integrated into the work and life of people, the time spent by people on the electronic products is gradually increased, the number of people suffering from myopia is gradually increased due to the fact that eyes are not standardized for a long time, and the vision problem has attracted the wide attention and the attention of the whole vision meeting.

At present, the methods for performing vision testing are still some traditional methods, such as performing vision testing by using an optometer and a computer optometry instrument. The disadvantages of the conventional method include at least: the visual chart detection method has poor measurement accuracy; the computer optometry instrument has large volume and complex use and operation and needs to go to a professional institution, so a user cannot conveniently and timely master the change trend of the eye degree and perform moderate medical intervention.

Disclosure of Invention

In view of this, embodiments of the present invention provide a vision testing method, device, electronic product, and storage medium, which enable vision testing to be more convenient and faster on the basis of ensuring testing accuracy, and are beneficial to a user to know the vision condition in time.

In a first aspect, an embodiment of the present invention provides a vision testing method, including:

responding to user operation acting on a detection distance selection interface, and determining a target detection distance and a first display parameter of the visual chart corresponding to the target detection distance;

acquiring a user position image, and adjusting a user to a preset detection position according to the target detection distance, the first display parameter and the user position image;

detecting ambient light, determining second display parameters of a display screen according to the ambient light, and performing first-mode display on the visual chart according to the first display parameters and the second display parameters;

sequentially selecting at least one visual target to be judged in the visual chart, displaying the currently selected visual target to be judged in a second mode, and receiving a judgment result input by a user, wherein the first mode is different from the second mode;

and analyzing the judgment result to obtain a vision detection result, and prompting with eyes according to the vision detection result.

Optionally, the first display parameter includes a size and a center position coordinate, and the second display parameter includes a brightness and a color temperature;

correspondingly, the adjusting the user to a preset detection position according to the target detection distance, the first display parameter and the user position image includes:

identifying user characteristic points in the user position image and determining three-dimensional position coordinates of the user characteristic points; adjusting the user to a preset detection position according to the target detection distance, the central position coordinate of the visual chart and the three-dimensional position coordinate;

correspondingly, the performing a first mode display on the eye chart according to the first display parameter and the second display parameter includes:

determining the display position and the display size of each sighting target in the visual chart according to the size and the central position coordinate of the visual chart; determining the type of the sighting target at each display position, setting the sighting target of the type as a corresponding display size, and displaying each sighting target in a first mode; and adjusting the display screen to the determined brightness and color temperature.

Optionally, the receiving a determination result input by the user includes: and receiving a gesture judgment result, a voice judgment result and/or a remote controller judgment result input by a user.

Optionally, the analyzing the determination result to obtain a vision detection result includes:

comparing the judgment result with a standard judgment result to determine the visual force value of the user;

and determining a vision change trend according to the vision value and the historical vision value, and taking the vision value and the vision change trend as vision detection results.

Optionally, after the acquiring the user position image, the method further includes: and when the eye shielding object exists in the user position image, prompting the user to remove the eye shielding object.

Optionally, before responding to the user operation acting on the detection distance selection interface, the method further includes: and responding to the vision detection request, and displaying a selection interface of the detection distance.

Optionally, the eyesight detecting method is applied to the smart television.

In a second aspect, an embodiment of the present invention provides a vision testing apparatus, including:

the interface response module is used for responding to user operation acting on the detection distance selection interface and determining a target detection distance and a first display parameter of the visual chart corresponding to the target detection distance;

the position adjusting module is used for acquiring a user position image and adjusting a user to a preset detection position according to the target detection distance, the first display parameter and the user position image;

the visual chart display module is used for detecting ambient light, determining second display parameters of a display screen according to the ambient light, and displaying the visual chart in a first mode according to the first display parameters and the second display parameters;

the judgment receiving module is used for sequentially selecting at least one visual target to be judged in the visual chart, displaying the currently selected visual target to be judged in a second mode and receiving a judgment result input by a user, wherein the first mode is different from the second mode;

and the analysis prompting module is used for analyzing the judgment result to obtain a vision detection result and carrying out eye use prompting according to the vision detection result.

In a third aspect, an embodiment of the present invention provides an electronic product, including:

one or more processors;

a memory for storing one or more programs;

when executed by the one or more processors, cause the one or more processors to implement a vision testing method as in any one of the embodiments of the invention.

In a fourth aspect, an embodiment of the present invention provides a storage medium, on which a computer program is stored, the program, when being executed by a processor, implementing a vision detection method according to any one of the embodiments of the present invention.

In the vision testing method, the vision testing device, the electronic product and the storage medium provided by the embodiment of the invention, the electronic product responds to the user operation acting on the testing distance selection interface and determines the target testing distance and the first display parameter of the visual chart corresponding to the target testing distance; acquiring a user position image, and adjusting a user to a preset detection position according to the target detection distance, the first display parameter and the user position image; detecting ambient light, determining a second display parameter of the display screen according to the ambient light, and performing first-mode display on the visual chart according to the first display parameter and the second display parameter; sequentially selecting at least one visual target to be judged in the visual chart, displaying the currently selected visual target to be judged in a second mode, and receiving a judgment result input by a user, wherein the first mode is different from the second mode; and analyzing the judgment result to obtain a vision detection result, and prompting with eyes according to the vision detection result.

The electronic product can enable a user to independently select a target detection distance by setting a detection distance selection interface, and further can determine a first display parameter of the visual chart corresponding to the distance according to the target detection distance selected by the user; the position of the user can be determined by collecting the position image of the user, and the position of the user can be adjusted and corrected according to the target detection distance and the first display parameter, so that the position of the user meets the vision detection requirement; by collecting the ambient light, a second display parameter with a better display screen can be determined, and the visual chart can be displayed according to the first display parameter of the visual chart and the second display parameter of the display screen; the user can be reminded to judge the current visual target to be judged by changing the display mode of the visual target to be judged, and a judgment result is input; by analyzing the judgment result input by the user, the eyesight of the user can be detected, and the user can be reminded of using eyes healthily. The user position and the visual chart display in the detection process all meet the requirement of regular vision detection, so that the precision of the vision detection is ensured, the vision detection can be realized without a special vision detector, the vision detection is more convenient, and the user can know the vision condition in time.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description will be given below of the drawings required for the embodiments or the technical solutions in the prior art, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.

FIG. 1 is a flow chart of a vision testing method according to an embodiment of the present invention;

fig. 2 is a schematic structural diagram of a vision testing apparatus according to a second embodiment of the present invention;

fig. 3 is a schematic structural diagram of an electronic product according to a third embodiment of the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described through embodiments with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. In the following embodiments, optional features and examples are provided in each embodiment, and various features described in the embodiments may be combined to form a plurality of alternatives, and each numbered embodiment should not be regarded as only one technical solution.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:用于确定矫正镜片的组件、计算机程序、系统、以及套件

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!