CN105808997B - A kind of control method and electronic equipment - Google Patents

A kind of control method and electronic equipment Download PDF

Info

Publication number
CN105808997B
CN105808997B CN201410855062.0A CN201410855062A CN105808997B CN 105808997 B CN105808997 B CN 105808997B CN 201410855062 A CN201410855062 A CN 201410855062A CN 105808997 B CN105808997 B CN 105808997B
Authority
CN
China
Prior art keywords
image
electronic equipment
face
display unit
working condition
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
Application number
CN201410855062.0A
Other languages
Chinese (zh)
Other versions
CN105808997A (en
Inventor
雷林涛
赵谦
程飞
刘恒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410855062.0A priority Critical patent/CN105808997B/en
Publication of CN105808997A publication Critical patent/CN105808997A/en
Application granted granted Critical
Publication of CN105808997B publication Critical patent/CN105808997B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of control method and electronic equipments to realize the flexibility for improving control mode, enhance the technical effect of the confidentiality of electronic equipment for solving the technical problem poor to the control effect of display screen of electronic equipment in the prior art.This method comprises: carrying out real time image collection when the electronic equipment is in the first working condition by described image acquisition unit, obtaining the first image;Wherein, under first working condition, the display unit is in the state of the first power consumption;Judge whether the first image meets preset condition;The second working condition is switched to by first working condition if satisfied, controlling the electronic equipment;Wherein, under second working condition, the display unit is in the state of the second power consumption, and second power consumption is different from first power consumption.

Description

A kind of control method and electronic equipment
Technical field
The present invention relates to electronic technology field, in particular to a kind of control method and electronic equipment.
Background technique
Increasingly fierce with market competition with the rapid development of science and technology, the performance and appearance of electronic equipment have obtained energetically Promoted, wherein laptop with its small volume and less weight, it is easy to carry, recreational strong the advantages that just by more and more people's Like, becomes indispensable a part in studying and living.User is also more and more using the thing that electronic equipment can be done, Such as: user can watch video by the electronic equipment connecting with network server, listen to music, play game.
Currently, when user carries out various function applications using electronic equipment, it often can be temporary because of certain burst things Leave electronic equipment.Such as user is used the browser in computer and checks webpage, hear has visitor to knock at the door suddenly, then uses Family needs to leave computer and goes to check visitor, or even is also possible to take longer time, for example, with visitor chat etc..And this When, electronic equipment is still in screen illuminating state, so that the confidentiality of electronic equipment is poor, while power consumption consumption is also larger.Though So, it now is possible to automatically control the closing of display screen by the way that waiting time is arranged in screen protection program, such as wait 10 minutes, 20 minutes etc..But for a user, seem more stiff in such a way which is come controlling electronic devices, and And within the waiting time of setting, electronic equipment is larger still in power consumption, confidentiality is poor state.
In summary, the electronic equipment technical problem poor to the control effect of display screen exists in the prior art.
Summary of the invention
The embodiment of the present invention provides a kind of control method and electronic equipment, for solve in the prior art electronic equipment to aobvious The poor technical problem of the control effect of display screen curtain realizes the flexibility for improving control mode, enhances the confidentiality of electronic equipment Technical effect.
The present invention provides a kind of control method, is applied in electronic equipment, the electronic equipment includes image acquisition units And display unit, this method comprises:
When the electronic equipment is in the first working condition, realtime graphic is carried out by described image acquisition unit and is adopted Collection obtains the first image;Wherein, under first working condition, the display unit is in the state of the first power consumption;
Judge whether the first image meets preset condition;
The second working condition is switched to by first working condition if satisfied, controlling the electronic equipment;Wherein, in institute It states under the second working condition, the display unit is in the state of the second power consumption, and second power consumption and first power consumption are not Together.
Optionally, the electronic equipment further includes projection module, and the projecting direction of the projection module and the display The direction of unit is in first angle, described when the electronic equipment is in the first working condition, is acquired by described image single Member carries out real time image collection, obtains the first image, specifically:
When the electronic equipment is in the first working condition, and the projection module is in the open state, by described Image acquisition units obtain the first image by real time image collection.
Optionally, described to judge whether the first image meets preset condition, it specifically includes:
The first image is parsed, the first face information corresponding with the first image is obtained;
Judge the relative positional relationship between the first face corresponding with first face information and the display unit Whether preset condition is met.
Optionally, the phase judged between the first face corresponding with first face information and the display unit Whether preset condition is met to positional relationship, is specifically included:
According at least one face characteristic information in first face information, determine that first face information is corresponding First facial angle of first face relative to the display unit;
Judge whether corresponding first facial angle of first face information is within the scope of the first predetermined angle;Its In, the maximum angle of the first predetermined angle range is less than the first angle;
If being not at, it is determined that the relative positional relationship between first face and the display unit meets described pre- If condition.
Optionally, the phase judged between the first face corresponding with first face information and the display unit Whether preset condition is met to positional relationship, is specifically included:
Determine the facial image of corresponding first face of first face information shared the in the first image One image scaled;
According to the corresponding relationship of image scaled and relative distance, determine first face relative to the display unit First relative distance;
Judge whether first relative distance is within the scope of pre-determined distance;
If being in, it is determined that the relative positional relationship between first face and the display unit meets described default Condition.
Optionally, after judging whether the first image meets preset condition, the method also includes:
If not satisfied, controlling the electronic equipment is in first working condition.
Optionally, described when the electronic equipment is in the first working condition, it is carried out by described image acquisition unit Real time image collection obtains the first image, specifically includes:
When the electronic equipment is in the first working condition, the acquired in real time by described image acquisition unit is obtained One acquisition image;
Recognition of face is carried out to the first acquisition image, determines that at least one face corresponding with the first acquisition image is believed Breath;
At least one described face information is matched with default face information;
If successful match, the first acquisition image is determined as the first image.
On the other hand, it includes image acquisition units and display unit, the electricity that the present invention, which discloses a kind of electronic equipment, Sub- equipment includes:
Acquiring unit, for when the electronic equipment is in the first working condition, by described image acquisition unit into Row real time image collection obtains the first image;Wherein, under first working condition, the display unit is in the first function The state of consumption;
Judging unit, for judging whether the first image meets preset condition;
Processing unit controls the electronic equipment by first work if meeting preset condition for the first image The second working condition is switched to as state;Wherein, under second working condition, the display unit is in the second power consumption State, second power consumption are different from first power consumption.
Optionally, the electronic equipment further includes projection module, and the projecting direction of the projection module and the display The direction of unit is in first angle, and the acquiring unit is specifically used for:
When the electronic equipment is in the first working condition, and the projection module is in the open state, by described Image acquisition units obtain the first image by real time image collection.
Optionally, the judging unit is specifically used for:
The first image is parsed, the first face information corresponding with the first image is obtained;
Judge the relative positional relationship between the first face corresponding with first face information and the display unit Whether preset condition is met.
Optionally, the judging unit is specifically used for:
According at least one face characteristic information in first face information, determine that first face information is corresponding First facial angle of first face relative to the display unit;
Judge whether corresponding first facial angle of first face information is within the scope of the first predetermined angle;Its In, the maximum angle of the first predetermined angle range is less than the first angle;
If being not at, it is determined that the relative positional relationship between first face and the display unit meets described pre- If condition.
Optionally, the judging unit is specifically used for:
Determine the facial image of corresponding first face of first face information shared the in the first image One image scaled;
According to the corresponding relationship of image scaled and relative distance, determine first face relative to the display unit First relative distance;
Judge whether first relative distance is within the scope of pre-determined distance;
If being not at, it is determined that the relative positional relationship between first face and the display unit meets described pre- If condition.
Optionally, the processing unit is specifically also used to: if the first image is unsatisfactory for the preset condition, controlling institute It states electronic equipment and is in first working condition.
Optionally, the acquiring unit is specifically used for:
When the electronic equipment is in the first working condition, the acquired in real time by described image acquisition unit is obtained One acquisition image;
Recognition of face is carried out to the first acquisition image, determines that at least one face corresponding with the first acquisition image is believed Breath;
At least one described face information is matched with default face information;
If successful match, the first acquisition image is determined as the first image.
Said one or multiple technical solutions in the embodiment of the present application at least have following one or more technology effects Fruit:
In the embodiment of the present invention, since image acquisition units can be passed through when electronic equipment is in the first working condition Image Acquisition is carried out in real time, and obtains the first image, at this point, display unit can be in illuminating state, that is, has first Power consumption, further, by the first image analysis processing, it can be determined that whether it is satisfied with preset condition, if satisfied, then can be with Controlling electronic devices carries out the switching of working condition, that is, switches to the second working condition that display unit is in the second power consumption, the Two power consumptions are less than the first power consumption, therefore when the first image meets preset condition, for example, the face of user is not present in the first image Image or face are towards display unit, then the sub- equipment of electronics can control lighting for display unit by switch operating state Or extinguish, the flexibility of control mode is improved, the function consumption of electronic equipment is reduced, while enhancing the secrecy of electronic equipment Property.
Detailed description of the invention
Fig. 1 is the broad flow diagram of control method in the embodiment of the present application;
Fig. 2 is the schematic diagram that electronic equipment uses projecting function in the embodiment of the present application;
Fig. 3 is the primary structure schematic diagram of electronic equipment in the embodiment of the present application.
Specific embodiment
The invention discloses a kind of control method and electronic equipment, for solve in the prior art electronic equipment to display screen The poor technical problem of the control effect of curtain, realizes the flexibility for improving control mode, enhances the skill of the confidentiality of electronic equipment Art effect.
Technical solution general thought provided by the present application is as follows:
The embodiment of the present invention discloses a kind of control method, is applied in electronic equipment, the electronic equipment includes that image is adopted Collect unit and display unit, which comprises when the electronic equipment is in the first working condition, adopt by described image Collect unit and carry out real time image collection, obtains the first image;Wherein, under first working condition, at the display unit In the state of the first power consumption;Judge whether the first image meets preset condition;If satisfied, controlling the electronic equipment by institute It states the first working condition and switches to the second working condition;Wherein, under second working condition, the display unit is in the The state of two power consumptions, second power consumption are different from first power consumption.
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
In the embodiment of the present invention, the electronic equipment can be laptop, PAD (tablet computer), smart phone etc. Electronic equipment, the invention is not limited in this regard.
In addition, the terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates may exist Three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.Separately Outside, character "/" herein typicallys represent the relationship that forward-backward correlation object is a kind of "or".
The preferred embodiment of the present invention is described in detail with reference to the accompanying drawing.
Referring to Figure 1, the present invention provides a kind of control method, is applied in electronic equipment, which includes image Acquisition unit and display unit, the method may include following steps:
Step 11: when the electronic equipment is in the first working condition, being carried out by described image acquisition unit real-time Image Acquisition obtains the first image;Wherein, under first working condition, the display unit is in the shape of the first power consumption State.
In the embodiment of the present invention, which can be the internal or external camera of electronic equipment, the camera shooting Head can be current to the electronic equipment in real time User Status carry out Image Acquisition, and obtain the first image.Optionally, this One image can be the image of the facial image of the active user comprising electronic equipment, for example, to the currently used electronic equipment The face state of user be acquired, such as face display unit or side are to display unit.
In practice, when obtaining the first image by image acquisition units, following steps be can specifically include:
A, it when the electronic equipment is in the first working condition, obtains and passes through what described image acquisition unit acquired in real time First acquisition image;
B, recognition of face is carried out to the first acquisition image, determines at least one face corresponding with the first acquisition image Information;
C, at least one described face information is matched with default face information;
If d, successful match, the first acquisition image is determined as the first image.
Wherein, at least one face information can be the corresponding face of at least one facial image for including in the first image Information.I.e. at this point, including multiple facial images in the camera acquired image of electronic equipment, and in multiple facial image It may include the facial image of the unique subscriber of the electronic equipment.Therefore, in step c, it can be matched and be determined by face information Whether comprising the face information with default face information successful match in the first image, which can be in electronics The face information corresponding with its user or owner being arranged in equipment.
For example, the head portrait that user A can shift to an earlier date in computer with oneself is set as the facial image prestored, and then using Cheng Zhong is matched by the Image Acquisition of camera, identification and face, can determine whether active user is user A.If matching at Function can then determine that the current user that uses is default using user, and then can control electronic equipment and respond its corresponding behaviour Make.
Certainly, in practice, electronic equipment setting default face information can be one or more, if it is multiple when, only There is the face information of any one successful match, i.e., it is believed that the first acquisition image is the first image, to prevent him People arbitrarily uses or controls the electronic equipment, improves the safety of electronic equipment.
In the first operative state, electronic equipment can also have been run at multiple application modules, such as acquisition module, image Manage unit, communication module etc..
Optionally, in the embodiment of the present invention, if the electronic equipment includes projection module, step 11, which specifically may is that, to be worked as The electronic equipment is in the first working condition, and when the projection module is in the open state, and it is single to pass through described image acquisition Member obtains the first image by real time image collection.
Specifically, which can be the function mould that electronic equipment needs to use when using projecting function Block.When starting the projection module, electronic equipment passes through the direction of the projection module corresponding projecting direction and its display unit It can be in first angle, which can be according to the corresponding projecting direction of projection module in electronic equipment and display unit Towards direction and determination.For example, when corresponding projection side of the mouth in electronic equipment of projection module, then corresponding projection side Being formed by first angle to the direction with display unit can be 90 °.
Fig. 2 is referred to, is system structure diagram of the electronic equipment comprising projection module when being projected, wherein Number 1 represents electronic equipment and opens projection mouth corresponding when projection module is projected, and number 2 represents display unit, number 3 Projected picture corresponding with projection mouth is represented, arrow a represents the direction of display screen, i.e., perpendicular to the direction arrow of the display screen Head, arrow b represent the projecting direction of electronic equipment, at this point, arrow a and arrow b, which are formed by the first angle, to be 90 °.
Step 12: judging whether the first image meets preset condition.
In the embodiment of the present invention, after obtaining the first image, the first image can be handled, to judge the image Whether preset condition is met.Specifically, the deterministic process may is that firstly, parse the first image, obtain and described first Then corresponding first face information of image judges the first face corresponding with first face information and the display unit Between relative positional relationship whether meet preset condition.
Wherein, when parsing the first image, it can be and recognition of face is carried out to the first image, to determine present in it Facial image and corresponding first face information.For example, detect the first face information corresponding with the first user in image, and First face can be facial image corresponding with the face information of default face information successful match.
The relative positional relationship can refer to the display screen of corresponding with the first face information the first face and electronic equipment Existing positional relationship between curtain.For example, the first face place plane in the first image is parallel with display screen, it is believed that Front is in face of display screen at this time by the first user corresponding with the first face, i.e., in the state using electronic equipment.
In the embodiment of the present invention, preset condition can refer to that determining user does not pay close attention to the condition of the display screen of equipment.Specifically , whether judging the relative positional relationship between the first face corresponding with first face information and the display unit Meet preset condition, may include but is not limited only to following two mode.
Mode one: determine whether the first image meets default item by judging between the first face and display unit angle Part.Which specifically includes the following steps:
A, according at least one face characteristic information in first face information, first face information pair is determined First facial angle of the first face answered relative to the display unit;
B, judge whether corresponding first facial angle of first face information is within the scope of the first predetermined angle;Its In, the maximum angle of the first predetermined angle range is less than the first angle;
If c, being not at, it is determined that described in the relative positional relationship between first face and the display unit meets Preset condition.
Wherein, at least one face characteristic information corresponding with the first face information can refer to facial characteristics, such as eye Eyeball, nose, mouth, ear etc..Then basis can obtain the first face and display unit to the computational algorithm of facial angle at present Between the first facial angle.Such as it can be established corresponding with the first face according to the image depth information with the first image Face 3D model, and then it regard face as corresponding face plane, and then between the face plane that will test and display unit Angle as the first facial angle.
First predetermined angle range can refer to according to the first angle institute between projecting direction and the direction of display unit The available angular range of determining user.Usually, the maximum value of the angular range is less than first angle, so that user When face is movable in the angular range, it can guarantee to observe display unit.
For example, if the first predetermined angle range is 0-40 °, if user, when first time rotating head, rotation radian is smaller, It is 30 ° that the first facial angle is measured after such as rotating, within the scope of first predetermined angle, it may be considered that user is still paying close attention to Display unit and use electronic equipment;If second of the user radian rotated when rotating head is larger, and measures the first Face angle is 60 °, therefore more than the first predetermined angle range, at this time it is considered that in the first image the first face and display unit it Between relative positional relationship meet preset condition, i.e., user may not observe display unit at this time, and in viewing in another The projected picture of angle direction.
Mode two: determine it is default whether the first image meets by the position between the first face of detection and display unit Condition.Which specifically includes the following steps:
A, determine that the facial image of corresponding first face of first face information is shared in the first image First image scaled;
B, according to the corresponding relationship of image scaled and relative distance, determine first face relative to the display unit The first relative distance;
C, judge whether first relative distance is within the scope of pre-determined distance;
If d, being not at, it is determined that described in the relative positional relationship between first face and the display unit meets Preset condition.
Wherein, the corresponding relationship of image scaled and relative distance can be in advance in electronic equipment setting, for example, adopting Integrate user when first distance is 50cm using the first reference picture of electronic equipment, a century detects the user in reference picture First image scaled of facial image and the first image, such as 1:3, then can establish between the first image scaled and first distance Incidence relation.Similarly, if second distance is 65cm, associated second image scaled is 1:4 etc..
Therefore after determining first image scaled of first face in the first image, corresponding first phase can be determined It adjusts the distance.And then may determine that whether the relative distance is within the scope of pre-determined distance, which can be user According to use habit manual setting, alternatively, the pre-determined distance range is also possible to electronic equipment according to the use habit of user Automatically it is arranged, the present invention is not specifically limited this.
For example, habit is kept at a distance from 45cm-50cm with display screen if user is when using computer, and be then arranged Pre-determined distance range can be the distance range that 0-55cm, 0-60cm etc. include the habit distance.
And in the step c in mode two, if judging result shows the first relative distance and is within the scope of the pre-determined distance, Then the relative positional relationship in the first image between the first face and display unit is unsatisfactory for preset condition.At this point it is possible to think User checks the content in the display screen, and does not check the project content for being located at display screen side, therefore needs to guarantee Display screen is in illuminating state, that is, maintains the first working condition.If being more than current opposite position within the scope of the pre-determined distance The relationship of setting meets preset condition, it can thinks that active user is temporarily separate in the state far from display unit, such as user Computer.
In practice, whether the relative positional relationship in judging the first image between the first face and the first image meets pre- If when condition, use can will be combined with upper type and its technical characteristic.For example, when electronic equipment is in the first working condition When, angle parameter and distance parameter of first face relative to display unit are determined respectively, if being all satisfied corresponding condition, Then determine that relative positional relationship meets preset condition, i.e., user does not pay close attention to display screen at this time.
Step 13: the second working condition being switched to by first working condition if satisfied, controlling the electronic equipment;Its In, under second working condition, the display unit is in the state of the second power consumption, second power consumption and described first Power consumption is different.
In the embodiment of the present invention, in a second operative state, display unit be can be in OFF state, therefore the second power consumption Less than the first power consumption.And at least one application module in electronic equipment can be still in operating status, such as acquisition module Real-time Image Acquisition, projection module still are being carried out still in projection state etc., therefore pass through the work shape of switching electronic equipment State can control lighting or extinguishing for display unit, and then control the control realized to display unit power consumption.
For example, computer, which is in, opens projection, and display unit is in the first working condition lighted, in user's A rotary head Behind portion, camera collects the first image comprising user's facial image, if the face split-phase of detection user is single for display The relative angle of member has been more than that the face split-phase of predetermined angle range and/or user are big for the relative distance for showing screen In pre-determined distance range, i.e. relative positional relationship between user's face and display screen meets preset condition, i.e. user A is current It does not check the content on display screen, and has the projection checked on projected picture, therefore electronic equipment can be by switching to Second work shape body, such as the working conditions such as standby are at OFF state to reduce the power consumption of display screen.
In addition, if the relative positional relationship between corresponding first face of the first face information and display unit be unsatisfactory for it is pre- If condition, the electronic equipment is controlled still in the first working condition.
Further, in the embodiment of the present invention, second is switched to by first working condition controlling the electronic equipment After working condition, if detecting, the relative positional relationship between the first face of user and display unit is unsatisfactory for preset condition When, such as the face split-phase of user is within the scope of predetermined angle the relative angle of display unit and/or the people of user It, then can be with controlling electronic devices by the second work when face part is less than pre-determined distance range relative to the relative distance of display screen The first working condition is switched to as state, to light display unit.
It is projected for example, computer is used in user, if projected picture is seen in user's rotary head, user's face is relative to aobvious Show that the deviation angle of unit is also larger, distance may can control the display screen of computer to be in OFF state, power consumption at this time farther out It is lower;Then, if user shows screen, angle of user's face relative to the deviation display screen of display screen from the point of view of going back to head Very little is spent, distance may be relatively close, therefore can correspondingly control display screen and be switched to illuminating state by OFF state, in order to user Check display content.
Certainly, when whether control display unit is lighted again, the face in acquisition image can also be identified, if depositing In facial image identical with default facial image, display screen curtain is lighted in control, to prevent other people from checking the electronic equipment It shows the content in screen, enhances the safety of electronic equipment.
In the embodiment of the present invention, due to user use electronic equipment when, by detection user's face and display unit it Between relative positional relationship determine that user does not check display unit and when it meets preset condition, set by controlling electronics The switching of standby working condition makes display unit be in OFF state, to reduce the power consumption of electronic equipment.And due to image The implementation of acquisition unit acquires, and handles the real-time of image so that the real-time of electronic equipment is stronger, can be according to user Movement carries out real-time control, therefore improves the flexibility of control mode.
Fig. 3 is referred to, based on the same inventive concept, the embodiment of the present invention also provides a kind of electronic equipment, the electronic equipment Including image acquisition units and display unit, which may include that acquiring unit 301, judging unit 302 and processing are single Member 303.
Acquiring unit 301 can be used for acquiring when the electronic equipment is in the first working condition by described image Unit carries out real time image collection, obtains the first image;Wherein, under first working condition, the display unit is in The state of first power consumption.
Judging unit 302 can be used for judging whether the first image meets preset condition.
If processing unit 303 can be used for the first image and meet preset condition, the electronic equipment is controlled by described First working condition switches to the second working condition;Wherein, under second working condition, the display unit is in second The state of power consumption, second power consumption are different from first power consumption.
Optionally, if the electronic equipment includes projection module, and the projecting direction of the projection module and the display are single The direction of member is in first angle, then the acquiring unit is specifically used for: when the electronic equipment is in the first working condition, and institute State projection module it is in the open state when, by described image acquisition unit pass through real time image collection obtain the first image.
Optionally, the judging unit 302 specifically can be used for:
The first image is parsed, the first face information corresponding with the first image is obtained;
Judge the relative positional relationship between the first face corresponding with first face information and the display unit Whether preset condition is met.
Specifically, in judging unit 302 for judging that the first face corresponding with first face information is shown with described When showing whether the relative positional relationship between unit meets preset condition, it specifically can be used for following two judgment mode.
Mode one: according at least one face characteristic information in first face information, first face is determined First facial angle of corresponding first face of information relative to the display unit;Judge that first face information is corresponding Whether the first facial angle is within the scope of the first predetermined angle;Wherein, the maximum angle of the first predetermined angle range is small In the first angle;If being not at, it is determined that the relative positional relationship between first face and the display unit is full The foot preset condition.
Mode two: the facial image of corresponding first face of first face information institute in the first image is determined The first image scaled accounted for;According to the corresponding relationship of image scaled and relative distance, determine first face relative to described First relative distance of display unit;Judge whether first relative distance is within the scope of pre-determined distance;If being not at, Determine that the relative positional relationship between first face and the display unit meets the preset condition.
Optionally, the processing unit 303 specifically can be also used for: if the first image is unsatisfactory for the default item Part controls the electronic equipment and is in first working condition.
Optionally, the acquiring unit 301 specifically can be also used for:
When the electronic equipment is in the first working condition, the acquired in real time by described image acquisition unit is obtained One acquisition image;
Recognition of face is carried out to the first acquisition image, determines that at least one face corresponding with the first acquisition image is believed Breath;
At least one described face information is matched with default face information;
If successful match, the first acquisition image is determined as the first image.
In the embodiment of the present invention, since image acquisition units can be passed through when electronic equipment is in the first working condition Image Acquisition is carried out in real time, and obtains the first image, at this point, display unit can be in illuminating state, that is, has first Power consumption, further, by the first image analysis processing, it can be determined that whether it is satisfied with preset condition, if satisfied, then can be with Controlling electronic devices carries out the switching of working condition, that is, switches to the second working condition that display unit is in the second power consumption, the Two power consumptions are less than the first power consumption, therefore when the first image meets preset condition, for example, the face of user is not present in the first image Image or face are towards display unit, then the sub- equipment of electronics can control lighting for display unit by switch operating state Or extinguish, the flexibility of control mode is improved, the function consumption of electronic equipment is reduced, while enhancing the secrecy of electronic equipment Property.
Specifically, the corresponding computer program instructions of frequency adjusting method in the embodiment of the present application can be stored in CD, hard disk, on the storage mediums such as USB flash disk, when the computer program instructions corresponding with control method in storage medium are by electronics Equipment reads or is performed, and includes the following steps:
When the electronic equipment is in the first working condition, realtime graphic is carried out by described image acquisition unit and is adopted Collection obtains the first image;Wherein, under first working condition, the display unit is in the state of the first power consumption;
Judge whether the first image meets preset condition;
The second working condition is switched to by first working condition if satisfied, controlling the electronic equipment;Wherein, in institute It states under the second working condition, the display unit is in the state of the second power consumption, and second power consumption and first power consumption are not Together.
Optionally, the electronic equipment further includes projection module, and the projecting direction of the projection module and the display The direction of unit is in first angle, and store in the storage medium and step exists: when the electronic equipment is in the first work When state, real time image collection is carried out by described image acquisition unit, obtains the first image, corresponding computer instruction is in quilt Specifically further include following steps in implementation procedure:
When the electronic equipment is in the first working condition, and the projection module is in the open state, by described Image acquisition units obtain the first image by real time image collection.
Optionally, store in the storage medium and step exists: judging whether the first image meets preset condition Corresponding computer instruction specifically further includes following steps during being performed:
The first image is parsed, the first face information corresponding with the first image is obtained;
Judge the relative positional relationship between the first face corresponding with first face information and the display unit Whether preset condition is met.
Optionally, store in the storage medium and step exists: judging and first face information corresponding first Whether the relative positional relationship between face and the display unit, which meets the corresponding computer instruction of preset condition, is being performed In the process, specifically further include following steps:
According at least one face characteristic information in first face information, determine that first face information is corresponding First facial angle of first face relative to the display unit;
Judge whether corresponding first facial angle of first face information is within the scope of the first predetermined angle;Its In, the maximum angle of the first predetermined angle range is less than the first angle;
If being not at, it is determined that the relative positional relationship between first face and the display unit meets described pre- If condition.
Optionally, store in the storage medium and step exists: judging and first face information corresponding first Whether the relative positional relationship between face and the display unit, which meets the corresponding computer instruction of preset condition, is being performed In the process, specifically further include following steps:
Determine the facial image of corresponding first face of first face information shared the in the first image One image scaled;
According to the corresponding relationship of image scaled and relative distance, determine first face relative to the display unit First relative distance;
Judge whether first relative distance is within the scope of pre-determined distance;
If being not at, it is determined that the relative positional relationship between first face and the display unit meets described pre- If condition.
Optionally, be also stored with other computer instruction in the storage medium, these computer instructions with step It is rapid: to judge to be performed after whether the first image meets the corresponding instruction execution of preset condition, when executed include such as Lower step:
If not satisfied, controlling the electronic equipment is in first working condition.
Optionally, store in the storage medium and step exists: when the electronic equipment is in the first working condition, Real time image collection is carried out by described image acquisition unit, obtains the first image, corresponding computer instruction had been performed Cheng Zhong specifically further includes following steps:
When the electronic equipment is in the first working condition, the acquired in real time by described image acquisition unit is obtained One acquisition image;
Recognition of face is carried out to the first acquisition image, determines that at least one face corresponding with the first acquisition image is believed Breath;
At least one described face information is matched with default face information;
If successful match, the first acquisition image is determined as the first image.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (8)

1. a kind of control method is applied in electronic equipment, the electronic equipment includes image acquisition units and display unit, institute The method of stating includes:
When the electronic equipment is in the first working condition, real time image collection is carried out by described image acquisition unit, is obtained Obtain the first image;Wherein, under first working condition, the display unit is in the state of the first power consumption;
Judge whether the first image meets preset condition;
The second working condition is switched to by first working condition if satisfied, controlling the electronic equipment;Wherein, described Under two working conditions, the display unit is in the state of the second power consumption, and second power consumption is different from first power consumption;
The electronic equipment further includes projection module, and the direction of the projecting direction of the projection module and the display unit is in First angle, it is described when the electronic equipment is in the first working condition, schemed in real time by described image acquisition unit As acquisition, the first image is obtained, specifically:
When the electronic equipment is in the first working condition, and the projection module is in the open state, pass through described image Acquisition unit obtains the first image by real time image collection,
It is described to judge whether the first image meets preset condition, it specifically includes:
The first image is parsed, the first face information corresponding with the first image is obtained;
Whether the relative positional relationship between judgement the first face corresponding with first face information and the display unit Meet preset condition,
The relative positional relationship judged between the first face corresponding with first face information and the display unit Whether meet preset condition, specifically include:
According at least one face characteristic information in first face information, first face information corresponding is determined First facial angle of one face relative to the display unit;
Judge whether corresponding first facial angle of first face information is within the scope of the first predetermined angle;Wherein, institute The maximum angle for stating the first predetermined angle range is less than the first angle;
If being not at, it is determined that the relative positional relationship between first face and the display unit meets the default item Part.
2. the method as described in claim 1, which is characterized in that the judgement is corresponding the first with first face information Whether the relative positional relationship between face and the display unit meets preset condition, specifically includes:
Determine the facial image of corresponding first face of first face information the first figure shared in the first image As ratio;
According to the corresponding relationship of image scaled and relative distance, first of first face relative to the display unit is determined Relative distance;
Judge whether first relative distance is within the scope of pre-determined distance;
If being not at, it is determined that the relative positional relationship between first face and the display unit meets the default item Part.
3. method according to claim 1 or 2, which is characterized in that judging whether the first image meets preset condition Later, the method also includes:
If not satisfied, controlling the electronic equipment is in first working condition.
4. the method as described in claim 1, which is characterized in that it is described when the electronic equipment is in the first working condition, Real time image collection is carried out by described image acquisition unit, the first image is obtained, specifically includes:
When the electronic equipment is in the first working condition, acquisition is adopted by first that described image acquisition unit acquires in real time Collect image;
Recognition of face is carried out to the first acquisition image, determines at least one face information corresponding with the first acquisition image;
At least one described face information is matched with default face information;
If successful match, the first acquisition image is determined as the first image.
5. a kind of electronic equipment, the electronic equipment includes image acquisition units and display unit, and the electronic equipment includes:
Acquiring unit, for being carried out by described image acquisition unit real when the electronic equipment is in the first working condition When Image Acquisition, obtain the first image;Wherein, under first working condition, the display unit is in the first power consumption State;
Judging unit, for judging whether the first image meets preset condition;
Processing unit controls the electronic equipment by the first work shape if meeting preset condition for the first image State switches to the second working condition;Wherein, under second working condition, the display unit is in the shape of the second power consumption State, second power consumption are different from first power consumption;
The electronic equipment further includes projection module, and the direction of the projecting direction of the projection module and the display unit is in First angle, the acquiring unit are specifically used for:
When the electronic equipment is in the first working condition, and the projection module is in the open state, pass through described image Acquisition unit obtains the first image by real time image collection,
The judging unit is specifically used for:
The first image is parsed, the first face information corresponding with the first image is obtained;
Whether the relative positional relationship between judgement the first face corresponding with first face information and the display unit Meet preset condition,
The judging unit is specifically used for:
According at least one face characteristic information in first face information, first face information corresponding is determined First facial angle of one face relative to the display unit;
Judge whether corresponding first facial angle of first face information is within the scope of the first predetermined angle;Wherein, institute The maximum angle for stating the first predetermined angle range is less than the first angle;
If being not at, it is determined that the relative positional relationship between first face and the display unit meets the default item Part.
6. electronic equipment as claimed in claim 5, which is characterized in that the judging unit is specifically used for:
Determine the facial image of corresponding first face of first face information the first figure shared in the first image As ratio;
According to the corresponding relationship of image scaled and relative distance, first of first face relative to the display unit is determined Relative distance;
Judge whether first relative distance is within the scope of pre-determined distance;
If being not at, it is determined that the relative positional relationship between first face and the display unit meets the default item Part.
7. such as electronic equipment described in claim 5 or 6, which is characterized in that the processing unit is specifically also used to: if described the One image is unsatisfactory for the preset condition, controls the electronic equipment and is in first working condition.
8. electronic equipment as claimed in claim 5, which is characterized in that the acquiring unit is specifically used for:
When the electronic equipment is in the first working condition, acquisition is adopted by first that described image acquisition unit acquires in real time Collect image;
Recognition of face is carried out to the first acquisition image, determines at least one face information corresponding with the first acquisition image;
At least one described face information is matched with default face information;
If successful match, the first acquisition image is determined as the first image.
CN201410855062.0A 2014-12-31 2014-12-31 A kind of control method and electronic equipment Active CN105808997B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410855062.0A CN105808997B (en) 2014-12-31 2014-12-31 A kind of control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410855062.0A CN105808997B (en) 2014-12-31 2014-12-31 A kind of control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105808997A CN105808997A (en) 2016-07-27
CN105808997B true CN105808997B (en) 2019-09-24

Family

ID=56465323

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410855062.0A Active CN105808997B (en) 2014-12-31 2014-12-31 A kind of control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105808997B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107621867A (en) * 2017-08-09 2018-01-23 广东欧珀移动通信有限公司 Put out screen control method, device and terminal device
CN108181982B (en) * 2018-01-02 2022-05-31 联想(北京)有限公司 Processing method and device and electronic equipment
CN108536381B (en) * 2018-03-26 2021-11-09 珠海格力电器股份有限公司 Short-time screen locking method and device
JP7069922B2 (en) * 2018-03-26 2022-05-18 セイコーエプソン株式会社 Display device, display system and control method of display device
CN109144268A (en) * 2018-09-04 2019-01-04 爱笔(北京)智能科技有限公司 The state switching method and device of a kind of electronic equipment
CN111209050A (en) * 2020-01-10 2020-05-29 北京百度网讯科技有限公司 Method and device for switching working mode of electronic equipment
CN111640401B (en) * 2020-04-29 2023-02-24 维沃移动通信有限公司 Information display method and electronic equipment
CN112285915B (en) * 2020-10-26 2023-07-18 腾讯科技(深圳)有限公司 Augmented reality assembly and microscope
CN112363611B (en) * 2020-11-27 2023-11-10 Oppo(重庆)智能科技有限公司 Power consumption adjustment method and device, electronic equipment and readable storage medium
CN116708655A (en) * 2022-10-20 2023-09-05 荣耀终端有限公司 Screen control method based on event camera and electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101452335A (en) * 2007-12-06 2009-06-10 鸿富锦精密工业(深圳)有限公司 Electricity-saving control system for computer and method
CN101458560A (en) * 2008-12-25 2009-06-17 张有成 Computer intelligent energy-conserving method
CN101656060A (en) * 2008-08-18 2010-02-24 鸿富锦精密工业(深圳)有限公司 Energy saving system and method for screen display
CN102176733A (en) * 2011-01-28 2011-09-07 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for controlling screen backlight
CN102594999A (en) * 2012-01-30 2012-07-18 郑凯 Method and system for performing adaptive mobile phone energy conservation through face identification
CN102662334A (en) * 2012-04-18 2012-09-12 深圳市兆波电子技术有限公司 Method for controlling distance between user and electronic equipment screen and electronic equipment
CN102867474A (en) * 2012-09-03 2013-01-09 惠州Tcl移动通信有限公司 Handheld electronic equipment and backlight source control method thereof
CN103093124A (en) * 2013-02-07 2013-05-08 歌尔声学股份有限公司 Method for restricting the usage of electronic equipment and electronic equipment
KR20130104682A (en) * 2012-03-15 2013-09-25 최상길 Apparatus and method for automatically locking display and touch in mobile phone
CN104021331A (en) * 2014-06-18 2014-09-03 北京金和软件股份有限公司 Information processing method applied to electronic device with human face identification function

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101452335A (en) * 2007-12-06 2009-06-10 鸿富锦精密工业(深圳)有限公司 Electricity-saving control system for computer and method
CN101656060A (en) * 2008-08-18 2010-02-24 鸿富锦精密工业(深圳)有限公司 Energy saving system and method for screen display
CN101458560A (en) * 2008-12-25 2009-06-17 张有成 Computer intelligent energy-conserving method
CN102176733A (en) * 2011-01-28 2011-09-07 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for controlling screen backlight
CN102594999A (en) * 2012-01-30 2012-07-18 郑凯 Method and system for performing adaptive mobile phone energy conservation through face identification
KR20130104682A (en) * 2012-03-15 2013-09-25 최상길 Apparatus and method for automatically locking display and touch in mobile phone
CN102662334A (en) * 2012-04-18 2012-09-12 深圳市兆波电子技术有限公司 Method for controlling distance between user and electronic equipment screen and electronic equipment
CN102867474A (en) * 2012-09-03 2013-01-09 惠州Tcl移动通信有限公司 Handheld electronic equipment and backlight source control method thereof
CN103093124A (en) * 2013-02-07 2013-05-08 歌尔声学股份有限公司 Method for restricting the usage of electronic equipment and electronic equipment
CN104021331A (en) * 2014-06-18 2014-09-03 北京金和软件股份有限公司 Information processing method applied to electronic device with human face identification function

Also Published As

Publication number Publication date
CN105808997A (en) 2016-07-27

Similar Documents

Publication Publication Date Title
CN105808997B (en) A kind of control method and electronic equipment
US11551482B2 (en) Facial recognition-based authentication
CN109976506B (en) Awakening method of electronic equipment, storage medium and robot
CN105392538B (en) In response to the image rendering of the user action in head-mounted display
US8957943B2 (en) Gaze direction adjustment for video calls and meetings
US9329677B2 (en) Social system and method used for bringing virtual social network into real life
US9817235B2 (en) Method and apparatus for prompting based on smart glasses
CN108712603B (en) Image processing method and mobile terminal
CN105072327A (en) Eye-closing-preventing person photographing method and device thereof
US10856043B2 (en) Simultaneous motion of users to trigger establishment of network communications channel
JP6096161B2 (en) Information processing apparatus and information processing method
CN107566643B (en) Information processing method, information processing apparatus, storage medium, and electronic device
WO2017088360A1 (en) Method and device for powering off terminal
CN107786811B (en) A kind of photographic method and mobile terminal
CN105763829A (en) Image processing method and electronic device
US20150244984A1 (en) Information processing method and device
CN108966198A (en) Method for connecting network, device, intelligent glasses and storage medium
CN109688253A (en) A kind of image pickup method and terminal
CN109688325A (en) A kind of image display method and terminal device
CN109525837A (en) The generation method and mobile terminal of image
CN111768785A (en) Control method of smart watch and smart watch
CN109085924A (en) The management method and device of smart machine based on AR
CN109561215B (en) Method, device, terminal and storage medium for controlling beautifying function
CN110381281A (en) A kind of reminding method and mobile terminal
CN110087014A (en) Video complementing method, terminal and computer readable storage medium

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