CN108038437A - A kind of face identification method, electronic equipment and computer program product - Google Patents

A kind of face identification method, electronic equipment and computer program product Download PDF

Info

Publication number
CN108038437A
CN108038437A CN201711274753.1A CN201711274753A CN108038437A CN 108038437 A CN108038437 A CN 108038437A CN 201711274753 A CN201711274753 A CN 201711274753A CN 108038437 A CN108038437 A CN 108038437A
Authority
CN
China
Prior art keywords
electronic equipment
human body
face
distance
recognition
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.)
Withdrawn
Application number
CN201711274753.1A
Other languages
Chinese (zh)
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.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology Co 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201711274753.1A priority Critical patent/CN108038437A/en
Publication of CN108038437A publication Critical patent/CN108038437A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention provides a kind of face identification method, electronic equipment and computer program product, when having detected human body close to the electronic equipment, just control the face identification functions of the electronic equipment to open, to carry out Image Acquisition, and recognition of face is carried out to the image of collection.So approached in nobody or during using electronic equipment, the face identification functions of electronic equipment are closed, it need not carry out Image Acquisition and recognition of face, and face identification functions can be opened when detecting that human body is close and carry out Image Acquisition and recognition of face, relatively high power caused by so as to avoid face identification functions always on is lost, and reduces the power consumption using face recognition technology.

Description

A kind of face identification method, electronic equipment and computer program product
Technical field
This application involves technical field of face recognition, more particularly to a kind of face identification method, electronic equipment and calculating Machine program product.
Background technology
With the continuous development that the technology innovation in message protection field and smart city are built, for safe and convenient etc. Purpose, face recognition technology have obtained more and more wider in industries such as security protection, attendance, gate inhibition, criminal investigation, ATM, consumer electronics products General application.
Face recognition technology is a kind of biological identification technology that the facial feature information based on people carries out identification, it is first First with video camera or shooting first-class image or video flowing of the sampling instrument collection containing face, and automatically in image or video flowing Middle detect and track face, and then the face to detecting carries out feature extraction and identification.Due to being not required user individually to carry Identification object, it is not necessary to forcibly gather user information, it is not required that user's Contact recognition equipment, so recognition of face skill Art can be truly realized while being protected to individual privacy, it is only necessary to which " brush face " can complete a series of daily work Dynamic, prospect is boundless.
But as long as current face recognition technology is opened, it will constantly carry out Image Acquisition and recognition of face, power consumption It is very high.
The content of the invention
In view of this, it is an object of the invention to provide the production of a kind of face identification method, electronic equipment and computer program Product, for reducing the power consumption using face recognition technology.
Technical solution provided by the invention is as follows:
A kind of face identification method, applied in electronic equipment, the described method includes:
Detect whether human body close to the electronic equipment;
When having detected human body close to the electronic equipment, the face identification functions of the electronic equipment are controlled to open, To carry out Image Acquisition, and recognition of face is carried out to the image of collection.
Preferably, it is described to have detected whether human body close to the electronic equipment, including:
Detect whether to get voice signal;
The distance between the human body and the electronic equipment are judged according to the voice signal;
According to the distance between the human body and the electronic equipment, it is determined whether have human body close to the electronic equipment.
Preferably, it is described to have detected whether human body close to the electronic equipment, including:
Detect whether to get olfactory signal;
The distance between the human body and the electronic equipment are judged according to the olfactory signal;
According to the distance between the human body and the electronic equipment, it is determined whether have human body close to the electronic equipment.
Preferably, it is described to have detected whether human body close to the electronic equipment, including:
Detect whether to get the communication signal of wearable device;
The distance between the human body and the electronic equipment are judged according to the communication signal;
According to the distance between the human body and the electronic equipment, it is determined whether have human body close to the electronic equipment.
Preferably, the method further includes:
After the face identification functions of the electronic equipment are opened, detect in the preset range of the electronic equipment and whether deposit In human body;
If in preset time period, human body is not present in the preset range of the electronic equipment, then controls the electricity The face identification functions of sub- equipment are closed, to stop carrying out Image Acquisition and recognition of face.
A kind of electronic equipment, the electronic equipment include:
Detection module, for detecting whether having human body close to the electronic equipment;
Control module, for when having detected human body close to the electronic equipment, controlling the face of the electronic equipment Identification function is opened, and to carry out Image Acquisition, and carries out recognition of face to the image of collection.
Preferably, the detection module, including:
Detection unit, for detecting whether getting voice signal;
Judging unit, for judging the distance between the human body and the electronic equipment according to the voice signal;
Determination unit, for according to the distance between the human body and the electronic equipment, it is determined whether there is human body to approach The electronic equipment.
Preferably, the detection module, including:
Detection unit, for detecting whether getting olfactory signal;
Judging unit, for judging the distance between the human body and the electronic equipment according to the olfactory signal;
Determination unit, for according to the distance between the human body and the electronic equipment, it is determined whether there is human body to approach The electronic equipment.
Preferably, the detection module, including:
Detection unit, for detecting whether getting the communication signal of wearable device;
Judging unit, for judging the distance between the human body and the electronic equipment according to the communication signal;
Determination unit, for according to the distance between the human body and the electronic equipment, it is determined whether there is human body to approach The electronic equipment.
Preferably:
The detection module is additionally operable to:After the face identification functions of the electronic equipment are opened, detect the electronics and set It whether there is human body in standby preset range;
The control module is additionally operable to:If in preset time period, do not deposited in the preset range of the electronic equipment In human body, then the face identification functions of the electronic equipment are controlled to close, to stop carrying out Image Acquisition and recognition of face.
A kind of electronic equipment, the electronic equipment include:Processor and memory, wherein being stored with journey in the memory Sequence code;
The processor performs the face identification method described in above-mentioned any one when calling said program code.
A kind of electronic equipment, the electronic equipment include:Memory, input/output interface and attachment control module;
The memory is used to store information;
The input/output interface is used to be called to receive and/or send information;
The attachment control module is used for when having detected human body close to the electronic equipment, controls the electronic equipment Face identification functions open, to carry out Image Acquisition, and recognition of face is carried out to the image of collection.
A kind of computer program product, the computer program product are performed for performing described in above-mentioned any one Face identification method.
Compared with prior art, above-mentioned technical proposal provided by the invention has the following advantages that:
The present invention just controls the recognition of face work(of the electronic equipment when having detected human body close to the electronic equipment It can open, to carry out Image Acquisition, and recognition of face be carried out to the image of collection.So approach in nobody or set using electronics When standby, the face identification functions of electronic equipment are closed, it is not necessary to are carried out Image Acquisition and recognition of face, and detected To human body it is close when can open face identification functions again and carry out Image Acquisition and recognition of face, so as to avoid recognition of face Relatively high power caused by function is always on is lost, and reduces the power consumption using face recognition technology.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are the present invention Some embodiments, for those of ordinary skill in the art, without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is a kind of flow chart of face identification method provided in an embodiment of the present invention;
Fig. 2 is another flow chart of face identification method provided in an embodiment of the present invention;
Fig. 3 is a kind of structure diagram of electronic equipment provided in an embodiment of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is 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 All other embodiments obtained without making creative work, belong to the scope of protection of the invention.
Referring to Fig. 1, it illustrates a kind of flow chart of face identification method provided in an embodiment of the present invention, for reducing Use the power consumption of face recognition technology.Face identification method is applied in electronic equipment wherein shown in Fig. 1, can include following step Suddenly:
S101:Detect whether human body close to the electronic equipment.
In the embodiment of the present application, the sensor for detecting human body, such as sound sensor can be set in electronic equipment Device, smell sensor etc., when human body is close to electronic equipment, set sensor in the electronic device to detect human body, from And send human body close signal.
The embodiment of the present application can be with according to whether get human body close signal, to have detected whether human body close to the electricity Sub- equipment, can such as use but be not limited to following several ways to have detected whether human body close to the electronic equipment:
Detect whether to get the voice signal that sound transducer detects;The people is judged according to the voice signal The distance between body and the electronic equipment;According to the distance between the human body and the electronic equipment, it is determined whether someone Body is close to the electronic equipment;
Alternatively,
Detect whether to get the olfactory signal that smell sensor detects;The people is judged according to the olfactory signal The distance between body and the electronic equipment;According to the distance between the human body and the electronic equipment, it is determined whether someone Body is close to the electronic equipment;
Alternatively,
Detect whether to get the communication signal of wearable device;According to the communication signal judge the human body with it is described The distance between electronic equipment;According to the distance between the human body and the electronic equipment, it is determined whether have human body close to institute State electronic equipment.
In the embodiment of the present application, above-mentioned voice signal, olfactory signal and communication signal, belong to human body close signal The form of expression, the application can detect whether that human body is set close to the electronics only with any one above-mentioned signal It is standby, can also detect whether human body close to the electronic equipment using any multiple combinations in above-mentioned signal, except this with By the way of other detections characteristics of human body human body can also be detected whether close to the electronic equipment outside.
Judge between the human body and the electronic equipment apart from when, can according to the intensity of human body close signal come Judged, such as the communication signal between the intensity of voice signal, the intensity of olfactory signal, wearable device and electronic equipment Intensity etc..
Herein, the distance between human body and electronic equipment be could be provided as a threshold value is set, when human body and electronics are set It is the distance between standby when being less than or equal to this threshold value, it is possible to have determined human body close to electronic equipment.
The embodiment of the present application, not only can be with active detecting when having detected whether human body close to electronic equipment, can also quilt Dynamic detection, such as when having detected whether human body close to electronic equipment by voice signal, not only can be with active detecting human body certainly The voice signal so sent, can also passively receive voice signal or sound instruction that human body is actively sent, so that according to quilt The voice signal received or sound instruction are moved to have determined that human body approaches, so that unlatching face identification functions are controlled, therefore this Apply embodiment when having detected whether human body close to electronic equipment, not only can by according to active detecting to human body approach Signal has detected whether that human body close to electronic equipment, can also have been detected whether by the human body close signal passively received Human body is close to electronic equipment.
S102:When having detected human body close to the electronic equipment, the face identification functions of the electronic equipment are controlled Open, to carry out Image Acquisition, and recognition of face is carried out to the image of collection.
Traditional electronic equipment with face identification functions, will realize recognition of face it is necessary to always on recognition of face Function, while image capture module in always on electronic equipment carries out Image Acquisition, be then based on face recognition technology into Row recognition of face, therefore the always on and face identification functions of image capture module always on can all cause face to know The power consumption of other technology is excessive.
In the embodiment of the present application, only the electronics is just controlled when having detected human body close to the electronic equipment The face identification functions of equipment are opened, and to carry out Image Acquisition, and carry out recognition of face to the image of collection.So in nobody Close or during using electronic equipment, the face identification functions of electronic equipment are closed, it is not necessary to carry out Image Acquisition and Recognition of face, and face identification functions can be opened when detecting that human body is close and carry out Image Acquisition and recognition of face, from And can to avoid face identification functions it is always on caused by relatively high power be lost, reduce using face recognition technology power consumption.
Herein it should be noted is that:The embodiment of the present application when nobody is close to electronic equipment, electronic equipment Face identification functions are closed, therefore electronic equipment need not carry out Image Acquisition and recognition of face, and electronics is set Image capture module in standby is closed, and the recognition of face of electronic equipment is in halted state, so as to play reduction work( The effect of consumption.But, can also be only when nobody is close to electronic equipment in the other embodiment based on the embodiment of the present application The image capture module in electronic equipment or the only recognition of face of stopping electronic equipment being closed, can also be to a certain extent Playing reduces the effect of power consumption.Therefore the embodiment of the present application be not used to it is above-mentioned any one can reduce the realization side of power consumption Formula plays any restrictions.
Referring to Fig. 2, it illustrates another flow chart of face identification method provided in an embodiment of the present invention, can wrap Include following steps:
S201:Detect whether human body close to the electronic equipment.
S202:When having detected human body close to the electronic equipment, the face identification functions of the electronic equipment are controlled Open, to carry out Image Acquisition, and recognition of face is carried out to the image of collection.
In the embodiment of the present application, step S201 to step S202:It is identical to step S102 with step S101, to this this reality Apply example and step S201 is no longer described in detail to step S202.
S203:After the face identification functions of the electronic equipment are opened, in the preset range that detects the electronic equipment With the presence or absence of human body.
S204:If in preset time period, human body is not present in the preset range of the electronic equipment, then controls institute The face identification functions for stating electronic equipment are closed, to stop carrying out Image Acquisition and recognition of face.
In the embodiment of the present application, face identification functions are not only opened when human body is close to electronic equipment, but also in human body Electronic equipment is left, after judging that nobody is continuing with electronic equipment, the face identification functions of electronic equipment can also be closed, Further to reduce the power consumption of face recognition technology.
Therefore, after the face identification functions of the electronic equipment are opened, the embodiment of the present application can continue described in detection It whether there is human body in the preset range of electronic equipment, if in preset time period, in the preset range of the electronic equipment Human body is not present, then assert that human body has been moved off electronic equipment, judges that nobody is continuing with electronic equipment, so as to The face identification functions of the electronic equipment are controlled to close, to stop carrying out Image Acquisition and recognition of face.
Herein, detect in the preset range of electronic equipment and whether there is human body, can take and detect whether human body The detection means identical close to electronic equipment, it is by voice signal, olfactory signal, wearable device to differ only in the latter Communication signal has detected whether that human body approaches, and the former is believed by the communication of voice signal, olfactory signal, wearable device Number human body is detected whether also near electronic equipment, recognize when detecting human body (preset range) not near electronic equipment For human body is not present in the preset range of electronic equipment.
Moreover, in order to avoid error detection, either avoid departing from since human body is of short duration electronic equipment (such as frequently pick up or Put down electronic equipment) when face identification functions frequent opening and closing cause the bigger of power to consume, the embodiment of the present application is also provided with Preset time period, when human body being not present only in preset time period, in the preset range of the electronic equipment, just controls institute The face identification functions for stating electronic equipment are closed, so as to avoid error detection or avoid due to being frequently opened and closed recognition of face work( Can and cause the bigger of power to consume.
For foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as to a series of combination of actions, but It is that those skilled in the art should know, the present invention and from the limitation of described sequence of movement, because according to the present invention, certain A little steps can use other orders or be carried out at the same time.Secondly, those skilled in the art should also know, be retouched in specification The embodiment stated belongs to preferred embodiment, and involved action and module are not necessarily essential to the invention.
Corresponding with above method embodiment, the embodiment of the present invention also provides a kind of electronic equipment, its alternative construction such as Fig. 3 It is shown, it can include:Detection module 11 and control module 12.
Detection module 11, for detecting whether having human body close to the electronic equipment.
In the embodiment of the present application, the sensor for detecting human body, such as sound sensor can be set in electronic equipment Device, smell sensor etc., when human body is close to electronic equipment, set sensor in the electronic device to detect human body, from And send human body close signal.
The embodiment of the present application can be with according to whether get human body close signal, to have detected whether human body close to the electricity Sub- equipment, can such as use but be not limited to following several ways to have detected whether human body close to the electronic equipment:
Detect whether to get the voice signal that sound transducer detects by the detection unit in detection module 11; By the judging unit in detection module 11 according to the voice signal judge between the human body and the electronic equipment away from From;By in detection module 11 really order member according to the distance between the human body and the electronic equipment, it is determined whether have Human body is close to the electronic equipment;
Alternatively,
Detect whether to get the olfactory signal that smell sensor detects by the detection unit in detection module 11; By the judging unit in detection module 11 according to the olfactory signal judge between the human body and the electronic equipment away from From;By in detection module 11 really order member according to the distance between the human body and the electronic equipment, it is determined whether have Human body is close to the electronic equipment;
Alternatively,
Detect whether to get the communication signal of wearable device by the detection unit in detection module 11;Pass through detection Judging unit in module 11 judges the distance between the human body and the electronic equipment according to the communication signal;Pass through inspection Survey module 11 in really order member according to the distance between the human body and the electronic equipment, it is determined whether have human body close to institute State electronic equipment.
In the embodiment of the present application, above-mentioned voice signal, olfactory signal and communication signal, belong to human body close signal The form of expression, the application can detect whether that human body is set close to the electronics only with any one above-mentioned signal It is standby, can also detect whether human body close to the electronic equipment using any multiple combinations in above-mentioned signal, except this with By the way of other detections characteristics of human body human body can also be detected whether close to the electronic equipment outside.
Judge between the human body and the electronic equipment apart from when, can according to the intensity of human body close signal come Judged, such as the communication signal between the intensity of voice signal, the intensity of olfactory signal, wearable device and electronic equipment Intensity etc..
Herein, the distance between human body and electronic equipment be could be provided as a threshold value is set, when human body and electronics are set It is the distance between standby when being less than or equal to this threshold value, it is possible to have determined human body close to electronic equipment.
The embodiment of the present application, not only can be with active detecting when having detected whether human body close to electronic equipment, can also quilt Dynamic detection, such as when having detected whether human body close to electronic equipment by voice signal, not only can be with active detecting human body certainly The voice signal so sent, can also passively receive voice signal or sound instruction that human body is actively sent, so that according to quilt The voice signal received or sound instruction are moved to have determined that human body approaches, so that unlatching face identification functions are controlled, therefore this Apply embodiment when having detected whether human body close to electronic equipment, not only can by according to active detecting to human body approach Signal has detected whether that human body close to electronic equipment, can also have been detected whether by the human body close signal passively received Human body is close to electronic equipment.
Control module 12, for when having detected human body close to the electronic equipment, controlling the people of the electronic equipment Face identification function is opened, and to carry out Image Acquisition, and carries out recognition of face to the image of collection.
Traditional electronic equipment with face identification functions, will realize recognition of face it is necessary to always on recognition of face Function, while image capture module in always on electronic equipment carries out Image Acquisition, be then based on face recognition technology into Row recognition of face, therefore the always on and face identification functions of image capture module always on can all cause face to know The power consumption of other technology is excessive.
In the embodiment of the present application, only the electronics is just controlled when having detected human body close to the electronic equipment The face identification functions of equipment are opened, and to carry out Image Acquisition, and carry out recognition of face to the image of collection.So in nobody Close or during using electronic equipment, the face identification functions of electronic equipment are closed, it is not necessary to carry out Image Acquisition and Recognition of face, and face identification functions can be opened when detecting that human body is close and carry out Image Acquisition and recognition of face, from And can to avoid face identification functions it is always on caused by relatively high power be lost, reduce using face recognition technology power consumption.
Herein it should be noted is that:The embodiment of the present application when nobody is close to electronic equipment, electronic equipment Face identification functions are closed, therefore electronic equipment need not carry out Image Acquisition and recognition of face, and electronics is set Image capture module in standby is closed, and the recognition of face of electronic equipment is in halted state, so as to play reduction work( The effect of consumption.But, can also be only when nobody is close to electronic equipment in the other embodiment based on the embodiment of the present application The image capture module in electronic equipment or the only recognition of face of stopping electronic equipment being closed, can also be to a certain extent Playing reduces the effect of power consumption.Therefore the embodiment of the present application be not used to it is above-mentioned any one can reduce the realization side of power consumption Formula plays any restrictions.
Electronic equipment provided by the embodiments of the present application is accomplished that the method in above method embodiment, can specifically join Read the related description in embodiment of the method.
On the basis of Fig. 3, the detection module 11 in the electronic equipment of the embodiment of the present application can be also used for:In the electricity After the face identification functions of sub- equipment are opened, detect in the preset range of the electronic equipment and whether there is human body;
Control module 12 is additionally operable to:If in preset time period, it is not present in the preset range of the electronic equipment Human body, then control the face identification functions of the electronic equipment to close, to stop carrying out Image Acquisition and recognition of face.
In the embodiment of the present application, face identification functions are not only opened when human body is close to electronic equipment, but also in human body Electronic equipment is left, after judging that nobody is continuing with electronic equipment, the face identification functions of electronic equipment can also be closed, Further to reduce the power consumption of face recognition technology.
Therefore, after the face identification functions of the electronic equipment are opened, the embodiment of the present application can continue described in detection It whether there is human body in the preset range of electronic equipment, if in preset time period, in the preset range of the electronic equipment Human body is not present, then assert that human body has been moved off electronic equipment, judges that nobody is continuing with electronic equipment, so as to The face identification functions of the electronic equipment are controlled to close, to stop carrying out Image Acquisition and recognition of face.
Herein, detect in the preset range of electronic equipment and whether there is human body, can take and detect whether human body The detection means identical close to electronic equipment, it is by voice signal, olfactory signal, wearable device to differ only in the latter Communication signal has detected whether that human body approaches, and the former is believed by the communication of voice signal, olfactory signal, wearable device Number human body is detected whether also near electronic equipment, recognize when detecting human body (preset range) not near electronic equipment For human body is not present in the preset range of electronic equipment.
Moreover, in order to avoid error detection, either avoid departing from since human body is of short duration electronic equipment (such as frequently pick up or Put down electronic equipment) when face identification functions frequent opening and closing cause the bigger of power to consume, the embodiment of the present application is also provided with Preset time period, when human body being not present only in preset time period, in the preset range of the electronic equipment, just controls institute The face identification functions for stating electronic equipment are closed, so as to avoid error detection or avoid due to being frequently opened and closed recognition of face work( Can and cause the bigger of power to consume.
Electronic equipment provided by the embodiments of the present application is accomplished that the method in above method embodiment, can specifically join Read the related description in embodiment of the method.
The embodiment of the present invention also provides a kind of electronic equipment, and electronic equipment includes:Processor and memory, wherein memory In have program stored therein code.Following steps are performed during processor caller code:
Detect whether human body close to the electronic equipment;
When having detected human body close to the electronic equipment, the face identification functions of the electronic equipment are controlled to open, To carry out Image Acquisition, and recognition of face is carried out to the image of collection.
Preferably, whether processor caller code detection has human body close to the following step of execution during the electronic equipment Suddenly:
Detect whether to get voice signal;
The distance between the human body and the electronic equipment are judged according to the voice signal;
According to the distance between the human body and the electronic equipment, it is determined whether have human body close to the electronic equipment.
Preferably, whether processor caller code detection has human body close to the following step of execution during the electronic equipment Suddenly:
Detect whether to get olfactory signal;
The distance between the human body and the electronic equipment are judged according to the olfactory signal;
According to the distance between the human body and the electronic equipment, it is determined whether have human body close to the electronic equipment.
Preferably, whether processor caller code detection has human body close to the following step of execution during the electronic equipment Suddenly:
Detect whether to get the communication signal of wearable device;
The distance between the human body and the electronic equipment are judged according to the communication signal;
According to the distance between the human body and the electronic equipment, it is determined whether have human body close to the electronic equipment.
Preferably, also executed the following steps during processor caller code:
After the face identification functions of the electronic equipment are opened, detect in the preset range of the electronic equipment and whether deposit In human body;
If in preset time period, human body is not present in the preset range of the electronic equipment, then controls the electricity The face identification functions of sub- equipment are closed, to stop carrying out Image Acquisition and recognition of face.
Electronic equipment provided by the embodiments of the present application is accomplished that the method in above method embodiment, can specifically join Read the related description in embodiment of the method.
The embodiment of the present invention also provides a kind of electronic equipment, and electronic equipment includes:Memory, input/output interface and attachment Control module.Wherein memory is used to store information.
Input/output interface is used to be called to receive and/or send information.
Adhere to control module for detecting whether having human body close to the electronic equipment;Detecting human body described in During electronic equipment, control the face identification functions of the electronic equipment to open, to carry out Image Acquisition, and to the image of collection into Row recognition of face.
Preferably, when attachment control module has detected whether human body close to the electronic equipment, for performing following steps:
Detect whether to get voice signal;
The distance between the human body and the electronic equipment are judged according to the voice signal;
According to the distance between the human body and the electronic equipment, it is determined whether have human body close to the electronic equipment.
Preferably, when attachment control module has detected whether human body close to the electronic equipment, for performing following steps:
Detect whether to get olfactory signal;
The distance between the human body and the electronic equipment are judged according to the olfactory signal;
According to the distance between the human body and the electronic equipment, it is determined whether have human body close to the electronic equipment.
Preferably, when attachment control module has detected whether human body close to the electronic equipment, for performing following steps:
Detect whether to get the communication signal of wearable device;
The distance between the human body and the electronic equipment are judged according to the communication signal;
According to the distance between the human body and the electronic equipment, it is determined whether have human body close to the electronic equipment.
Preferably, attachment control module also executes the following steps:
After the face identification functions of the electronic equipment are opened, detect in the preset range of the electronic equipment and whether deposit In human body;
If in preset time period, human body is not present in the preset range of the electronic equipment, then controls the electricity The face identification functions of sub- equipment are closed, to stop carrying out Image Acquisition and recognition of face.
Electronic equipment provided by the embodiments of the present application is accomplished that the method in above method embodiment, can specifically join Read the related description in embodiment of the method.
The embodiment of the present invention also provides a kind of computer program product, and computer program product is performed for performing such as Lower step:
Detect whether human body close to the electronic equipment;
When having detected human body close to the electronic equipment, the face identification functions of the electronic equipment are controlled to open, To carry out Image Acquisition, and recognition of face is carried out to the image of collection.
Preferably, the computer program product is performed when having detected whether human body close to the electronic equipment, is used for Perform following steps:
Detect whether to get voice signal;
The distance between the human body and the electronic equipment are judged according to the voice signal;
According to the distance between the human body and the electronic equipment, it is determined whether have human body close to the electronic equipment.
Preferably, the computer program product is performed when having detected whether human body close to the electronic equipment, is used for Perform following steps:
Detect whether to get olfactory signal;
The distance between the human body and the electronic equipment are judged according to the olfactory signal;
According to the distance between the human body and the electronic equipment, it is determined whether have human body close to the electronic equipment.
Preferably, the computer program product is performed when having detected whether human body close to the electronic equipment, is used for Perform following steps:
Detect whether to get the communication signal of wearable device;
The distance between the human body and the electronic equipment are judged according to the communication signal;
According to the distance between the human body and the electronic equipment, it is determined whether have human body close to the electronic equipment.
Preferably, the computer program product, which is performed, is additionally operable to perform following steps:
After the face identification functions of the electronic equipment are opened, detect in the preset range of the electronic equipment and whether deposit In human body;
If in preset time period, human body is not present in the preset range of the electronic equipment, then controls the electricity The face identification functions of sub- equipment are closed, to stop carrying out Image Acquisition and recognition of face.
Electronic equipment provided by the embodiments of the present application is accomplished that the method in above method embodiment, can specifically join Read the related description in embodiment of the method.
Implementation process and explanation for each step in above-mentioned electronic equipment and computer program product etc. refer to Related description in above method embodiment, no longer illustrates this embodiment of the present invention.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight Point explanation is all difference with other embodiment, between each embodiment identical similar part mutually referring to. For device class embodiment, since it is substantially similar to embodiment of the method, so description is fairly simple, related part ginseng See the part explanation of embodiment of the method.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or order.Moreover, term " comprising ", "comprising" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only include that A little key elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", is not arranged Except also there are other identical element in the process, method, article or apparatus that includes the element.
The foregoing description of the disclosed embodiments, enables those skilled in the art to realize or use the present invention.To this A variety of modifications of a little embodiments will be apparent for a person skilled in the art, and the general principles defined herein can Without departing from the spirit or scope of the present invention, to realize in other embodiments.Therefore, the present invention will not be limited The embodiments shown herein is formed on, and is to fit to consistent with the principles and novel features disclosed herein most wide Scope.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (13)

  1. A kind of 1. face identification method, applied in electronic equipment, it is characterised in that the described method includes:
    Detect whether human body close to the electronic equipment;
    When having detected human body close to the electronic equipment, control the face identification functions of the electronic equipment to open, with into Row Image Acquisition, and recognition of face is carried out to the image of collection.
  2. 2. according to the method described in claim 1, it is characterized in that, described detected whether human body close to the electronic equipment, Including:
    Detect whether to get voice signal;
    The distance between the human body and the electronic equipment are judged according to the voice signal;
    According to the distance between the human body and the electronic equipment, it is determined whether have human body close to the electronic equipment.
  3. 3. according to the method described in claim 1, it is characterized in that, described detected whether human body close to the electronic equipment, Including:
    Detect whether to get olfactory signal;
    The distance between the human body and the electronic equipment are judged according to the olfactory signal;
    According to the distance between the human body and the electronic equipment, it is determined whether have human body close to the electronic equipment.
  4. 4. according to the method described in claim 1, it is characterized in that, described detected whether human body close to the electronic equipment, Including:
    Detect whether to get the communication signal of wearable device;
    The distance between the human body and the electronic equipment are judged according to the communication signal;
    According to the distance between the human body and the electronic equipment, it is determined whether have human body close to the electronic equipment.
  5. 5. according to the method described in any one in claim 1-4, it is characterised in that the method further includes:
    After the face identification functions of the electronic equipment are opened, detect in the preset range of the electronic equipment and whether there is people Body;
    If in preset time period, human body is not present in the preset range of the electronic equipment, then controls the electronics to set Standby face identification functions are closed, to stop carrying out Image Acquisition and recognition of face.
  6. 6. a kind of electronic equipment, it is characterised in that the electronic equipment includes:
    Detection module, for detecting whether having human body close to the electronic equipment;
    Control module, for when having detected human body close to the electronic equipment, controlling the recognition of face of the electronic equipment Function is opened, and to carry out Image Acquisition, and carries out recognition of face to the image of collection.
  7. 7. electronic equipment according to claim 6, it is characterised in that the detection module, including:
    Detection unit, for detecting whether getting voice signal;
    Judging unit, for judging the distance between the human body and the electronic equipment according to the voice signal;
    Determination unit, for according to the distance between the human body and the electronic equipment, it is determined whether have human body described in Electronic equipment.
  8. 8. electronic equipment according to claim 6, it is characterised in that the detection module, including:
    Detection unit, for detecting whether getting olfactory signal;
    Judging unit, for judging the distance between the human body and the electronic equipment according to the olfactory signal;
    Determination unit, for according to the distance between the human body and the electronic equipment, it is determined whether have human body described in Electronic equipment.
  9. 9. electronic equipment according to claim 6, it is characterised in that the detection module, including:
    Detection unit, for detecting whether getting the communication signal of wearable device;
    Judging unit, for judging the distance between the human body and the electronic equipment according to the communication signal;
    Determination unit, for according to the distance between the human body and the electronic equipment, it is determined whether have human body described in Electronic equipment.
  10. 10. according to the method described in any one in claim 6-9, it is characterised in that:
    The detection module is additionally operable to:After the face identification functions of the electronic equipment are opened, the electronic equipment is detected It whether there is human body in preset range;
    The control module is additionally operable to:If in preset time period, people is not present in the preset range of the electronic equipment Body, then control the face identification functions of the electronic equipment to close, to stop carrying out Image Acquisition and recognition of face.
  11. 11. a kind of electronic equipment, it is characterised in that the electronic equipment includes:Processor and memory, wherein the memory In have program stored therein code;
    The processor performs the recognition of face side as described in any one in claim 1 to 5 when calling said program code Method.
  12. 12. a kind of electronic equipment, it is characterised in that the electronic equipment includes:Memory, input/output interface and attachment control Module;
    The memory is used to store information;
    The input/output interface is used to be called to receive and/or send information;
    The attachment control module is used for when having detected human body close to the electronic equipment, controls the people of the electronic equipment Face identification function is opened, and to carry out Image Acquisition, and carries out recognition of face to the image of collection.
  13. 13. a kind of computer program product, it is characterised in that the computer program product is performed for performing such as right It is required that the face identification method in 1 to 5 described in any one.
CN201711274753.1A 2017-12-06 2017-12-06 A kind of face identification method, electronic equipment and computer program product Withdrawn CN108038437A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711274753.1A CN108038437A (en) 2017-12-06 2017-12-06 A kind of face identification method, electronic equipment and computer program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711274753.1A CN108038437A (en) 2017-12-06 2017-12-06 A kind of face identification method, electronic equipment and computer program product

Publications (1)

Publication Number Publication Date
CN108038437A true CN108038437A (en) 2018-05-15

Family

ID=62095950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711274753.1A Withdrawn CN108038437A (en) 2017-12-06 2017-12-06 A kind of face identification method, electronic equipment and computer program product

Country Status (1)

Country Link
CN (1) CN108038437A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109034005A (en) * 2018-07-06 2018-12-18 宁波向往智能科技有限公司 A kind of electronic equipment and human body induction control method with human body sensing
CN109993127A (en) * 2019-04-03 2019-07-09 浙江口信科技有限公司 A kind of facial image recognition method based on artificial intelligence
CN110427887A (en) * 2019-08-02 2019-11-08 腾讯科技(深圳)有限公司 A kind of membership's recognition methods and device based on intelligence
CN112989926A (en) * 2021-02-03 2021-06-18 深圳达实智能股份有限公司 Method and system for prolonging service life of monitoring camera

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130215275A1 (en) * 2011-05-18 2013-08-22 Nextgenid, Inc. Enrollment kiosk including biometric enrollment and verification, face recognition and fingerprint matching systems
CN104155644A (en) * 2014-08-20 2014-11-19 西安电子科技大学 Ranging method based on sound sensor and system thereof
CN106297120A (en) * 2015-06-03 2017-01-04 天津维斯顿科技有限公司 A kind of intelligent human body infrared sensing interlink alarm system
CN106959076A (en) * 2017-02-20 2017-07-18 广州视源电子科技股份有限公司 Portrait distance detection method and system based on camera
CN107222641A (en) * 2017-07-12 2017-09-29 珠海格力电器股份有限公司 A kind of mobile terminal unlocking method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130215275A1 (en) * 2011-05-18 2013-08-22 Nextgenid, Inc. Enrollment kiosk including biometric enrollment and verification, face recognition and fingerprint matching systems
CN104155644A (en) * 2014-08-20 2014-11-19 西安电子科技大学 Ranging method based on sound sensor and system thereof
CN106297120A (en) * 2015-06-03 2017-01-04 天津维斯顿科技有限公司 A kind of intelligent human body infrared sensing interlink alarm system
CN106959076A (en) * 2017-02-20 2017-07-18 广州视源电子科技股份有限公司 Portrait distance detection method and system based on camera
CN107222641A (en) * 2017-07-12 2017-09-29 珠海格力电器股份有限公司 A kind of mobile terminal unlocking method and mobile terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109034005A (en) * 2018-07-06 2018-12-18 宁波向往智能科技有限公司 A kind of electronic equipment and human body induction control method with human body sensing
CN109993127A (en) * 2019-04-03 2019-07-09 浙江口信科技有限公司 A kind of facial image recognition method based on artificial intelligence
CN110427887A (en) * 2019-08-02 2019-11-08 腾讯科技(深圳)有限公司 A kind of membership's recognition methods and device based on intelligence
CN110427887B (en) * 2019-08-02 2023-03-10 腾讯科技(深圳)有限公司 Member identity identification method and device based on intelligence
CN112989926A (en) * 2021-02-03 2021-06-18 深圳达实智能股份有限公司 Method and system for prolonging service life of monitoring camera
CN112989926B (en) * 2021-02-03 2024-03-22 深圳达实智能股份有限公司 Method and system for prolonging service life of monitoring camera

Similar Documents

Publication Publication Date Title
CN108038437A (en) A kind of face identification method, electronic equipment and computer program product
CN105051812B (en) Mixed design equipment for contactless user interface
CN105700363B (en) A kind of awakening method and system of smart home device phonetic controller
US9864425B2 (en) Adjusting mobile device state based on user intentions and/or identity
CN104254884B (en) Low-power integrated-circuit for analyzing digitized audio stream
Ganti et al. Multisensor fusion in smartphones for lifestyle monitoring
KR101165537B1 (en) User Equipment and method for cogniting user state thereof
US10567711B1 (en) Batteryless doorbell with rectified power delivery
CN108121490A (en) For handling electronic device, method and the server of multi-mode input
CN107358954A (en) It is a kind of to change the device and method for waking up word in real time
CN107741698A (en) The inter-linked controlling method of intelligent appliance and access control equipment, device and system
US20210318743A1 (en) Sensing audio information and footsteps to control power
CN105045382B (en) The method and device that a kind of quarter-bell on mobile device is controlled
CN107134823A (en) Charge prompting method and device
CN104282064B (en) Gate inhibition's answer method and device
CN103885588A (en) Automatic switchover method and device
CN108876998A (en) Gate inhibition's method and system of testimony of a witness unification based on living things feature recognition
CN110297536A (en) A kind of control method and electronic equipment
CN104883505A (en) Electronic equipment and photographing control method therefor
CN109753777A (en) A kind of personal identification method, device, storage medium and mobile terminal
CN103543814A (en) Signal processing device and signal processing method
CN106469265A (en) Electronic equipment awakening method, device and electronic equipment
CN109525791A (en) Information recording method and terminal
CN107819946B (en) A kind of method, device and mobile terminal of speech recognition
CN106791533A (en) For the video message leaving method and device of refrigerator

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20180515

WW01 Invention patent application withdrawn after publication