CN111104818B - Face recognition method and face recognition equipment - Google Patents

Face recognition method and face recognition equipment Download PDF

Info

Publication number
CN111104818B
CN111104818B CN201811249023.0A CN201811249023A CN111104818B CN 111104818 B CN111104818 B CN 111104818B CN 201811249023 A CN201811249023 A CN 201811249023A CN 111104818 B CN111104818 B CN 111104818B
Authority
CN
China
Prior art keywords
face recognition
user
preset
time
face
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
CN201811249023.0A
Other languages
Chinese (zh)
Other versions
CN111104818A (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201811249023.0A priority Critical patent/CN111104818B/en
Publication of CN111104818A publication Critical patent/CN111104818A/en
Application granted granted Critical
Publication of CN111104818B publication Critical patent/CN111104818B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • G06V40/161Detection; Localisation; Normalisation
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C1/00Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people
    • G07C1/10Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people together with the recording, indicating or registering of other data, e.g. of signs of identity

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Collating Specific Patterns (AREA)
  • Time Recorders, Dirve Recorders, Access Control (AREA)

Abstract

The invention discloses a face recognition method and face recognition equipment, wherein the method comprises the following steps: the face recognition equipment detects whether the stay time of a user in a preset area reaches a preset stay time or not; and if the stay time reaches the preset stay time, the face recognition equipment wakes up the face recognition function to recognize the face of the user. By the method, the accuracy of face recognition card punching is improved, and the face recognition function in the face recognition equipment does not need to be started all the time, so that the power consumption is saved.

Description

Face recognition method and face recognition equipment
Technical Field
The present invention relates to the field of face recognition technology, and in particular, to a face recognition method and a face recognition device.
Background
With the continuous progress of society, face recognition gradually enters the field of vision of the public. The human face and other biological characteristics of the human body such as fingerprints, palm prints, irises, retinas and the like have uniqueness, and the uniqueness can be used for identifying the identity of the user.
For example, in the prior art, the face recognition technology can be applied to face attendance, and because the face recognition precision is high, face card punching can effectively prevent the situation that other people punch cards instead, and the card punching accuracy is improved.
However, in the prior art, the card punching device recognizes a human face in a detectable range, compares the recognized human face with a human face template stored in a background, and if the comparison is successful, the card punching is successful. However, the card punching device is usually always in an open state, and as long as a person is close to the card punching device, the card punching device can recognize the face of the person, i.e. record attendance records. Therefore, the user may not punch a card, but the punching device may mistakenly punch a card when the user is close to the punching device for other reasons. Therefore, in the prior art, the accuracy of face recognition card punching is low.
Disclosure of Invention
The embodiment of the invention provides a face recognition method and face recognition equipment, which are used for solving the problem of low face recognition card punching accuracy in the prior art.
In a first aspect, an embodiment of the present invention provides a method for face recognition, which is applied to a face recognition device, and includes:
the face recognition equipment detects whether the stay time of a user in a preset area reaches a preset stay time or not;
and if the stay time reaches the preset stay time, the face recognition equipment wakes up the face recognition function to recognize the face of the user.
Optionally, before the face recognition device detects whether the staying time of the user in the preset area reaches the preset staying time, the method further includes:
the face recognition equipment detects the current time;
and the face recognition equipment determines a preset stay time corresponding to the current time according to the current time.
Optionally, the method further comprises:
the face recognition equipment prestores face images of users;
the face recognition equipment compares the recognized face image of the user with a face image of a prestored user;
if the recognized user face image is consistent with the face image of the prestored user, the face recognition equipment determines that the user is successfully recognized;
the face recognition equipment uploads the recognition information to a management platform; the identification information comprises the identification time of the face identification and the user information of the user.
Optionally, the method further comprises:
if the recognized user face image is not consistent with the face image of the pre-stored user, the face recognition equipment outputs prompt information; the prompt information is used for indicating that the face recognition of the user is unsuccessful.
Optionally, before the face recognition device detects whether a staying time value of the user in a preset area reaches a preset time length, the method further includes:
the face recognition equipment receives a preset stay time sent by a management platform; the management platform is used for generating preset stay time according to the operation of a user.
Optionally, the detecting, by the face recognition device, whether the staying time of the user in the preset area reaches the preset staying time includes:
the face recognition device detects whether the watching duration of the user pupil watching the face recognition device reaches the preset stay duration.
In a second aspect, an embodiment of the present invention provides a face recognition device, including a processing unit; wherein,
the processing unit is used for detecting whether the stay time of the user in the preset area reaches the preset stay time or not;
and if the stay time reaches the preset stay time, the processing unit wakes up a face recognition function to recognize the face of the user.
Optionally, before the processing unit is configured to detect whether a staying time of the user in the preset area reaches the preset staying time, the processing unit is specifically configured to:
detecting the current time;
and determining a preset stay time corresponding to the current time according to the current time.
Optionally, the face recognition device further comprises a storage unit; the storage unit is used for:
pre-storing a face image of a user;
the processing unit is also used for comparing the identified face image of the user with the face image of the pre-stored user;
if the recognized user face image is consistent with the face image of the prestored user, the processing unit determines that the user is successfully recognized;
the face recognition device further comprises a sending unit; the sending unit is used for uploading the identification information to the management platform; the identification information comprises the identification time of the face identification and the user information of the user.
Optionally, the processing unit is further configured to:
if the identified face image of the user is not consistent with the face image of the pre-stored user, the processing unit outputs prompt information; the prompt information is used for indicating that the face recognition of the user is unsuccessful.
Optionally, the face recognition device further comprises a receiving unit; before the processing unit is configured to detect whether a retention time value of a user in a preset area reaches a preset duration, the receiving unit is specifically configured to:
receiving a preset stay time sent by a management platform; the management platform is used for generating preset stay time according to the operation of a user.
Optionally, the processing unit is configured to detect whether a staying time of the user in the preset area reaches the preset staying time, and specifically configured to:
and detecting whether the watching time of the user pupil watching the face recognition device reaches the preset stay time.
In a third aspect, an embodiment of the present invention provides a face recognition device, including a processor; wherein,
the processor is used for detecting whether the stay time of the user in the preset area reaches the preset stay time or not;
and if the stay time reaches the preset stay time, the processor wakes up a face recognition function to recognize the face of the user.
Optionally, before the processor is configured to detect whether a staying time of the user in the preset area reaches the preset staying time, the processor is specifically configured to:
detecting the current time;
and determining a preset stay time corresponding to the current time according to the current time.
Optionally, the face recognition device further comprises a memory; the memory is to:
pre-storing a face image of a user;
the processor is also used for comparing the identified face image of the user with the face image of the pre-stored user;
if the recognized user face image is consistent with the face image of the prestored user, the processor determines that the user is successfully recognized;
the face recognition device further comprises a transmitter; the transmitter is used for uploading the identification information to the management platform; the identification information comprises the identification time of the face identification and the user information of the user.
Optionally, the processor is further configured to:
if the identified face image of the user is not consistent with the face image of the pre-stored user, the processor outputs prompt information; the prompt information is used for indicating that the face recognition of the user is unsuccessful.
Optionally, the face recognition device further comprises a receiver; before the processor is configured to detect whether a dwell time value of a user in a preset area reaches a preset duration, the receiver is specifically configured to:
receiving a preset stay time sent by a management platform; the management platform is used for generating preset stay time according to the operation of a user.
Optionally, the processor is configured to detect whether a staying time of the user in the preset area reaches the preset staying time, and specifically configured to:
and detecting whether the watching time of the user for watching the face recognition by the pupil reaches the preset stay time.
In a fourth aspect, an embodiment of the present invention provides a face recognition device, including a processor and a memory; wherein the memory is to store one or more computer programs; the one or more computer programs stored by the memory, when executed by the processor, cause the face recognition device to implement the first aspect or any of the possible designs of the first aspect described above.
In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores a computer program, where the computer program includes program instructions, and the program instructions, when executed by a computer, cause the computer to execute the first aspect or any one of the possible design methods of the first aspect.
In a sixth aspect, an embodiment of the present invention provides a computer program product, where the computer program product stores a computer program, and the computer program includes program instructions, which, when executed by a computer, cause the computer to execute the first aspect or any one of the possible design methods of the first aspect.
The invention has the following beneficial effects:
in the technical scheme of the embodiment of the invention, the face recognition equipment detects whether the stay time of a user in a preset area reaches the preset stay time or not; and if the stay time reaches the preset stay time, the face recognition equipment wakes up the face recognition function to recognize the face of the user. By the method, the accuracy of face recognition card punching is improved, and the face recognition function in the face recognition equipment does not need to be started all the time, so that the power consumption is saved.
Drawings
Fig. 1 is a schematic flow chart of a face recognition method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a display interface of a display screen of a management platform according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a face recognition device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a face recognition device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a face recognition device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The shapes and sizes of the various elements in the drawings are not to scale and are merely intended to illustrate the invention.
Fig. 1 is a schematic flow chart of a face recognition method according to an embodiment of the present invention. The method comprises the following steps:
step 101, detecting whether the stay time of a user in a preset area reaches a preset stay time by face recognition equipment.
And 102, if the stay time reaches the preset stay time, the face recognition device wakes up the face recognition function to recognize the face of the user.
Optionally, the face recognition device may have a specific image acquisition function, and the preset region may be an image acquisition range of the face recognition device.
Optionally, the face recognition device may determine the dwell time of the user in various ways, for example, when the face recognition device may integrate an iris recognition function, the face recognition device may detect the gazing time of the user's pupil gazing, and the gazing time is the dwell time. For another example, the face recognition device may collect multiple frames of face images within a period of time, and when the position, shape, and the like of the face on each frame of face image in the multiple frames of face images do not change much, the period of time is the dwell time. Of course, the face recognition device may also determine the stay time of the user in other manners, and the embodiment of the present invention is not limited.
Optionally, the face recognition device may receive a preset stay time sent by the management platform (that is, the face recognition device may be connected to the management platform), where the management platform is configured to generate the preset stay time according to an operation of a user. The management platform may be a computer, a mobile phone, an ipad, or other terminal device, and the embodiment of the present invention is not limited. Taking a mobile phone as an example, a user (such as an enterprise manager) may install an Application (APP) in the mobile phone. The user can set the preset stay time of the face recognition device through the APP.
Optionally, the user may set preset stay time lengths corresponding to different time periods on the management platform. Please refer to fig. 2, which is a schematic diagram of a display interface of a display screen of a management platform according to an embodiment of the present invention. As shown in fig. 2, the user sets a preset stay time 202 corresponding to the time period 201 of 8:00-9:00 to be 0.5 Second (Second, S) on the management platform 200, and after the user clicks the saving control 203, the management platform 200 sends the preset stay time of 0.5S corresponding to the time period 201 of 8:00-9:00 to the face recognition device.
Alternatively, the user may set a plurality of time periods, such as the three time periods shown in fig. 2. Each time period corresponds to a preset stay time. After the user clicks the saving control 203, the management platform 200 may send the three time periods and the preset stay time corresponding to each time period to the face recognition device.
Optionally, with continuing reference to fig. 2, after detecting that the user clicks the saving control 203, the management platform may generate a table according to the correspondence between the time period and the preset staying time, and then send the table to the face recognition device. Exemplarily, please refer to table 1, which is an example of a corresponding relationship between a time period and a preset dwell time provided by an embodiment of the present invention.
TABLE 1
Time period Preset dwell time
8:00-9:00 0.5s
17:00-18:00 0.5s
9:00-17:00 5s
In this case, the face recognition apparatus gets table 1. The following describes a process of a face recognition apparatus recognizing a face according to table 1 to punch a card.
Optionally, when the face recognition device detects that the user is in the preset area, the face recognition device detects the current time. And the face recognition equipment determines a preset stay time corresponding to the current time according to the current time. For example, if the current time detected by the face recognition device is 8:10, the face recognition device looks up the table 1, and determines that the preset stay time bit corresponding to 8:10 is 0.5s when the time 8:10 is within the time period of 8:00-9: 00.
Optionally, when the face recognition device determines that the preset time length corresponds to the current time, the face recognition device starts to detect whether the staying time length of the user in the preset area reaches the preset staying time length (i.e., step 101). For example, the face recognition device determines that the preset stay time corresponding to 8:10 is 0.5s, the face recognition device detects that the stay time of the user in the preset area is 0.6s, and the face recognition device determines whether the 0.6s reaches 0.5 s.
Optionally, if the staying time reaches the preset staying time, the face recognition device wakes up the face recognition function to recognize the face of the user (i.e., step 102). For example, when the face recognition device determines that 0.6s reaches 0.5s, the face recognition device wakes up the face recognition function to recognize the face of the user. If the staying time does not reach the preset staying time, the face recognition device does not awaken the face recognition function, and the face recognition device cannot recognize the face of the user. For example, when the face recognition device determines that 0.4s does not reach 0.5s, the face recognition device does not wake up the face recognition function, and the face recognition device cannot recognize the face of the user. The preset stay time is set, so that the face recognition equipment can prevent the face of the user from being recognized by mistake to a certain extent, and convenience is provided for the user.
Optionally, the face recognition device may pre-store a face image of the user. When the face recognition function is awakened by the face recognition device to recognize the face of the user (the face image is collected), the face recognition device compares the recognized face image of the user with the face image of the pre-stored user. And if the recognized face image of the user is consistent with the face image of the pre-stored user, the face recognition equipment determines that the user is successfully recognized. The face recognition device uploads the recognition information to the management platform, wherein the recognition information comprises the recognition time of the face recognition and user information of the user (the user information can be information such as the name and the work number of the user). For example, the time of the face recognition is 8:30, and the recognized user is Zhang III.
Optionally, if the face image of the identified user is inconsistent with the face image of the pre-stored user, the face recognition device outputs prompt information, wherein the prompt information is used for indicating that the face recognition of the user is unsuccessful. The prompt message may be a voice message, or a text message displayed on a display screen of the face recognition device, and the embodiment of the present invention is not limited.
Optionally, the recognized face image of the user is compared with the face image of the pre-stored user, so that the phenomenon that employees punch cards instead of each other can be prevented, and the accuracy of face recognition card punching is improved. For example, one face image of three leaves is prestored on the face recognition device, the face recognition device recognizes the face card punch in the preset area of the face recognition device for three leaves, the face recognition device compares the face image of four leaves with the face image prestored in three leaves, and the face recognition device recognizes that the face images of the two leaves are inconsistent, so that the four leaves cannot be successfully recognized and punched in three leaves.
In the embodiment of the application, the face recognition device can provide convenience for users to punch cards on duty and off duty through setting the corresponding relation (such as table 1) between the time period and the preset stay time, and is convenient for the staff of an enterprise to manage face recognition punch card records on duty and off duty. For example, in the business attendance card-reading time period (such as 8:00-9:00 in table 1, the flow rate of the employee card-reading people in the time period is large) and the business attendance card-reading time period (such as 17:00-18:00 in table 1, the flow rate of the employee card-reading people in the time period is large) of the enterprise, the preset stay time is relatively shorter (for example, 0.5s), and the employee can conveniently take the business attendance card-reading; during the working hours (such as 9:00-17:00 in table 1, the flow of the employee's card punch people in the time period is small), the preset stay time is set to be relatively longer (for example, 5s), so that the card punch by mistake is prevented.
For example, taking the face recognition device applied to an enterprise as an example, the face recognition device is installed on a door of the enterprise, and the time for recognizing the face of the employee is used as a certificate of the work attendance time. If the preset stay time is not set by the face recognition device, when a certain employee only appears in the preset area of the face recognition device unconsciously, the face recognition device recognizes the face of the employee, and the attendance record of the employee may be wrong. For example, the time for the employee to punch the card during work is 8:00, the time for the employee to recognize the face of the employee is 10:00 when the employee unconsciously appears in the preset area of the face recognition device at 10:00, the time for the face recognition device to record the time for the employee to punch the card is 10:00, the time for the employee to punch the card is 17:00 when the employee is 17:00, the time for the face recognition device to punch the card is 17:00, and three records exist when the employee punches the card during work on and off the day. Therefore, certain trouble is brought to the personnel department of the enterprise for counting the attendance records of the employees, and the personnel department cannot determine which record in the three attendance records is the attendance time and which is the off-duty time.
Therefore, in the face recognition method provided by the embodiment of the application, the preset stay time is set in the face recognition device, and the face recognition device can judge whether the employee is conscious or unconscious in the preset area of the face recognition device (i.e. whether the employee is actively identified to punch a card or passively identified to punch a card). The preset stay time is set, so that convenience is provided for the attendance card-punching records of the employees managed by the enterprise.
In the above embodiments, the face recognition device recognizes the face of the user as an example. Indeed, the concepts of the present invention may also be applied to other devices for identifying a user's identity. For example, the device may also identify other unique biometrics of the user in the same or similar manner as described above, and the embodiments of the present application are not limited thereto.
As can be seen from the above description, in the technical solution of the embodiment of the present invention, the face recognition device detects whether the staying time of the user in the preset area reaches the preset staying time; and if the stay time reaches the preset stay time, the face recognition equipment wakes up the face recognition function to recognize the face of the user. By the method, the accuracy of face recognition card punching is improved, and the face recognition function in the face recognition equipment does not need to be started all the time, so that the power consumption is saved.
Based on the same inventive concept, the embodiment of the invention provides a face recognition device. Fig. 3 is a schematic structural diagram of a face recognition device according to an embodiment of the present invention. The face recognition device may be a device for managing employee face recognition card punching in enterprises, factories and other places, and the embodiment of the invention is not limited.
As shown in fig. 3, the face recognition apparatus 300 includes a processing unit 301; wherein,
the processing unit 301 is configured to detect whether a staying time of a user in a preset area reaches a preset staying time;
if the staying time reaches the preset staying time, the processing unit 301 wakes up the face recognition function to recognize the face of the user.
Optionally, before the processing unit 301 is configured to detect whether the staying time of the user in the preset area reaches the preset staying time, the processing unit 301 is specifically configured to:
detecting the current time;
and determining a preset stay time corresponding to the current time according to the current time.
Optionally, the face recognition apparatus 300 further includes a storage unit (not shown in the figure); the storage unit is used for:
pre-storing a face image of a user;
the processing unit 301 is further configured to compare the identified face image of the user with a face image of a pre-stored user;
if the identified face image of the user is consistent with the face image of the pre-stored user, the processing unit 301 determines that the user is successfully identified;
the face recognition apparatus 300 further includes a transmitting unit (not shown in the figure); the sending unit is used for uploading the identification information to the management platform; the identification information includes the identification time of the face identification and the user information of the user.
Optionally, the processing unit 301 is further configured to:
if the identified face image of the user is not consistent with the face image of the pre-stored user, the processing unit 301 outputs prompt information; the prompt message is used for indicating that the face recognition of the user is unsuccessful.
Optionally, the face recognition device 300 further comprises a receiving unit (not shown in the figure); before the processing unit 301 is configured to detect whether the staying time value of the user in the preset area reaches the preset duration, the receiving unit is specifically configured to:
receiving a preset stay time sent by a management platform; the management platform is used for generating preset stay time according to the operation of the user.
Optionally, the processing unit 301 is specifically configured to, when detecting whether a staying time of the user in the preset area reaches the preset staying time:
whether the watching time length of the user for watching the face recognition device 300 through the pupil reaches a preset stay time length is detected.
The face recognition device 300 in this embodiment is based on the invention of the same concept as the face recognition method shown in fig. 1, and through the foregoing detailed description of the face recognition method, a person skilled in the art can clearly understand the implementation process of the face recognition device 300 in this embodiment, so for brevity of the description, details are not repeated here.
Based on the same inventive concept, the embodiment of the invention provides a face recognition device. Fig. 4 is a schematic structural diagram of a face recognition device according to an embodiment of the present invention. The face recognition device may be a device for managing employee face recognition card punching in enterprises, factories and other places, and the embodiment of the invention is not limited.
As shown in fig. 4, the face recognition device 400 includes a processor 401; alternatively, processor 401 may be a general purpose Central Processing Unit (CPU) or an Application Specific Integrated Circuit (ASIC), and may be one or more Integrated circuits configured to control program execution.
Optionally, the processor 401 is configured to detect whether a staying time period of the user in the preset area reaches a preset staying time period;
if the staying time reaches the preset staying time, the processor 401 wakes up the face recognition function to recognize the face of the user.
Optionally, before the processor 401 is configured to detect whether the staying time of the user in the preset area reaches the preset staying time, the processor 401 is specifically configured to:
detecting the current time;
and determining a preset stay time corresponding to the current time according to the current time.
Optionally, the face recognition device 400 further comprises a memory (not shown in the figure); the memory is to:
pre-storing a face image of a user;
the processor 401 is further configured to compare the identified face image of the user with a face image of a pre-stored user;
if the identified face image of the user is consistent with the face image of the pre-stored user, the processor 401 determines that the user is successfully identified;
the face recognition device 400 further includes a transmitter (not shown in the figure); alternatively, the transmitter may be a wireless transmitter or a bluetooth transmitter.
Optionally, the sender is configured to upload the identification information of this time to the management platform; the identification information includes the identification time of the face identification and the user information of the user.
Optionally, the processor 401 is further configured to:
if the identified face image of the user is not consistent with the face image of the pre-stored user, the processor 401 outputs prompt information; the prompt message is used for indicating that the face recognition of the user is unsuccessful.
Optionally, the face recognition device 400 further comprises a receiver (not shown in the figure); the receiver may be a wireless receiver or a bluetooth receiver.
Optionally, before the processor 401 is configured to detect whether the staying time value of the user in the preset area reaches the preset time duration, the receiver is specifically configured to:
receiving a preset stay time sent by a management platform; the management platform is used for generating preset stay time according to the operation of the user.
Optionally, the processor 401 is specifically configured to, when detecting whether a staying time of the user in the preset area reaches the preset staying time:
it is detected whether the gazing time of the user pupil gazing the face recognition device 400 reaches a preset stay time.
The face recognition device 400 in this embodiment is based on the invention of the same concept as the face recognition method shown in fig. 1, and through the foregoing detailed description of the face recognition method, a person skilled in the art can clearly understand the implementation process of the face recognition device 400 in this embodiment, so for brevity of the description, details are not repeated here.
Based on the same inventive concept, the embodiment of the invention provides a face recognition device. Fig. 5 is a schematic structural diagram of a face recognition device according to an embodiment of the present invention. As shown in fig. 5, the face recognition device 500 includes a processor 501 and a memory 502. Alternatively, processor 501 may be a general-purpose Central Processing Unit (CPU) or an Application Specific Integrated Circuit (ASIC), and may be one or more Integrated circuits configured to control program execution.
Optionally, the memory 502 may include a high-speed random access memory, and may further include a nonvolatile memory, such as a magnetic disk storage device, a flash memory device, or other nonvolatile solid state storage devices, and the like, which is not limited in the embodiments of the present invention.
Optionally, the memory 502 is used to store one or more computer programs; the one or more computer programs stored in the memory 502, when executed by the processor 501, enable the face recognition device to implement all or part of the steps in the embodiment shown in fig. 1.
The face recognition device 500 in this embodiment is based on the invention of the same concept as the face recognition method shown in fig. 1, and through the foregoing detailed description of the face recognition method, a person skilled in the art can clearly understand the implementation process of the face recognition device 500 in this embodiment, so for brevity of the description, details are not repeated here.
Based on the same inventive concept, the embodiment of the invention provides a computer-readable storage medium. Alternatively, the computer-readable storage medium has a computer program comprising program instructions which, when executed by a computer, cause the computer to perform the steps of the above-described face recognition method. Since the computer program in this embodiment and the face recognition method shown in fig. 1 are based on the invention under the same concept, and the implementation process of the computer program in this embodiment can be clearly understood by those skilled in the art through the foregoing detailed description of the face recognition method, further description is omitted here for brevity of the description.
Based on the same inventive concept, embodiments of the present invention provide a computer program product, in which a computer program is stored, and the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the steps of the above-mentioned face recognition method. Since the computer program product in this embodiment and the face recognition method shown in fig. 1 are based on the invention under the same concept, and the implementation process of the computer program product in this embodiment can be clearly understood by those skilled in the art through the foregoing detailed description of the face recognition method, so that no further description is provided herein for brevity of the description.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (9)

1. A face recognition method is applied to a face recognition device and is characterized by comprising the following steps:
when the face recognition device detects that a user is in a preset area, determining a preset stay time corresponding to the current time period, and judging whether the stay time of the user in the preset area reaches the preset stay time or not; the current time period corresponds to a first preset stay time when the current time period is a commuting card-reading time period, the current time period corresponds to a second preset stay time when the current time period is a non-commuting card-reading time period, and the first preset stay time is smaller than the second preset stay time;
and if the stay time reaches the preset stay time, the face recognition equipment wakes up the face recognition function to recognize the face of the user.
2. The method of claim 1, wherein before the face recognition device detects whether the stay time of the user in the preset area reaches the preset stay time, the method further comprises:
the face recognition equipment detects the current time;
and the face recognition equipment determines a preset stay time corresponding to the current time according to the current time.
3. The method of claim 1 or 2, wherein the method further comprises:
the face recognition equipment prestores face images of users;
the face recognition equipment compares the recognized face image of the user with a face image of a prestored user;
if the recognized user face image is consistent with the face image of the prestored user, the face recognition equipment determines that the user is successfully recognized;
the face recognition equipment uploads the recognition information to a management platform; the identification information comprises the identification time of the face identification and the user information of the user.
4. The method of claim 3, wherein the method further comprises:
if the recognized user face image is not consistent with the face image of the pre-stored user, the face recognition equipment outputs prompt information; the prompt information is used for indicating that the face recognition of the user is unsuccessful.
5. The method of claim 1, wherein before the face recognition device detects whether a dwell time value of the user in a preset area reaches a preset time length, the method further comprises:
the face recognition equipment receives a preset stay time sent by a management platform; the management platform is used for generating preset stay time according to the operation of a user.
6. The method of claim 1, wherein the detecting, by the face recognition device, whether the stay time of the user in the preset area reaches the preset stay time comprises:
the face recognition device detects whether the watching duration of the user pupil watching the face recognition device reaches the preset stay duration.
7. A face recognition apparatus, comprising a processing unit; wherein,
the processing unit is used for determining a preset stay time corresponding to the current time period when detecting that a user is in a preset area, and judging whether the stay time of the user in the preset area reaches the preset stay time or not; when the current time period is a commuting card-reading time period, corresponding to a first preset stay time, and when the current time period is a non-commuting card-reading time, corresponding to a second preset stay time, wherein the first preset stay time is less than the second preset stay time;
and if the stay time reaches the preset stay time, the processing unit wakes up a face recognition function to recognize the face of the user.
8. A face recognition device comprising a processor and a memory; wherein,
the memory for storing one or more computer programs; one or more computer programs stored in the memory that, when executed by the processor, cause the face recognition device to perform the method of any of claims 1-6.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions that, when executed by a computer, cause the computer to perform the method according to any one of claims 1-6.
CN201811249023.0A 2018-10-25 2018-10-25 Face recognition method and face recognition equipment Active CN111104818B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811249023.0A CN111104818B (en) 2018-10-25 2018-10-25 Face recognition method and face recognition equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811249023.0A CN111104818B (en) 2018-10-25 2018-10-25 Face recognition method and face recognition equipment

Publications (2)

Publication Number Publication Date
CN111104818A CN111104818A (en) 2020-05-05
CN111104818B true CN111104818B (en) 2021-05-14

Family

ID=70418961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811249023.0A Active CN111104818B (en) 2018-10-25 2018-10-25 Face recognition method and face recognition equipment

Country Status (1)

Country Link
CN (1) CN111104818B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114077408A (en) * 2021-10-29 2022-02-22 北京搜狗科技发展有限公司 Data processing method and device for printer and electronic equipment
CN116704586B (en) * 2023-08-01 2024-08-02 荣耀终端有限公司 Face recognition method, electronic device, storage medium and program product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004274669A (en) * 2003-03-12 2004-09-30 Omron Corp Imaging apparatus and face authentication apparatus
CN102184391A (en) * 2011-05-19 2011-09-14 汉王科技股份有限公司 Distributed type face recognition method and system as well as face recognition terminal
CN103440038A (en) * 2013-08-28 2013-12-11 中国人民大学 Information collection system based on eye recognition and application thereof
CN103559621A (en) * 2013-05-13 2014-02-05 数标时代(北京)科技有限公司 Interactive digital signage device
CN107481346A (en) * 2017-09-01 2017-12-15 江苏阅衡智能科技有限公司 A kind of attendance checking system based on recognition of face
CN107506983A (en) * 2017-08-31 2017-12-22 济南浪潮高新科技投资发展有限公司 A kind of attendance checking system and Work attendance method

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5953055A (en) * 1996-08-08 1999-09-14 Ncr Corporation System and method for detecting and analyzing a queue
JP4702418B2 (en) * 2008-09-09 2011-06-15 カシオ計算機株式会社 Imaging apparatus, image region existence determination method and program
US20160191995A1 (en) * 2011-09-30 2016-06-30 Affectiva, Inc. Image analysis for attendance query evaluation
US9111402B1 (en) * 2011-10-31 2015-08-18 Replicon, Inc. Systems and methods for capturing employee time for time and attendance management
CN103826020A (en) * 2012-11-19 2014-05-28 五甲(大连)计算机系统研发有限公司 Intelligent household electrical appliance remote control system in which mobile phone is used as face encryption recognition terminal
CN105843383B (en) * 2016-03-21 2019-03-12 努比亚技术有限公司 Using starter and method
CN105976444A (en) * 2016-04-28 2016-09-28 信阳师范学院 Video image processing method and apparatus
CN107481341A (en) * 2016-06-07 2017-12-15 腾讯科技(深圳)有限公司 One kind is registered method and device
CN108492391A (en) * 2018-02-27 2018-09-04 北京门财科技有限责任公司 attendance recording method, device, server, office system and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004274669A (en) * 2003-03-12 2004-09-30 Omron Corp Imaging apparatus and face authentication apparatus
CN102184391A (en) * 2011-05-19 2011-09-14 汉王科技股份有限公司 Distributed type face recognition method and system as well as face recognition terminal
CN103559621A (en) * 2013-05-13 2014-02-05 数标时代(北京)科技有限公司 Interactive digital signage device
CN103440038A (en) * 2013-08-28 2013-12-11 中国人民大学 Information collection system based on eye recognition and application thereof
CN107506983A (en) * 2017-08-31 2017-12-22 济南浪潮高新科技投资发展有限公司 A kind of attendance checking system and Work attendance method
CN107481346A (en) * 2017-09-01 2017-12-15 江苏阅衡智能科技有限公司 A kind of attendance checking system based on recognition of face

Also Published As

Publication number Publication date
CN111104818A (en) 2020-05-05

Similar Documents

Publication Publication Date Title
CN107506755B (en) Monitoring video identification method and device
US10650259B2 (en) Human face recognition method and recognition system based on lip movement information and voice information
CN109285234B (en) Face recognition attendance checking method and device, computer device and storage medium
CN111104818B (en) Face recognition method and face recognition equipment
CN104143078A (en) Living body face recognition method and device and equipment
CN107566650A (en) Solve lock control method and Related product
CN108334765B (en) Portable electronic device for authenticating a user and related system and method
CN112489648A (en) Wake-up processing threshold adjustment method, voice home appliance, and storage medium
CN106504360B (en) A kind of running supervisory practice and system
KR20150093044A (en) Management system using a NFC
CN112330834A (en) Attendance checking method, equipment and storage medium for actively selecting attendance checking event
CN106296171B (en) Card swiping method and device of mobile terminal
CN111261160A (en) Signal processing method and device
CN109767369A (en) A kind of work attendance statistics method, system and terminal device
US9633542B2 (en) Electronic device and computer-based method for reminding using the electronic device
CN114973436B (en) Attendance checking method and device, intelligent attendance checking terminal and storage medium
CN111178816B (en) Dormitory monitoring management method and device, electronic equipment and storage medium
KR20160030431A (en) Attendance recognition system and attendance recognition method
CN111027812A (en) Person identification method, person identification system, and computer-readable storage medium
CN108737427B (en) Identity display method, device, terminal and storage medium applied to conference room
CN108108196B (en) Wake-up device, wake-up system, wake-up method and device
CN112653612B (en) Message processing method, device and system and message server
CN105988560B (en) Application starting method and device
CN114422532A (en) Data processing method and device
CN110519698B (en) Personnel positioning statistical method, device, equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant