[go: up one dir, main page]

CN108305342A - A kind of Work attendance method and mobile terminal - Google Patents

A kind of Work attendance method and mobile terminal Download PDF

Info

Publication number
CN108305342A
CN108305342A CN201810069605.4A CN201810069605A CN108305342A CN 108305342 A CN108305342 A CN 108305342A CN 201810069605 A CN201810069605 A CN 201810069605A CN 108305342 A CN108305342 A CN 108305342A
Authority
CN
China
Prior art keywords
attendance
image data
mobile terminal
portrait
data
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.)
Pending
Application number
CN201810069605.4A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810069605.4A priority Critical patent/CN108305342A/en
Publication of CN108305342A publication Critical patent/CN108305342A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/172Classification, e.g. identification

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)
  • Telephone Function (AREA)

Abstract

本发明实施例提供了一种考勤方法及移动终端,所述移动终端包括摄像头,所述移动终端预置有第一图像数据,所述第一图像数据包含第一人像数据,所述方法包括:当接收到考勤请求时,采用所述摄像头采集第二图像数据,其中,所述第二图像数据包含第二人像数据;根据所述第一人像数据及所述第二人像数据进行人像匹配,获得考勤结果信息;输出所述考勤结果信息;可以采用移动终端进行考勤,拓宽移动终端的用途,可以简化考勤的操作,快速高效地进行考勤,提高工作效率。

An embodiment of the present invention provides an attendance checking method and a mobile terminal, the mobile terminal includes a camera, the mobile terminal is preset with first image data, the first image data includes first portrait data, and the method includes : When the attendance request is received, the camera is used to collect second image data, wherein the second image data includes second portrait data; portrait matching is performed according to the first portrait data and the second portrait data , obtain attendance result information; output the attendance result information; use the mobile terminal to perform attendance, broaden the use of the mobile terminal, simplify the operation of attendance, perform attendance quickly and efficiently, and improve work efficiency.

Description

一种考勤方法及移动终端An attendance checking method and mobile terminal

技术领域technical field

本发明实施例涉及移动终端的技术领域,尤其涉及一种考勤方法及移动终端。The embodiments of the present invention relate to the technical field of mobile terminals, and in particular, to an attendance checking method and a mobile terminal.

背景技术Background technique

在日常工作中,当需要针对多个用户进行考勤或点到时,一般需要准备一份完整的用户名单,采用叫唤应答的方式进行用户的考勤或点到。In daily work, when it is necessary to check attendance or check-in for multiple users, it is generally necessary to prepare a complete list of users, and use the method of calling and answering to check the attendance or check-in of users.

现有的考勤方法存在诸多不足之处,例如,在多个用户外出旅游的场景下,因为多个用户为首次会面,而所到之处为首次到访,时间意识或团队意识不够,当日的旅游行程开始时,导游进行第一次考勤,用户比较容易集齐,而当该旅游行程结束,导游进行第二次考勤时,因游玩完毕大多数用户会感觉到疲倦且地点较为分散,考勤的主动性会大大地下降,考勤工作会更加地耗费时间及精力,不利于提高效率。There are many deficiencies in the existing time attendance methods. For example, in the scenario where multiple users are traveling, because the multiple users meet for the first time, and the places they visit are the first visits, the time awareness or team awareness is not enough. At the beginning of the tour, the tour guide checks attendance for the first time, and it is easier for users to gather together. When the tour ends and the tour guide checks attendance for the second time, most users will feel tired and the locations are scattered after the tour. The initiative will be greatly reduced, and the attendance work will consume more time and energy, which is not conducive to improving efficiency.

发明内容Contents of the invention

本发明实施例提供一种考勤方法及移动终端,以解决传统的考勤方法耗费时间及精力,效率不高的问题。Embodiments of the present invention provide an attendance checking method and a mobile terminal, so as to solve the problems of time-consuming and energy-consuming and low efficiency of traditional checking attendance methods.

为了解决上述技术问题,本发明实施例是这样实现的:In order to solve the above-mentioned technical problems, the embodiment of the present invention is implemented as follows:

一种考勤方法,应用于移动终端,所述移动终端包括摄像头,所述移动终端预置有第一图像数据,所述第一图像数据包含第一人像数据,所述方法包括:A method for checking attendance, applied to a mobile terminal, the mobile terminal includes a camera, the mobile terminal is preset with first image data, the first image data includes first portrait data, and the method includes:

当接收到考勤请求时,采用所述摄像头采集第二图像数据,其中,所述第二图像数据包含第二人像数据;When the attendance request is received, the camera is used to collect second image data, wherein the second image data includes second portrait data;

根据所述第一人像数据及所述第二人像数据进行人像匹配,获得考勤结果信息;performing portrait matching according to the first portrait data and the second portrait data, and obtaining attendance result information;

输出所述考勤结果信息。Output the attendance result information.

本发明实施例还提供了一种移动终端,所述移动终端包括摄像头,所述移动终端预置有第一图像数据,所述第一图像数据包含第一人像数据,所述移动终端包括:An embodiment of the present invention also provides a mobile terminal, the mobile terminal includes a camera, the mobile terminal is preset with first image data, the first image data includes first portrait data, and the mobile terminal includes:

第二图像数据采集模块,用于当接收到考勤请求时,采用所述摄像头采集第二图像数据;其中,所述第二图像数据包含第二人像数据;The second image data collection module is configured to use the camera to collect second image data when receiving an attendance request; wherein the second image data includes second portrait data;

考勤结果信息获得模块,用于根据所述第一人像数据及所述第二人像数据进行人像匹配,获得考勤结果信息;An attendance result information obtaining module, configured to perform portrait matching according to the first portrait data and the second portrait data, and obtain attendance result information;

考勤结果信息输出模块,用于输出所述考勤结果信息。The attendance result information output module is used to output the attendance result information.

本发明实施例提供了一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述的考勤的步骤。An embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored on the memory and operable on the processor. When the computer program is executed by the processor, the above-mentioned Attendance steps.

本发明实施例中,应用于移动终端,所述移动终端包括摄像头,所述移动终端预置有第一图像数据,所述第一图像数据包含第一人像数据,当接收到考勤请求时,采用所述摄像头采集第二图像数据;其中,所述第二图像数据包含第二人像数据;根据所述第一人像数据及所述第二人像数据进行人像匹配,获得考勤结果信息;输出所述考勤结果信息;本发明实施例中,可以采用移动终端进行考勤,拓宽移动终端的用途,可以简化考勤的操作,快速高效地进行考勤,提高工作效率。In the embodiment of the present invention, it is applied to a mobile terminal, and the mobile terminal includes a camera, and the mobile terminal is preset with first image data, and the first image data includes first portrait data. When the attendance request is received, Use the camera to collect second image data; wherein, the second image data includes second portrait data; perform portrait matching according to the first portrait data and the second portrait data to obtain attendance result information; output the In the embodiment of the present invention, the mobile terminal can be used for attendance checking, which can broaden the usage of the mobile terminal, simplify the operation of attendance checking, perform attendance checking quickly and efficiently, and improve work efficiency.

附图说明Description of drawings

图1是本发明实施例的一种考勤方法实施例一的步骤流程图;Fig. 1 is a flow chart of the steps of Embodiment 1 of a method for attendance checking in an embodiment of the present invention;

图2是本发明实施例的一种考勤方法实施例二的步骤流程图;Fig. 2 is a flow chart of the steps of Embodiment 2 of a method for checking attendance according to an embodiment of the present invention;

图3是本发明实施例的一种移动终端实施例的结构框图;FIG. 3 is a structural block diagram of an embodiment of a mobile terminal according to an embodiment of the present invention;

图4是本发明实施例的一种移动终端的结构框图。Fig. 4 is a structural block diagram of a mobile terminal according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

参照图1,示出了本发明实施例的一种考勤方法实施例一的步骤流程图,应用于移动终端,所述移动终端包括摄像头,所述移动终端预置有第一图像数据,所述第一图像数据包含第一人像数据,具体可以包括如下步骤:Referring to FIG. 1 , it shows a flow chart of the steps of Embodiment 1 of an attendance method according to an embodiment of the present invention, which is applied to a mobile terminal, the mobile terminal includes a camera, and the mobile terminal is preset with first image data. The first image data includes the first portrait data, which may specifically include the following steps:

步骤101,当接收到考勤请求时,采用所述摄像头采集第二图像数据;其中,所述第二图像数据包含第二人像数据;Step 101, when the attendance request is received, the camera is used to collect second image data; wherein, the second image data includes second portrait data;

在具体实现中,本发明实施例可以应用在移动终端中,该移动终端包括摄像头,例如,手机、平板电脑、个人数字助理、穿戴设备(如眼镜、手表等)等等。In a specific implementation, the embodiment of the present invention can be applied in a mobile terminal including a camera, for example, a mobile phone, a tablet computer, a personal digital assistant, a wearable device (such as glasses, a watch, etc.) and the like.

摄像头是移动终端上的一个硬件,可以配置在移动终端的前部(又称前置摄像头),也可以配置在移动设备的背部(又称后置摄像头),此外,该摄像头的数量可以是单个、也可以是两个或两个以上,等等,本发明实施例对此也不加以限制。The camera is a piece of hardware on the mobile terminal, which can be configured on the front of the mobile terminal (also known as the front camera), or on the back of the mobile device (also known as the rear camera). In addition, the number of the cameras can be a single , may also be two or more, and so on, which is not limited in this embodiment of the present invention.

在本发明实施例中,移动终端的操作系统可以包括Android(安卓)、IOS、WindowsPhone、Windows等等,通常可以支持摄像头应用运行,该摄像头应用可以驱动摄像头采集预览图像数据,以进行拍摄照片、拍摄录像。In the embodiment of the present invention, the operating system of the mobile terminal can include Android (Android), IOS, WindowsPhone, Windows, etc., and can usually support the operation of the camera application. The camera application can drive the camera to collect preview image data to take pictures, Take a video.

进一步地,所述移动终端预置有第一图像数据,所述第一图像数据包含第一人像数据;具体而言,所述移动终端可以通过摄像头采集初始图像数据,并判断该初始图像数据中是否包含全部考勤人员的人像数据,需要说明的是,该人像数据可以包括多个人脸特征,并且,该人像数据还可以包括发型特征及服饰特征,本发明实施例对此不作限制;当所述初始图像数据中包含全部考勤人员的人像数据时,移动终端确定所述初始图像数据为第一图像数据。Further, the mobile terminal is preset with first image data, and the first image data includes first portrait data; specifically, the mobile terminal can collect initial image data through a camera, and judge the initial image data Does it contain the portrait data of all attendance personnel? It should be noted that the portrait data can include multiple facial features, and the portrait data can also include hairstyle features and clothing features, which is not limited in the embodiment of the present invention; When the initial image data includes portrait data of all attendance personnel, the mobile terminal determines that the initial image data is the first image data.

需要说明的是,移动终端可以接收用户输入的考勤人员数量信息,将该考勤人员数量信息与人像数据的数量信息进行比对,当考勤人员数量信息与人像数据的数量信息一致时,则认为该初始图像数据中包含全部考勤人员的人像数据。It should be noted that the mobile terminal can receive the information on the number of attendance personnel input by the user, and compare the information on the number of attendance personnel with the quantity information of the portrait data. When the information on the number of attendance personnel is consistent with the quantity information of the portrait data, it is considered The initial image data contains portrait data of all attendance personnel.

具体应用到本发明实施例中,当接收到考勤请求时,移动终端采用所述摄像头采集第二图像数据;其中,所述第二图像数据包含第二人像数据。Specifically applied to the embodiment of the present invention, when receiving an attendance request, the mobile terminal uses the camera to collect second image data; wherein, the second image data includes second portrait data.

步骤102,根据所述第一人像数据及所述第二人像数据进行人像匹配,获得考勤结果信息;Step 102, performing portrait matching according to the first portrait data and the second portrait data, and obtaining attendance result information;

本发明实施例的一种优选实施例中,当移动终端获取到第二图像数据后,可以将该第二图像数据与预置的第一图像数据进行人像匹配,获得考勤结果信息;所述第一人像数据即为所述第一图像数据的消除背景区域后的人像数据,同样地,所述第二人像数据即为所述第二图像数据的消除背景区域后的人像数据。In a preferred embodiment of the embodiment of the present invention, after the mobile terminal acquires the second image data, it can perform portrait matching on the second image data and the preset first image data to obtain attendance result information; the second A portrait data is the portrait data of the first image data after the background area is eliminated, and similarly, the second portrait data is the portrait data of the second image data after the background area is eliminated.

具体而言,所述第二图像数据中的第二人像数据包含了多个第二人脸特征,而预置的第一图像数据中第一人像数据包含了多个第一人脸特征,移动终端可以根据所述多个第二人脸特征及多个第一人脸特征进行人像匹配,若每个第一人脸特征都有某个第二人脸特征与其匹配,则说明没有人员缺席。Specifically, the second portrait data in the second image data includes a plurality of second facial features, and the first portrait data in the preset first image data includes a plurality of first facial features, The mobile terminal can perform portrait matching according to the plurality of second facial features and the plurality of first facial features. If each first facial feature has a second facial feature that matches it, it means that no person is absent. .

另一方面,当多个第二人脸特征及多个第一人脸特征不能完全匹配时,则说明有人员缺席,此时,可以输出第一人脸特征中未匹配到第二人脸特征的对应的人员信息,即该第一人脸特征没有任何第二人脸特征与其一致,则确定该第一人脸特征对应的人员为缺席人员,输出该缺席人员的人员信息。On the other hand, when a plurality of second facial features and a plurality of first facial features cannot be completely matched, it indicates that there is a person absent. The corresponding personnel information, that is, the first facial feature does not have any second facial features consistent with it, then it is determined that the person corresponding to the first facial feature is an absent person, and the personnel information of the absent person is output.

具体应用到本发明实施例中,移动终端还可以针对发型特征及服饰特征等进行匹配,使匹配结果更加地准确,需要说明的是,该第一人像数据及所述第二人像数据进行匹配的算法可以是基于灰度的图像匹配算法或基于特征的图像匹配算法,举例而言,基于灰度的图像匹配算法可以为平均绝对差算法(MAD)、绝对误差和算法(SAD)、误差平方和算法(SSD)、平均误差平方和算法(MSD)、归一化积相关算法(NCC)、序贯相似性检测算法(SSDA)、hadamard变换算法等,本发明实施例对此不作限制;而基于特征的图像匹配算法可以包括基于边缘特征的匹配算法等,本发明实施例对此亦不作过多的限制。Specifically applied to the embodiment of the present invention, the mobile terminal can also perform matching on hairstyle features and clothing features to make the matching results more accurate. It should be noted that the first portrait data and the second portrait data are matched The algorithm can be grayscale-based image matching algorithm or feature-based image matching algorithm, for example, grayscale-based image matching algorithm can be mean absolute difference algorithm (MAD), absolute error sum algorithm (SAD), error square Sum algorithm (SSD), mean square sum algorithm (MSD), normalized product correlation algorithm (NCC), sequential similarity detection algorithm (SSDA), hadamard transformation algorithm, etc., the embodiments of the present invention are not limited to this; and The feature-based image matching algorithm may include an edge feature-based matching algorithm, etc., which is not too limited in this embodiment of the present invention.

步骤103,输出所述考勤结果信息。Step 103, outputting the attendance result information.

实际应用到本发明实施例中,所述移动终端包括显示装置,当获得该考勤结果信息后,移动终端可以输出所述考勤结果信息至显示装置,在显示装置上显示所述考勤结果信息。When actually applied to the embodiment of the present invention, the mobile terminal includes a display device. After obtaining the attendance result information, the mobile terminal can output the attendance result information to the display device, and display the attendance result information on the display device.

举例而言,若所述多个第二人脸特征及多个第一人脸特征完全匹配,则说明没有人员缺席,则可以输出考勤结果信息:人员已到齐,未发现人员缺席;若当多个第二人脸特征及多个第一人脸特征不能完全匹配时,则说明有人员缺席,此时,可以输出未匹配到的第一人脸特征对应的人员信息至显示装置,以该未匹配到的第一人脸特征对应的人员信息为考勤结果信息,将其输出至显示装置,需要说明的是,该人员信息可以包括姓名信息及对应的人像数据,当然,还可以包括其他的信息,如年龄信息、岗位信息等,本发明实施例对此不作限制。For example, if the plurality of second facial features and a plurality of first facial features match completely, it means that no personnel is absent, and the attendance result information can be output: the personnel have arrived, and no personnel are absent; When a plurality of second facial features and a plurality of first facial features cannot be fully matched, it indicates that there is a person absent. At this time, the personnel information corresponding to the unmatched first facial features can be output to the display device, and the The personnel information corresponding to the unmatched first face feature is the attendance result information, which is output to the display device. It should be noted that the personnel information can include name information and corresponding portrait data, and of course, other information can also be included. Information, such as age information, job information, etc., is not limited in this embodiment of the present invention.

本发明实施例中,所述移动终端包括摄像头,所述移动终端预置有第一图像数据,所述第一图像数据包含第一人像数据,当接收到考勤请求时,采用所述摄像头采集第二图像数据;其中,所述第二图像数据包含第二人像数据;根据所述第一人像数据及所述第二人像数据进行人像匹配,获得考勤结果信息;输出所述考勤结果信息;本发明实施例中,可以采用移动终端进行考勤,拓宽移动终端的用途,可以简化考勤的操作,快速高效地进行考勤,提高工作效率。In the embodiment of the present invention, the mobile terminal includes a camera, and the mobile terminal is preset with first image data, and the first image data includes the first portrait data. When the attendance request is received, the camera is used to collect Second image data; wherein, the second image data includes second portrait data; portrait matching is performed according to the first portrait data and the second portrait data to obtain attendance result information; output the attendance result information; In the embodiment of the present invention, the mobile terminal can be used for checking attendance, which broadens the usage of the mobile terminal, simplifies the operation of checking attendance, quickly and efficiently checks attendance, and improves work efficiency.

参照图2,示出了本发明实施例的一种考勤方法实施例二的步骤流程图,应用于移动终端,所述移动终端包括摄像头,具体可以包括如下步骤:Referring to FIG. 2 , it shows a flow chart of the steps of Embodiment 2 of an attendance method in an embodiment of the present invention, which is applied to a mobile terminal. The mobile terminal includes a camera, and may specifically include the following steps:

步骤201,采用所述摄像头采集初始图像数据;Step 201, using the camera to collect initial image data;

本发明实施例中,移动终端可以采用摄像头采集初始图像数据,举例而言,所述初始图像数据为用户拍摄的包括所有考勤人员的图像,该考勤人员即为需要进行考勤的人员或员工,上述的用户则不包括在考勤人员之内。In the embodiment of the present invention, the mobile terminal can use a camera to collect initial image data. For example, the initial image data is an image taken by a user including all attendance personnel, and the attendance personnel are personnel or employees who need to perform attendance attendance. The above-mentioned users are not included in attendance personnel.

步骤202,判断所述初始图像数据中是否包含全部考勤人员的人像数据;Step 202, judging whether the portrait data of all attendance personnel are included in the initial image data;

进一步地,移动终端可以判断所述初始图像数据中是否包含全部考勤人员的人像数据,具体而言,移动终端可以接收用户输入的考勤人员数量信息,将该考勤人员数量信息与人像数据的数量信息进行比对,当考勤人员数量信息与人像数据的数量信息一致时,则认为该初始图像数据中包含全部考勤人员的人像数据。Further, the mobile terminal can judge whether the initial image data includes the portrait data of all attendance personnel, specifically, the mobile terminal can receive the number information of the attendance personnel input by the user, and combine the number information of the attendance personnel with the quantity information of the portrait data After comparison, when the number information of attendance personnel is consistent with the quantity information of portrait data, it is considered that the initial image data contains the portrait data of all attendance personnel.

步骤203,当所述初始图像数据中包含全部考勤人员的人像数据时,确定所述初始图像数据为第一图像数据;所述第一图像数据包含第一人像数据,所述第一人像数据包括多个第一人脸特征;Step 203, when the initial image data contains the portrait data of all attendance personnel, determine that the initial image data is the first image data; the first image data contains the first portrait data, and the first portrait The data includes a plurality of first facial features;

实际应用到本发明实施例中,当所述初始图像数据中包含全部考勤人员的人像数据时,移动终端确定所述初始图像数据为第一图像数据,需要说明的是,所述第一图像数据包含第一人像数据,所述第一人像数据包括多个第一人脸特征。When actually applied to the embodiment of the present invention, when the initial image data contains portrait data of all attendance personnel, the mobile terminal determines that the initial image data is the first image data. It should be noted that the first image data It includes first portrait data, and the first portrait data includes a plurality of first facial features.

具体而言,所述第一人像数据即为所述第一图像数据的消除背景区域后的人像数据,而多个第一人脸特征为所述第一人像数据所包含的人脸特征,即所有考勤人员的人脸特征。Specifically, the first portrait data is the portrait data of the first image data after the background area is eliminated, and the plurality of first facial features are the facial features included in the first portrait data. , that is, the face features of all attendance personnel.

步骤204,当接收到考勤请求时,采用所述摄像头采集第二图像数据;其中,所述第二图像数据包含第二人像数据;所述第二人像数据包括多个第二人脸特征;Step 204, when the attendance request is received, the camera is used to collect second image data; wherein, the second image data includes second portrait data; the second portrait data includes a plurality of second facial features;

当移动终端接收到考勤请求时,可以采用所述摄像头采集第二图像数据;其中,所述第二图像数据包含第二人像数据;所述第二人像数据包括多个第二人脸特征。When the mobile terminal receives an attendance request, the camera may be used to collect second image data; wherein, the second image data includes second portrait data; and the second portrait data includes a plurality of second facial features.

在本发明实施例的一种应用场景中,当旅行团所有的人员(即考勤人员)在景点里游玩完毕后,导游(即用户)发起考勤请求,采用移动终端拍摄集合地点的第二图像数据,因为移动终端已经预置了第一图像数据(即包含全部考勤人员的人像数据的图像),移动终端可以将所述第二图像数据与第一图像数据进行匹配。In an application scenario of the embodiment of the present invention, after all the personnel of the tour group (ie attendance personnel) have finished playing in the scenic spot, the tour guide (ie user) initiates an attendance request, and uses a mobile terminal to capture the second image data of the meeting point , because the mobile terminal has preset the first image data (that is, images containing portrait data of all attendance personnel), the mobile terminal can match the second image data with the first image data.

步骤205,将所述多个第一人脸特征与多个第二人脸特征进行匹配,获得考勤结果信息;其中,所述考勤结果信息为所述第一人脸特征中未匹配到第二人脸特征的对应的人员信息;Step 205, matching the plurality of first facial features with a plurality of second facial features to obtain attendance result information; wherein, the attendance result information is that the first facial features do not match the second Corresponding personnel information of facial features;

进一步地,移动终端可以将多个第一人脸特征与多个第二人脸特征进行匹配,获得考勤结果信息,若所述多个第二人脸特征及多个第一人脸特征不能完全匹配时,则说明有人员缺席,此时,可以输出第一人脸特征中未匹配到第二人脸特征的对应的人员信息,即该第一人脸特征没有第二人脸特征与其一致,则确定该第一人脸特征对应的人员为缺席人员,输出该缺席人员的人员信息。Further, the mobile terminal can match a plurality of first facial features with a plurality of second facial features to obtain attendance result information, if the plurality of second facial features and the plurality of first facial features cannot be completely When matching, it means that there is a person absent. At this time, the corresponding personnel information that is not matched to the second face feature in the first face feature can be output, that is, the first face feature is not consistent with the second face feature, Then it is determined that the person corresponding to the first face feature is an absent person, and the personnel information of the absent person is output.

在本发明实施例的一种优选实施例中,所述第一人像数据还包括与所述第一人脸特征对应的第一发型特征及第一服饰特征;所述第二人像数据还包括与所述第二人脸特征对应的第二发型特征及第二服饰特征。In a preferred embodiment of the embodiment of the present invention, the first portrait data also includes a first hairstyle feature and a first clothing feature corresponding to the first face feature; the second portrait data also includes A second hairstyle feature and a second clothing feature corresponding to the second face feature.

移动终端还可以将所述第一人脸特征及对应的第一发型特征、第一服饰特征与第二人脸特征及对应的第二发型特征、第二服饰特征分别进行匹配,当所述第一人脸特征及对应的第一发型特征、第一服饰特征与第二人脸特征及对应的第二发型特征、第二服饰特征能够完全匹配时,则说明没有人员缺席;移动终端还可以针对发型特征及服饰特征进行匹配,进一步提高匹配精度,使考勤结果更加准确,提高考勤效率。The mobile terminal may also match the first face feature and the corresponding first hairstyle feature and the first clothing feature with the second face feature and the corresponding second hairstyle feature and the second clothing feature, when the first When a face feature and the corresponding first hairstyle feature and the first clothing feature can completely match the second face feature and the corresponding second hairstyle feature and the second clothing feature, it means that no personnel is absent; the mobile terminal can also target Hairstyle features and clothing features are matched to further improve matching accuracy, make attendance results more accurate, and improve attendance efficiency.

步骤206,在所述显示装置上展现所述考勤结果信息。Step 206, presenting the attendance result information on the display device.

实际应用中,所述移动终端包括显示装置,当获得该考勤结果信息后,移动终端可以输出所述考勤结果信息至显示装置,在显示装置上显示所述考勤结果信息。In practical applications, the mobile terminal includes a display device. After obtaining the attendance result information, the mobile terminal can output the attendance result information to the display device, and display the attendance result information on the display device.

具体而言,若所述多个第二人脸特征及多个第一人脸特征完全匹配,则说明没有人员缺席,则可以在显示装置上显示:人员已到齐,未发现人员缺席。Specifically, if the plurality of second facial features and the plurality of first facial features completely match, it means that there is no absence of personnel, and then it may be displayed on the display device: personnel are present, and absence of personnel is found.

若当多个第二人脸特征及多个第一人脸特征不能完全匹配时,则说明有人员缺席,此时,可以输出未匹配到的第一人脸特征对应的人员信息至显示装置,以该未匹配到的第一人脸特征对应的人员信息为考勤结果信息,将其输出至显示装置。If when a plurality of second facial features and a plurality of first facial features cannot be fully matched, it means that there is a person absent. At this time, the personnel information corresponding to the unmatched first facial features can be output to the display device, Taking the personnel information corresponding to the unmatched first facial feature as the attendance result information, and outputting it to the display device.

需要说明的是,该人员信息可以包括姓名信息及对应的人像数据,当然,还可以包括其他的信息,如年龄信息、岗位信息等,本发明实施例对此不作限制。It should be noted that the personnel information may include name information and corresponding portrait data, and of course, may also include other information, such as age information, position information, etc., which is not limited in this embodiment of the present invention.

本发明实施例的一种优选实施例中,所述考勤结果信息包括姓名信息及对应的人像数据,所述在所述显示装置上展现所述考勤结果信息的步骤包括:在所述显示装置上展现所述姓名信息及人像数据。In a preferred embodiment of the embodiment of the present invention, the attendance result information includes name information and corresponding portrait data, and the step of presenting the attendance result information on the display device includes: displaying the attendance result information on the display device Display the name information and portrait data.

本发明实施例中,采用所述摄像头采集初始图像数据;人像数据判断所述初始图像数据中是否包含全部考勤人员的人像数据;当所述初始图像数据中包含全部考勤人员的人像数据时,确定所述初始图像数据为第一图像数据;当接收到考勤请求时,采用所述摄像头采集第二图像数据;其中,所述第二图像数据包含第二人像数据;所述第二人像数据包括多个第二人脸特征;将所述多个第一人脸特征与多个第二人脸特征进行匹配,获得考勤结果信息;其中,所述考勤结果信息为所述第一人脸特征中未匹配到第二人脸特征的对应的人员信息;在所述显示装置上展现所述考勤结果信息;本发明实施例中,可以采用移动终端进行考勤,拓宽移动终端的用途,针对考勤人员的人脸特征进行匹配,使考勤结果更加准确,简化考勤的操作,降低考勤所耗费的时间,提高考勤效率。In the embodiment of the present invention, the camera is used to collect initial image data; the portrait data is used to judge whether the initial image data contains the portrait data of all attendance personnel; when the initial image data contains the portrait data of all attendance personnel, determine The initial image data is the first image data; when the attendance request is received, the camera is used to collect the second image data; wherein, the second image data includes the second portrait data; the second portrait data includes multiple a second facial feature; match the plurality of first facial features with a plurality of second facial features to obtain attendance result information; wherein, the attendance result information is none of the first facial features Matching to the corresponding personnel information of the second face feature; displaying the attendance result information on the display device; in the embodiment of the present invention, the mobile terminal can be used to perform attendance check, and the use of the mobile terminal can be broadened. Face features are matched to make attendance results more accurate, simplify attendance operations, reduce time spent on attendance, and improve attendance efficiency.

图3是本发明一个实施例的移动终端的结构框图,所述移动终端300包括摄像头,所述移动终端300预置有第一图像数据,所述第一图像数据包含第一人像数据,图3所示的移动终端300包括第二图像数据采集模块301、考勤结果信息获得模块302及考勤结果信息输出模块303;3 is a structural block diagram of a mobile terminal according to an embodiment of the present invention, the mobile terminal 300 includes a camera, and the mobile terminal 300 is preset with first image data, and the first image data includes first portrait data, as shown in FIG. The mobile terminal 300 shown in 3 includes a second image data acquisition module 301, an attendance result information acquisition module 302 and an attendance result information output module 303;

第二图像数据采集模块301,用于当接收到考勤请求时,采用所述摄像头采集第二图像数据;其中,所述第二图像数据包含第二人像数据;The second image data collection module 301 is configured to use the camera to collect second image data when receiving the attendance request; wherein the second image data includes second portrait data;

考勤结果信息获得模块302,用于根据所述第一人像数据及所述第二人像数据进行人像匹配,获得考勤结果信息;Attendance result information obtaining module 302, configured to perform portrait matching according to the first portrait data and the second portrait data, and obtain attendance result information;

考勤结果信息输出模块303,用于输出所述考勤结果信息。The attendance result information output module 303 is configured to output the attendance result information.

优选地,所述移动终端还包括:Preferably, the mobile terminal further includes:

初始图像数据采集模块,用于采用所述摄像头采集初始图像数据;An initial image data collection module, configured to collect initial image data using the camera;

判断模块,用于判断所述初始图像数据中是否包含全部考勤人员的人像数据;Judging module, used to judge whether the portrait data of all attendance personnel are included in the initial image data;

确定模块,用于当所述初始图像数据中包含全部考勤人员的人像数据时,确定所述初始图像数据为第一图像数据。A determining module, configured to determine that the initial image data is the first image data when the initial image data includes portrait data of all attendance personnel.

优选地,所述第一人像数据包括多个第一人脸特征;所述第二人像数据包括多个第二人脸特征;所述考勤结果信息获得模块包括:Preferably, the first portrait data includes a plurality of first facial features; the second portrait data includes a plurality of second facial features; the attendance result information obtaining module includes:

考勤结果信息获得子模块,用于将所述多个第一人脸特征与多个第二人脸特征进行匹配,获得考勤结果信息;其中,所述考勤结果信息为所述第一人脸特征中未匹配到第二人脸特征的对应的人员信息。The attendance result information obtaining submodule is used to match the plurality of first facial features with a plurality of second facial features to obtain attendance result information; wherein, the attendance result information is the first facial feature The corresponding person information that does not match the second facial features.

优选地,所述第一人像数据还包括与所述第一人脸特征对应的第一发型特征及第一服饰特征;所述第二人像数据还包括与所述第二人脸特征对应的第二发型特征及第二服饰特征。Preferably, the first portrait data also includes a first hairstyle feature and a first clothing feature corresponding to the first facial feature; the second portrait data also includes a first facial feature corresponding to the second facial feature. The second hairstyle feature and the second clothing feature.

优选地,所述移动终端包括显示装置,所述移动终端还包括:Preferably, the mobile terminal includes a display device, and the mobile terminal further includes:

考勤结果信息展现模块,用于在所述显示装置上展现所述考勤结果信息。The attendance result information display module is used to display the attendance result information on the display device.

本发明实施例提供的移动终端能够实现上述方法实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal provided by the embodiment of the present invention can implement various processes implemented by the mobile terminal in the foregoing method embodiments, and details are not repeated here to avoid repetition.

本发明实施例中,所述移动终端包括摄像头,所述移动终端预置有第一图像数据,所述第一图像数据包含第一人像数据,当接收到考勤请求时,采用所述摄像头采集第二图像数据;其中,所述第二图像数据包含第二人像数据;根据所述第一人像数据及所述第二人像数据进行人像匹配,获得考勤结果信息;输出所述考勤结果信息;本发明实施例中,可以采用移动终端进行考勤,拓宽移动终端的用途,可以简化考勤的操作,快速高效地进行考勤,提高工作效率。In the embodiment of the present invention, the mobile terminal includes a camera, and the mobile terminal is preset with first image data, and the first image data includes the first portrait data. When the attendance request is received, the camera is used to collect Second image data; wherein, the second image data includes second portrait data; portrait matching is performed according to the first portrait data and the second portrait data to obtain attendance result information; output the attendance result information; In the embodiment of the present invention, the mobile terminal can be used for checking attendance, which broadens the usage of the mobile terminal, simplifies the operation of checking attendance, quickly and efficiently checks attendance, and improves work efficiency.

图4为实现本发明各个实施例的一种移动终端的硬件结构示意图,FIG. 4 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention,

该移动终端400包括但不限于:射频单元401、网络模块402、音频输出单元403、输入单元404、传感器405、显示单元406、用户输入单元407、接口单元408、存储器409、处理器410、以及电源411等部件。本领域技术人员可以理解,图4中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The mobile terminal 400 includes, but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, a processor 410, and Power supply 411 and other components. Those skilled in the art can understand that the structure of the mobile terminal shown in Figure 4 does not constitute a limitation on the mobile terminal, and the mobile terminal may include more or less components than shown in the figure, or combine some components, or different components layout. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, and a pedometer.

其中,处理器410,用于所述移动终端包括摄像头,所述移动终端预置有第一图像数据,所述第一图像数据包含第一人像数据,所述方法包括:当接收到考勤请求时,采用所述摄像头采集第二图像数据;其中,所述第二图像数据包含第二人像数据;根据所述第一人像数据及所述第二人像数据进行人像匹配,获得考勤结果信息;输出所述考勤结果信息。Wherein, the processor 410 is used for the mobile terminal including a camera, the mobile terminal is preset with first image data, and the first image data includes first portrait data, and the method includes: when receiving the attendance request When using the camera to collect second image data; wherein, the second image data includes second portrait data; perform portrait matching according to the first portrait data and the second portrait data to obtain attendance result information; Output the attendance result information.

本发明实施例中,所述移动终端包括摄像头,所述移动终端预置有第一图像数据,所述第一图像数据包含第一人像数据,当接收到考勤请求时,采用所述摄像头采集第二图像数据;其中,所述第二图像数据包含第二人像数据;根据所述第一人像数据及所述第二人像数据进行人像匹配,获得考勤结果信息;输出所述考勤结果信息;本发明实施例中,可以采用移动终端进行考勤,拓宽移动终端的用途,可以简化考勤的操作,快速高效地进行考勤,提高工作效率。In the embodiment of the present invention, the mobile terminal includes a camera, and the mobile terminal is preset with first image data, and the first image data includes the first portrait data. When the attendance request is received, the camera is used to collect Second image data; wherein, the second image data includes second portrait data; portrait matching is performed according to the first portrait data and the second portrait data to obtain attendance result information; output the attendance result information; In the embodiment of the present invention, the mobile terminal can be used for checking attendance, which broadens the usage of the mobile terminal, simplifies the operation of checking attendance, quickly and efficiently checks attendance, and improves work efficiency.

应理解的是,本发明实施例中,射频单元401可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器410处理;另外,将上行的数据发送给基站。通常,射频单元401包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元401还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 can be used for receiving and sending signals during sending and receiving information or during a call. Specifically, the downlink data from the base station is received and processed by the processor 410; Uplink data is sent to the base station. Generally, the radio frequency unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 401 can also communicate with the network and other devices through a wireless communication system.

移动终端通过网络模块402为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides users with wireless broadband Internet access through the network module 402, such as helping users send and receive emails, browse web pages, and access streaming media.

音频输出单元403可以将射频单元401或网络模块402接收的或者在存储器409中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元403还可以提供与移动终端400执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元403包括扬声器、蜂鸣器以及受话器等。The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 can also provide audio output related to a specific function performed by the mobile terminal 400 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.

输入单元404用于接收音频或视频信号。输入单元404可以包括图形处理器(Graphics Processing Unit,GPU)4044和麦克风4042,图形处理器4041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元406上。经图形处理器4041处理后的图像帧可以存储在存储器409(或其它存储介质)中或者经由射频单元401或网络模块402进行发送。麦克风4042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元401发送到移动通信基站的格式输出。The input unit 404 is used for receiving audio or video signals. The input unit 404 may include a graphics processing unit (Graphics Processing Unit, GPU) 4044 and a microphone 4042, and the graphics processor 4041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frames may be displayed on the display unit 406 . The image frames processed by the graphics processor 4041 may be stored in the memory 409 (or other storage media) or sent via the radio frequency unit 401 or the network module 402 . The microphone 4042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 401 for output in the case of a phone call mode.

移动终端400还包括至少一种传感器405,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板4061的亮度,接近传感器可在移动终端400移动到耳边时,关闭显示面板4061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器405还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The mobile terminal 400 also includes at least one sensor 405, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 4061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 4061 and the display panel 4061 when the mobile terminal 400 moves to the ear / or backlighting. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is still, and can be used to identify the posture of mobile terminals (such as horizontal and vertical screen switching, related games, etc.) , magnetometer posture calibration), vibration recognition-related functions (such as pedometer, knocking), etc.; the sensor 405 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.

显示单元406用于显示由用户输入的信息或提供给用户的信息。显示单元406可包括显示面板4061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板4061。The display unit 406 is used to display information input by the user or information provided to the user. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.

用户输入单元407可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元407包括触控面板4071以及其他输入设备4072。触控面板4071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板4071上或在触控面板4071附近的操作)。触控面板4071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器410,接收处理器410发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板4071。除了触控面板4071,用户输入单元407还可以包括其他输入设备4072。具体地,其他输入设备4072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 407 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the mobile terminal. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072 . The touch panel 4071, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 4071 or near the touch panel 4071). operate). The touch panel 4071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to For the processor 410, receive the command sent by the processor 410 and execute it. In addition, the touch panel 4071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 4071 , the user input unit 407 may also include other input devices 4072 . Specifically, other input devices 4072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.

进一步的,触控面板4071可覆盖在显示面板4061上,当触控面板4071检测到在其上或附近的触摸操作后,传送给处理器410以确定触摸事件的类型,随后处理器410根据触摸事件的类型在显示面板4061上提供相应的视觉输出。虽然在图4中,触控面板4071与显示面板4061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板4071与显示面板4061集成而实现移动终端的输入和输出功能,具体此处不做限定。Furthermore, the touch panel 4071 can be covered on the display panel 4061, and when the touch panel 4071 detects a touch operation on or near it, it will be sent to the processor 410 to determine the type of the touch event, and then the processor 410 will The type of event provides a corresponding visual output on the display panel 4061 . Although in FIG. 4, the touch panel 4071 and the display panel 4061 are used as two independent components to realize the input and output functions of the mobile terminal, in some embodiments, the touch panel 4071 and the display panel 4061 can be integrated. The implementation of the input and output functions of the mobile terminal is not specifically limited here.

接口单元408为外部装置与移动终端400连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元408可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端400内的一个或多个元件或者可以用于在移动终端400和外部装置之间传输数据。The interface unit 408 is an interface for connecting an external device to the mobile terminal 400 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 408 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.

存储器409可用于存储软件程序以及各种数据。存储器409可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器409可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 409 can be used to store software programs as well as various data. The memory 409 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 409 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.

处理器410是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器409内的软件程序和/或模块,以及调用存储在存储器409内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器410可包括一个或多个处理单元;优选的,处理器410可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器410中。The processor 410 is the control center of the mobile terminal, which uses various interfaces and lines to connect various parts of the entire mobile terminal, by running or executing software programs and/or modules stored in the memory 409, and calling data stored in the memory 409 , execute various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole. The processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 410 .

移动终端400还可以包括给各个部件供电的电源411(比如电池),优选的,电源411可以通过电源管理系统与处理器410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal 400 can also include a power supply 411 (such as a battery) for supplying power to various components. Preferably, the power supply 411 can be logically connected to the processor 410 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.

另外,移动终端400包括一些未示出的功能模块,在此不再赘述。In addition, the mobile terminal 400 includes some functional modules not shown, which will not be repeated here.

优选的,本发明实施例还提供一种电子设备,包括处理器410,存储器409,存储在存储器409上并可在所述处理器410上运行的计算机程序,该计算机程序被处理器410执行时实现上述考勤方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides an electronic device, including a processor 410, a memory 409, and a computer program stored in the memory 409 and operable on the processor 410, when the computer program is executed by the processor 410 The various processes of the above embodiments of the attendance checking method can be realized and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述考勤方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned attendance method embodiment is realized, and the same technical effect can be achieved. , to avoid repetition, it will not be repeated here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, without departing from the gist of the present invention and the protection scope of the claims, many forms can also be made, all of which belong to the protection of the present invention.

Claims (11)

1.一种考勤方法,应用于移动终端,其特征在于,所述移动终端包括摄像头,所述移动终端预置有第一图像数据,所述第一图像数据包含第一人像数据,所述方法包括:1. A method for attendance checking, applied to a mobile terminal, characterized in that, the mobile terminal includes a camera, the mobile terminal is preset with first image data, and the first image data includes first portrait data, the Methods include: 当接收到考勤请求时,采用所述摄像头采集第二图像数据,其中,所述第二图像数据包含第二人像数据;When the attendance request is received, the camera is used to collect second image data, wherein the second image data includes second portrait data; 根据所述第一人像数据及所述第二人像数据进行人像匹配,获得考勤结果信息;performing portrait matching according to the first portrait data and the second portrait data, and obtaining attendance result information; 输出所述考勤结果信息。Output the attendance result information. 2.根据权利要求1所述的方法,其特征在于,所述第一图像数据通过以下方式获得:2. The method according to claim 1, wherein the first image data is obtained by: 采用所述摄像头采集初始图像数据;Using the camera to collect initial image data; 判断所述初始图像数据中是否包含全部考勤人员的人像数据;Judging whether the initial image data contains portrait data of all attendance personnel; 当所述初始图像数据中包含全部考勤人员的人像数据时,确定所述初始图像数据为第一图像数据。When the initial image data includes portrait data of all attendance personnel, it is determined that the initial image data is the first image data. 3.根据权利要求1或2所述的方法,其特征在于,所述第一人像数据包括多个第一人脸特征;所述第二人像数据包括多个第二人脸特征;所述根据所述第一人像数据及所述第二人像数据进行人像匹配,获得考勤结果信息的步骤包括:3. The method according to claim 1 or 2, wherein the first portrait data includes a plurality of first facial features; the second portrait data includes a plurality of second facial features; Perform portrait matching according to the first portrait data and the second portrait data, and the step of obtaining attendance result information includes: 将所述多个第一人脸特征与多个第二人脸特征进行匹配,获得考勤结果信息;其中,所述考勤结果信息为所述第一人脸特征中未匹配到第二人脸特征的对应的人员信息。Matching the plurality of first facial features with a plurality of second facial features to obtain attendance result information; wherein, the attendance result information is that no second facial features are matched in the first facial features The corresponding personnel information. 4.根据权利要求3所述的方法,其特征在于,所述第一人像数据还包括与所述第一人脸特征对应的第一发型特征及第一服饰特征;所述第二人像数据还包括与所述第二人脸特征对应的第二发型特征及第二服饰特征。4. The method according to claim 3, wherein the first portrait data also includes a first hairstyle feature and a first clothing feature corresponding to the first facial feature; the second portrait data It also includes a second hairstyle feature and a second clothing feature corresponding to the second face feature. 5.根据权利要求1所述的方法,其特征在于,所述移动终端包括显示装置,所述方法还包括:5. The method according to claim 1, wherein the mobile terminal comprises a display device, and the method further comprises: 在所述显示装置上展现所述考勤结果信息。displaying the attendance result information on the display device. 6.一种移动终端,其特征在于,所述移动终端包括摄像头,所述移动终端预置有第一图像数据,所述第一图像数据包含第一人像数据,所述移动终端包括:6. A mobile terminal, characterized in that, the mobile terminal includes a camera, the mobile terminal is preset with first image data, the first image data includes first portrait data, and the mobile terminal includes: 第二图像数据采集模块,用于当接收到考勤请求时,采用所述摄像头采集第二图像数据;其中,所述第二图像数据包含第二人像数据;The second image data collection module is configured to use the camera to collect second image data when receiving an attendance request; wherein the second image data includes second portrait data; 考勤结果信息获得模块,用于根据所述第一人像数据及所述第二人像数据进行人像匹配,获得考勤结果信息;An attendance result information obtaining module, configured to perform portrait matching according to the first portrait data and the second portrait data, and obtain attendance result information; 考勤结果信息输出模块,用于输出所述考勤结果信息。The attendance result information output module is used to output the attendance result information. 7.根据权利要求6所述的移动终端,其特征在于,所述移动终端还包括:7. The mobile terminal according to claim 6, wherein the mobile terminal further comprises: 初始图像数据采集模块,用于采用所述摄像头采集初始图像数据;An initial image data collection module, configured to collect initial image data using the camera; 判断模块,用于判断所述初始图像数据中是否包含全部考勤人员的人像数据;Judging module, used to judge whether the portrait data of all attendance personnel are included in the initial image data; 确定模块,用于当所述初始图像数据中包含全部考勤人员的人像数据时,确定所述初始图像数据为第一图像数据。A determining module, configured to determine that the initial image data is the first image data when the initial image data includes portrait data of all attendance personnel. 8.根据权利要求6或7所述的移动终端,其特征在于,所述第一人像数据包括多个第一人脸特征;所述第二人像数据包括多个第二人脸特征;所述考勤结果信息获得模块包括:8. The mobile terminal according to claim 6 or 7, wherein the first portrait data includes a plurality of first facial features; the second portrait data includes a plurality of second facial features; The above attendance result information acquisition module includes: 考勤结果信息获得子模块,用于将所述多个第一人脸特征与多个第二人脸特征进行匹配,获得考勤结果信息;其中,所述考勤结果信息为所述第一人脸特征中未匹配到第二人脸特征的对应的人员信息。The attendance result information obtaining submodule is used to match the plurality of first facial features with a plurality of second facial features to obtain attendance result information; wherein, the attendance result information is the first facial feature The corresponding person information that does not match the second facial features. 9.根据权利要求8所述的移动终端,其特征在于,所述第一人像数据还包括与所述第一人脸特征对应的第一发型特征及第一服饰特征;所述第二人像数据还包括与所述第二人脸特征对应的第二发型特征及第二服饰特征。9. The mobile terminal according to claim 8, wherein the first portrait data also includes a first hairstyle feature and a first clothing feature corresponding to the first facial features; The data also includes a second hairstyle feature and a second clothing feature corresponding to the second face feature. 10.根据权利要求6所述的移动终端,其特征在于,所述移动终端包括显示装置,所述移动终端还包括:10. The mobile terminal according to claim 6, wherein the mobile terminal comprises a display device, and the mobile terminal further comprises: 考勤结果信息展现模块,用于在所述显示装置上展现所述考勤结果信息。The attendance result information display module is used to display the attendance result information on the display device. 11.一种电子设备,其特征在于,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的考勤的步骤。11. An electronic device, characterized by comprising a processor, a memory, and a computer program stored on the memory and operable on the processor, when the computer program is executed by the processor, the Steps that require attendance as described in any one of 1 to 5.
CN201810069605.4A 2018-01-24 2018-01-24 A kind of Work attendance method and mobile terminal Pending CN108305342A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810069605.4A CN108305342A (en) 2018-01-24 2018-01-24 A kind of Work attendance method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810069605.4A CN108305342A (en) 2018-01-24 2018-01-24 A kind of Work attendance method and mobile terminal

Publications (1)

Publication Number Publication Date
CN108305342A true CN108305342A (en) 2018-07-20

Family

ID=62866090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810069605.4A Pending CN108305342A (en) 2018-01-24 2018-01-24 A kind of Work attendance method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108305342A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109522503A (en) * 2018-09-29 2019-03-26 东南大学 The virtual message board system in tourist attractions based on AR Yu LBS technology
CN110969713A (en) * 2018-09-30 2020-04-07 上海小蚁科技有限公司 Attendance statistics method, device and system and readable storage medium
CN112632308A (en) * 2020-12-28 2021-04-09 深圳集智数字科技有限公司 User first visit identification method and device, electronic equipment and storage medium
CN113888116A (en) * 2021-09-16 2022-01-04 深圳博为教育科技有限公司 Attendance method, device and electronic device
CN115619265A (en) * 2021-12-20 2023-01-17 宁波广知电子科技有限公司 A scoring system and supervision method for personnel safety portraits of hazardous chemical enterprises

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101847279A (en) * 2010-05-20 2010-09-29 上海洪剑智能科技有限公司 Network human face recognition system with intelligent management system and recognition method thereof
CN103679830A (en) * 2013-12-11 2014-03-26 广州中国科学院软件应用技术研究所 Mobile terminal, server and attendance system
CN103903310A (en) * 2014-03-24 2014-07-02 深圳市威富多媒体有限公司 Attendance checking method based on mobile communication terminal and device
CN104183029A (en) * 2014-09-02 2014-12-03 济南大学 Portable quick crowd attendance method
CN104616364A (en) * 2015-01-28 2015-05-13 福建亿榕信息技术有限公司 Method and system for remote attendance checking of enterprise staffs based on face identification
CN105608756A (en) * 2015-12-29 2016-05-25 南京航空航天大学 Human face recognition check-in method based on WeChat public platform
CN106856015A (en) * 2016-12-20 2017-06-16 国网山东省电力公司东明县供电公司 A kind of Work attendance method and device
CN107464309A (en) * 2017-09-05 2017-12-12 无锡尚智诚科技有限公司 A kind of intelligence of factory is checked card sign-in machine

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101847279A (en) * 2010-05-20 2010-09-29 上海洪剑智能科技有限公司 Network human face recognition system with intelligent management system and recognition method thereof
CN103679830A (en) * 2013-12-11 2014-03-26 广州中国科学院软件应用技术研究所 Mobile terminal, server and attendance system
CN103903310A (en) * 2014-03-24 2014-07-02 深圳市威富多媒体有限公司 Attendance checking method based on mobile communication terminal and device
CN104183029A (en) * 2014-09-02 2014-12-03 济南大学 Portable quick crowd attendance method
CN104616364A (en) * 2015-01-28 2015-05-13 福建亿榕信息技术有限公司 Method and system for remote attendance checking of enterprise staffs based on face identification
CN105608756A (en) * 2015-12-29 2016-05-25 南京航空航天大学 Human face recognition check-in method based on WeChat public platform
CN106856015A (en) * 2016-12-20 2017-06-16 国网山东省电力公司东明县供电公司 A kind of Work attendance method and device
CN107464309A (en) * 2017-09-05 2017-12-12 无锡尚智诚科技有限公司 A kind of intelligence of factory is checked card sign-in machine

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109522503A (en) * 2018-09-29 2019-03-26 东南大学 The virtual message board system in tourist attractions based on AR Yu LBS technology
CN109522503B (en) * 2018-09-29 2021-04-27 东南大学 Virtual message board system for tourist attractions based on AR and LBS technology
CN110969713A (en) * 2018-09-30 2020-04-07 上海小蚁科技有限公司 Attendance statistics method, device and system and readable storage medium
CN112632308A (en) * 2020-12-28 2021-04-09 深圳集智数字科技有限公司 User first visit identification method and device, electronic equipment and storage medium
CN112632308B (en) * 2020-12-28 2024-05-28 深圳集智数字科技有限公司 User first visit identification method and device, electronic equipment and storage medium
CN113888116A (en) * 2021-09-16 2022-01-04 深圳博为教育科技有限公司 Attendance method, device and electronic device
CN115619265A (en) * 2021-12-20 2023-01-17 宁波广知电子科技有限公司 A scoring system and supervision method for personnel safety portraits of hazardous chemical enterprises

Similar Documents

Publication Publication Date Title
US11429248B2 (en) Unread message prompt method and mobile terminal
CN109151180B (en) Object recognition method and mobile terminal
CN110674662B (en) Scanning method and terminal equipment
CN109523253B (en) A payment method and device
CN109960813A (en) A translation method, mobile terminal and computer-readable storage medium
CN109240577B (en) Screen capturing method and terminal
CN107682634A (en) A kind of facial image acquisition methods and mobile terminal
CN107845057A (en) One kind is taken pictures method for previewing and mobile terminal
WO2019223493A1 (en) Object recognition method and mobile terminal
CN107742072A (en) Face identification method and mobile terminal
CN108305342A (en) A kind of Work attendance method and mobile terminal
CN111401463A (en) Method, electronic device and medium for outputting test results
CN110536253A (en) A group joining method and mobile terminal
CN108446665A (en) A kind of face identification method and mobile terminal
CN108196781A (en) Interface display method and mobile terminal
CN111523286A (en) Picture display method and electronic equipment
CN110796438A (en) Message sending method and mobile terminal
CN109460649A (en) A kind of document handling method and terminal device
CN110826044B (en) Unlocking method and electronic equipment
CN108681429A (en) A kind of bright screen control method and mobile terminal
CN108897467B (en) Display control method and terminal equipment
CN108989560B (en) Screen switching control method in shooting mode, terminal device and storage medium
CN108062465B (en) Unlocking method and mobile terminal
CN108108608B (en) Control method of a mobile terminal and mobile terminal
CN107577409B (en) A kind of processing method and mobile terminal of preview image

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180720

RJ01 Rejection of invention patent application after publication