CN107563325A - Method and device for testing fatigue degree and terminal equipment - Google Patents
Method and device for testing fatigue degree and terminal equipment Download PDFInfo
- Publication number
- CN107563325A CN107563325A CN201710769912.9A CN201710769912A CN107563325A CN 107563325 A CN107563325 A CN 107563325A CN 201710769912 A CN201710769912 A CN 201710769912A CN 107563325 A CN107563325 A CN 107563325A
- Authority
- CN
- China
- Prior art keywords
- iris
- fatigue strength
- registration
- characteristic information
- image
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000012360 testing method Methods 0.000 title claims abstract description 38
- 238000004590 computer program Methods 0.000 claims description 21
- 238000003860 storage Methods 0.000 claims description 11
- 238000000605 extraction Methods 0.000 claims description 6
- 238000000151 deposition Methods 0.000 claims 1
- 230000008859 change Effects 0.000 abstract description 20
- 230000004438 eyesight Effects 0.000 abstract description 2
- 230000004071 biological effect Effects 0.000 abstract 1
- 230000006870 function Effects 0.000 description 9
- 230000008569 process Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 238000005070 sampling Methods 0.000 description 5
- 210000001747 pupil Anatomy 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 239000000284 extract Substances 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000009795 derivation Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 201000010099 disease Diseases 0.000 description 1
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 210000003128 head Anatomy 0.000 description 1
- 230000008595 infiltration Effects 0.000 description 1
- 238000001764 infiltration Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000004379 myopia Effects 0.000 description 1
- 208000001491 myopia Diseases 0.000 description 1
- 238000004549 pulsed laser deposition Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
Landscapes
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
Abstract
The invention is suitable for the technical field of computer vision, and provides a method, a device and terminal equipment for testing fatigue, wherein the method comprises the following steps: acquiring images acquired by a camera at preset time intervals, and acquiring eye region images from the images acquired each time; extracting the characteristic information of the iris in the eye region image, and matching the extracted characteristic information of the iris with the prestored characteristic information of the iris to obtain the coincidence degree of the characteristic information of the iris in the extracted image and the prestored characteristic information of the iris; and obtaining the fatigue of the user according to the matching contact ratio of the two. The scheme determines the fatigue degree of the user according to the change condition of the iris, and the fatigue degree of the user can be accurately measured due to the biological activity and uniqueness of the iris related to the fatigue degree.
Description
Technical field
The invention belongs to technical field of computer vision, more particularly to a kind of method, apparatus and terminal for testing fatigue strength
Equipment.
Background technology
Now, the more and more extensive infiltration of the terminal device with display screen is in the life of people, work, the joy of people
Happy, study all increasingly be unable to do without display screen.People are longer using the time of display screen, and eyes will be more tired, long-term conventional
The problem of myopia just occurs, or even the related disease for neck, shoulders occur, in order to avoid these problems, there are many tests
The method of fatigue strength.
But the method for existing test fatigue strength is independently to be gone to test fatigue strength by user mostly, when user once immerses
When in recreation, it will not actively go to test fatigue strength.Or the terminal device with display screen is used according to user
Time obtain user fatigue strength, once terminal device shutdown or restart will reclocking, just can not accurately test
Go out the fatigue strength of user.
The content of the invention
In view of this, the embodiments of the invention provide a kind of method, apparatus and terminal device for testing fatigue strength, to solve
The problem of human fatigue is spent can not be accurately tested at present.
The first aspect of the embodiment of the present invention provides a kind of method for testing fatigue strength, including:
The image that camera is gathered with predetermined time interval is obtained, ocular is obtained from the described image gathered every time
Image;
The characteristic information of iris in the ocular image is extracted, and by the characteristic information of the iris of extraction and in advance
The characteristic information of the iris first stored is matched, and obtains the registration of both matchings;
The fatigue strength of user is obtained according to the registration.
The second aspect of the embodiment of the present invention provides a kind of device for testing fatigue strength, including:
Acquisition module, the image gathered for obtaining camera with predetermined time interval, from the described image gathered every time
Middle acquisition ocular image;
Registration obtains module, for extracting the characteristic information of iris in the ocular image, and by the institute of extraction
The characteristic information for stating iris is matched with the characteristic information of the iris prestored, obtains the registration of both matchings;
Fatigue strength obtains module, for obtaining the fatigue strength of user according to the registration.
The third aspect of the embodiment of the present invention provides a kind of terminal device, including memory, processor and is stored in
In the memory and the computer program that can run on the processor, described in the computing device during computer program
The step of realizing the methods described that first aspect of the embodiment of the present invention provides.
The fourth aspect of the embodiment of the present invention provides a kind of computer-readable recording medium, the computer-readable storage
Media storage has computer program, and the computer program realizes the embodiment of the present invention when being executed by one or more processors
On the one hand the step of methods described provided.
Existing beneficial effect is the embodiment of the present invention compared with prior art:
The embodiment of the present invention is when user uses the electronic equipment with camera, can be gathered and schemed by camera
Picture, ocular image is obtained from the image gathered every time, then extract the characteristic information of iris in ocular image, can
To pre-set the characteristic information of an iris or an iris, by the characteristic information of the iris in the image collected and in advance
The characteristic information of the iris first stored carries out the registration that matching obtains both matchings, and the tired of user is obtained according to the registration
Lao Du, the fatigue strength of user is determined using the uniqueness of iris, the iris biological nature related to fatigue.The fatigue so obtained
Degree is more accurate.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
In the required accompanying drawing used be briefly described, it should be apparent that, drawings in the following description be only the present invention some
Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these
Accompanying drawing obtains other accompanying drawings.
Fig. 1 is a kind of implementation process schematic diagram of the method for test fatigue strength that one embodiment of the invention provides;
Fig. 2 is a kind of implementation process schematic diagram of the method for test fatigue strength that one embodiment of the invention provides;
Fig. 3 is the schematic block diagram of the device for the test fatigue strength that one embodiment of the invention provides;
Fig. 4 is the schematic block diagram for the terminal device that one embodiment of the invention provides.
Embodiment
In describing below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc
Body details, thoroughly to understand the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity
Road and the detailed description of method, in case unnecessary details hinders description of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, special described by the instruction of term " comprising "
Sign, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, entirety, step,
Operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and appended claims is
Refer to any combinations of one or more of the associated item listed and be possible to combine, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Fig. 1 is the implementation process schematic diagram of the method for the test fatigue strength that one embodiment of the invention provides, as shown in the figure
This method may comprise steps of:
Step S101, the image that camera is gathered with predetermined time interval is obtained, is obtained from the described image gathered every time
Take ocular image.
In embodiments of the present invention, the camera can be display screen front camera, and user uses and carries display screen
Electronic equipment when, camera gather user image, in order to obtain the fatigue strength of user in real time, can adopt in real time
Collect image, such as at predetermined intervals, when time interval is sufficiently small, equivalent to real-time image acquisition.Collect image
Afterwards, it is necessary to obtain ocular image from the image of collection.Specifically the process of acquisition ocular image is:Detection collection
Whether there is face in image, if detecting face, continue to detect ocular in Face datection frame, if can't detect people
Face, then the image is abandoned.Further, since user is moved during using electronic equipment it is possible that adjusting posture etc.
Make, so the image of collection is it is possible that unsharp phenomenon, we can after gathering image, detect after face or
Judge whether image is clear after obtaining ocular, if clearly, continuing subsequent operation, the direct discarding image if unintelligible.
Step S102, extracts the characteristic information of iris in the ocular image, and by the spy of the iris of extraction
Reference breath is matched with the characteristic information of the iris prestored, obtains the registration of both matchings.
In embodiments of the present invention, can be according to the image zooming-out iris of ocular after obtaining ocular image
Image, the characteristic information of iris, the reading point of about 266 units of an iris are then extracted, and iris is given birth to as human body
Thing information and the state of mind of people have much relations, so can accurately be surveyed very much using the larger iris of information content is carried
Measure the fatigue strength of user.We can prestore an iris and be used as with reference to iris, and the iris gathered every time is with being used as reference
Iris be compared and obtain the two registration, the characteristic information for specifically comparing iris obtains registration.It is described advance
The iris of storage can be iris of the user of collection in the state of rest is good, then in the state of being rested according to user
The characteristic information that iris obtains is exactly the characteristic information of the iris of reference;It is described to take the photograph after can also be that user opens electronic equipment
As the iris in the image that is gathered for the first time in image that head is gathered with predetermined time interval, the posture due to user, dynamic is considered
Make etc. to influence, the image that may gather for the first time is simultaneously unintelligible, we can set first that camera collects meet it is pre-
If iris of the iris of condition as the iris prestored, that is, complete display, first rainbow for meeting preparatory condition
Characteristic information of the characteristic information of film as the iris prestored.
Step S103, the fatigue strength of user is obtained according to the registration.
In embodiments of the present invention, due to the biological characteristic of iris, iris may occur larger after human fatigue
Change, as the time of user's viewing electronic equipment display screen is longer, the change that iris occurs is bigger, then the feature letter of iris
The registration for the characteristic information of iris for ceasing and prestoring will be smaller, and we can set the scope of registration numerical value, be
One fatigue strength of each range set, for example, fatigue strength can be arranged to slight fatigue, moderate fatigue, severe fatigue.If
Fatigue strength is set into three scopes, corresponding just to need registration also to be set three scopes, the coincidence number of degrees in each scope
According to a corresponding fatigue strength, fatigue strength can also be arranged to specific numerical value, according to the spy of iris in the image currently gathered
The registration that reference ceases the characteristic information of the iris with prestoring generates specific fatigue strength numerical value.
In a particular application, after the fatigue strength for obtaining user, can also be sent according to the fatigue strength of user prompting message or
Person switches mode of learning.
If the fatigue strength of the user is more than fatigue threshold, prompting message or switching mode of learning are sent.
Different operations can also be made according to different fatigue strengths.In concrete application, it can be determined that fatigue strength and fatigue
The relation of threshold value, can also be according to the fatigue conditions of fatigue strength, for example, slight fatigue, moderate are tired so as to make different operations
Labor, severe fatigue make different operations.Specific operation includes prompting message, for example, voice reminder, vibration reminding, can be with
Alert, the pattern of current electronic equipment can also be switched, such as entertainment mode is switched into mode of learning.Can be with
By the fatigue strength of user compared with fatigue threshold, both registration (spies of the iris in the image of collection can also be used
The characteristic information of reference breath and the iris prestored) compared with registration threshold value, it is not limited herein.
In practice, we can set several fatigue thresholds (registration threshold value), corresponding different fatigue threshold section (weight
Right threshold interval), select different operations:Prompting message is sent, sends a warning, switch mode of learning.
As further embodiment of this invention, the fatigue strength that user is obtained according to the registration includes:
According to the characteristic information of iris in the image currently gathered and the registration of the characteristic information of the iris prestored
And the testing time obtains the fatigue strength of user.
In embodiments of the present invention, after user opens electronic equipment, or after receiving predetermined instruction, on electronic equipment
Camera start to gather image, and start timing.Can be according to the feature of iris in the time of timing and the image of collection
The registration of information and the characteristic information of default iris obtains the fatigue strength of user, because, the biology of everyone iris
Characteristic might have difference, and presumable people starts fatigue afterwards for a period of time using electronic equipment, but the spy of the iris of user
Reference ceases is also greater than threshold value, or the fatigue obtained according to registration with the registration of the characteristic information of the iris of collection for the first time
Degree is also less than fatigue threshold, at this moment will consider user and be determined whether using the time of electronic equipment and the fatigue strength of user
Send prompting message, warning message or switching mode of learning.In practical application, due to the change that content in screen is unexpected,
The suddenly change that can cause iris is possible to, this is possible to the characteristic information and first rainbow of iris in the image that currently gathers
The registration of the characteristic information of film is very low, and system will judge active user by accident and come into fatigue state, so we need
The registration binding test time is determined into the current fatigue strength of user.The characteristic information of the iris currently gathered with advance
The registration of the characteristic information of the iris of storage is exactly actually the registration of the iris currently gathered and the iris prestored.
As a citing, very first time threshold value, the second time threshold and the first registration threshold value, the second registration are set
Threshold value, when tested between illustrate that user comes into fatigue state when being more than the second time threshold;When the registration of iris is more than
Illustrate that user comes into fatigue state during the second registration threshold value;In very first time threshold value and the second time threshold between when tested
Registration illustrates that user comes into fatigue state between the first registration threshold value and the second registration threshold value simultaneously between value.
Certainly, in actual applications, other methods that human fatigue degree is determined according to the registration and testing time can also be set.
The embodiment of the present invention is when user uses the electronic equipment with camera, can be gathered in real time by camera
Image, ocular image is obtained from the image gathered every time, then extracts the characteristic information of iris in ocular image,
The characteristic information of an iris or an iris can be pre-set, by the characteristic information of the iris in the image collected with
The characteristic information of the iris prestored carries out matching and obtains registration, and the fatigue strength of user is obtained according to registration, utilizes rainbow
The fatigue strength of the uniqueness of film, the iris biological determination user related to fatigue.The fatigue strength so obtained is more accurate.
Fig. 2 is the schematic flow sheet that one embodiment of step S103 in Fig. 1 provides, and this method can include as shown in the figure
Following steps:
Step S201, according to the characteristic information of iris in the image gathered every time and the characteristic information of the iris prestored
Registration and every time the time point fitting of collection image obtain the curve that changes over time of registration.
In embodiments of the present invention, the biological characteristic of iris is not only relevant with fatigue strength, can not only change with fatigue strength
And change.Effect of the iris in eyes can adjust the size of pupil, so as to which the number of intraocular light adjusted.So work as screen
When light becomes strong suddenly in curtain, iris will adjust pupil and diminish so that the light into inside ofeye tails off, when light in screen
When line is dimmed suddenly, iris can adjust pupil and become big, so that the light into inside ofeye becomes more.Iris adjusts pupil
During the size in hole.Iris can change, then the characteristic information of iris can also change, but user watches by display screen
During the contents such as video, object for appreciation game, light is not unalterable.Therefore, we are designed according to rainbow in the image gathered every time
With the registration of the characteristic information of iris that prestores and every time, the time point fitting of collection image obtains the characteristic information of film
The curve that registration changes over time is obtained, the smooth curve being so fitted can abandon the point of registration suddenly change, that is,
The suddenly change of iris caused by light or other reasonses can be abandoned, the curve being so fitted be equivalent to be user rainbow
The registration of the characteristic information of film and the characteristic information of the iris prestored changes over time that (time is elongated, and fatigue strength also can
Corresponding increase, also corresponds to registration and changes with fatigue strength) curve.
Specifically the process for the curve that generation registration changes over time is:
First by the characteristic information of iris in the image gathered every time and the registration of the characteristic information of the iris prestored
Time point during corresponding collection image generates multiple coordinate points (time, registration), is according to iris during due to obtaining registration
Picture rich in detail obtain, unsharp image can discard, thus the point of fitting smooth curve institute reference be not completely by
According to predetermined time interval stepping., according to multiple coordinate points matched curves, x-axis is the time for we, and y-axis is registration, x-axis when
Between can be time for specifically sampling or specific sampling time and the time of first sampling difference, that is, survey
Try the time.Be fitted after smooth curve and just generate the curve that registration changes over time, in the curve of fitting the time of x-axis be
Stepping is spaced to schedule.
Step S202, obtain tangent slope of the curve in current point in time.
In embodiments of the present invention, we can only gather the image of portion of time point, according to the sampled point of a part
The curve that fitting registration changes over time;The curve of real-time update fitting can also be gathered in real time.If simply according to one
The curve for dividing the registration of sampled point fitting to change over time, then current point in time is exactly the current time, when being not necessarily sampling
Between;If the curve of collection real-time update fitting in real time, then current time point is exactly the time point of most freshly harvested image,
It is exactly the newest sampling time.After obtaining current point in time, the point generation tangent line in curve, tangent slope, tool are obtained
Body can be obtained with the mode of derivation, and the tangent slope of acquisition illustrates the current change degree of fatigue strength.
Step S203, according to corresponding to current point in time registration and the curve current point in time tangent line it is oblique
Rate obtains the fatigue strength of user.
In embodiments of the present invention, registration illustrates the situation of change of presented iris, and tangent slope illustrates coincidence
The situation of change of degree, just look like be speed and acceleration relation, it is assumed that registration corresponding speed, then acceleration just correspond to cuts
Line slope.So we may be referred to the situation of change of registration and registration to determine the fatigue strength of user.Certainly in reality
In the application of border, can also registration corresponding to the current time and the curve current point in time tangent slope
On the basis of be further added by the fatigue strength that parameter (testing time) obtains user, i.e., using three parameters (registration, tangent line it is oblique
Rate, testing time) determine the fatigue strength of user.
The embodiment of the present invention relative to the embodiment shown in Fig. 1 refined according to the characteristic information of iris in image with advance
The method that the characteristic information of the iris of storage obtains the fatigue strength of user, the embodiment of the present invention according to the biological characteristic of iris not
Only choose the characteristic information of the iris in the image of current time collection and overlapping for the characteristic information of the iris prestored
Degree goes to judge the fatigue strength of user, also abandons the suddenly change of registration caused by the suddenly change of iris, bent with fitting
The mode of line removes the sampled point of non-regularity, and the registration for the current sampled point being achieved in that more meets the change of iris
Rule, it is also contemplated that the situation of change of the registration of current point in time iris, utilizes the registration of iris and fitting bent
Line obtains the fatigue strength of user in the tangent slope of current point in time.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence, each process in above-described embodiment
Execution sequence should determine that the implementation process without tackling the embodiment of the present invention forms any limit with its function and internal logic
It is fixed.
Fig. 3 is the schematic block diagram of the device for the test fatigue strength that one embodiment of the invention provides, and for convenience of description, is only shown
Go out the part related to the embodiment of the present invention.
The device of the test fatigue strength can be built in terminal device (such as mobile phone, notebook, the end comprising camera
End equipment etc.) in software unit, hardware cell or the unit of soft or hard combination, institute can also be integrated into as independent suspension member
State in terminal device.
The device 3 of the test fatigue strength includes:
Acquisition module 31, the image gathered for obtaining camera with predetermined time interval, from the figure gathered every time
Ocular image is obtained as in;
Registration obtains module 32, for extracting the characteristic information of iris in the ocular image, and by extraction
The characteristic information of the iris is matched with the characteristic information of the iris prestored, obtains the registration of both matchings;
Fatigue strength obtains module 33, for obtaining the fatigue strength of user according to the registration.
Optionally, the iris prestored is the iris in the image that the camera gathers for the first time.
Optionally, the fatigue strength obtains module 33 and is specifically used for:Believed according to the feature of iris in the image currently gathered
Cease and the registration of the characteristic information of iris prestored and testing time obtain the fatigue strength of user.
Optionally, the fatigue strength obtains module 33 and included:
Curve matching unit 331, for according to the characteristic information of iris in the image gathered every time and the rainbow prestored
The curve that the time match acquisition registration of the registration of the characteristic information of film and every time collection image changes over time;
Tangent line obtaining unit 332, for obtaining tangent slope of the curve in current point in time;
Fatigue strength obtaining unit 333, for the registration according to corresponding to current point in time and the curve when current
Between the tangent slope put obtain the fatigue strength of user.
Optionally, the device of the test fatigue strength also includes:
Prompting module 34, if the fatigue strength for the user is more than fatigue threshold, send prompting message or switching
Mode of learning.
Optionally, the camera is display screen front camera.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work(
Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different
Functional unit, module are completed, will the internal structure of device of the test fatigue strength be divided into different functional unit or mould
Block, to complete all or part of function described above.Each functional unit, module in embodiment can be integrated at one
Reason unit in or unit be individually physically present, can also two or more units be integrated in a unit
In, above-mentioned integrated unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.Separately
Outside, each functional unit, the specific name of module are not limited to the protection model of the application also only to facilitate mutually distinguish
Enclose.Unit, the specific work process of module, may be referred to the corresponding process in preceding method embodiment, herein in said apparatus
Repeat no more.
Fig. 4 is the schematic block diagram for the terminal device that one embodiment of the invention provides.As shown in figure 4, the terminal of the embodiment
Equipment 4 includes:One or more processors 40, memory 41 and it is stored in the memory 41 and can be in the processor
The computer program 42 run on 40.The processor 40 realizes above-mentioned each test fatigue when performing the computer program 42
Step in the embodiment of the method for degree, such as the step S101 to S103 shown in Fig. 1.Or the processor 40 perform it is described
The function of each module/unit in above-mentioned terminal device embodiment, such as module 31 to 33 shown in Fig. 3 are realized during computer program 42
Function.
Exemplary, the computer program 42 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 41, and are performed by the processor 40, to complete the present invention.Described one
Individual or multiple module/units can be the series of computation machine programmed instruction section that can complete specific function, and the instruction segment is used for
Implementation procedure of the computer program 42 in the terminal device 4 is described.For example, the computer program 42 can be divided
It is cut into acquisition module, registration obtains module, fatigue strength obtains module.
The acquisition module, the image gathered for obtaining camera with predetermined time interval, described in gathering every time
Ocular image is obtained in image;
The registration obtains module, for extracting the characteristic information of iris in the ocular image, and will extraction
The characteristic information of the iris matched with the characteristic information of the iris prestored, obtain the registration of both matchings;
The fatigue strength obtains module, for obtaining the fatigue strength of user according to the registration.
Other modules or unit will not be described in detail herein referring in particular to the description of modules in Fig. 3.
The terminal device includes but are not limited to processor 40, memory 41.It will be understood by those skilled in the art that figure
4 be only the example of terminal device 4, does not form the restriction to terminal device 4, can be included than illustrating more or less portions
Part, some parts or different parts are either combined, such as the terminal device can also include input equipment, output is set
Standby, network access equipment, bus etc..
The processor 40 can be CPU (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng.
The memory 41 can be the internal storage unit of the terminal device 4, such as the hard disk of terminal device 4 or interior
Deposit.The memory 41 can also be the External memory equipment of the terminal device 4, such as be equipped with the terminal device 4
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, dodge
Deposit card (Flash Card) etc..Further, the memory 41 can also both include the storage inside list of the terminal device 4
Member also includes External memory equipment.The memory 41 is used to store needed for the computer program and the terminal device
Other programs and data.The memory 41 can be also used for temporarily storing the data that has exported or will export.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in detail or remembers in some embodiment
The part of load, it may refer to the associated description of other embodiments.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed terminal device, apparatus and method, can be with
Realize by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute
The division of module or unit is stated, only a kind of division of logic function, there can be other dividing mode when actually realizing, such as
Multiple units or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.Separately
A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be by some interfaces, device
Or INDIRECT COUPLING or the communication connection of unit, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated module/unit realized in the form of SFU software functional unit and as independent production marketing or
In use, it can be stored in a computer read/write memory medium.Based on such understanding, the present invention realizes above-mentioned implementation
All or part of flow in example method, by computer program the hardware of correlation can also be instructed to complete, described meter
Calculation machine program can be stored in a computer-readable recording medium, and the computer program can be achieved when being executed by processor
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation
Code can be source code form, object identification code form, executable file or some intermediate forms etc..The computer-readable medium
It can include:Any entity or device, recording medium, USB flash disk, mobile hard disk, the magnetic of the computer program code can be carried
Dish, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It is it should be noted that described
The content that computer-readable medium includes can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice
Subtract, such as in some jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and
Telecommunication signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality
Example is applied the present invention is described in detail, it will be understood by those within the art that:It still can be to foregoing each
Technical scheme described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed
Or replace, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme, all should
Within protection scope of the present invention.
Claims (10)
- A kind of 1. method for testing fatigue strength, it is characterised in that including:The image that camera is gathered with predetermined time interval is obtained, ocular figure is obtained from the described image gathered every time Picture;The characteristic information of iris in the ocular image is extracted, and by the characteristic information of the iris of extraction with depositing in advance The characteristic information of the iris of storage is matched, and obtains the registration of both matchings;The fatigue strength of user is obtained according to the registration.
- 2. the method for test fatigue strength as claimed in claim 1, it is characterised in that the iris prestored is taken the photograph to be described As the iris in the head for the first time image of collection.
- 3. the method for test fatigue strength as claimed in claim 1, it is characterised in that described that user is obtained according to the registration Fatigue strength include:According to the registration of the characteristic information of iris in the image currently gathered and the characteristic information of iris prestored and Testing time obtains the fatigue strength of user.
- 4. the method for test fatigue strength as claimed in claim 1, it is characterised in that described that user is obtained according to the registration Fatigue strength include:According to the registration of the characteristic information of iris in the image gathered every time and the characteristic information of iris prestored and The time point fitting of collection image obtains the curve that registration changes over time every time;Obtain tangent slope of the curve in current point in time;Registration and the curve obtain user's in the tangent slope of current point in time according to corresponding to current point in time Fatigue strength.
- 5. the method for test fatigue strength as claimed in claim 1, it is characterised in that obtaining user's according to the registration After fatigue strength, methods described also includes:If the fatigue strength of the user is more than fatigue threshold, prompting message or switching mode of learning are sent.
- 6. the method for test fatigue strength as claimed in claim 1, it is characterised in that the camera is the preposition shooting of display screen Head.
- A kind of 7. device for testing fatigue strength, it is characterised in that including:Acquisition module, the image gathered for obtaining camera with predetermined time interval, is obtained from the described image gathered every time Take ocular image;Registration obtains module, for extracting the characteristic information of iris in the ocular image, and by the rainbow of extraction The characteristic information of film is matched with the characteristic information of the iris prestored, obtains the registration of both matchings;Fatigue strength obtains module, for obtaining the fatigue strength of user according to the registration.
- 8. the method for test fatigue strength as claimed in claim 1, it is characterised in that the iris prestored is taken the photograph to be described As the iris in the head for the first time image of collection;The fatigue strength obtains module and is specifically used for:According to the characteristic information of iris in the image currently gathered and prestore The registration of the characteristic information of iris and testing time obtain the fatigue strength of user.
- 9. a kind of terminal device, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, it is characterised in that realize such as claim 1 to 6 described in the computing device during computer program The step of any one methods described.
- 10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, and its feature exists In when the computer program is executed by processor the step of realization such as any one of claim 1 to 6 methods described.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710769912.9A CN107563325B (en) | 2017-08-31 | 2017-08-31 | Method and device for testing fatigue degree and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710769912.9A CN107563325B (en) | 2017-08-31 | 2017-08-31 | Method and device for testing fatigue degree and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107563325A true CN107563325A (en) | 2018-01-09 |
CN107563325B CN107563325B (en) | 2020-09-25 |
Family
ID=60978494
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710769912.9A Active CN107563325B (en) | 2017-08-31 | 2017-08-31 | Method and device for testing fatigue degree and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107563325B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108388342A (en) * | 2018-02-11 | 2018-08-10 | 广东欧珀移动通信有限公司 | Electronic device, apparatus control method and Related product |
CN108499111A (en) * | 2018-03-15 | 2018-09-07 | 广东欧珀移动通信有限公司 | Game difficulty method of adjustment and Related product |
CN109925678A (en) * | 2019-03-01 | 2019-06-25 | 北京七鑫易维信息技术有限公司 | A kind of training method based on eye movement tracer technique, training device and equipment |
CN109933193A (en) * | 2019-03-01 | 2019-06-25 | 北京体育大学 | Intelligent auxiliary training system based on sportsman's eye movement information real-time capture |
CN112954848A (en) * | 2021-03-10 | 2021-06-11 | 深圳市大鑫浪电子科技有限公司 | Intelligent light control method and device, computer equipment and storage medium |
CN113326777A (en) * | 2021-05-31 | 2021-08-31 | 沈阳康慧类脑智能协同创新中心有限公司 | Eye identification tracking method and device based on monocular camera |
CN114081631A (en) * | 2021-11-18 | 2022-02-25 | 上海微创医疗机器人(集团)股份有限公司 | Health monitoring system and surgical robot system |
CN117042257A (en) * | 2023-09-21 | 2023-11-10 | 永林电子股份有限公司 | Multistage dimming LED lamp adjustment control method and device and electronic equipment thereof |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101224889B1 (en) * | 2012-07-03 | 2013-01-22 | 한국해양과학기술원 | Ship crew fatigue measurement method and equipment |
CN104751600A (en) * | 2015-03-03 | 2015-07-01 | 北京虹安翔宇信息科技有限公司 | Anti-fatigue driving safety equipment based on iris recognition and application method thereof |
CN105335720A (en) * | 2015-10-28 | 2016-02-17 | 广东欧珀移动通信有限公司 | Iris information acquisition method and acquisition system |
CN105701971A (en) * | 2016-03-23 | 2016-06-22 | 江苏大学 | Iris-recognition-based system, apparatus, and method for preventing fatigue driving |
CN106308740A (en) * | 2015-06-19 | 2017-01-11 | 宇龙计算机通信科技(深圳)有限公司 | A method and a device for eye using adjustment and a terminal apparatus |
-
2017
- 2017-08-31 CN CN201710769912.9A patent/CN107563325B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101224889B1 (en) * | 2012-07-03 | 2013-01-22 | 한국해양과학기술원 | Ship crew fatigue measurement method and equipment |
CN104751600A (en) * | 2015-03-03 | 2015-07-01 | 北京虹安翔宇信息科技有限公司 | Anti-fatigue driving safety equipment based on iris recognition and application method thereof |
CN106308740A (en) * | 2015-06-19 | 2017-01-11 | 宇龙计算机通信科技(深圳)有限公司 | A method and a device for eye using adjustment and a terminal apparatus |
CN105335720A (en) * | 2015-10-28 | 2016-02-17 | 广东欧珀移动通信有限公司 | Iris information acquisition method and acquisition system |
CN105701971A (en) * | 2016-03-23 | 2016-06-22 | 江苏大学 | Iris-recognition-based system, apparatus, and method for preventing fatigue driving |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108388342A (en) * | 2018-02-11 | 2018-08-10 | 广东欧珀移动通信有限公司 | Electronic device, apparatus control method and Related product |
CN108499111A (en) * | 2018-03-15 | 2018-09-07 | 广东欧珀移动通信有限公司 | Game difficulty method of adjustment and Related product |
CN109925678A (en) * | 2019-03-01 | 2019-06-25 | 北京七鑫易维信息技术有限公司 | A kind of training method based on eye movement tracer technique, training device and equipment |
CN109933193A (en) * | 2019-03-01 | 2019-06-25 | 北京体育大学 | Intelligent auxiliary training system based on sportsman's eye movement information real-time capture |
CN112954848A (en) * | 2021-03-10 | 2021-06-11 | 深圳市大鑫浪电子科技有限公司 | Intelligent light control method and device, computer equipment and storage medium |
CN113326777A (en) * | 2021-05-31 | 2021-08-31 | 沈阳康慧类脑智能协同创新中心有限公司 | Eye identification tracking method and device based on monocular camera |
CN114081631A (en) * | 2021-11-18 | 2022-02-25 | 上海微创医疗机器人(集团)股份有限公司 | Health monitoring system and surgical robot system |
CN114081631B (en) * | 2021-11-18 | 2024-05-03 | 上海微创医疗机器人(集团)股份有限公司 | Health monitoring system and surgical robot system |
CN117042257A (en) * | 2023-09-21 | 2023-11-10 | 永林电子股份有限公司 | Multistage dimming LED lamp adjustment control method and device and electronic equipment thereof |
CN117042257B (en) * | 2023-09-21 | 2024-02-06 | 永林电子股份有限公司 | Multistage dimming LED lamp adjustment control method and device and electronic equipment thereof |
Also Published As
Publication number | Publication date |
---|---|
CN107563325B (en) | 2020-09-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107563325A (en) | Method and device for testing fatigue degree and terminal equipment | |
CN107491166B (en) | Method for adjusting parameters of virtual reality equipment and virtual reality equipment | |
CN104036169B (en) | Biological authentication method and biological authentication apparatus | |
CN107249441A (en) | Electronic installation and method for measuring biological information | |
CN110378914A (en) | Rendering method and device, system, display equipment based on blinkpunkt information | |
CN107527046A (en) | Solve lock control method and Related product | |
CN107622483A (en) | A kind of image combining method and terminal | |
CN109086742A (en) | scene recognition method, scene recognition device and mobile terminal | |
CN109683703A (en) | A kind of display control method, terminal and computer readable storage medium | |
CN109461124A (en) | A kind of image processing method and terminal device | |
CN104238752B (en) | Information processing method and first wearable device | |
CN107330316A (en) | unlocking processing method and related product | |
CN110097170A (en) | Information pushes object prediction model acquisition methods, terminal and storage medium | |
CN109948435A (en) | Sitting posture prompting method and device | |
CN107622243A (en) | Solve lock control method and Related product | |
CN109272466A (en) | A kind of tooth beautification method and device | |
CN109816601A (en) | A kind of image processing method and terminal device | |
CN109683705A (en) | The methods, devices and systems of eyeball fixes control interactive controls | |
CN108399599A (en) | Image processing method, device and electronic equipment | |
CN106777950A (en) | A kind of health monitoring method and device | |
CN112116652A (en) | Method and device for transmitting article information, storage medium, and electronic device | |
CN108520221B (en) | Method, apparatus, storage medium and the terminal device of figure identification | |
CN107479809A (en) | Based reminding method and Related product | |
CN105138950B (en) | A kind of photographic method and user terminal | |
CN106168850A (en) | Electronic equipment and control method thereof for display screen |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |