CN105573627B - It is a kind of to prompt the method and device that user carries out eyeshield by intelligent glasses - Google Patents
It is a kind of to prompt the method and device that user carries out eyeshield by intelligent glasses Download PDFInfo
- Publication number
- CN105573627B CN105573627B CN201510208720.1A CN201510208720A CN105573627B CN 105573627 B CN105573627 B CN 105573627B CN 201510208720 A CN201510208720 A CN 201510208720A CN 105573627 B CN105573627 B CN 105573627B
- Authority
- CN
- China
- Prior art keywords
- target region
- foreground target
- threshold
- duration
- intelligent glasses
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses a kind of methods prompting user's progress eyeshield by intelligent glasses, including:Target image is obtained by camera, searches foreground target corresponding with target identification region;Obtain relative position of the foreground target region in the target image;Detect the first duration that the foreground target region exists and is less than first threshold at a distance from the target image central point;Judge whether first duration is more than second threshold, if so, generating prompt message.In addition, it is also proposed that a kind of to prompt the device that user carries out eyeshield by intelligent glasses.Using the present invention, can the time that user needs to carry out eyeshield actually more accurately be controlled with eye according to user, improve user and need to carry out the accuracy of the control of the time of eyeshield.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of sides prompting user's progress eyeshield by intelligent glasses
Method and device.
Background technology
In existing eye care method, has and the eyeshield that eyes carry out certain movable time is used continuously by controlling user
Method.For example, when electronic equipment continuously open the time or continuous use the time reach a certain preset time threshold
In the case of, electronic equipment sends out the rest of prompt message call user's attention, or directly closes the electronic equipment to force user
Eyeshield is carried out, protect eyes are achieved the purpose that with this.However, inventor it has been investigated that, the method for traditional protect eyes
Or device has the following problems:The actual continuous use eyes of user cannot be detected to carry out certain movable time, such as continuously
Using the time of electronic curtain, i.e., it cannot determine that user needs eyeshield or rest according to the actual degree of fatigue of eyes of user
Time.Therefore, the control for carrying out the time of eyeshield is needed to there is a problem of inaccuracy in the scheme of existing eyeshield to user.
Invention content
Based on this, the technology for needing the control for carrying out the time of eyeshield to there is inaccuracy to solve above-mentioned to user is asked
Topic additionally provides a kind of method prompting user's progress eyeshield by intelligent glasses.
A method of prompt user to carry out eyeshield by intelligent glasses, including:Target is obtained by camera
Image searches foreground target corresponding with target identification region;
Obtain the relative position of foreground target region in the target image;
Detect the foreground target region exist and at a distance from target image central point less than first threshold first continue
Time;
Judge whether the first duration was more than second threshold, if so, generating prompt message.
Wherein, detection foreground target region exists and first less than first threshold at a distance from target image central point holds
The step of continuous time further includes:Detection foreground target region is not present or foreground target region is at a distance from target image central point
Not less than the second duration of first threshold, when the second duration being more than third threshold value, refreshes detection described first and hold
The step of continuous time.
Wherein, detection foreground target region exists and first less than first threshold at a distance from target image central point holds
Further include before the step of continuous time:Detect reference point corresponding with foreground target region in foreground target region and target image
The vertical range of position, judges whether vertical range is more than the 4th threshold value, if so, generating the prompt letter at adjustment pitching visual angle
Breath.
Optionally, this method further includes:The communication connection between terminal is established, is corresponded in the foreground target region
When the image of the electronic display of the terminal of connection and first duration are more than second threshold, send screen saver programs and play
The terminal is given in instruction or screen out code.
Wherein, detection foreground target region exists and first less than first threshold at a distance from target image central point holds
Further include before the step of continuous time:The intensity of ambient light is obtained by light sensor;Foreground target region is obtained to correspond to
Brightness;Judge ambient light intensity whether the brightness matching with foreground target region, carried if it is not, then generating adjustment light
Show information.
Wherein, further include after the step of obtaining the intensity of ambient light by light sensor:In foreground target region
When the image of the corresponding terminal electronic display screen having connected, the display ginseng for the terminal electronic display screen having connected is obtained by connecting
Number, display parameters include contrast, brightness and screen scanning frequency;Judge ambient light intensity whether with display parameters
Match, if it is not, then generating corresponding screen display parameters adjust instruction, and is sent to the terminal.
Wherein, the foreground target region is detected to exist and be less than first threshold at a distance from the target image central point
The first duration the step of before further include:Corresponding with foreground target region target range is obtained, described in judgement
Whether distance belongs to preset 5th threshold interval, if it is not, then generating the prompt message of adjustment distance.
In addition, need the control for carrying out the time of eyeshield to there is inaccurate technical problem to solve above-mentioned to user,
A kind of device prompting user's progress eyeshield by intelligent glasses is additionally provided, including:
Foreground target regional search module is searched corresponding with target identification for obtaining target image by camera
Foreground target region;
Relative position acquisition module, for obtaining relative position of the foreground target region in the target image;
First duration detection module, for detect the foreground target region exist and with the target image center
The distance of point is less than the first duration of first threshold;
Prompt message generation module, for when the duration whether being more than second threshold, generating prompt message.
Optionally, the foreground target region is detected to be not present or the foreground target region and the target image center
The distance of point is not less than the second duration of first threshold, when second duration being more than third threshold value, refreshes institute
State the step of detecting first duration.
Optionally, described device further includes the prompt message generation module of pitch angle, for detecting the foreground target
The vertical range of reference point locations corresponding with the foreground target region in region and the target image;Judge described vertical
Whether distance is more than the 4th threshold value, if so, generating the prompt message at adjustment pitching visual angle.
Optionally, described device further includes screen saver programs play instruction or screen out code sending module, is used for:Institute
The image and first duration for stating the electronic display for the terminal that foreground target region correspondence has connected are more than the second threshold
When value, screen saver programs play instruction or screen out code are sent to the terminal.
Optionally, described device further includes adjusting the prompt message generation module of light, is used for:It is obtained by light sensor
Take the intensity of ambient light;Obtain the corresponding brightness in the foreground target region;Judge the ambient light intensity whether with
The brightness matching in the foreground target region, if it is not, then generating the prompt message of adjustment light.
Optionally, the prompt message generation module of the adjustment light is additionally operable to:It is corresponded in the foreground target region
When the image of the terminal electronic display screen of connection, by the display for the terminal electronic display screen being had connected described in the connection acquisition
Parameter, the display parameters include contrast, brightness and screen scanning frequency;Judge the ambient light intensity whether with institute
Display parameters matching is stated, if it is not, then generating corresponding screen display parameters adjust instruction, and is sent to the terminal.
Optionally, described device further includes adjusting the prompt message generation module of distance, is used for:
Target range corresponding with the foreground target region is obtained, judges whether the distance belongs to preset 5th threshold
It is worth section, if it is not, then generating the prompt message of adjustment distance.
Implement the embodiment of the present invention, will have the advantages that:
It is continuous in detection user after using the method and apparatus for carrying out eyeshield above by intelligent glasses prompt user
During carrying out a certain movable duration with eye, it is contemplated that object actually exists in the user visual field and the mesh
Mark object is main observation object rather than the duration of background of user therefore more accurately can to use eye according to user is practical
Time come control user need carry out eyeshield time, improve user need carry out eyeshield time control it is accurate
Property.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
Obtain other attached drawings according to these attached drawings.
Wherein:
Fig. 1 is a kind of flow chart for the method for prompting user to carry out eyeshield by intelligent glasses in one embodiment;
Fig. 2 is the target image obtained by camera in one embodiment and the schematic diagram in foreground target region;
Fig. 3 is the schematic diagram of the position to be seen the mobile phone by intelligent glasses in one embodiment;
Fig. 4 is a kind of schematic diagram for the device for prompting user to carry out eyeshield by intelligent glasses in one embodiment.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts
Embodiment shall fall within the protection scope of the present invention.
The control for carrying out the time of eyeshield is needed to there is inaccurate technical problem to solve above-mentioned to user, in a reality
It applies in example, spy proposes a kind of method prompting user's progress eyeshield by intelligent glasses, and the execution of this method can be dependent on meter
Calculation machine program, the computer program can run on the computer system of von Neumann system, which is intelligence
The wearable devices such as glasses.
Specifically, in the present embodiment, prompting user to carry out the method for eyeshield as shown in Figure 1, including by intelligent glasses:
Step S102:Target image is obtained by camera, searches foreground target corresponding with target identification region.
Target image is the scene image that user is observed by intelligent glasses, in the present embodiment, the target image
It is obtained by the cameras of intelligent glasses, target image includes to have powerful connections and foreground target, and in the acquisition of target image
Background area and foreground target region are identified in journey.Such as in application scenarios shown in Fig. 2, exhibiting pictures are to pass through camera shooting
The target image A that head obtains, wherein the region marked as 1,2,3,4,5 is the foreground target region in target image.
Target identification is that user is preset, the identification information for the target searched required for containing, if for example, user
The time for needing to control its using terminal electrical screen by intelligent glasses, then preset needed for the target searched be terminal
Electronic display, such as mobile phone screen, computer monitor, video screen, the terminal that target identification is searched required for containing
Electronic display identification information.
In the present embodiment, if the preset target of user is the electronic display of terminal, lookup and target identification
Corresponding foreground target region is the image for searching the electronic display in target image, in the application scenarios that Fig. 2 is provided,
As 2 corresponding foreground target region of label;If the preset target of user is books, search corresponding with target identification
Foreground target region is the corresponding image of books searched in target image, as 5 corresponding foreground target region of label.
In target image A, labeled region is not exactly background area.
Step S104:Obtain relative position of the foreground target region in the target image.
Foreground target region is that multiple pixels in target image form, and the position in foreground target region is pair
The coordinate for the pixel answered.Such as:Corresponding coordinate (x px, y px) is x-th lateral of pixel column and y-th longitudinal of picture
Plain row intersects the position of the pixel at place.
In the present embodiment, it is also necessary to which the coordinate of pixel is converted into relative position.For example, if target image is 1280
× 960 image, i.e., laterally have 1280 pixel columns, longitudinally have 960 pixels pair, then certain pixel coordinate (500px,
460px) corresponding relative position is (500/1280,460/960).It should be noted that in the present embodiment, needing to obtain institute
State the relative position of each pixel in foreground target region.
Step S106:Foreground target region is detected to exist and at a distance from target image central point less than the of first threshold
One duration.
If as shown in figure 3, within the scope of the line of sight of smart mobile phone intelligent glasses, the mesh of the camera shooting of intelligent glasses
I.e. there are the imaging of smart mobile phone in logo image, which is the corresponding foreground target region of smart mobile phone.
Foreground target region is at a distance from target image central point i.e. with smart mobile phone relative to the visual field with intelligent glasses
The offset distance of central axes is directly proportional.When offset distance farther out when, then the foreground target region of smart mobile phone is in target image
Edge;When offset distance is closer, then the foreground target region of smart mobile phone is in the center of target image.And wear Brilliant Eyes
The user of mirror in normal observation, due to human eye usually by look at straight target observations object, when offset distance farther out when,
It is believed that the corresponding object in foreground target region is not the most important observation object of human eye, and it is more likely to be actually observed object
Background.
It is insensitive to pitch angle when optionally, due to human eye observation's object, and it is sensitive to horizontal-shift, therefore, offset
Distance can only consider horizontal-shift distance.That is, only calculate foreground target region in the horizontal direction of target image with
The distance of the central point of target image.
In the present embodiment, can timing sampling obtain foreground target region at a distance from the central point of target image, and
When detecting that the distance is less than first threshold for the first time, start timer and start timing, if big to the distance in certain sampling Detection
When first threshold, then the timer time is obtained, and resets the timer.When the timer time of the acquisition is first lasting
Between.
Optionally, since people is when reading a book or seeing computer display screen, it is possible to can briefly divert sb.'s attention, for example see key
Disk, equal behaviors of drinking water.In order to avoid the judgement of the first duration of above-mentioned behavioral implications, also detectable foreground target region is not deposited
Or the foreground target region at a distance from the target image central point be not less than first threshold the second duration,
When second duration is more than third threshold value, refresh the first duration of detection.
As previously mentioned, when detecting that the distance is less than first threshold for the first time, starts first timer and start timing, if
When certain sampling Detection to the distance is more than first threshold, then starts second timer and start timing, if subsequently examining again
When measuring the distance less than first threshold, then second timer is reset into timing.If in the process, detecting second meter
When device duration (be the second duration) when being more than third threshold value, then it represents that the sight offset of user is observed object and there has been
Significant period of time, therefore, the non-accidental of short duration behavior of transfer of user's sight, at this point, first timer can be obtained
Time, and reset first timer restart calculate the first duration.
Step S108:Judge whether first duration is more than second threshold, if so, generating prompt message.
Second threshold is the time threshold that user can continuously watch the foreground target attentively, which is to preset
, it can be that user is preset, can also be matching time threshold of the system according to the different set of object,
And according to the difference of the object of foreground target, which can also differ.Such as can continuously see TV time,
The time continuously read a book, the time continuously to enjoy scenery should be different between three.
In the present embodiment, if the foreground target region that detects exists and is less than the at a distance from target image central point
First duration of one threshold value be more than second threshold, that is, illustrate the degree of fatigue of the eyes of user reached need rest when
Between, system generates corresponding prompt message and reminds user at this time.It should be noted that the prompt message can be the alarm of voice
Information, or the prompt message of other forms.In other embodiments, it corresponds to and has connected in the foreground target region
When the image of the electronic display of terminal, the prompt message can also be sent to by the connection between intelligent glasses and terminal
The terminal, and by the electronic display of terminal show with this come prompt user need carry out eyeshield, to reach
The purpose of protective spectacles.
Optionally, in one embodiment, position of the foreground target region in the target image is obtained in step S104
After setting, further includes having acquisition at a distance from the foreground target, judge whether the distance belongs to preset 5th threshold zone
Between, if it is not, then generating the prompt message of adjustment distance.
In the present embodiment, acquisition is intelligent glasses at a distance from foreground target, and is referred between physical objects
Physical distance, there are many acquisition modes of distance, such as is obtained by range sensor, passes through the automatic focusing function of camera
To obtain etc..
It should be noted that in the present embodiment, preset 5th threshold interval be according to the object of foreground target not
Same and setting corresponding reference interval, for example, the best watching distance of 24 inches of TV is 3.0 meters, reference interval can
With She Zhiwei [2.5 ,+∞), i.e., watching distance should be not less than 2.5 meters, if the distance is less than 2.5 meters, need to prompt user
Watching distance is excessively close, needs to be adjusted.If with preset 5th threshold interval is belonged at a distance from foreground target, that is, indicate intelligence
The distance between glasses and foreground target need not adjust within the scope of rational;If the distance is not in preset 5th threshold
Be worth section within, that is, indicate this apart from when it is unreasonable or non-optimal, at this time with regard to need should distance be adjusted, with protect
Demonstrate,prove eyes of user comfort level, at this point, system generate adjustment distance prompt message, the information include acquisition it is existing away from
From value, best reference distance value and the relevant information of adjustment.The prompt message can remind user by voice broadcast, at it
In his embodiment, if foreground target region corresponds to the image for the terminal electronic display screen having connected, Brilliant Eyes can also be passed through
Related prompt message is sent to corresponding terminal, and the electronic display for passing through terminal by the communication connection between mirror and terminal
Show relevant distance adjustment prompt message.
Optionally, in one embodiment, phase of the foreground target region in the target image is obtained in step S104
Further include corresponding with the foreground target region in the detection foreground target region and the target image after position
The vertical range of reference point locations, judges whether the vertical range is more than the 4th threshold value, if so, generating adjustment pitching visual angle
Prompt message.
In one embodiment, when detection foreground target region is at a distance from reference point locations, detection can be entire
All pixels in foreground target region can also be central point, leftmost side point, rightmost side point or any other by user
The point of definition.Reference point corresponding with foreground target region is preset according to the difference of foreground target in target image
, and can both be set by the user, can also be the matching reference point that system is provided according to the difference of foreground target.
For example, the central point of target image can be set as reference point, central point is generally the point of user's sight direct-view.If for another example
Foreground target is computer display screen, and healthier reading angle is the 7- of 40 ° of the angle of depression or screen center below eyes
Between 10 °, then the position according to the optimal reference point of this angle is needed.For another example if foreground target is books or newspaper etc., most
Good reading visual angle is 45 °, and rational angular field of view of reading is 30-60 °, is just needed at this time according to this optimal reading angle
Its reference point is set.
In the application scenarios that Fig. 2 is provided, target image A is the image that size is 1280 × 960, before label 2 is corresponding
Scape target area is the image of computer display screen, the corresponding relative position in foreground target region got in step S104
Be (500/1280,360/960) for vertex, (500/1280,600/960), (780/1280,360/960), (780/1280,
600/960) 4 points of quadrangle, and set its detection point as the central point of rectangle, i.e., phase position for (640/1280,
480/960) point.In the present embodiment, it is (640/1280,400/960) institute that pre-defined reference position, which is relative position,
Point.Then the vertical range of the central point in foreground target region and reference point locations is 80/960, if the 4th threshold value of setting
100/960, that is, illustrate vertical range be not more than the 4th threshold value, the pitch angle that user watches the computer display screen attentively be it is suitable,
It need not be adjusted.
For another example in application scenarios given by Fig. 2, if the image in the corresponding foreground target region of target identification is book
This image, as corresponding to label 5 and the central point in the foreground target region that is got in step S104 correspond to
Relative position be (700/1280,200/960), the position of preset reference point is to think that contraposition is set in target image A
(640/1280,300/960), then the vertical range that can calculate the central point in foreground target region and the position of reference point is 100/
960, if pre-set 4th threshold value is 80/960, illustrate that vertical range is more than the 4th threshold value, user's reading
Pitch angle is unreasonable, needs to be adjusted, and to ensure the comfort level of eyes of user, then generates carrying for pitch angle adjustment
Show information, the prompt message information includes the relevant information of pitch angle adjustment.The prompt message can pass through voice broadcast
User is reminded, in other embodiments, such as in upper example, if foreground target region corresponds to the terminal electronic display screen having connected
When image, related prompt message can also be sent to corresponding terminal by the communication connection between intelligent glasses and terminal,
And show that relevant pitch angle adjusts prompt message by the display screen of terminal.
It should be noted that in the present embodiment, the calculating of the relevant information of the adjustment of pitch angle is in intelligent glasses
With consider under the premise of optimum distance at a distance from foreground target, in other embodiments, it is also contemplated that intelligent glasses with before
The actual range of scape target and the sight of user and horizontal line line angulation.
For example, in an application scenarios, as shown in figure 3, user's operable intelligence hand while wearing intelligent glasses
Machine, intelligent glasses can in advance be matched and be established with smart mobile phone and connect, for example, establishing connection by wifi or bluetooth.It establishes
After connection, if intelligent glasses detect that the foreground target region in the image of shooting corresponds to the electronical display for the terminal having connected
The shield and foreground target region is more than less than the first duration of first threshold at a distance from the central point of the image of shooting
When second threshold, screen saver programs play instruction or screen out code are sent to the terminal.
In one embodiment, if foreground target region corresponds to the image of the electronic display for the terminal having connected, i.e. table
Show that user is using the electronic display, and the first duration illustrated that user used the electronical display more than second threshold
The time of screen has reached certain display, needs to carry out eyeshield at this time.In upper example, provides the corresponding prompt message of generation and carry
The method of awake user in order to force user not use electronic display, reduces the injury to eyes, has in the present embodiment
Effect ground protect eyes, present embodiments provide a kind of compulsory measure, that is, send screen saver programs play instruction or screen out code
To terminal.After terminal receives the screen saver programs play instruction of intelligent glasses transmission, screen protection is played in the electronic display;
After terminal receives the screen out code of intelligent glasses transmission, corresponding electronic display is closed, to force user not
The electronic display can be continuing with.
It should be noted that the terminal being connect with intelligent glasses can have it is multiple, such as intelligent glasses can simultaneously and hand
Mechanical, electrical brain, TV establish connection.Intelligent glasses send screen saver programs play instruction or screen out code to a certain terminal it
Afterwards, if detecting, the corresponding image in foreground target region of target image is the electronic display of other terminals having connected, hair
It send screen saver programs play instruction or screen out code to the terminal, forces user that can not use other having electronic display screens
Terminal device.
In one embodiment, further include:The intensity of ambient light is obtained by light sensor;Obtain the foreground mesh
Mark the corresponding brightness in region;Judge the ambient light intensity whether the brightness matching with the foreground target region, if it is not,
Then generate the prompt message of adjustment light.
Specifically, the brightness of ambient light is obtained by light sensor, the corresponding brightness in foreground target region refers to
The brightness of position in the target image got where foreground target region, and the brightness can be obtained by camera.Sentence
Whether disconnected the two, which matches to contain, judges whether the relative size of the brightness of the two is matched, and according to the difference of object
Its matched specific decision criteria also differs.If for example, foreground target region it is corresponding be electronic display image,
Ambient light should be just 3 times of screen intensity;If it is the image of books, foreground target area that foreground target region is corresponding
The brightness in domain should just reach certain preset value and just can guarantee that user uses the comfort level of eyes;It should be noted that judgement
The whether matched decision criteria of the brightness of ambient light brightness corresponding with foreground target region can be preset by user
Can be that system is preset according to optimal situation.
If the brightness in the intensity of the ambient light and foreground target region mismatches, illustrate the bright of ambient light instantly
It is inappropriate to spend improper or foreground target region brightness, need to be adjusted the comfort level to ensure user's eye and
Protective effect is ridden up to eyes, then generates corresponding light adjustment prompt message, light adjustment prompt message, which contains, works as front ring
The brightness of border light, the corresponding brightness in foreground target region, the selection of optimal matching brightness and the correlation how to adjust are built
Information is discussed, which can remind user by voice broadcast, if foreground target region corresponds to the terminal electronic having connected and shows
When the image of display screen, related prompt message can also be sent to by the communication connection between intelligent glasses and terminal corresponding
Terminal, and show that relevant light adjusts prompt message by the display screen of terminal.
In one embodiment, further include further having to correspond to the terminal electronic having connected in the foreground target region
When the image of display screen, pass through the display parameters for the terminal electronic display screen being had connected described in the connection acquisition, the display
Parameter includes contrast, brightness and screen scanning frequency;Judge the ambient light intensity whether with the display parameters
Match, if it is not, then generating corresponding screen display parameters adjust instruction, and is sent to the terminal.
It should be noted that intelligent glasses are wearable electronic equipment, its communication link between terminal can be established
It connects, such as intelligent glasses and computer, mobile phone, TV terminal can be connected by modes such as wireless network, bluetooths, and
The mutual transmission of message between the two can be realized by the connection.Such as in the present embodiment, intelligent glasses and terminal are connected
It picks up after coming, when foreground target region corresponds to the terminal electronic display screen having connected, which can be obtained by the connection
The relevant information at end, such as the display parameters of electronic display, in the present embodiment, the display parameters contain contrast, bright
Degree and screen scanning rate frequency.
In the present embodiment, the intensity of ambient light is obtained by light sensor.To keep eyes of user
Comfort level, the brightness of ambient light should be 3 times of screen intensity, and screen scanning frequency should be more than 60 times per second, therefore,
Judge whether the brightness of the ambient light matches to contain with the display parameters of the electronic display and judges that the screen is swept
It retouches frequency and whether is more than 60 times per second, judges whether the brightness of ambient light is 3 times of screen intensity, if screen scanning frequency is small
In the brightness of 60 times per second and/or ambient light be not 3 times of screen intensity, then it represents that the brightness of ambient light and electronical display
The brightness of screen is unmatched, is needed to be adjusted to ensure the comfort level of eyes of user, then system generates relevant light tune
Whole prompt message.
It should be noted that the adjustment of light contains the tune of the adjustment and electronic display screen displays parameter of ambient light
Whole, the adjustment of ambient light can be generated relevant ambient light adjustment prompt message by intelligent glasses and be sent to terminal, and
Prompt user is shown on the display screen of terminal goes the operation for carrying out relevant operation, for example turning on light, drawing the curtain together etc
Etc.;The light that the adjustment of the related display parameters of electronic display is generated relevant electronic display by intelligent glasses shows ginseng
Number adjustment prompt message is simultaneously sent to terminal, and shows prompt user on the display screen of terminal and go to carry out relevant behaviour
Make, it is possibility to have intelligent glasses send relevant adjust instruction and are adjusted by terminal to terminal.
In one embodiment, user is prompted to protect by intelligent glasses as shown in figure 3, also correspondingly proposing one kind
The device of eye, including:
Foreground target regional search module 402 is searched corresponding with target identification for obtaining target image by camera
Foreground target region;
Relative position acquisition module 404, for obtaining opposite position of the foreground target region in the target image
It sets;
First duration detection module 406, for detect the foreground target region exist and with the target image
The distance of central point is less than the first duration of first threshold;
Prompt message generation module 408, for when the duration whether being more than second threshold, generating prompt letter
Breath.
In the present embodiment, the first duration detection module 406 is additionally operable to:Detection foreground target region is not present or institute
The second duration that foreground target region is not less than first threshold at a distance from the target image central point is stated, described the
Two duration be more than third threshold value when, refresh the detection first duration the step of.
Optionally, the present apparatus further includes the prompt message generation module of pitch angle, for detecting the foreground target area
The vertical range of reference point locations corresponding with the foreground target region in domain and the target image;Judge it is described vertically away from
From whether the 4th threshold value is more than, if so, generating the prompt message at adjustment pitching visual angle.
Optionally, the present apparatus further includes screen saver programs play instruction or screen out code sending module, is used for:Described
Foreground target region corresponds to the image of the electronic display for the terminal having connected and first duration is more than second threshold
When, screen saver programs play instruction or screen out code are sent to the terminal.
Optionally, the present apparatus further includes adjusting the prompt message generation module of light, is used for:It is obtained by light sensor
The intensity of ambient light;Obtain the corresponding brightness in the foreground target region;Judge the ambient light intensity whether with institute
The brightness matching in foreground target region is stated, if it is not, then generating the prompt message of adjustment light.
Further, the prompt message generation module for adjusting light is additionally operable to:It corresponds to and has connected in the foreground target region
When the image of the terminal electronic display screen connect, joined by the display for the terminal electronic display screen being had connected described in the connection acquisition
Number, the display parameters include contrast, brightness and screen scanning frequency;Judge the ambient light intensity whether with it is described
Display parameters match, if it is not, then generating corresponding screen display parameters adjust instruction, and are sent to the terminal.
Optionally, the present apparatus further includes adjusting the prompt message generation module of distance, is used for:It obtains and the foreground target
The corresponding target range in region, judges whether the distance belongs to preset 5th threshold interval, if it is not, then generating adjustment distance
Prompt message.
In conclusion implementing the embodiment of the present invention, will have the advantages that:
It is continuous in detection user after using the method and device for carrying out eyeshield above by intelligent glasses prompt user
During carrying out a certain movable duration with eye, it is contemplated that object actually exists in the user visual field and the mesh
Mark object is main observation object rather than the duration of background of user, and while considering user's of short duration offset sight should be eventually
Only to the detection of the duration, therefore, more accurately actually can need to carry out to control user with eye according to user
The time of eyeshield improves user and needs to carry out the accuracy of the control of the time of eyeshield.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium
In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.
Claims (14)
1. a kind of method prompting user's progress eyeshield by intelligent glasses, including:
Target image is obtained by camera, searches foreground target corresponding with target identification region;
Obtain relative position of the foreground target region in the target image;
It detects the foreground target region presence and is less than the first of first threshold at a distance from the target image central point and hold
The continuous time;
Judge whether first duration is more than second threshold, if so, generating prompt message.
2. according to claim 1 prompt the method that user carries out eyeshield by intelligent glasses, which is characterized in that the inspection
Survey the first duration that the foreground target region exists and is less than first threshold at a distance from the target image central point
The step of further include:
Detect the foreground target region at a distance from the target image central point not less than first threshold second continue when
Between, second duration be more than third threshold value when, refresh the detection first duration the step of.
3. according to claim 1 prompt the method that user carries out eyeshield by intelligent glasses, which is characterized in that the inspection
Survey the first duration that the foreground target region exists and is less than first threshold at a distance from the target image central point
The step of before further include:
Detect reference point locations corresponding with the foreground target region in the foreground target region and the target image
Vertical range, judges whether the vertical range is more than the 4th threshold value, if so, generating the prompt message at adjustment pitching visual angle.
4. according to claim 1 prompt the method that user carries out eyeshield by intelligent glasses, which is characterized in that the side
Method further includes:
The communication connection between terminal is established, the electronic display for the terminal having connected is corresponded in the foreground target region
When image and first duration are more than the second threshold, send screen saver programs play instruction or screen out code to
The terminal.
5. according to claim 1 or 4 prompt the method that user carries out eyeshield by intelligent glasses, which is characterized in that institute
It states the detection foreground target region presence and is less than the first of first threshold at a distance from the target image central point and continue
Further include before the step of time:
The intensity of ambient light is obtained by light sensor;
Obtain the corresponding brightness in the foreground target region;
Judge the ambient light intensity whether the brightness matching with the foreground target region, if it is not, then generating adjustment light
The prompt message of line.
6. according to claim 5 prompt the method that user carries out eyeshield by intelligent glasses, which is characterized in that described logical
Crossing the step of light sensor obtains the intensity of ambient light further includes later:
When the foreground target region corresponds to the image for the terminal electronic display screen having connected, described in connection acquisition
The display parameters for the terminal electronic display screen having connected, the display parameters include contrast, brightness and screen scanning frequency;
Judge whether the intensity of the ambient light matches with the display parameters, if it is not, then generating corresponding screen display ginseng
Number adjust instruction, and it is sent to the terminal.
7. according to claim 1 prompt the method that user carries out eyeshield by intelligent glasses, which is characterized in that the inspection
Survey the first duration that the foreground target region exists and is less than first threshold at a distance from the target image central point
The step of before further include:
Target range corresponding with the foreground target region is obtained, judges whether the distance belongs to preset 5th threshold zone
Between, if it is not, then generating the prompt message of adjustment distance.
8. a kind of device prompting user's progress eyeshield by intelligent glasses, including:
Foreground target regional search module searches foreground corresponding with target identification for obtaining target image by camera
Target area;
Relative position acquisition module, for obtaining relative position of the foreground target region in the target image;
First duration detection module, for detect the foreground target region exist and with the target image central point
Distance is less than the first duration of first threshold;
Prompt message generation module, for when the duration whether being more than second threshold, generating prompt message.
9. according to claim 8 prompt the device that user carries out eyeshield by intelligent glasses, which is characterized in that described the
One duration detection module is additionally operable to:
Detect the foreground target region at a distance from the target image central point not less than first threshold second continue when
Between, second duration be more than third threshold value when, refresh the detection first duration the step of.
10. according to claim 8 prompt the device that user carries out eyeshield by intelligent glasses, which is characterized in that described
Device further includes the prompt message generation module of pitch angle, for detecting in the foreground target region and the target image
The vertical range of reference point locations corresponding with the foreground target region;Judge whether the vertical range is more than the 4th threshold
Value, if so, generating the prompt message at adjustment pitching visual angle.
11. according to claim 8 prompt the device that user carries out eyeshield by intelligent glasses, which is characterized in that described
Device further includes screen saver programs play instruction or screen out code sending module, is used for:
The image of the electronic display for the terminal having connected is corresponded in the foreground target region and first duration is super
When crossing second threshold, screen saver programs play instruction or screen out code are sent to the terminal.
12. the device for prompting user's progress eyeshield by intelligent glasses according to claim 8 or 11, which is characterized in that
Described device further includes adjusting the prompt message generation module of light, is used for:
The intensity of ambient light is obtained by light sensor;Obtain the corresponding brightness in the foreground target region;Described in judgement
The intensity of ambient light whether the brightness matching with the foreground target region, if it is not, then generate adjustment light prompt message.
13. according to claim 12 prompt the device that user carries out eyeshield by intelligent glasses, which is characterized in that described
The prompt message generation module of adjustment light is additionally operable to:
When the foreground target region corresponds to the image for the terminal electronic display screen having connected, described in connection acquisition
The display parameters for the terminal electronic display screen having connected, the display parameters include contrast, brightness and screen scanning frequency;Sentence
Whether the intensity of the disconnected ambient light matches with the display parameters, if it is not, then generating corresponding screen display parameters adjustment
Instruction, and it is sent to the terminal.
14. according to claim 8 prompt the device that user carries out eyeshield by intelligent glasses, which is characterized in that described
Device further includes the prompt message generation module for adjusting distance, is used for:
Target range corresponding with the foreground target region is obtained, judges whether the distance belongs to preset 5th threshold zone
Between, if it is not, then generating the prompt message of adjustment distance.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510208720.1A CN105573627B (en) | 2015-04-28 | 2015-04-28 | It is a kind of to prompt the method and device that user carries out eyeshield by intelligent glasses |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510208720.1A CN105573627B (en) | 2015-04-28 | 2015-04-28 | It is a kind of to prompt the method and device that user carries out eyeshield by intelligent glasses |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105573627A CN105573627A (en) | 2016-05-11 |
CN105573627B true CN105573627B (en) | 2018-10-26 |
Family
ID=55883829
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510208720.1A Active CN105573627B (en) | 2015-04-28 | 2015-04-28 | It is a kind of to prompt the method and device that user carries out eyeshield by intelligent glasses |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105573627B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105931434B (en) * | 2016-05-18 | 2018-09-18 | 南京信息职业技术学院 | A kind of apparatus and method for preventing myopia myopia development |
CN106200933B (en) * | 2016-06-28 | 2019-10-22 | Oppo广东移动通信有限公司 | Control method, control device and electronic device |
CN106896530A (en) * | 2017-04-17 | 2017-06-27 | 云南中科物联网科技有限公司 | The control method and intelligent glasses of a kind of automatic protection eyesight based on Internet of Things |
CN106970711B (en) * | 2017-04-27 | 2020-06-30 | 上海临奇智能科技有限公司 | Method and equipment for aligning VR display device and display terminal screen |
CN107205125B (en) * | 2017-06-30 | 2019-07-09 | Oppo广东移动通信有限公司 | A kind of image processing method, device, terminal and computer readable storage medium |
CN110232313A (en) * | 2019-04-28 | 2019-09-13 | 南京览视医疗科技有限公司 | A kind of eye recommended method, system, electronic equipment and storage medium |
CN110801229A (en) * | 2019-11-15 | 2020-02-18 | 英华达(上海)科技有限公司 | Eyesight protection monitoring method, system, equipment and storage medium |
WO2021140070A1 (en) * | 2020-01-10 | 2021-07-15 | Essilor International | Position variations of the lenses of an eyewear equipment |
CN112857563B (en) * | 2020-01-21 | 2022-11-08 | 上海掌门科技有限公司 | Method and equipment for detecting scene light |
CN117406887B (en) * | 2023-11-21 | 2024-04-09 | 东莞莱姆森科技建材有限公司 | Intelligent mirror cabinet control method and system based on human body induction |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102216977A (en) * | 2011-06-24 | 2011-10-12 | 华为终端有限公司 | A method for automatically adjusting screen display and a device thereof |
CN102871793A (en) * | 2012-10-19 | 2013-01-16 | 江苏万新光学有限公司 | Intelligent vision protection and interaction application system |
CN103366517A (en) * | 2012-03-28 | 2013-10-23 | 联想(北京)有限公司 | Viewing distance reminding method and device, and terminal device |
CN103479361A (en) * | 2013-09-03 | 2014-01-01 | 常州菲胜图自动化仪器有限公司 | Intelligent glasses and method for monitoring movement, preventing shortsightedness and correcting sitting postures by utilizing same |
CN103607622A (en) * | 2013-11-25 | 2014-02-26 | 深圳市九洲电器有限公司 | Television watching protecting method, device and set top box |
CN103700229A (en) * | 2013-12-06 | 2014-04-02 | 乐视致新电子科技(天津)有限公司 | Reminding method and electronic equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010147281A1 (en) * | 2009-06-16 | 2010-12-23 | (주)엘지전자 | Viewing range notification method and tv receiver for implementing the same |
-
2015
- 2015-04-28 CN CN201510208720.1A patent/CN105573627B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102216977A (en) * | 2011-06-24 | 2011-10-12 | 华为终端有限公司 | A method for automatically adjusting screen display and a device thereof |
CN103366517A (en) * | 2012-03-28 | 2013-10-23 | 联想(北京)有限公司 | Viewing distance reminding method and device, and terminal device |
CN102871793A (en) * | 2012-10-19 | 2013-01-16 | 江苏万新光学有限公司 | Intelligent vision protection and interaction application system |
CN103479361A (en) * | 2013-09-03 | 2014-01-01 | 常州菲胜图自动化仪器有限公司 | Intelligent glasses and method for monitoring movement, preventing shortsightedness and correcting sitting postures by utilizing same |
CN103607622A (en) * | 2013-11-25 | 2014-02-26 | 深圳市九洲电器有限公司 | Television watching protecting method, device and set top box |
CN103700229A (en) * | 2013-12-06 | 2014-04-02 | 乐视致新电子科技(天津)有限公司 | Reminding method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN105573627A (en) | 2016-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105573627B (en) | It is a kind of to prompt the method and device that user carries out eyeshield by intelligent glasses | |
US10795184B2 (en) | Apparatus and method for improving, augmenting or enhancing vision | |
US8810413B2 (en) | User fatigue | |
CN103118647B (en) | Exercise assistance system | |
CN105992965A (en) | Stereoscopic display responsive to focal-point shift | |
US20160131908A1 (en) | Visual stabilization system for head-mounted displays | |
CN105589199A (en) | Display device, method of controlling the same, and program | |
CN104616626B (en) | A kind of display device brightness regulating apparatus and method | |
CN106132284A (en) | Optical eye is dynamic follows the trail of | |
CN105353512B (en) | A kind of method for displaying image and image display device | |
CN104090371B (en) | A kind of 3D glasses and 3D display systems | |
CN104157107A (en) | Human body posture correction device based on Kinect sensor | |
CN103513421A (en) | Image processing device, image processing method, and image processing system | |
CN106781324A (en) | Vertebra system for prompting and light fixture are protected in a kind of eyeshield | |
CN107430785A (en) | For showing the method and system of three dimensional object | |
CN105279459A (en) | Terminal anti-peeping method and mobile terminal | |
JP7263474B2 (en) | Apparatus for examining human visual behavior and method for determining at least one optical design parameter of a spectacle lens using such apparatus | |
CN107077822B (en) | Control equipment and control method | |
CN108124150B (en) | The method that virtual reality wears display equipment and observes real scene by it | |
CN108897423A (en) | A kind of VR glasses and its online testing anti-cheating method | |
CN104382552B (en) | A kind of comprehensive visual function detection equipment | |
JP2005198818A (en) | Learning supporting system for bodily motion and learning supporting method | |
CN109901290A (en) | The determination method, apparatus and wearable device of watching area | |
CN107115094B (en) | Amblyopia detection system | |
CN105892634A (en) | Anti-dizziness method and virtual reality display output device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |