Student leave check verification method and system based on face recognition
By introducing facial recognition technology into the school leave management system, building a student school information database, and realizing online verification and approval of student leave requests, solving the problems of safety hazards and low process efficiency of leave request management in the existing technology, and improving the efficiency and security of leave request verification.
Patent Information
- Application Number
- CN202510088875.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-21
- Publication Date
- 2025-05-13
AI Technical Summary
The existing school leave application management system has safety risks, which has failed to effectively verify the authenticity of students' leave application, and the process is cumbersome and inefficient, and lacks corresponding regulatory measures and data records.
Using face recognition-based verification methods and systems for students' leave-off requests and leave-off verification, by constructing a student's school information database, including face information database and school-related data, the online verification and approval process for students' leave requests is realized, and identity verification is carried out in combination with face recognition technology.
It improves the efficiency and security of leave verification, reduces the risk of students using parent accounts and signing leave notes on behalf of others, ensures the authenticity and integrity of leave data, and provides an analysis and summary function of leave data.
Smart Images

Figure CN119991372A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of campus safety, and in particular relates to a method and system for verifying students' leave of absence based on face recognition. Background Art
[0002] Campus safety is the key to ensuring the healthy growth of students and the normal operation of the school. The stability of the school is the primary prerequisite for the smooth development of other school work. As a leave system that supports student safety and school stability, strict implementation and implementation are important guarantees for the school's education and teaching, as well as the prosperity of campus culture. If there is any negligence in the leave procedures, and the whereabouts of students are not strictly controlled, it will leave a huge safety hazard, which will have a great negative impact on the students, their families and the school.
[0003] At present, most schools use offline paper notes and online electronic signatures to manage student leave. With the existing electronic signature method, when a student initiates a leave application, the teacher's signature is first used. After the parents sign, the leave process ends. The student can then leave school directly by showing the leave note at the door. It is inevitable that students will be waiting for signatures, and there are safety risks if students are allowed to leave without confirming their information. Such a management system is not perfect and there is still much room for improvement.
[0004] Most primary and secondary schools require students to submit written applications (leave notes, exit notes, etc.) to their class teachers or counselors in advance, and state the reason and time for leave. Students can leave school only after approval. This method not only has many processes and low efficiency, but also lacks corresponding supervision measures and data records. In addition, the information of campus security personnel is relatively closed. When students leave school, it is difficult to verify the authenticity of their written applications, which can easily cause safety hazards for students to leave school without permission.
[0005] At the same time, some schools allow parents to submit leave applications or obtain relevant information online. This requires that when using relevant software, regulations must be followed to ensure the authenticity and accuracy of the information. As the age of software users gradually becomes younger, students are more and more proficient in using mobile phones and computers. The school's supervision of student software use is relatively weak. Some students may pass the teacher's approval due to improper use of the online leave process, posing a safety hazard. Although some schools have added a facial recognition system for gates, it is only related to the review of entering and leaving school, and is not associated with the leave review system. Summary of the invention
[0006] In order to solve the technical problems existing in the prior art, the purpose of the present invention is to provide a student leave verification method and system based on face recognition.
[0007] In order to achieve the above purpose and the above technical effect, the technical solution adopted by the present invention is:
[0008] A method for verifying student leave based on face recognition, comprising the following steps:
[0009] Step 1: Build a student school information database:
[0010] The student school information database includes a face information database and school-related data;
[0011] Step 2: Choose different leave application procedures according to actual needs;
[0012] Step 3: Departure verification;
[0013] Step 4: Resource push and leave data analysis and summary.
[0014] Furthermore, in step one, the face information database includes facial data information of students and parents, and the facial data information includes facial contour, facial features, facial texture features, and facial expressions and postures, and the facial data information is collected through a mobile terminal.
[0015] Furthermore, in step 1, the school-related data includes student data, teacher data, teaching data, and security personnel data. The student data includes class information and parent-bound contact information. The teacher data includes the class and whether the teacher is a class teacher or a counselor. The teaching data includes class schedule information and teaching resources. The security personnel data includes duty schedules.
[0016] Furthermore, in step 2, the leave application process includes:
[0017] 1) Parents initiate leave request process
[0018] The leave application process is initiated by the parents and transferred to the teacher for approval;
[0019] 2) Student-initiated leave process
[0020] Students in school can log in through the school’s smart terminal to initiate the leave application process, which is then transferred to parents and teachers for approval;
[0021] 3) Teacher leave application process
[0022] The leave application process is initiated by the teacher and then transferred to the parents and the next level teacher for approval.
[0023] Furthermore, in step 1), the parent-initiated leave request process is applied to the situation where the student is at home and cannot go to school. The steps of the parent-initiated leave request process include:
[0024] Parents fill in the leave information on the PC / mobile terminal to initiate the leave process. After that, the student leave verification system will mobilize the camera of the PC / mobile terminal to collect facial information in real time, and compare and analyze the collected facial information with the facial information database. When the match fails, the system will terminate the leave process and the leave cannot be submitted. When the face match is successful, the system will transfer the process to the teacher for approval. After the teacher approves it, the approval result will be sent to the parents simultaneously.
[0025] Furthermore, in step 2), the steps for students to initiate the leave process include:
[0026] When students apply for leave at the school smart terminal, they first need to undergo a face recognition test. Only after the test is passed can the leave process be initiated. Log in to the school smart terminal through face recognition, fill in or enter the leave information through voice recognition, and the student leave verification system will transfer the leave information to the parent's PC / mobile terminal. If the parent's review is not passed, the result will be synchronized to the school smart terminal. When the parent's review is passed, the system will transfer the process to the teacher for approval. The teacher's PC / mobile terminal will approve the notification information received. If the approval is not passed, the school smart terminal will receive a prompt message that the leave has not been passed. When the approval is passed, the school smart terminal will receive a prompt message that the leave has been passed.
[0027] Furthermore, in step 3), the steps of the teacher's leave application process include:
[0028] The teacher fills in the proxy leave information on the PC / mobile terminal to initiate the proxy leave process. After that, the student leave verification system will transfer the proxy leave information to the parent's PC / mobile terminal for information confirmation. If the parent's review is not passed, the result will be synchronized to the teacher's PC / mobile terminal and a prompt message will be received. When the parent's review is passed, the system will transfer the process to the upper-level teacher for approval. The upper-level teacher's PC / mobile terminal will approve the received notification information. If the approval is not passed, the PC / mobile terminal of the next-level teacher will receive a prompt message that the leave has not been passed. When the approval is passed, the PC / mobile terminal of the next-level teacher will receive a prompt message that the leave has been passed.
[0029] Furthermore, in step 3, the steps of leaving school for verification include:
[0030] When students leave school during school hours, they need to go to the school's facial recognition gate to authenticate their identity again. The facial recognition gate will compare the collected student face with the facial information database. When the student face does not match the information in the facial information database, the facial recognition gate will not open for passage and security will not allow the student to pass. When the student face matches the information in the facial information database, the guard's smart terminal / mobile terminal will display the progress of the student's leave approval process. If the leave process is passed, the security will check the information and confirm the departure on the guard's smart terminal / mobile terminal. Parents will then receive the student's departure information simultaneously. When the student leaves school, if the leave process is not completed, the security personnel will directly contact the corresponding teacher through the guard's smart terminal / mobile terminal.
[0031] Furthermore, in step 4, the resource push step includes:
[0032] After the leave task is completed, the student leave verification system automatically links to the student school information database, queries the student's absence information within the leave period, and pushes the absent teaching resources to the parents of the absent students based on the absence information, so that the parents can urge the students to complete their studies;
[0033] The steps for analyzing and summarizing leave data include:
[0034] The student leave verification system has the function of student leave analysis. The principal, grade group leader, teacher and parents can view the school leave analysis data according to their own authority. The principal can view the leave analysis data of the whole school, each grade and each class. The grade group leader can view the leave analysis data of the grade and each class. The head teacher can view the statistical analysis data of the class and each student. Parents can view the leave analysis data of their own children.
[0035] The principal, grade leaders, teachers, and parents conduct leave statistics analysis on a weekly, monthly, and semester basis according to their respective focus, and intuitively display the leave information through various analysis summary tables, bar charts, and line graphs.
[0036] Furthermore, the face recognition method is used to compare and analyze the face, including the following steps:
[0037] First, obtain a set S containing M face images, convert each image into an N-dimensional vector, and then put the M vectors into the set S, as shown in the following formula:
[0038] S={Γ1, Γ2, Γ3, Γ4,…, Γ M};
[0039] Then, after obtaining the face vector set S, the vectors in the set S are traversed and accumulated to calculate the average image Ψ. The formula is as follows:
[0040]
[0041] Calculate the difference Φ between each image and the average image i :
[0042] Φ i =Γ i -Ψ;
[0043] Find M orthogonal unit vectors un. The unit vector is used to describe the distribution of the difference Φ. The k()th vector uk in un is calculated by the following formula:
[0044]
[0045] Where, k = 1, 2, 3...M;
[0046] When k When the minimum value is taken, uk can be determined; the M vectors are mutually orthogonal and have unit length, and the unit orthogonal vector uk must also satisfy the following formula:
[0047]
[0048] Calculating uk is actually calculating the eigenvector of the covariance matrix:
[0049]
[0050] A={Φ1, Φ2, Φ3, Φ4,…, Φ n};
[0051] If the number of training images is less than the dimension of the image, let the elements of the mth row and nth column of the matrix L be expressed as:
[0052]
[0053] Once the M eigenvectors of the matrix L are found, the eigenvector ul of the covariance matrix can be expressed as:
[0054]
[0055] If these eigenvectors are restored to pixel arrangements, they are called eigenfaces;
[0056] Finally, to recognize faces, we first consider a new face and label it with a feature face:
[0057]
[0058] For the kth eigenface uk, calculate its corresponding weight, and M weights form a vector, which is the representation of the eigenface to the face:
[0059] Ω T=[ω1,ω2,ω3,ω4,…,ω M ];
[0060] Face recognition is achieved through the following formula:
[0061] ε k =||Ω-Ω k || 2 ;
[0062] Among them, Ω represents the face to be identified, and Ωk represents a face in the training set. Both are represented by the weights of the feature faces. By calculating the Euclidean distance, when the Euclidean distance is less than the threshold, it means that the face to be identified and the kth face in the training set are the same person.
[0063] The present invention also discloses a student leave verification system based on face recognition, comprising:
[0064] A server storing a face information database and school-related data;
[0065] Parent leave module, used by parents to initiate the leave process;
[0066] The student leave module is used for students to log in and initiate the leave process through face recognition authentication on the school's smart terminal;
[0067] The teacher's leave-on-behalf module is used for teachers to initiate the leave-on-behalf process;
[0068] The departure verification module is used to verify whether students are allowed to leave school;
[0069] The resource push module is used to push the absentee teaching resources to the parents of the absent students based on the absentee information;
[0070] The leave data analysis summary module is used to view the school leave analysis data.
[0071] Compared with the prior art, the present invention has the following beneficial effects:
[0072] 1) The overall online process is adopted to reduce the tediousness of paper leave and improve the efficiency of leave verification;
[0073] 2) When parents ask for leave, add a face comparison step to prevent students from using their parents’ accounts to apply for leave;
[0074] 3) Verification is required before leaving school to reduce the number of students leaving school with signed leave notes, ensure the authenticity of students' leave and their safety when leaving school, and record students' leave data for later analysis and summary. BRIEF DESCRIPTION OF THE DRAWINGS
[0075] Figure 1 It is a structural schematic diagram of step 1 of the present invention;
[0076] Figure 2 It is a structural schematic diagram of step 1) of the present invention;
[0077] Figure 3 It is a structural schematic diagram of step 2) of the present invention;
[0078] Figure 4 It is a structural schematic diagram of step 3) of the present invention;
[0079] Figure 5 It is a structural schematic diagram of step three of the present invention;
[0080] Figure 6 It is a structural schematic diagram of step 4 of the present invention;
[0081] Figure 7 A face image diagram of the present invention;
[0082] Figure 8 It is the characteristic face map of the present invention. DETAILED DESCRIPTION
[0083] The present invention is described in detail below so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making a clearer and more definite definition of the protection scope of the present invention.
[0084] A brief summary of one or more aspects is given below to provide a basic understanding of these aspects. This summary is not an exhaustive overview of all conceived aspects, and is neither intended to identify the key or critical elements of all aspects nor to define the scope of any or all aspects. Its only purpose is to give some concepts of one or more aspects in a simplified form as a prelude to a more detailed description that will be given later.
[0085] like Figure 1-8 As shown, a method for verifying student leave based on face recognition includes the following steps:
[0086] Step 1: Build a student school information database:
[0087] like Figure 1 As shown, a school face information database is established, which mainly contains facial data information of students and parents. The facial data information includes facial contour, facial features, facial texture features, facial expressions and postures, etc., which are collected through mobile terminals such as cameras;
[0088] Import school-related data, including student data (including class information, parent-bound contact information), teacher data (including teaching classes, whether they are class teachers or counselors), teaching data (including class schedule information, teaching resources), security personnel data (including duty schedules), etc., into the student leave verification system;
[0089] The system integrates and matches the collected facial information with the imported data, and also associates and matches various course information resources, and finally builds a student school information database (which can be referred to as the home-school information database) and stores it on the server;
[0090] Step 2: Leave application and approval
[0091] In order to consider the actual usage status and convenience, the present invention designs three leave initiation processes, including: parent-initiated leave process, student-initiated leave process, and teacher-initiated leave process. Different leave processes can be selected according to actual needs.
[0092] 1) Parents initiate leave request process
[0093] The parent PC / mobile terminal initiated leave application process is mainly used for students who are at home and unable to go to school. In order to prevent students from using their parents' PC / mobile terminal to apply for leave, the present invention adds a parent face recognition verification module. The detailed flow chart is as follows Figure 2 As shown;
[0094] After the parent fills in the leave information on the PC / mobile terminal to initiate the leave process, the system will mobilize the camera on the PC / mobile terminal to collect facial information in real time, and compare and analyze the collected facial information with the facial information database stored in the server. If the match fails, the system will terminate the leave process and the leave cannot be submitted. If the face match is successful, the system will transfer the process to the teacher for approval. The teacher's PC / mobile terminal will approve the notification information received, and the approval information result will be sent to the parents synchronously;
[0095] 2) Student-initiated leave application process
[0096] The student-initiated leave application process is mainly used for students to apply for leave at school. Students log in to the school's smart terminal to initiate the leave application process. The system inputs / voice recognition inputs the leave application information and submits the leave application process. The detailed process is as follows Figure 3 As shown;
[0097] When students apply for leave at the school smart terminal, they first need to undergo a face recognition test. Only after the test is passed can the leave process be initiated. Students can log in to the school smart terminal through face recognition. When filling in the leave information, they can enter it through the system, or they can enter the leave information through voice recognition and store it in the server. The student leave verification system will transfer the leave information to the parent's PC / mobile terminal. If the parent's review fails, the information will be synchronized to the school smart terminal, and the school smart terminal will receive a prompt message that the leave has not been passed. When the parent's review is passed, the system will transfer the process to the teacher for approval, and the teacher's PC / mobile terminal will approve the notification information received. If the approval is not passed, the school smart terminal will receive a prompt message that the leave has not been passed. When the approval is passed, the school smart terminal will receive a prompt message that the leave has been passed.
[0098] 3) Process of requesting leave on behalf of a teacher
[0099] Considering that younger students do not know how to use the system when applying for leave in school, substitute teachers can apply for leave on their behalf. The detailed process is as follows Figure 4 As shown;
[0100] After the teacher fills in the proxy leave information on the PC / mobile terminal to initiate the proxy leave process, the student leave verification system will transfer the proxy leave information to the parent's PC / mobile terminal for information confirmation. If the parent's review fails, the result will be synchronized to the teacher's PC / mobile terminal and a prompt message will be received. If the parent's review passes, the system will transfer the process to the upper-level teacher for approval. The upper-level teacher's PC / mobile terminal will review the received notification information. If the approval fails, the PC / mobile terminal of the next-level teacher will receive a prompt message that the leave has not been passed. When the approval passes, the PC / mobile terminal of the next-level teacher will receive a prompt message that the leave has been passed.
[0101] Step 3: Departure Verification:
[0102] When students leave school during school hours, they need to go to the school's facial recognition gate to authenticate their identity again. The facial recognition gate will compare the collected student face with the facial information database. When the student face does not match the information in the facial information database, the facial recognition gate will not open the passage and security will not allow the student to pass. When the student face matches the information in the facial information database, the guard's smart terminal / mobile terminal will display the progress of the student's leave approval process. If the leave process is passed, the security will check the information and confirm the departure at the guard's smart terminal / mobile terminal. Parents will then receive the student's departure information at the same time. When the student leaves school, if the leave process is not completed, the security personnel can directly contact the corresponding teacher through the guard's smart terminal / mobile terminal. The process is as follows Figure 5 As shown;
[0103] Step 4: Resource push and leave data analysis summary:
[0104] The resource push process is:
[0105] Based on correlation analysis, the system automatically pushes missed teaching resources for students to learn;
[0106] After the leave task is completed, the system automatically links the student's school information database (referred to as the home-school information database) to query the student's absence information during the leave period, and based on the absence information and related resource information, actively push the absentee teaching resources to the parents of the absent students, and the parents will urge the students to complete the study using their mobile phones, etc. Figure 6 As shown;
[0107] The leave data analysis is summarized as follows:
[0108] The system has the function of analyzing students' leave. The principal, grade group leader, teacher, and parent can view the school's leave analysis data according to their own permissions. The principal can view the leave analysis data of the whole school, each grade, and each class. The grade group leader can view the leave analysis data of the grade and each class. The head teacher can view the statistical analysis data of the class and each student. Parents can view the leave analysis data of their own children. According to their respective focus objects, statistical analysis can be performed according to week, month, semester, etc., including the number of leave in a semester, the number of leave in a grade, the number of leave in a class, the analysis of the category of leave in the whole school / grade / class, and the analysis of student subject class hours. Leave information can be intuitively displayed through various analysis summary tables, bar charts, line charts, etc.
[0109] In the present invention, the steps of face recognition are:
[0110] In the face verification stage, the present invention uses the characteristic face method to perform comparison analysis and identification;
[0111] First, obtain a set S containing M face images. Figure 7 Display M = 20 face images. Each image can be converted into an N-dimensional vector, and then these M vectors are put into a set S, as shown in the following formula:
[0112] S={Γ1, Γ2, Γ3, Γ4,…, Γ M}
[0113] Then, after obtaining the face vector set S, the vectors in the set S are traversed and accumulated to calculate the average image Ψ. The formula is as follows:
[0114]
[0115] Calculate the difference Φ between each image and the average image i , which is to subtract the mean value Ψ from each element in the S set.
[0116] Φi =Γ i -Ψ
[0117] Find M orthogonal unit vectors un, which are used to describe the distribution of the difference Φ. The kth (k = 1, 2, 3...M) vector uk in un is calculated by the following formula:
[0118]
[0119] When this k When the minimum value is taken, uk is determined. The M vectors are mutually orthogonal and of unit length, and uk must also satisfy the following formula:
[0120]
[0121] uk is a unit orthogonal vector. Calculating uk is actually calculating the eigenvector of the covariance matrix:
[0122]
[0123] A={Φ1, Φ2, Φ3, Φ4,…, Φ n}
[0124] For an N×N (e.g. 100×100) dimensional image, directly calculating its eigenvector is too large. For example, for a 100×100 image, the covariance matrix can reach 10000×10000. For this reason, the present invention adopts the following calculation method:
[0125] If the number of training images is less than the dimension of the image, such as (MAAT, let the matrix be L, then the elements of the mth row and nth column of the matrix L can be expressed as:
[0126]
[0127] Once the M eigenvectors of the matrix L are found, the eigenvector ul of the covariance matrix can be expressed as:
[0128]
[0129] If these eigenvectors are restored to pixel arrangements, they are called eigenfaces, such as Figure 8 As shown, there are 20 eigenfaces;
[0130] Finally, we need to recognize faces. First, consider a new face. We can use eigenfaces to mark it:
[0131]
[0132] Among them, k = 1, 2, 3, ... M, for the kth eigenface uk, the above formula can calculate its corresponding weight, and M weights can form a vector, which is the representation of the eigenface to the face:
[0133] Ω T =[ω1,ω2,ω3,ω4,…,ω M ]
[0134] Face recognition is achieved through the following formula:
[0135] ε k =||Ω-Ω k || 2
[0136] Among them, Ω represents the face to be identified, and Ωk represents a face in the training set. Both are represented by the weights of the eigenfaces. The above formula calculates the Euclidean distance between the two. When the distance is less than the threshold, it means that the face to be identified and the kth face in the training set are the same person.
[0137] The present invention also discloses a student leave verification system based on face recognition, comprising:
[0138] A server storing a face information database and school-related data;
[0139] Parent leave module, used by parents to initiate the leave process;
[0140] The student leave module is used for students to log in and initiate the leave process through face recognition authentication on the school's smart terminal;
[0141] The teacher's leave-on-behalf module is used for teachers to initiate the leave-on-behalf process;
[0142] The departure verification module is used to verify whether students are allowed to leave school;
[0143] The resource push module is used to push the absentee teaching resources to the parents of the absent students based on the absentee information;
[0144] The leave data analysis summary module is used to view the school leave analysis data.
[0145] The image data related to the user acquired by the present invention is acquired with the consent of the owner and his / her parents or with the full authorization of the owner and his / her parents, and the use of the images has been agreed by the owner and his / her parents.
[0146] Parts or structures not specifically described in the present invention may adopt existing technologies or existing products and will not be described in detail here. The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for verifying student leave based on face recognition, characterized in that: The following steps are involved: Step 1: Build a student school information database: The student school information database includes a face information database and school-related data; Step 2: Choose different leave application procedures according to actual needs; Step 3: Departure verification; Step 4: Resource push and leave data analysis and summary.
2. According to the method for verifying student leave based on face recognition in claim 1, it is characterized in that: In step one, the facial information database includes facial data information of students and parents, and the facial data information includes facial contour, facial features, facial texture features, and facial expressions and postures, and the facial data information is collected through a mobile terminal; the school-related data includes student data, teacher data, teaching data, and security personnel data. The student data includes class information and parent-bound contact information. The teacher data includes the class and whether the teacher is a class teacher or a counselor. The teaching data includes class schedule information and teaching resources. The security personnel data includes duty roster.
3. According to the method for verifying student leave based on face recognition in claim 1, it is characterized in that: In step 2, the leave application process includes: 1) Parents initiate leave request process The leave request process is initiated by the parents and transferred to the teacher for approval; 2) Student-initiated leave application process Students can log in through the school's smart terminal to initiate the leave application process, which is then transferred to parents and teachers for approval; 3) Teacher's leave application process The leave application process is initiated by the teacher and then transferred to the parents and the next level teacher for approval.
4. According to the method for verifying student leave based on face recognition in claim 3, it is characterized in that: In step 1), the parent-initiated leave request process is applied to the situation where the student is at home and cannot go to school. The steps of the parent-initiated leave request process include: Parents fill in the leave information on the PC / mobile terminal to initiate the leave process. After that, the student leave verification system will mobilize the camera of the PC / mobile terminal to collect facial information in real time, and compare and analyze the collected facial information with the facial information database. When the match fails, the system will terminate the leave process and the leave cannot be submitted. When the face match is successful, the system will transfer the process to the teacher for approval. After the teacher approves it, the approval result will be sent to the parents simultaneously.
5. According to the method for verifying student leave based on face recognition in claim 3, it is characterized in that: In step 2), the steps for students to initiate the leave process include: When students apply for leave at the school smart terminal, they first need to undergo a face recognition test. Only after the test is passed can the leave process be initiated. Log in to the school smart terminal through face recognition, fill in or enter the leave information through voice recognition, and the student leave verification system will transfer the leave information to the parent's PC / mobile terminal. If the parent's review is not passed, the result will be synchronized to the school smart terminal. When the parent's review is passed, the system will transfer the process to the teacher for approval. The teacher's PC / mobile terminal will approve the notification information received. If the approval is not passed, the school smart terminal will receive a prompt message that the leave has not been passed. When the approval is passed, the school smart terminal will receive a prompt message that the leave has been passed.
6. According to the method for verifying student leave based on face recognition in claim 3, it is characterized in that: In step 3), the steps of the teacher's leave application process include: The teacher fills in the proxy leave information on the PC / mobile terminal to initiate the proxy leave process. After that, the student leave verification system will transfer the proxy leave information to the parent's PC / mobile terminal for information confirmation. If the parent's review is not passed, the result will be synchronized to the teacher's PC / mobile terminal and a prompt message will be received. When the parent's review is passed, the system will transfer the process to the upper-level teacher for approval. The upper-level teacher's PC / mobile terminal will approve the received notification information. If the approval is not passed, the PC / mobile terminal of the next-level teacher will receive a prompt message that the leave has not been passed. When the approval is passed, the PC / mobile terminal of the next-level teacher will receive a prompt message that the leave has been passed.
7. According to the method for verifying student leave based on face recognition in claim 1, it is characterized in that: In step 3, the steps for off-campus verification include: When students leave school during school hours, they need to go to the school's facial recognition gate to authenticate their identity again. The facial recognition gate will compare the collected student face with the facial information database. When the student face does not match the information in the facial information database, the facial recognition gate will not open for passage and security will not allow the student to pass. When the student face matches the information in the facial information database, the guard's smart terminal / mobile terminal will display the progress of the student's leave approval process. If the leave process is passed, the security will check the information and confirm the departure on the guard's smart terminal / mobile terminal. Parents will then receive the student's departure information simultaneously. When the student leaves school, if the leave process is not completed, the security personnel will directly contact the corresponding teacher through the guard's smart terminal / mobile terminal.
8. According to the method for verifying student leave based on face recognition in claim 1, it is characterized in that: In step 4, the steps of resource push include: After the leave task is completed, the student leave verification system automatically links to the student school information database, queries the student's absence information within the leave period, and pushes the absent teaching resources to the parents of the absent students based on the absence information, so that the parents can urge the students to complete their studies; The steps for analyzing and summarizing leave data include: The student leave verification system has the function of student leave analysis. The principal, grade group leader, teacher and parents can view the school leave analysis data according to their own authority. The principal can view the leave analysis data of the whole school, each grade and each class. The grade group leader can view the leave analysis data of the grade and each class. The head teacher can view the statistical analysis data of the class and each student. Parents can view the leave analysis data of their own children. The principal, grade leaders, teachers, and parents conduct leave statistics analysis on a weekly, monthly, and semester basis according to their respective focus, and intuitively display the leave information through various analysis summary tables, bar charts, and line graphs.
9. According to the method for verifying student leave based on face recognition in claim 1, it is characterized in that: When recognizing faces, the characteristic face method is used for comparison, analysis and recognition, which includes the following steps: First, obtain a set S containing M face images, convert each image into an N-dimensional vector, and then put the M vectors into the set S, as shown in the following formula: S={Γ1,Γ2,Γ3,Γ4,……,Γ M }; Then, after obtaining the face vector set S, the vectors in the set S are traversed and accumulated to calculate the average image Ψ. The formula is as follows: Calculate the difference Φ between each image and the average image i : f i =C i -ψ; Find M orthogonal unit vectors un. The unit vector is used to describe the distribution of the difference Φ. The k()th vector uk in un is calculated by the following formula: Where, k = 1, 2, 3...M; When k When the minimum value is taken, uk can be determined; the M vectors are mutually orthogonal and have unit length, and the unit orthogonal vector uk must also satisfy the following formula: Calculating uk is actually calculating the eigenvector of the covariance matrix: A={Φ1,Φ2,Φ3,Φ4,……,Φ n }; If the number of training images is less than the dimension of the image, let the elements of the mth row and nth column of the matrix L be expressed as: Once the M eigenvectors of the matrix L are found, the eigenvector ul of the covariance matrix can be expressed as: If these eigenvectors are restored to pixel arrangements, they are called eigenfaces; Finally, to recognize faces, we first consider a new face and label it with a feature face: For the kth eigenface uk, calculate its corresponding weight, and M weights form a vector, which is the representation of the eigenface to the face: Oh T =[ω1,ω2,ω3,ω4,……,ω M ]; Face recognition is achieved through the following formula: e k =||Oh-Oh k || 2 ; Among them, Ω represents the face to be identified, and Ωk represents a face in the training set. Both are represented by the weights of the feature faces. By calculating the Euclidean distance, when the Euclidean distance is less than the threshold, it means that the face to be identified and the kth face in the training set are the same person.
10. A student leave verification system based on face recognition, characterized in that: include: A server storing a face information database and school-related data; Parent leave module, used by parents to initiate the leave process; The student leave module is used for students to log in and initiate the leave process through face recognition authentication on the school's smart terminal; The teacher's leave-on-behalf module is used for teachers to initiate the leave-on-behalf process; The departure verification module is used to verify whether students are allowed to leave school; The resource push module is used to push the absentee teaching resources to the parents of the absent students based on the absentee information; The leave data analysis summary module is used to view the school leave analysis data.