[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN107967660B - A secure examination system for automatic facial recognition - Google Patents

A secure examination system for automatic facial recognition Download PDF

Info

Publication number
CN107967660B
CN107967660B CN201711175592.0A CN201711175592A CN107967660B CN 107967660 B CN107967660 B CN 107967660B CN 201711175592 A CN201711175592 A CN 201711175592A CN 107967660 B CN107967660 B CN 107967660B
Authority
CN
China
Prior art keywords
candidate
research group
test
facial
examination
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711175592.0A
Other languages
Chinese (zh)
Other versions
CN107967660A (en
Inventor
王辉
袁勇
戴灵豪
陈亮
关旸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Chinese Medicine University ZCMU
Original Assignee
Zhejiang Chinese Medicine University ZCMU
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 Zhejiang Chinese Medicine University ZCMU filed Critical Zhejiang Chinese Medicine University ZCMU
Priority to CN201711175592.0A priority Critical patent/CN107967660B/en
Publication of CN107967660A publication Critical patent/CN107967660A/en
Application granted granted Critical
Publication of CN107967660B publication Critical patent/CN107967660B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/20Education
    • G06Q50/205Education administration or guidance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
    • G06V10/443Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components by matching or filtering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/52Surveillance or monitoring of activities, e.g. for recognising suspicious objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation
    • G06V40/169Holistic features and representations, i.e. based on the facial image taken as a whole
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Strategic Management (AREA)
  • Human Computer Interaction (AREA)
  • Tourism & Hospitality (AREA)
  • Data Mining & Analysis (AREA)
  • Educational Technology (AREA)
  • Educational Administration (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明提供一种自动面部识别的安全考试系统,包括监控摄像头和考试装置,所述监控摄像头和考试装置均与一云服务器通信连接;所述监控摄像头用于定时拍摄考生面部以获得考生面部特征数据,并将所述面部特征数据传输至云服务器;所述面部特征数据与考生信息一一对应;所述云服务器用于根据考生面部数据信息查找考生标识,并根据考生标识自动获取考题关键词,从而构建出用于发放至考生的试题。本发明解决了当前实验室安全考试无法实现“因室制宜”、个性化、差异化的问题,能够有针对性、更具体的组织安全考试培训;解决了网上安全考试可监控性差、考生容易进行替考、舞弊等问题。

Figure 201711175592

The invention provides an automatic facial recognition security examination system, comprising a monitoring camera and an examination device, both of which are connected to a cloud server in communication; the surveillance camera is used for regularly photographing the examinee's face to obtain the examinee's facial features data, and transmit the facial feature data to the cloud server; the facial feature data is in one-to-one correspondence with the examinee’s information; the cloud server is used to search for the examinee’s identification according to the examinee’s facial data information, and automatically obtain the key words of the examination questions according to the examinee’s identification , thereby constructing test questions for distribution to candidates. The invention solves the problem that the current laboratory safety examination cannot achieve "according to room conditions", individualization and differentiation, and can organize safety examination training in a targeted and more specific manner; Substitute exams, fraud, etc.

Figure 201711175592

Description

一种自动面部识别的安全考试系统A secure examination system for automatic facial recognition

技术领域technical field

本发明涉及高校或科研院所进行实验室安全考试的系统领域,更具体地涉及一种自动面部识别的安全考试系统。The invention relates to the field of systems for conducting laboratory safety examinations in universities or scientific research institutes, and more particularly to a safety examination system for automatic facial recognition.

背景技术Background technique

实验室是高校或科研院所进行科技创新和人才培养的重要基地,然而一直以来实验室安全事故频发,造成不少人身和财产损失,严重危害社会的安全与稳定。因此,高校和科研院所对于实验室安全教育和管理日益重视,国内很多高校开设安全培训和指导,对于新生和新教工进行安全知识的考核,但安全考试的内容往往陈旧过时、千篇一律;形式相对单一,组织考试需要耗费大量人力物力;而一些所谓的网上安全考试仅需要登录账号即可答题,很难避免考试人员的替考和舞弊行,是考试流于形式。目前,实验室安全考试普遍无法实现“因室制宜”、个性化、差异化的教育效果,同时,对网上考试的监控力度远远不够。Laboratories are important bases for scientific and technological innovation and personnel training in universities or research institutes. However, laboratory safety accidents have occurred frequently, causing many personal and property losses, and seriously endangering the safety and stability of society. Therefore, colleges and universities and scientific research institutes pay more and more attention to laboratory safety education and management. Many domestic colleges and universities offer safety training and guidance, and conduct safety knowledge assessments for freshmen and new faculty members, but the content of safety examinations are often outdated and stereotyped; Single, it takes a lot of manpower and material resources to organize the exam; and some so-called online security exams only need to log in to the account to answer the questions. At present, laboratory safety examinations are generally unable to achieve "according to room conditions", personalized and differentiated educational effects, and at the same time, the monitoring of online examinations is far from enough.

发明内容SUMMARY OF THE INVENTION

为了解决上述技术问题,本发明提供一种自动面部识别的安全考试系统。本发明的主要目的有两个,一是解决当前实验室安全考试无法实现“因室制宜”、个性化、差异化的问题,能够有针对性、更具体的安全考试培训;二是解决网上安全考试可监控性差、考生容易进行替考、舞弊等问题,通过对考生的身份识别和实时监控,可实现随时随地进行远程考试,且提高了监考的严格程度。In order to solve the above technical problems, the present invention provides a security examination system for automatic facial recognition. There are two main purposes of the present invention, one is to solve the problem that the current laboratory safety examination cannot achieve "according to room conditions", individualization and differentiation, and can provide targeted and more specific safety examination training; The security examination is poorly monitored, candidates are prone to substitute examinations, fraud and other problems. Through the identification and real-time monitoring of candidates, remote examinations can be carried out anytime and anywhere, and the strictness of invigilation is improved.

为实现上述目的,本发明提供下述内容。In order to achieve the above object, the present invention provides the following.

一种自动面部识别的安全考试系统,所述自动面部识别的安全考试系统包括监控摄像头和考试装置,所述监控摄像头和考试装置均与一云服务器通信连接;所述监控摄像头用于定时拍摄考生面部以获得考生面部特征数据,并将所述面部特征数据传输至云服务器;所述面部特征数据与考生信息一一对应;A security examination system for automatic facial recognition, the security examination system for automatic facial recognition comprises a surveillance camera and an examination device, the surveillance camera and the examination device are both connected in communication with a cloud server; the surveillance camera is used for regularly photographing candidates face to obtain the candidate's facial feature data, and transmit the facial feature data to the cloud server; the facial feature data is in one-to-one correspondence with the candidate's information;

所述云服务器用于根据考生面部数据信息查找考生标识,并根据考生标识自动获取考题关键词,从而构建出用于发放至考生的试题。The cloud server is used to search for the examinee's identification according to the examinee's facial data information, and automatically obtain the key words of the examination questions according to the examinee's identification, so as to construct the examination questions for issuing to the examinee.

进一步地,所述云服务器执行下述考生识别方法:Further, the cloud server executes the following candidate identification method:

步骤1:对预设照片进行预处理,进行预设照片中面部器官的定位,并根据定位结果构建预设照片对应的特征向量,所述特征向量为已知特征向量。Step 1: Preprocess the preset photo, locate the facial organs in the preset photo, and construct a feature vector corresponding to the preset photo according to the positioning result, where the feature vector is a known feature vector.

步骤2:获取监控摄像头拍摄的图像,对图像进行预处理,进行面部器官的定位,并构造待匹配特征向量。Step 2: Acquire an image captured by a surveillance camera, preprocess the image, locate facial organs, and construct a feature vector to be matched.

步骤3:将已知特征向量与待匹配特征向量进行相似度匹配。Step 3: Perform similarity matching between the known feature vector and the feature vector to be matched.

步骤4:若匹配值高于识别门限,则匹配成功;否则,匹配失败。Step 4: If the matching value is higher than the identification threshold, the matching is successful; otherwise, the matching fails.

进一步地,在面部预处理阶段包含了:图像增强、二值化处理、边缘检测以及图像尺寸归一化。Further, the face preprocessing stage includes: image enhancement, binarization, edge detection and image size normalization.

进一步地,所述云服务器利用灰度差投影算法来定位面部轮廓,在进行面部器官的定位的过程中,眼睛是定位的主要器官接下来定位鼻尖和嘴巴,在定位过程中,采用积分投影法结合面部先验知识,利用定位出来的几何位置关系构造特征向量。Further, the cloud server utilizes the grayscale difference projection algorithm to locate the facial contour. In the process of locating the facial organs, the eyes are the main organs for locating the nose and the mouth. In the locating process, the integral projection method is used. Combined with the prior knowledge of the face, the feature vector is constructed by using the located geometric position relationship.

进一步地,所述图像增强包括把原始图像的灰度直方图从比较集中的某个灰度区间变成在全部灰度范围内的均匀分布,以便于对图像进行非线性拉仲,重新分配图像像素值,使一定灰度范围内的像素数量大致相同。Further, the image enhancement includes changing the grayscale histogram of the original image from a certain grayscale interval in the comparison set to a uniform distribution in the entire grayscale range, so as to facilitate the nonlinear adjustment of the image and redistribute the image. Pixel value, so that the number of pixels in a certain grayscale range is roughly the same.

进一步地,所述图像增强方法是以累计分靠函数变换为基础的直方图修正法。Further, the image enhancement method is a histogram correction method based on cumulative score function transformation.

进一步地,所述尺寸归一化包括按照缩放系数进行图像的缩放,得到具有统一大小的校准图像;对于图像的缩放,首先,按所需图像的大小完成像素点的增删和移动,同时,还需要使用一个灰度级插值的算法,以保持图像尽量不失真。Further, the size normalization includes scaling the image according to the scaling factor to obtain a calibration image with a uniform size; for the scaling of the image, first, the addition, deletion and movement of pixels are completed according to the size of the desired image, and at the same time, the A grayscale interpolation algorithm needs to be used to keep the image as undistorted as possible.

本发明的有益效果是:解决了当前实验室安全考试无法实现“因室制宜”、个性化、差异化的问题,能够有针对性、更具体的组织安全考试培训;解决了网上安全考试可监控性差、考生容易进行替考、舞弊等问题,通过对考生的身份识别和实时监控,可实现随时随地进行远程考试,且提高了监考的严格程度。The beneficial effects of the present invention are as follows: the problem that the current laboratory safety examination cannot be implemented "according to room conditions", individuation and differentiation can be targeted and more specific to organize safety examination training; Due to poor monitoring, candidates are prone to substitute examinations, fraud and other problems, through the identification and real-time monitoring of candidates, remote examinations can be carried out anytime and anywhere, and the strictness of invigilation is improved.

附图说明Description of drawings

图1是本实施例1提供的自动面部识别的安全考试系统的示意图;Fig. 1 is the schematic diagram of the safety examination system of automatic facial recognition provided by the present embodiment 1;

图2是本实施例1提供的考题关键词的获取方法的示意图;Fig. 2 is the schematic diagram of the acquisition method of examination question keywords provided by the present embodiment 1;

图3是本实施例1提供的云服务器的示意图;3 is a schematic diagram of a cloud server provided in Embodiment 1;

图4是本实施例1提供的试题调配模块的示意图;Fig. 4 is the schematic diagram of the test question allocation module that the present embodiment 1 provides;

图5是本实施例1提供的安全考试方法的示意图;Fig. 5 is the schematic diagram of the safety examination method that the present embodiment 1 provides;

图6是本实施例2提供的自动面部识别的安全考试系统的示意图;Fig. 6 is the schematic diagram of the safety examination system of automatic facial recognition provided by the present embodiment 2;

图7是本实施例2提供的准入考试的执行流程的示意图;7 is a schematic diagram of the execution flow of the admission test provided by the present embodiment 2;

图8是本实施例2提供的期末考试的执行流程的示意图;8 is a schematic diagram of the execution flow of the final exam provided by the present embodiment 2;

图9是本实施例2提供的危化品/特殊设备采购后领用前的考试的执行流程的示意图;Fig. 9 is the schematic diagram of the execution flow of the examination before receiving the hazardous chemicals/special equipment provided in the present embodiment 2 after purchasing;

图10是本实施例2提供的安全检查后针对检查中存在的问题查漏补缺的考试的执行流程的示意图;Fig. 10 is the schematic diagram of the execution flow of the examination for checking omissions and filling vacancies for problems existing in the inspection after the security inspection provided by the present embodiment 2;

图11是本实施例2提供的开展新项目前需通过的相关知识的考试的执行流程的示意图;11 is a schematic diagram of the execution flow of the examination of the relevant knowledge that needs to be passed before launching a new project provided by the present embodiment 2;

图12是本实施例3提供的考生识别方法的示意图;12 is a schematic diagram of a candidate identification method provided by the present embodiment 3;

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings.

实施例1:Example 1:

本发明实施例提供一种自动面部识别的安全考试系统,所述自动面部识别的安全考试系统由硬件设备和配套软件构成。The embodiment of the present invention provides a security examination system for automatic facial recognition, and the security examination system for automatic facial recognition consists of hardware equipment and supporting software.

在所述自动面部识别的安全考试系统中,如图1所示,包括多个考试房1,每个考试房1配设有一个或多个考试工位2,在每个考试工位2上配设有监控摄像头4和考试装置3,所述监控摄像头4用于定时拍摄考生面部以获得考生面部特征数据,并将所述面部特征数据传输至云服务器5,所述考试装置用于向考生展示考试题目,获取考生答题结果,并将答题结果传输至所述云服务器。As shown in FIG. 1 , the security examination system for automatic facial recognition includes a plurality of examination rooms 1 , each examination room 1 is equipped with one or more examination stations 2 , and on each examination station 2 Equipped with a monitoring camera 4 and an examination device 3, the surveillance camera 4 is used for regularly photographing the examinee's face to obtain the examinee's facial feature data, and the facial characteristic data is transmitted to the cloud server 5, and the examination device is used to send the examinee to the examinee. Display the test questions, obtain the test taker's answer results, and transmit the answer results to the cloud server.

每个考试工位上的监控摄像头4和考试装置3均与所述云服务器5通信连接。每个所述考试工位有其对应的ID标识,所述监控摄像头的标识和所述考试装置的标识均与所述ID标识为一一对应关系,以便于所述云服务器对每个考试工位进行管理。具体地,在考试过程中,所述云服务器5获取某个考试工位上的考生的面部特征数据,自动化构建考试题目,并将所述考试题目下放至所述考试装置3,接受所述考试装置3上传的考试题目,并以此自动为考生打分。The surveillance camera 4 and the examination device 3 on each examination station are connected in communication with the cloud server 5 . Each of the test stations has its corresponding ID, and the identification of the surveillance camera and the test device are in a one-to-one correspondence with the ID, so that the cloud server can identify each test worker. bit to manage. Specifically, during the examination process, the cloud server 5 obtains the facial feature data of the examinee at a certain examination station, automatically constructs examination questions, and assigns the examination questions to the examination device 3 to accept the examination. The test questions uploaded by the device 3 are automatically scored for the candidates.

为了实现上述功能,本发明实施例中还设置有数据库,所述数据库存储有考试用题库以及考生信息,所述数据库与所述云服务器5通信连接。In order to realize the above-mentioned functions, a database is further provided in the embodiment of the present invention, and the database stores the examination question bank and candidate information, and the database is in communication connection with the cloud server 5 .

所述数据库的设计是本发明实施例的重点内容之一,下面进行详细阐述:The design of the database is one of the key contents of the embodiments of the present invention, and is described in detail below:

首先,所述数据库记录有考生信息,其记录方式为考生信息数据库表。所述考生信息数据库表中包括考生标识、考生面部数据信息、考生专业类别、考生社会身份、需要接触的危险因素以及备注六个字段。其中考生标识为主键,考生专业类别可以包含一个或多个专业内容,考生社会身份表明考生的学历信息或者就职信息,备注为考生的特殊性标注,其将在自动构建考试题目环节发挥作用。比如,考生的专业类别为:“化学”、“生物”和/或“医学”,考生的身份:“硕士研究生”、“本科生”或“教职工”;需要接触的危险因素:“硫酸”、“三氧化二砷”、“六福异丁烯”等。First, the database records the candidate information, and the recording method is the candidate information database table. The candidate information database table includes six fields: candidate identification, candidate facial data information, candidate professional category, candidate social identity, risk factors to be contacted, and remarks. The candidate ID is the primary key, the candidate's major category can contain one or more professional content, the candidate's social identity indicates the candidate's educational information or employment information, and the note is the candidate's special mark, which will play a role in the automatic construction of examination questions. For example, the candidate's major category is: "Chemistry", "Biology" and/or "Medicine", the candidate's identity: "Master student", "Undergraduate" or "Faculty"; Risk factors to be exposed to: "Sulfuric acid" , "Arsenic trioxide", "Liufu isobutylene" and so on.

此外,备注用于表明考生是否已经进入课题组,以及若考生已经进行某个课题组,则备注中还包括课题组标识。若考生已经进入课题组,则在自动构建考试题目的环节,还需要使用课题组数据管理表和课题组数据库表。所述课题组管理表中记录有课题组标识以及课题组标识与课题组数据库表的关系。所述数据库中存储有一张课题组数据管理表和多张课题组数据库表,以便于根据课题组标识快速定位课题组数据库表。In addition, the remarks are used to indicate whether the candidate has entered a subject group, and if the candidate has taken a subject group, the subject group identification is also included in the remarks. If the candidates have already entered the research group, they need to use the research group data management table and the research group database table in the process of automatically constructing the examination questions. The research group management table records the research group identification and the relationship between the research group identification and the research group database table. A research group data management table and a plurality of research group database tables are stored in the database, so that the research group database tables can be quickly located according to the identification of the research group.

所述课题组数据库表的内容包括课题组组员标识、课题组组员身份、课题组需要接触的危险因素、课题组一级应试信息和课题组二级应试信息。所述课题组组员身份用于表征考生在课题组的地位,“负责人”或者“普通团队成员”,如果是负责人,则需要满足课题组一级应试信息的要求,如果是普通团队成员,则只需要满足课题组二级应试信息的要求即可。The content of the research group database table includes the identification of the research group member, the identity of the research group member, the risk factors that the research group needs to contact, the first-level test-taking information of the research group and the second-level test-taking information of the research group. The status of the research group member is used to represent the candidate's status in the research group, "responsible person" or "ordinary team member", if it is the person in charge, it needs to meet the requirements of the first-level test-taking information of the research group, if it is an ordinary team member , you only need to meet the requirements of the second-level test-taking information of the research group.

上述数据库内容在自动构建考试题目环节的作用在于,根据考生信息,自动获取考题关键词,所述考题关键词的获取方法如图2所示,包括:The function of the above-mentioned database content in the automatic construction of examination questions is to automatically obtain the keywords of the examination questions according to the information of the candidates. The method for obtaining the keywords of the examination questions is shown in Figure 2, including:

S1.根据考生面部数据信息查找考生标识。S1. Find the candidate's identity according to the candidate's facial data information.

S2.根据考生标识查找所述考生信息数据库表,得到其对应的考生专业类别、考生社会身份、需要接触的危险因素以及备注。S2. Find the candidate information database table according to the candidate's identification, and obtain the corresponding candidate's professional category, candidate's social identity, risk factors to be contacted, and remarks.

S3.若备注内容为空,则以考生专业类别、考生社会身份和需要接触的危险因素作为考题关键词。S3. If the content of the remarks is empty, the candidate's professional category, the candidate's social identity and the risk factors that need to be contacted are used as the key words of the test.

S4.若备注内容不为空,则根据备注定位考生对应的课题组数据库表。S4. If the content of the remarks is not empty, locate the database table of the subject group corresponding to the candidates according to the remarks.

S5.在所述课题组数据库表中得到课题组组员身份、课题组需要接触的危险因素、课题组一级应试信息和课题组二级应试信息。S5. Obtain the identity of the research group members, the risk factors that the research group needs to contact, the first-level test-taking information of the research group and the second-level test-taking information of the research group in the research group database table.

S6.若考生为负责人,则将考生专业类别、考生社会身份、需要接触的危险因素、课题组需要接触的危险因素和课题组一级应试信息作为考题关键词。S6. If the candidate is the person in charge, the candidate's professional category, the candidate's social identity, the risk factors that need to be exposed, the risk factors that the research group needs to be exposed to, and the first-level test-taking information of the research group are used as key words in the test questions.

S7.若考生为普通团队成员,则将考生专业类别、考生社会身份、需要接触的危险因素、课题组需要接触的危险因素和课题组二级应试信息作为考题关键词。S7. If the candidate is an ordinary team member, the candidate's professional category, the candidate's social identity, the risk factors that need to be exposed, the risk factors that the research group needs to be exposed to, and the second-level test-taking information of the research group are used as key words in the test questions.

其次,所述数据库中包括考试用题库,所述考题用题库存储考试中可能出现的全部试题以及试题与考题关键词的对应关系,并可以根据考题关键词自动筛选出所述考题关键词对应的全部试题,以供云服务器从中进行筛选以构建出用于发放至考生的试题。Secondly, the database includes a test question bank, which stores all the test questions that may appear in the test and the corresponding relationship between the test questions and the test question keywords, and can automatically filter out the test question keywords corresponding to the test question keywords according to the test question keywords. All test questions for the cloud server to filter from them to construct test questions for distribution to candidates.

在所述题库中,考生社会身份用于标识考生考题的难易程度,比如考生社会身份为本科生,则筛选出的试题难度较低;考生为硕士生,则筛选出的试题难度较高。需要接触的危险因素、课题组需要接触的危险因素、课题组一级应试信息和/或课题组二级应试信息表征了考生在考试中需要考到的知识点。比如,若需要接触的危险因素中含有“三氧化二砷”,在课题组需要接触的危险因素中含有“六福异丁烯”,课题组一级应试信息包括掌握“硫酸”,则考试涉及的知识点应该包括“三氧化二砷”、“六福异丁烯”和/或“硫酸”的内容。In the question bank, the social identity of the examinee is used to identify the difficulty level of the examinee's examination questions. For example, if the examinee's social identity is an undergraduate student, the selected examination questions are less difficult; if the examinee is a master's student, the selected examination questions are more difficult. The risk factors that need to be exposed, the risk factors that the research group needs to be exposed to, the first-level test-taking information of the research group, and/or the second-level test-taking information of the research group represent the knowledge points that candidates need to test in the exam. For example, if the risk factor to be exposed to contains "arsenic trioxide", the risk factor to be exposed to the research group contains "hexafluoroisobutene", and the level-one test information of the research group includes mastering "sulfuric acid", the knowledge points involved in the test should include " Arsenic trioxide", "hexafluoroisobutene" and/or "sulfuric acid".

在数据库构建好的前提下,云服务器基于所述数据库以及考试工位的支持,实现了全自动的自动面部识别的安全考试系统,所述云服务器中如图3所示,包括下述内容:On the premise that the database is well constructed, the cloud server realizes a fully automatic and automatic facial recognition security examination system based on the support of the database and the examination station. The cloud server, as shown in Figure 3, includes the following contents:

综合控制模块51,用于控制各个考试工位上的监控摄像头和考试装置。The integrated control module 51 is used to control the surveillance cameras and examination devices on each examination station.

考生识别模块52,用于获取考生面部特征数据,并根据所述面部特征数据获取考生信息。The candidate identification module 52 is configured to acquire the candidate's facial feature data, and acquire the candidate's information according to the facial feature data.

为了实现考生识别模块的内容,需要预先将考生面部特征照以及所涉及的专业领域、实验设备、实验耗材和/或可能接触的危化因素,预先输入数据库。In order to realize the content of the candidate identification module, it is necessary to pre-enter the database with the facial feature photos of the candidates, as well as the involved professional fields, experimental equipment, experimental consumables and/or possible exposure factors.

其中,实验设备和/或实验耗材为可选录入项,若实验设备和/或实验耗材为空,则按照图2所示自动获取考题关键词,若实验设备和/或实验耗材不为空,则在图2获取的考题关键词基础上,附加实验设备和/或实验耗材,并将附加结果作为最终的考题关键词;相应的,在题库中也记录有实验设备和/或实验耗材对应的考题。Among them, experimental equipment and/or experimental consumables are optional input items. If the experimental equipment and/or experimental consumables are empty, the test keywords will be automatically obtained as shown in Figure 2. If the experimental equipment and/or experimental consumables are not empty, On the basis of the test question keywords obtained in Figure 2, additional experimental equipment and/or experimental consumables are added, and the additional results are used as the final test question keywords; correspondingly, the corresponding experimental equipment and/or experimental consumables are also recorded in the question bank. exam questions.

进一步地,所述云服务器还包括:Further, the cloud server also includes:

试题调配模块,获取考生的考题关键词,并构建考试题目,并将所述考试题目下放至所述考生所在考试工位的考试装置之上。The test question allocation module obtains the key words of the test questions of the candidates, constructs the test questions, and distributes the test questions to the test device of the test station where the candidates are located.

实时监控模块,用于定期拍摄考生面部,以实现在考试过程中的全程监控。The real-time monitoring module is used to regularly photograph candidates' faces to achieve full monitoring during the exam.

试卷判改模块,用于考生答卷的判改和分数计算。The test paper correction module is used for the correction and score calculation of candidates' answer sheets.

所述的试卷判改模块可以用于执行以下步骤:步骤一,考试时间结束后,系统自动回收考生已作答的试卷;步骤二,系统将已作答的试卷答案同题库中的标准答案进行比对,判断正误;步骤三,根据考试结果计算出考生的最终成绩。The test paper judging and correction module can be used to perform the following steps: step 1, after the test time is over, the system automatically collects the test paper that the examinee has answered; step 2, the system compares the answer of the test paper that has been answered with the standard answer in the question bank. , judge right or wrong; step 3, calculate the final score of the examinee according to the test result.

具体地,所述试题调配模块如图4所示,包括:Specifically, the test question allocation module is shown in Figure 4, including:

信息提取模块61,用于获取考题关键词。The information extraction module 61 is used to obtain the keywords of the test questions.

程度判定模块62,用于根据所述考题关键词中的考生社会身份判断考题难度。The degree judgment module 62 is used for judging the difficulty of the test question according to the social identity of the examinee in the keyword of the test question.

题目获取与试卷生成模块63,根据考题难度判断结果和所述考题关键词,在题库中筛选出对应试题,并抽取一部分生成试卷。The question acquisition and test paper generation module 63 selects the corresponding test questions from the question bank according to the difficulty judgment result of the test questions and the test question keywords, and extracts a part to generate the test paper.

具体地,数据库中的题库可以有一个或多个,题目获取与试卷生成模块可以从不同的题库中抽取一定数量的考试题目,将这些题目按照随机次序组成试卷。Specifically, there can be one or more question banks in the database, and the question acquisition and test paper generation module can extract a certain number of test questions from different question banks, and form these questions into test papers in random order.

具体地,所述自动面部识别的安全考试系统在工作过程中,执行如图5所示的安全考试方法:Specifically, the safety examination system of the automatic facial recognition performs the safety examination method as shown in Figure 5 during the working process:

步骤一,考试前通过考试工位上的监控摄像头采集考生面部图像。Step 1: Before the exam, the facial images of the candidates are collected through the surveillance cameras on the exam workstations.

步骤二,自动将其和预设照片进行比对,当比对不匹配时,系统提示比对错误,考试终止;当比对匹配时,考生开始进入考试。In step 2, it is automatically compared with the preset photos. When the comparison does not match, the system prompts a comparison error and the test is terminated; when the comparison matches, the examinee begins to enter the test.

具体地,预设照片可以只有一张,也可以有多张。Specifically, there may be only one preset photo, or there may be multiple photos.

步骤三,考试过程中,对考生进行远程实时监控,每间隔指定时间对考生进行拍照比对。Step 3: During the examination, remote real-time monitoring is performed on the candidates, and the candidates are photographed and compared at specified time intervals.

可以通过监控摄像头对考生进行远程实时监控,每间隔指定时间,如2-3秒对考生进行拍照比对,防止考生中途作弊或替考。Remote real-time monitoring of candidates can be carried out through surveillance cameras, and candidates can be photographed and compared at specified intervals, such as 2-3 seconds, to prevent candidates from cheating or taking exams in the middle.

为了更明确说明本发明实施例的具体实施过程,举例如下:In order to more clearly illustrate the specific implementation process of the embodiment of the present invention, an example is as follows:

考生李明,在数据库中预先录入其个人信息:化学专业、硕士研究生、经常接触的危险因素:氰化钾、氢氟酸。并将个人一寸免冠电子照片上传至数据库。他申请于2017年9月11日9:00开始进行安全考试。在当日8:50,由监控摄像头拍摄他的面部特征照片并通过网络传输至云服务器,计算机进行比对后,发现比对匹配,开始进行考试。云服务器根据他个人信息首先提取关键词:“化学专业”、“硕士研究生”、“氰化钾”、“氢氟酸”,判断适合李明的安全考试程度为:化学类、难度中等、“氰化钾”和“氢氟酸”知识点题目。因此,系统根据这些条件在题库中选择适当的题目,生成试卷,发送至李明的考试终端。在考试过程中,每隔2-3秒摄像头进行一次面部特征照片摄取并传输至主服务器,考试负责人可通过主服务器实时监控考试情况。考试结束后,系统自动将李明的答题结果回收、批改试卷并计算得分。Candidate Li Ming, pre-entered his personal information in the database: chemistry major, master student, frequent exposure risk factors: potassium cyanide, hydrofluoric acid. And upload the personal one-inch bareheaded electronic photo to the database. He applied for the security exam to start at 9:00 on September 11, 2017. At 8:50 on the same day, a photo of his facial features was taken by a surveillance camera and transmitted to the cloud server through the network. After the computer did a comparison, it was found that the comparison matched, and the examination began. According to his personal information, the cloud server first extracts the keywords: "Chemistry", "Master's degree", "Potassium cyanide", "Hydrofluoric acid", and judges that the level of safety examination suitable for Li Ming is: Chemistry, medium difficulty, " Potassium cyanide" and "hydrofluoric acid" knowledge point topics. Therefore, the system selects appropriate questions from the question bank according to these conditions, generates test papers, and sends them to Li Ming's test terminal. During the exam, the camera takes a photo of facial features every 2-3 seconds and transmits it to the main server. The person in charge of the exam can monitor the exam situation in real time through the main server. After the test, the system automatically collects Li Ming's answer results, corrects the test paper and calculates the score.

考生刘敏,预先录入其个人信息:生物专业、教职工/课题组负责人、实验动物研究课题组、经常接触的危险因素:病原微生物、寄生虫。并将个人一寸免冠电子照片上传至云服务器。她申请于2017年10月10日12:00开始进行安全考试。在当日11:50,她进入考试系统,由监控摄像头拍摄他的面部特征照片并通过网络传输至云服务器,计算机进行比对后,发现比对匹配,开始进行考试。系统根据她个人信息首先提取关键词:“生物”、“实验动物研究课题组”(进一步可为课题组的相关信息)、“教职工”、“病原微生物”、“寄生虫”,判断适合刘敏的安全考试程度为:生物类、实验动物相关、难度较高、“病原微生物”和“寄生虫”知识点题目。因此,系统根据这些条件在题库中选择适当的题目,生成试卷,发送至刘敏用于考试的计算机终端。在考试过程中,每隔2-3秒摄像头进行一次面部特征照片摄取并传输至云服务器。考试结束后,系统自动将刘敏的答题结果回收、批改试卷并计算得分。Candidate Liu Min, pre-entered his personal information: biology major, faculty member/group leader, laboratory animal research group, frequently exposed risk factors: pathogenic microorganisms, parasites. And upload the personal one-inch bareheaded electronic photo to the cloud server. She applied to take the safety exam starting at 12:00 on October 10, 2017. At 11:50 on the same day, she entered the examination system, and the surveillance camera took a photo of his facial features and transmitted it to the cloud server through the network. After the computer performed the comparison, it found a match and began the examination. Based on her personal information, the system first extracts keywords: "biology", "experimental animal research group" (further, it can be related information of the research group), "faculty and staff", "pathogenic microorganisms", "parasites", and judges that it is suitable for Liu. The safety examination level of Min is: biology, laboratory animal-related, higher difficulty, "pathogenic microorganisms" and "parasites" knowledge points. Therefore, the system selects appropriate questions from the question bank according to these conditions, generates test papers, and sends them to Liu Min's computer terminal for the test. During the exam, the camera will take photos of facial features every 2-3 seconds and transmit them to the cloud server. After the test, the system automatically collects Liu Min's answer results, corrects the test paper and calculates the score.

实施例2:Embodiment 2:

如图6所示,本发明实施例使用实施例1所示的自动面部识别的安全考试系统,并对所述自动面部识别的安全考试系统的使用方式进行了具体描述。As shown in FIG. 6 , the embodiment of the present invention uses the automatic facial recognition security examination system shown in Embodiment 1, and specifically describes the usage of the automatic facial recognition security examination system.

本发明实施例中自动面部识别的安全考试系统可用于执行常规考7和动态考8两种考试模式,所述常规考7为一种统一、集中的考试模式,所述动态考8为一种订制、远程的考试模式。所述常规考包括准入考试71和相关专业期末考试72。所述动态考8包括危化品/特殊设备采购后领用前的考试81、安全检查后针对检查中存在的问题查漏补缺的考试82以及开展新项目前需通过的相关知识的考试83。The security examination system of automatic facial recognition in the embodiment of the present invention can be used to execute two examination modes: regular examination 7 and dynamic examination 8. The regular examination 7 is a unified and centralized examination mode, and the dynamic examination 8 is a kind of examination mode. Customized, remote exam mode. The regular exams include entrance exams 71 and final exams 72 for related majors. The dynamic test 8 includes the test 81 for hazardous chemicals/special equipment after purchase and before use, the test 82 for checking and filling vacancies after the safety inspection, and the test 83 for related knowledge that needs to be passed before launching a new project.

在常规考中,采用统一地点、集中考试的形式,考前核对考生的身份信息,试卷根据考生信息自动派发,相同专业的考生抽取的题库相同,但具体题目不一定相同,可有效避免作弊。In the regular test, the test takes the form of a unified location and a centralized test. The identity information of the candidates is checked before the test, and the test papers are automatically distributed according to the information of the candidates. Candidates of the same major draw the same question bank, but the specific questions are not necessarily the same, which can effectively avoid cheating.

其中准入考试的执行流程如图7所示,包括:The execution process of the admission test is shown in Figure 7, including:

A1:注册账号,填写个人信息。A1: Register an account and fill in personal information.

账号与数据库中的考生标识对应,个人信息也需要录入数据库以便于后续的自动出题。The account number corresponds to the candidate ID in the database, and personal information also needs to be entered into the database for subsequent automatic questioning.

A2:根据考生所在实验室及课题组,系统自动选定相应专业、难度的练习题,考生进行自学和模拟考。A2: According to the laboratory and subject group where the candidate is located, the system automatically selects the practice questions of the corresponding major and difficulty, and the candidate conducts self-study and mock exams.

A3:学校统一时间、统一地点安排准入考试,考生进行网上考试。试卷由考试系统根据考生信息派发。A3: The school arranges the admission test at the same time and place, and the candidates take the online test. The examination papers are distributed by the examination system according to the candidates' information.

A4:考试完成后,系统自动评分并统计合格/不合格人数。A4: After the exam is completed, the system will automatically score and count the number of pass/failures.

期末考试的执行流程如图8所示,包括:The execution flow of the final exam is shown in Figure 8, including:

B1:特定专业设置安全课程,作为必修或选修课,可设定0.5或1个学分。B1: Safety courses are set for specific majors. As a compulsory or elective course, 0.5 or 1 credit can be set.

B2:学校统一时间、统一地点安排准入考试,考生进行网上考试。试卷由考试系统根据考生信息派发。B2: The school arranges the admission test at the same time and place, and the candidates take the online test. The examination papers are distributed by the examination system according to the candidates' information.

B3:考试完成后,系统自动评分并统计合格/不合格人数。考试合格的学生获得学分。B3: After the exam is completed, the system will automatically score and count the number of pass/failures. Students who pass the exam receive credits.

动态考采用单独订制、远程监控的形式,只针对部分考生的部分需要,试卷根据考生信息自动派发。监考人员可通过在线监控,对考生进行面部识别和身份认证,完成远程考试。减轻了组织大型考场和大量监考人员的负担,且考试时间灵活,随时随地可以进行安全考试。The dynamic test adopts the form of separate customization and remote monitoring, which is only for the partial needs of some candidates, and the test papers are automatically distributed according to the candidates' information. Invigilators can perform facial recognition and identity authentication on candidates through online monitoring to complete remote exams. It reduces the burden of organizing a large examination room and a large number of invigilators, and the examination time is flexible, so that safe examinations can be conducted anytime, anywhere.

其中,危化品/特殊设备采购后领用前的考试的执行流程如图9所示,包括:Among them, the execution process of the examination before receiving the hazardous chemicals/special equipment after purchasing is shown in Figure 9, including:

C1.采购危化品或特殊设备,首先在采购商城上进行采购,物品寄送至专用库房暂存。C1. To purchase hazardous chemicals or special equipment, first make purchases on the purchase mall, and send the items to a special warehouse for temporary storage.

C2.采购人应网上填报领用申请,考试系统调拨关于该危化品或特殊设备相关安全知识的专项题目,采购人须通过考试后方可获得领用资格。C2. The purchaser should fill in the application for use online, and the examination system will allocate special questions about the safety knowledge related to the hazardous chemicals or special equipment. The purchaser must pass the examination before obtaining the qualification.

C3.该危化品或特殊设备涉及的使用人均应参加专项考试,如后期发现有未通过考试的人员自行使用该危化品或特殊设备,将责令其立即参加考试并进行批评教育。C3. All users involved in the hazardous chemicals or special equipment should take the special examination. If it is found later that any person who fails the examination uses the hazardous chemicals or special equipment by himself, he will be ordered to take the examination immediately and conduct criticism and education.

安全检查后针对检查中存在的问题查漏补缺的考试的执行流程如图10所示,包括:Figure 10 shows the execution flow of the examination to check for omissions and fill vacancies after the security inspection, including:

D1.在每次安全检查过后,将每个实验室各自的问题和缺点分别汇总,并在相关网站上进行公布。D1. After each safety inspection, summarize the respective problems and shortcomings of each laboratory and publish them on the relevant website.

D2.被公布的实验室中的相关工作人员,应在下次检查之前申请参加查漏补缺的专项考试,考试系统调拨本次安全检查中出现问题的相关题目。D2. Relevant staff in the announced laboratory should apply for the special exam for omissions and filling vacancies before the next inspection, and the exam system will allocate relevant questions that have problems in this safety inspection.

D3.各出现问题的实验室中所有相关人员均通过了查漏补缺考试,该次的安全检查才算结束。如未通过或未申请,则下次安全检查直接判定不合格,继续督促其整改。D3. All relevant personnel in each laboratory with problems have passed the examination of filling vacancies, and the safety inspection is not over until this time. If it fails or fails to apply, the next safety inspection will directly determine that it is unqualified, and continue to urge its rectification.

开展新项目前需通过的相关知识的考试的执行流程如图11所示,包括:Figure 11 shows the execution flow of the relevant knowledge exams that need to be passed before starting a new project, including:

E1.在某课题组申请了新课题或新项目的前提下,若涉及到新的安全知识,需在开展新项目之前向学校安全部门进行申报。E1. Under the premise that a research group has applied for a new subject or project, if new safety knowledge is involved, it must be reported to the school safety department before launching a new project.

E2.学校安全管理部门对即将开展的新课题进行安全评估和分析,重新确定该课题组成员需通过的安全考试级别。E2. The school safety management department conducts safety assessment and analysis on the new subject to be carried out, and re-determines the safety examination level that members of the subject group need to pass.

E3.如果重新评定的考试级别较之前有所提高,则需要该课题组的实验人员重新参加安全考试,题目由考试系统自动调拨。E3. If the re-assessed exam level is higher than the previous one, the experimenters of the subject group are required to retake the safety exam, and the questions will be automatically allocated by the exam system.

进一步地,考生也可以在考前重新进行模拟练习等。Further, candidates can also re-do simulation exercises before the test.

实施例3:Example 3:

在上述两个实施例中,均需要基于面部识别对考生进行监控或者对考生信息进行识别,为了提升识别率以及提升识别速度,本发明实施例提供一种考生识别方法,所述方法如图12所示,包括:In the above two embodiments, it is necessary to monitor candidates or identify candidates’ information based on facial recognition. In order to improve the recognition rate and improve the recognition speed, the embodiment of the present invention provides a method for identifying candidates. The method is shown in FIG. 12 . shown, including:

步骤1:对预设照片进行预处理,进行预设照片中面部器官的定位,并根据定位结果构建预设照片对应的特征向量,所述特征向量为已知特征向量。Step 1: Preprocess the preset photo, locate the facial organs in the preset photo, and construct a feature vector corresponding to the preset photo according to the positioning result, where the feature vector is a known feature vector.

步骤2:获取监控摄像头拍摄的图像,对图像进行预处理,进行面部器官的定位,并构造待匹配特征向量。Step 2: Acquire an image captured by a surveillance camera, preprocess the image, locate facial organs, and construct a feature vector to be matched.

步骤3:将已知特征向量与待匹配特征向量进行相似度匹配。Step 3: Perform similarity matching between the known feature vector and the feature vector to be matched.

步骤4:若匹配值高于识别门限,则匹配成功;否则,匹配失败。Step 4: If the matching value is higher than the identification threshold, the matching is successful; otherwise, the matching fails.

在面部预处理阶段包含了:面部图像增强、二值化处理、边缘检测以及图像尺寸归一化。The face preprocessing stage includes: face image enhancement, binarization, edge detection, and image size normalization.

面部器官定位模块从原始图像中进行面部轮廓的确定,本发明实施例中利用灰度差投影算法来定位面部轮廓,利用灰度差累加值来确定面部两侧边界线,计算量小,定位速度快,准确率高。在进行面部器官的定位的过程中,眼睛是定位的主要器官,它的定位准确率影响到后续的器官定位,接下来定位鼻尖和嘴巴,均采用积分投影法结合面部先验知识。利用定位出来的几何位置关系构造合适的特征向量。The facial organ localization module determines the facial contour from the original image. In the embodiment of the present invention, the grayscale difference projection algorithm is used to locate the facial contour, and the accumulated value of grayscale difference is used to determine the boundary lines on both sides of the face. The calculation amount is small, and the positioning speed is small. Fast and accurate. In the process of positioning facial organs, the eyes are the main organs for positioning, and its positioning accuracy affects the subsequent organ positioning. Next, the nose tip and mouth are located using the integral projection method combined with facial prior knowledge. Construct the appropriate feature vector using the located geometric position relationship.

具体地,本发明实施例中的图像增强方法主要为:Specifically, the image enhancement method in the embodiment of the present invention mainly includes:

把原始图像的灰度直方图从比较集中的某个灰度区间变成在全部灰度范围内的均匀分布,以便于对图像进行非线性拉仲,重新分配图像像素值,使一定灰度范围内的像素数量大致相同。具体地,所述图像增强方法是以累计分靠函数变换为基础的直方图修正法。若像素点的原灰度为R,变换后灰度为S,S是归一化后的灰度值,其灰度变换函数T(R)为:The grayscale histogram of the original image is changed from a certain grayscale interval in the comparison set to a uniform distribution in the entire grayscale range, so as to facilitate the nonlinear adjustment of the image, redistribute the image pixel values, and make a certain grayscale range. The number of pixels inside is about the same. Specifically, the image enhancement method is a histogram correction method based on cumulative score function transformation. If the original grayscale of the pixel is R, the transformed grayscale is S, and S is the normalized grayscale value, and its grayscale transformation function T(R) is:

Figure BDA0001478164740000121
其中PR是灰度值概率,nj是图像中第j级灰度的像素总数,n是像素总数,Rj是灰度值像素数目。
Figure BDA0001478164740000121
where P R is the gray value probability, n j is the total number of pixels of the jth gray level in the image, n is the total number of pixels, and R j is the number of gray value pixels.

在进行特征提取前,通常要进行图像的预处理,对于面部的识别,首要的工作是面部图像进行分割及主要器官的定位,应对面部图像进行尺度归一化。按照缩放系数进行图像的缩放,就得到了具有统一大小的校准图像。对于图像的缩放,首先,需要一个算法来定义空间变换本身,即按所需图像的大小完成像素点的增删和移动。同时,还需要一个灰度级插值的算法,以保持图像尽量不失真。Before feature extraction, image preprocessing is usually performed. For face recognition, the first task is to segment the face image and locate the main organs, and the scale of the face image should be normalized. By scaling the image according to the scaling factor, a calibration image with a uniform size is obtained. For image scaling, first of all, an algorithm is needed to define the spatial transformation itself, that is, to complete the addition, deletion and movement of pixels according to the size of the desired image. At the same time, a gray-level interpolation algorithm is needed to keep the image as undistorted as possible.

归一化处理后,通过投影曲线进一步确定眼睛、鼻尖、嘴巴等器官的位置。这种方法快速简单,可满足弱实时应用。After normalization, the positions of the eyes, nose tip, mouth and other organs are further determined through the projection curve. This method is fast and simple, and can satisfy weak real-time applications.

在器官识别过程中,最先定位眼睛。面部图像中眼睛部位的灰度值通常都比周围区域的灰度值小,利用该特征,常使用积分投影的方法来定位眼睛。通过积分投影函数可以反映出图像在水平或垂直方向上的总体灰度值情况,因此可以通过对眼区进行积分投影来判断瞳孔的位置。为了进一步增加眼睛定位的准确性,在积分投影法的基础上,融合对于水平方向灰度的考量,即眼部在水平方向灰度变化较大。在灰度变化突变处进行微分,将产生高值,将其绝对值累加,则灰度变化越大的那一行,累加值越大。以此即可定位眼睛。During the organ identification process, the eye is located first. The gray value of the eye part in the facial image is usually smaller than the gray value of the surrounding area. Using this feature, the method of integral projection is often used to locate the eyes. The overall gray value of the image in the horizontal or vertical direction can be reflected by the integral projection function, so the position of the pupil can be judged by integral projection of the eye area. In order to further increase the accuracy of eye positioning, on the basis of the integral projection method, the consideration of the horizontal gray level is fused, that is, the gray level of the eye changes greatly in the horizontal direction. Differentiating at the sudden change of gray level will generate a high value, and the absolute value of which will be accumulated, and the line with the larger gray level change will have a larger accumulated value. This will position the eye.

在眼睛被准确定位的基础上,各个其它器官被后续定位,并以此即可进行面部识别。On the basis of the accurate positioning of the eyes, various other organs are subsequently positioned, and then facial recognition can be performed.

以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above disclosures are only preferred embodiments of the present invention, and of course, the scope of the rights of the present invention cannot be limited by this. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.

Claims (6)

1.一种自动面部识别的安全考试系统,其特征在于,所述自动面部识别的安全考试系统包括监控摄像头和考试装置,所述监控摄像头和考试装置均与一云服务器通信连接;所述监控摄像头用于定时拍摄考生面部以获得考生面部特征数据,并将所述面部特征数据传输至云服务器;所述面部特征数据与考生信息一一对应;所述云服务器用于根据考生面部数据信息查找考生标识,并根据考生标识自动获取考题关键词,从而构建出用于发放至考生的试题;1. a security examination system of automatic facial recognition, is characterized in that, the security examination system of described automatic facial recognition comprises surveillance camera and examination device, and described surveillance camera and examination device are all connected with a cloud server communication; Described monitoring The camera is used to regularly photograph the examinee's face to obtain the examinee's facial feature data, and transmit the facial feature data to the cloud server; the facial feature data is in one-to-one correspondence with the examinee's information; the cloud server is used for searching according to the examinee's facial data information Candidate identification, and automatically obtain the test key words according to the candidate identification, so as to construct the test questions for distribution to the candidates; 所述云服务器执行下述考生识别方法:The cloud server executes the following candidate identification methods: 步骤1:对预设照片进行预处理,进行预设照片中面部器官的定位,并根据定位结果构建预设照片对应的特征向量,所述特征向量为已知特征向量;Step 1: preprocessing the preset photo, locating the facial organs in the preset photo, and constructing a feature vector corresponding to the preset photo according to the positioning result, where the feature vector is a known feature vector; 步骤2:获取监控摄像头拍摄的图像,对图像进行预处理,进行面部器官的定位,并构造待匹配特征向量;Step 2: acquiring the image captured by the surveillance camera, preprocessing the image, locating the facial organs, and constructing the feature vector to be matched; 步骤3:将已知特征向量与待匹配特征向量进行相似度匹配;Step 3: Perform similarity matching between the known feature vector and the feature vector to be matched; 步骤4:若匹配值高于识别门限,则匹配成功;否则,匹配失败;Step 4: If the matching value is higher than the identification threshold, the matching is successful; otherwise, the matching fails; 还设置有数据库,所述数据库存储有考试用题库以及考生信息,所述数据库与所述云服务器通信连接;所述数据库记录有考生信息,其记录方式为考生信息数据库表,所述考生信息数据库表中包括考生标识、考生面部数据信息、考生专业类别、考生社会身份、需要接触的危险因素以及备注六个字段;其中考生标识为主键,考生专业类别包含一个或多个专业内容,考生社会身份表明考生的学历信息或者就职信息;备注用于表明考生是否已经进入课题组,以及若考生已经进行某个课题组,则备注中还包括课题组标识;若考生已经进入课题组,则在自动构建考试题目的环节,还需要使用课题组数据管理表和课题组数据库表;所述课题组数据管理表中记录有课题组标识以及课题组标识与课题组数据库表的关系;所述数据库中存储有一张课题组数据管理表和多张课题组数据库表,以便于根据课题组标识快速定位课题组数据库表;所述课题组数据库表的内容包括课题组组员标识、课题组组员身份、课题组需要接触的危险因素、课题组一级应试信息和课题组二级应试信息;所述课题组组员身份用于表征考生在课题组的地位,“负责人”或者“普通团队成员”,如果是负责人,则需要满足课题组一级应试信息的要求,如果是普通团队成员,则只需要满足课题组二级应试信息的要求即可;Also provided with a database, the database stores the examination question bank and candidate information, the database is connected to the cloud server in communication; the database records the candidate information, and the recording method is the candidate information database table, the candidate information database The table includes six fields: candidate ID, candidate facial data information, candidate professional category, candidate social identity, risk factors to be contacted, and remarks; the candidate ID is the primary key, the candidate professional category contains one or more professional content, the candidate social identity Indicates the candidate's academic information or employment information; the remarks are used to indicate whether the candidate has entered the subject group, and if the candidate has already entered a subject group, the remarks also include the subject group identification; if the candidate has entered the subject group, it will be automatically constructed. For the examination questions, it is also necessary to use the research group data management table and the research group database table; the research group data management table records the research group identification and the relationship between the research group identification and the research group database table; the database stores a Zhang research group data management table and multiple research group database tables, so as to quickly locate the research group database table according to the research group identification; the content of the research group database table includes the identification of the research group member, the identity of the research group member, the research group Risk factors that need to be contacted, first-level test-taking information of the research group, and second-level test-taking information of the research group; the status of the research group member is used to indicate the candidate's status in the research group, "the person in charge" or "ordinary team member", if it is The person in charge needs to meet the requirements of the first-level test-taking information of the research group, and if he is an ordinary team member, he only needs to meet the requirements of the second-level test-taking information of the research group; 所述云服务器包括:综合控制模块,用于控制各个考试工位上的监控摄像头和考试装置;The cloud server includes: an integrated control module for controlling surveillance cameras and examination devices on each examination station; 考生识别模块,用于获取考生面部特征数据,并根据所述面部特征数据获取考生信息;The candidate identification module is used to obtain the candidate's facial feature data, and obtain the candidate's information according to the facial feature data; 试题调配模块,获取考生的考题关键词,并构建考试题目,并将所述考试题目下放至所述考生所在考试工位的考试装置之上;The test question allocation module obtains the key words of the test questions of the candidates, constructs the test questions, and assigns the test questions to the test device of the test station where the candidates are located; 实时监控模块,用于定期拍摄考生面部,以实现在考试过程中的全程监控;The real-time monitoring module is used to regularly photograph candidates' faces to achieve full monitoring during the exam; 试卷判改模块,用于考生答卷的判改和分数计算;The test paper correction module is used for the correction and score calculation of candidates' answer sheets; 所述考题关键词的获取方法包括:根据考生面部数据信息查找考生标识;The method for obtaining the key words of the test questions includes: searching for the examinee's identification according to the examinee's facial data information; 根据考生标识查找所述考生信息数据库表,得到其对应的考生专业类别、考生社会身份、需要接触的危险因素以及备注;Search the candidate information database table according to the candidate identification, and obtain the corresponding candidate's professional category, candidate's social identity, risk factors to be contacted, and remarks; 若备注内容为空,则以考生专业类别、考生社会身份和需要接触的危险因素作为考题关键词;If the content of the remarks is empty, the key words of the test questions will be the candidate's professional category, the candidate's social identity and the risk factors to be exposed to; 若备注内容不为空,则根据备注定位考生对应的课题组数据库表;If the content of the remarks is not empty, locate the database table of the subject group corresponding to the candidates according to the remarks; 在所述课题组数据库表中得到课题组组员身份、课题组需要接触的危险因素、课题组一级应试信息和课题组二级应试信息;若考生为负责人,则将考生专业类别、考生社会身份、需要接触的危险因素、课题组需要接触的危险因素和课题组一级应试信息作为考题关键词;若考生为普通团队成员,则将考生专业类别、考生社会身份、需要接触的危险因素、课题组需要接触的危险因素和课题组二级应试信息作为考题关键词;In the database table of the research group, the identity of the research group member, the risk factors that the research group needs to contact, the first-level test-taking information of the research group and the second-level test-taking information of the research group are obtained; Social identity, risk factors to be contacted, risk factors to be contacted by the research group, and first-level test-taking information of the research group are used as key words in the test questions; , the risk factors that the research group needs to be exposed to and the secondary examination information of the research group as the keywords of the test questions; 监控过程要求基于面部特征定位进行考生进行识别,利用灰度差投影算法来定位面部轮廓,利用灰度差累加值来确定面部两侧边界线,在进行面部器官的定位的过程中,眼睛是定位的主要器官;通过图像增强来进行面部特征的提取,把原始图像的灰度直方图从集中的某个灰度区间变成在全部灰度范围内的均匀分布,以便于对图像进行非线性拉伸,重新分配图像像素值,使预设灰度范围内的像素数量大致相同,若像素点的原灰度为R,变换后灰度为S,S是归一化后的灰度值,其灰度变换函数T(R)为:The monitoring process requires candidates to identify based on facial feature positioning, use the grayscale difference projection algorithm to locate the facial contour, and use the grayscale difference accumulated value to determine the boundary lines on both sides of the face. In the process of locating facial organs, the eyes are the location The main organs of the original image are extracted by image enhancement, and the grayscale histogram of the original image is changed from a certain grayscale interval to a uniform distribution in the entire grayscale range, so as to facilitate the nonlinear extraction of the image. Extend, redistribute the image pixel value, so that the number of pixels in the preset grayscale range is roughly the same, if the original grayscale of the pixel is R, the transformed grayscale is S, and S is the normalized grayscale value, which The grayscale transformation function T(R) is:
Figure DEST_PATH_IMAGE002
,其中PR是灰度值概率,nj是图像中第j级灰度的像素总数,n是像素总数,Rj是灰度值像素数目;在器官识别过程中,最先定位眼睛,通过积分投影函数反映出图像在水平或垂直方向上的总体灰度值情况,在积分投影法的基础上,在灰度变化突变处进行微分,将产生高值,将其绝对值累加,则灰度变化越大的那一行,累加值越大,定位眼睛。
Figure DEST_PATH_IMAGE002
, where PR is the gray value probability, nj is the total number of pixels of the jth gray level in the image, n is the total number of pixels, and Rj is the number of gray value pixels; in the process of organ recognition, the eye is first located, and the integral projection function It reflects the overall gray value of the image in the horizontal or vertical direction. On the basis of the integral projection method, differentiation is performed at the sudden change of gray level, which will generate a high value. If the absolute value is accumulated, the greater the gray level change. In that row, the larger the accumulated value, the more the eye is positioned.
2.根据权利要求1所述的自动面部识别的安全考试系统,其特征在于:在面部预处理阶段包含了:图像增强、二值化处理、边缘检测以及图像尺寸归一化。2. The security examination system of automatic face recognition according to claim 1, characterized in that: the face preprocessing stage includes: image enhancement, binarization processing, edge detection and image size normalization. 3.根据权利要求2所述的自动面部识别的安全考试系统,其特征在于,所述云服务器利用灰度差投影算法来定位面部轮廓,在进行面部器官的定位的过程中,眼睛是定位的主要器官接下来定位鼻尖和嘴巴,在定位过程中,采用积分投影法结合面部先验知识,利用定位出来的几何位置关系构造特征向量。3. the safety examination system of automatic facial recognition according to claim 2, is characterized in that, described cloud server utilizes grayscale difference projection algorithm to locate facial contour, in the process of carrying out the positioning of facial organ, eye is positioned Next, the main organs locate the tip of the nose and the mouth. In the process of localization, the integral projection method is used combined with the prior knowledge of the face, and the feature vector is constructed by using the geometric position relationship obtained by the localization. 4.根据权利要求3所述的自动面部识别的安全考试系统,其特征在于,所述图像增强包括把原始图像的灰度直方图从比较集中的某个灰度区间变成在全部灰度范围内的均匀分布,以便于对图像进行非线性拉伸,重新分配图像像素值,使一定灰度范围内的像素数量大致相同。4. the security examination system of automatic facial recognition according to claim 3, is characterized in that, described image enhancement comprises the grayscale histogram of original image from a certain grayscale interval in comparison set to become in all grayscale range In order to stretch the image non-linearly, redistribute the image pixel values, so that the number of pixels in a certain gray range is roughly the same. 5.根据权利要求4所述的自动面部识别的安全考试系统,其特征在于,图像增强的方法是以累计分布函数变换为基础的直方图修正法。5 . The security examination system of automatic face recognition according to claim 4 , wherein the method of image enhancement is a histogram correction method based on cumulative distribution function transformation. 6 . 6.根据权利要求3所述的自动面部识别的安全考试系统,其特征在于,所述尺寸归一化包括按照缩放系数进行图像的缩放,得到具有统一大小的校准图像;对于图像的缩放,首先,按所需图像的大小完成像素点的增删和移动,同时,还需要使用一个灰度级插值的算法,以保持图像尽量不失真。6. the safety examination system of automatic facial recognition according to claim 3, is characterized in that, described size normalization comprises carrying out the scaling of image according to scaling factor, obtains the calibration image with uniform size; For the scaling of image, first , to complete the addition, deletion and movement of pixels according to the size of the desired image, and at the same time, a gray-level interpolation algorithm is required to keep the image as undistorted as possible.
CN201711175592.0A 2017-11-22 2017-11-22 A secure examination system for automatic facial recognition Active CN107967660B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711175592.0A CN107967660B (en) 2017-11-22 2017-11-22 A secure examination system for automatic facial recognition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711175592.0A CN107967660B (en) 2017-11-22 2017-11-22 A secure examination system for automatic facial recognition

Publications (2)

Publication Number Publication Date
CN107967660A CN107967660A (en) 2018-04-27
CN107967660B true CN107967660B (en) 2020-10-27

Family

ID=62001451

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711175592.0A Active CN107967660B (en) 2017-11-22 2017-11-22 A secure examination system for automatic facial recognition

Country Status (1)

Country Link
CN (1) CN107967660B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110084206B (en) * 2019-04-30 2021-06-25 浙江国显科技有限公司 Intelligent examination room monitoring system and method thereof
CN113515976B (en) * 2020-04-10 2023-08-29 华中科技大学 An intelligent experimental inspection system based on multi-scene video analysis

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010026630A (en) * 2008-07-16 2010-02-04 Seiko Epson Corp Image retrieval device and image retrieval method
CN106384320A (en) * 2016-10-30 2017-02-08 安徽省艾佳信息技术有限公司 Test method based on random test questions
CN106448308A (en) * 2016-10-13 2017-02-22 佛山市炫鲸科技有限公司 Experiment safety examination method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010026630A (en) * 2008-07-16 2010-02-04 Seiko Epson Corp Image retrieval device and image retrieval method
CN106448308A (en) * 2016-10-13 2017-02-22 佛山市炫鲸科技有限公司 Experiment safety examination method and system
CN106384320A (en) * 2016-10-30 2017-02-08 安徽省艾佳信息技术有限公司 Test method based on random test questions

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于特征脸的面部识别技术研究;郝立涛;《中国优秀硕士学位论文全文数据库 信息科技辑》;20100815(第8期);第8、18、25-30、39-41、46段 *

Also Published As

Publication number Publication date
CN107967660A (en) 2018-04-27

Similar Documents

Publication Publication Date Title
CN107845300B (en) Real-time monitoring safety examination system
CN107818707B (en) Examination system capable of automatically setting questions
CN110009210B (en) A comprehensive evaluation method of students' listening level based on attention and concentration
CN108073888A (en) A kind of teaching auxiliary and the teaching auxiliary system using this method
CN110458735A (en) An intelligent examination room management system and method
CN107481566A (en) A computer teaching and teaching system based on cloud platform
CN108347490A (en) A kind of campus application apparatus and system based on biological identification technology
WO2019210575A1 (en) Real estate information enquiry method and apparatus, and computer device and storage medium
CN116823028A (en) Teaching quality evaluation system and method
CN107967660B (en) A secure examination system for automatic facial recognition
Alburaiki et al. Mobile based attendance system: face recognition and location detection using machine learning
CN105224920A (en) A kind ofly will proceed to the learning test diagnostic system on line under line
CN107784379A (en) A kind of application for studying abroad forecasting system and method
Dimitriadou et al. Using Student Action Recognition to Enhance the Efficiency of Tele-education.
KR100937923B1 (en) Practical Practice Test System
CN107818531B (en) A security examination system
CN206331491U (en) System of registering based on bluetooth and the double certifications of face
CN115529439B (en) Educational resource processing method, device, computer equipment and storage medium
Jiang [Retracted] Analysis of Students’ Role Perceptions and their Tendencies in Classroom Education Based on Visual Inspection
Baskaran et al. Using facial landmark detection on thermal images as a novel prognostic tool for emergency departments
Verma et al. Automated smart artificial intelligence-based proctoring system using deep learning
CN201867830U (en) Device used for identifying examinee identities and non-contact IC (integrated circuit) card type admission tickets
Rosa et al. Online Classroom Attendance System Based on RFID Technology and Cloud Computing
CN112116264A (en) Activity evaluation method and apparatus
CN117575862B (en) A personalized training guidance method and system for students based on knowledge graph

Legal Events

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