[go: up one dir, main page]

CN110363891A - An intelligent visitor system suitable for multiple scenarios - Google Patents

An intelligent visitor system suitable for multiple scenarios Download PDF

Info

Publication number
CN110363891A
CN110363891A CN201910597478.XA CN201910597478A CN110363891A CN 110363891 A CN110363891 A CN 110363891A CN 201910597478 A CN201910597478 A CN 201910597478A CN 110363891 A CN110363891 A CN 110363891A
Authority
CN
China
Prior art keywords
user
module
face
information
visitor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910597478.XA
Other languages
Chinese (zh)
Inventor
田联房
孙峥峥
杜启亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
South China University of Technology SCUT
Original Assignee
South China University of Technology SCUT
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 South China University of Technology SCUT filed Critical South China University of Technology SCUT
Priority to CN201910597478.XA priority Critical patent/CN110363891A/en
Publication of CN110363891A publication Critical patent/CN110363891A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/30Individual registration on entry or exit not involving the use of a pass
    • G07C9/32Individual registration on entry or exit not involving the use of a pass in combination with an identity check
    • G07C9/37Individual registration on entry or exit not involving the use of a pass in combination with an identity check using biometric data, e.g. fingerprints, iris scans or voice recognition
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/30Individual registration on entry or exit not involving the use of a pass
    • G07C9/38Individual registration on entry or exit not involving the use of a pass with central registration

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Computation (AREA)
  • Software Systems (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Multimedia (AREA)
  • Collating Specific Patterns (AREA)

Abstract

本发明公开了一种适用于多场景的智能访客系统,包括人脸检测模块,视频显示模块,数据库管理模块,人脸识别模块,访客信息显示模块,日志打印模块和系统显示界面。每一个模块都可以由python语言实现对应的软件模块,从而实现在云端服务器或终端设备上运行,进而实现对来访人员的检测、识别和信息管理。本发明能够大大降低对来访人员身份认证信息的要求,有效防止用户身份信息被冒用或盗用,提升访客接待效率和访客通行体验,简化管理员对访客信息的管理和查看流程,进而提升办公效率。

The invention discloses an intelligent visitor system applicable to multiple scenes, comprising a face detection module, a video display module, a database management module, a face recognition module, a visitor information display module, a log printing module and a system display interface. Each module can implement the corresponding software module by python language, so as to realize the operation on the cloud server or terminal equipment, and then realize the detection, identification and information management of visitors. The present invention can greatly reduce the requirements for identity authentication information of visitors, effectively prevent user identity information from being fraudulently used or embezzled, improve visitor reception efficiency and visitor experience, simplify the management and viewing process of visitor information by administrators, and further improve office efficiency .

Description

一种适用于多场景的智能访客系统An intelligent visitor system suitable for multiple scenarios

技术领域technical field

本发明涉及模式识别与智能系统的技术领域,尤其是指一种适用于多场景的智能访客系统。The invention relates to the technical field of pattern recognition and intelligent systems, in particular to an intelligent visitor system applicable to multiple scenarios.

背景技术Background technique

目前,许多企业、高校以及政府单位为了便于管理来访人员信息,提高接待时间准确度和办公效率,都会在门口、值班室或保卫处安置访客系统或安排值班人员,用于识别来访人员身份和记录来访人员信息。一方面,安排值班人员增加了单位的劳动成本,值班人员使用传统的纸质访客登记信息导致工作效率低下,还可能会出现来访人员信息难以辨别的情况;另一方面,目前一些单位使用的访客系统仍是通过刷卡、扫描手机二维码、指纹、手动输入密码等提供身份证明信息的方式识别来访人员身份,这些方式虽然从一定程度上提升了来访人员接待效率,但是仍会存在他人冒用、需要用户提供相应的身份证明信息的弊端。At present, in order to facilitate the management of visitor information, improve the accuracy of reception time and office efficiency, many enterprises, universities and government units will install visitor systems or arrange duty personnel at the door, duty room or security office to identify the identity of visitors and record them. Visitor information. On the one hand, arranging on-duty personnel increases the labor cost of the unit, and the use of traditional paper-based visitor registration information by the on-duty personnel leads to low work efficiency, and it may also be difficult to identify the information of visitors; on the other hand, some units currently use visitor registration information. The system still identifies visitors by swiping cards, scanning mobile phone QR codes, fingerprints, and manually entering passwords to provide identification information. Although these methods have improved the reception efficiency of visitors to a certain extent, there will still be fraudulent use by others. , The disadvantages of requiring users to provide corresponding identification information.

面对此类问题,多数单位采用了访客系统来替代值班人员,但是这类访客系统仍需要来访人员提供身份证明信息,如果来访人员忘记携带身份证明信息则无法认证身份,此类身份认证方式对来访人员不够友好。同时,采用传统的身份证明信息认证方式容易被他人冒用或盗用,存在较大的安全隐患。另外,此类访客系统一般是单一场景的,即要对不同的单位进行访问就需要提供不同的身份证明信息。比如,进入高校实验室如要指纹和输入密码,进入高校图书馆则需要刷学生卡。这就对来访人员提出了更高的身份认证需求,同时也降低了来访人员通过的效率。Faced with such problems, most units use visitor systems to replace on-duty personnel, but this type of visitor system still requires visitors to provide identification information. If the visitor forgets to carry the identification information, the identity cannot be authenticated. Visitors are not friendly enough. At the same time, the traditional identification information authentication method is easy to be fraudulently used or embezzled by others, and there are great security risks. In addition, this type of visitor system is generally for a single scenario, that is, different identification information needs to be provided to visit different units. For example, if you enter a university laboratory, you need to fingerprint and enter a password, and you need to swipe your student card to enter a university library. This puts forward higher identity authentication requirements for visitors, and also reduces the efficiency of visitors passing.

综合以上的问题,对于企业、高校以及政府单位管理来访人员信息,需要提出一种能够适用与多个场景的自动辨别来访人员信息的访客系统,该访客系统能准确快速辨别来访人员身份并作出响应,还应尽量减少系统对来访人员身份证明信息的要求,即使用统一友好的身份认证方式。Based on the above problems, for enterprises, universities and government units to manage visitor information, it is necessary to propose a visitor system that can automatically identify visitor information applicable to multiple scenarios. The visitor system can accurately and quickly identify the identity of visitors and respond , and should also minimize the system's requirements for the identification information of visitors, that is, use a unified and friendly identity authentication method.

发明内容Contents of the invention

本发明的目的在于克服现有技术的缺点与不足,提出了一种适用于多场景的智能访客系统,解决现有的访客系统对来访人员身份认证信息要求高、不友好的问题,消除来访人员身份认证信息容易被他人冒用或盗用的安全隐患,解决访客系统使用场景单一,需要来访人员提供多种身份认证信息的问题。提升了来访人员的用户体验,简化单位管理人员管理来访人员信息的流程,提高来访人员接待效率。The purpose of the present invention is to overcome the shortcomings and deficiencies of the prior art, and propose an intelligent visitor system suitable for multiple scenarios, which solves the problem that the existing visitor system requires high and unfriendly identity authentication information for visitors, and eliminates the need for visitors Identity authentication information is easy to be fraudulently used or stolen by others. It solves the problem that the visitor system has a single usage scenario and requires visitors to provide multiple identity authentication information. It improves the user experience of visitors, simplifies the process of managing visitor information by unit managers, and improves the efficiency of visitor reception.

为实现上述目的,本发明所提供的技术方案为:一种适用于多场景的智能访客系统,包括:In order to achieve the above purpose, the technical solution provided by the present invention is: an intelligent visitor system applicable to multiple scenarios, including:

人脸检测模块,用于实现对输入视频流中人脸的自动检测,输出视频图像中的人脸位置;The human face detection module is used to realize the automatic detection of the human face in the input video stream, and the human face position in the output video image;

视频显示模块,用于实现对人脸检测模块输出结果的可视化,并输出从原图中裁剪出的人脸图像;其中,该模块能够最多显示四路摄像头的检测结果,包括USB摄像头和远程网络摄像头,并能够最大化其中任何一路摄像头检测结果的显示区域;The video display module is used to realize the visualization of the output result of the face detection module, and output the face image cut out from the original image; wherein, the module can display the detection results of up to four cameras, including USB cameras and remote networks cameras, and can maximize the display area of the detection results of any one of the cameras;

数据库管理模块,用于实现对数据库中用户数据的注册、删除、修改和显示查看操作;The database management module is used to realize the registration, deletion, modification and display viewing operations of user data in the database;

人脸识别模块,用于实现对输入人脸图像在数据库中所属身份的识别,其身份信息包括:用户ID和用户名;输出此人与识别到的数据库中身份的相似度,以及此人到访时间和此人在数据库中的身份信息;The face recognition module is used to realize the identification of the identity of the input face image in the database, and its identity information includes: user ID and user name; output the similarity between this person and the identified identity in the database, and the identity of the person to the time of the visit and the identity of the person in the database;

访客信息显示模块,用于实现显示人脸识别模块输出的身份信息,相似度和来访人员的到访时间;The visitor information display module is used to display the identity information output by the face recognition module, the similarity and the visiting time of the visitor;

日志打印模块,用于实现记录人脸识别模块识别到的所有访客的信息,包括身份信息、相似度和到访时间,按日期进行归档后打印输出;The log printing module is used to record the information of all visitors identified by the face recognition module, including identity information, similarity and visit time, and print out after archiving by date;

系统显示界面,用于实现该访客系统与用户的信息交互,该界面包括视频显示区、LOGO显示区、访客信息显示区、用户信息输入栏和操作区。The system display interface is used to realize the information interaction between the visitor system and the user, and the interface includes a video display area, a LOGO display area, a visitor information display area, a user information input column and an operation area.

进一步,所述人脸检测模块包括摄像头或视频流读取模块和人脸检测器模块,其中:Further, the face detection module includes a camera or a video stream reading module and a face detector module, wherein:

所述摄像头或视频流读取模块负责从USB摄像头或远程网络摄像头或视频文件产生的视频流中依次读取图像,然后对图像数据进行预处理,预处理步骤包括图片格式转换、滤波去噪和直方图均衡化,最后将预处理后的图像送入人脸检测器模块;The camera or video stream reading module is responsible for sequentially reading images from the video stream produced by USB camera or remote network camera or video file, and then preprocessing the image data. The preprocessing steps include image format conversion, filtering and denoising and Histogram equalization, and finally the preprocessed image is sent to the face detector module;

所述人脸检测器模块负责对输入的图像进行人脸检测,并将检测结果送入视频显示模块;检测结果包括:检测到的人脸数目、检测到每一张人脸的置信度和检测到每一张人脸的位置信息;其中,人脸的位置信息是包含了此人脸的矩形框的参数,即矩形框左上角相对于原图左上角的坐标(x值,y值)和矩形框的长和宽。Described human face detector module is responsible for carrying out human face detection to the image of input, and detection result is sent into video display module; Detection result comprises: detected human face number, detects the confidence degree and detection of each human face to the position information of each face; wherein, the position information of the face is the parameter of the rectangular frame containing the face, that is, the coordinates (x value, y value) and The length and width of the rectangle.

进一步,所述视频显示模块包括视频处理模块和显示调整模块,其中:Further, the video display module includes a video processing module and a display adjustment module, wherein:

所述视频处理模块负责根据人脸检测的检测结果对原图进行以下处理:The video processing module is responsible for carrying out the following processing to the original image according to the detection result of face detection:

a、若未检测到人脸,原图不做处理,直接送入显示调整模块;a. If no face is detected, the original image will not be processed, and will be directly sent to the display adjustment module;

b、若检测到一个或一个以上人脸,将置信概率最大的人脸用绿色矩形框在原图画出,裁剪并输出到人脸识别模块;将其余检测到的人脸用蓝色矩形框在原图画出;b. If one or more faces are detected, draw the face with the highest confidence probability in the original image with a green rectangle frame, cut it out and output it to the face recognition module; frame the rest of the detected faces with a blue rectangle frame in the original image draw out;

所述显示调整模块负责显示视频处理模块对原图的处理结果,其根据原图所属的摄像头编号,将处理结果显示到系统显示界面的视频显示区的对应位置,并能够根据用户的指令最大化或最小化任何一路摄像头的视频显示区。The display adjustment module is responsible for displaying the processing result of the original image by the video processing module, and displays the processing result to the corresponding position of the video display area of the system display interface according to the camera number to which the original image belongs, and can maximize the image according to the user's instruction. Or minimize the video display area of any camera.

进一步,所述数据库管理模块包括数据库操作模块,具有注册、修改、删除、显示当前用户四项功能,其中:Further, the database management module includes a database operation module, which has four functions of registering, modifying, deleting, and displaying the current user, wherein:

所述数据库操作模块用于响应管理员的相应指令,包括注册新用户、修改用户信息、删除选中用户和显示当前已注册的用户数据列表;The database operation module is used to respond to the corresponding instructions of the administrator, including registering new users, modifying user information, deleting selected users and displaying a list of currently registered user data;

所述注册功能,即注册新用户,此功能需要提供一张新用户的脸部图像,该用户脸部图像能够在现场进行摄像头采集,也能够由新用户自助上传;还要输入用户想要注册的用户名;接着,系统会将此人脸图像送入人脸识别模块的特征提取器中,生成一个128维的特征码;系统会自动地为该用户分配一个唯一的用户ID;最后,由数据库操作模块将此用户的相关信息存储到数据库中,其中,所述相关信息包括用户ID、用户名、特征码和用户脸部图像;The registration function is to register a new user. This function needs to provide a face image of a new user. The user's face image can be collected by a camera on the spot, and can also be uploaded by the new user; The user name; then, the system will send this face image to the feature extractor of the face recognition module to generate a 128-dimensional feature code; the system will automatically assign a unique user ID to the user; finally, by The database operation module stores the relevant information of this user in the database, wherein the relevant information includes user ID, user name, feature code and user face image;

所述修改功能,即修改用户信息,除了不能修改用户ID,用户名、特征码和用户脸部图像都能够进行相应的修改;The modification function, that is, modifying user information, except that user ID cannot be modified, user name, feature code and user face image can be modified accordingly;

所述删除功能,即删除选中的某条用户数据;The deletion function is to delete a selected piece of user data;

所述显示当前用户功能,即在数据库管理界面显示当前数据库中已注册的所有用户信息。The function of displaying the current user is to display all registered user information in the current database on the database management interface.

进一步,所述人脸识别模块,包括特征提取器、数据库模块和访客信息生成模块,其中:Further, the face recognition module includes a feature extractor, a database module and a visitor information generation module, wherein:

所述特征提取器负责将输入的人脸图像转化为128维的特征码;The feature extractor is responsible for converting the input face image into a 128-dimensional feature code;

所述数据库模块一方面负责存储用户信息,另一方面负责检索用户数据库,找到与给定特征码最相似的用户数据,通过分别计算两个特征码的余弦相似度,一个是给定的特征码,另一个是数据库中的某一个特征码,得到这两个特征码对应人脸或身份的相似程度,从而确定给定特征码对应的人脸或身份;如果相似程度大于预先设定的阈值,则取相似度最大的作为识别结果,如果数据库中没有相似程度大于阈值的用户数据,则识别结果为该用户未注册;The database module is responsible for storing user information on the one hand, and is responsible for retrieving the user database on the other hand, finds the user data most similar to a given feature code, and calculates the cosine similarity of two feature codes respectively, one is a given feature code , the other is a certain feature code in the database, and the similarity of the two feature codes corresponding to the face or identity is obtained, so as to determine the face or identity corresponding to the given feature code; if the similarity is greater than the preset threshold, Then take the one with the highest similarity as the recognition result. If there is no user data with a similarity greater than the threshold in the database, the recognition result is that the user is not registered;

所述访客信息生成模块负责将识别到的用户身份信息和当前的时间一起发送给访客信息显示模块和日志打印模块。The visitor information generating module is responsible for sending the identified user identity information and the current time to the visitor information display module and the log printing module.

进一步,所述访客信息显示模块负责将访客信息显示到系统显示界面的访客信息显示区,如果该用户今日未到访,则将该用户的用户ID、用户名、相似度、到访时间、检测到的用户脸部图像和数据库中的用户脸部图像一并添加到访客信息显示区;如果今日已到访,则不添加。Further, the visitor information display module is responsible for displaying visitor information to the visitor information display area of the system display interface, if the user has not visited today, then the user ID, user name, similarity, visit time, detection The user's face image and the user's face image in the database are added to the visitor information display area together; if the visitor has visited today, it will not be added.

进一步,所述日志打印模块负责记录每一条检测到并识别的用户数据,包括用户ID、用户名、相似度和到访时间,并将今日的所有用户到访数据打印到一个日志文档中,最后放在今日日期命名的文件夹下。Further, the log printing module is responsible for recording each piece of detected and identified user data, including user ID, user name, similarity and visit time, and printing all user visit data today into a log file, and finally Put it under the folder named today's date.

进一步,所述视频显示区负责在系统界面上显示视频显示模块输出的内容;所述LOGO显示区负责在系统界面上显示该访客系统的名称;所述访客信息显示区负责在系统界面上显示访客信息显示模块输出的内容;所述用户信息输入栏负责接收用户输入的用户名,并发送到数据库管理模块;所述操作区负责与管理员进行交互,完成用户对数据库管理模块的操作。Further, the video display area is responsible for displaying the content output by the video display module on the system interface; the LOGO display area is responsible for displaying the name of the visitor system on the system interface; the visitor information display area is responsible for displaying the name of the visitor on the system interface. The content output by the information display module; the user information input column is responsible for receiving the user name input by the user and sending it to the database management module; the operation area is responsible for interacting with the administrator to complete the user's operation on the database management module.

本发明与现有技术相比,具有如下优点与有益效果:Compared with the prior art, the present invention has the following advantages and beneficial effects:

1、通过人脸检测并识别的方式认证来访人员身份,大大减低了对来访人员身份认证信息的要求;采用的是非接触式身份认证方式,大大提升了对来访人员的友好程度。1. The identity of the visitor is authenticated by face detection and recognition, which greatly reduces the requirements for the identity authentication information of the visitor; the non-contact identity authentication method is used, which greatly improves the friendliness of the visitor.

2、采用生物特征作为身份认证基础,能够有效防止他人冒用或盗用身份信息。2. Using biometrics as the basis of identity authentication can effectively prevent others from fraudulently using or stealing identity information.

3、来访人员可以使用自己的脸作为通行证,通过所有使用本发明所述的访客系统,可以便捷、高效地访问多种应用场景,同时,该系统可以快速认证来访人员身份,做到“到达即通行”地不停歇通过,大大提升了来访人员的接待效率。3. Visitors can use their own face as a pass. By using the visitor system described in the present invention, they can conveniently and efficiently visit various application scenarios. "passage" non-stop passage, greatly improving the reception efficiency of visitors.

4、通过视频显示模块,管理员可以实时看到多个入口的人员通行情况,便于管理员对来访人员的接待和管理。4. Through the video display module, the administrator can see the traffic situation of multiple entrances in real time, which is convenient for the administrator to receive and manage the visitors.

5、通过数据库管理模块,管理员可以方便地增加、修改、删除、查看数据库中信息。5. Through the database management module, administrators can easily add, modify, delete, and view information in the database.

6、通过访客信息显示模块和日志打印模块,管理员可以方便地了解和查看今日来访人员信息。6. Through the visitor information display module and the log printing module, administrators can easily understand and view today's visitor information.

附图说明Description of drawings

图1为系统各个模块的关系示意图。Figure 1 is a schematic diagram of the relationship between each module of the system.

图2为系统显示界面。Figure 2 shows the system display interface.

图3为系统显示界面示意图。Figure 3 is a schematic diagram of the system display interface.

具体实施方式Detailed ways

下面结合具体实施例对本发明作进一步说明。The present invention will be further described below in conjunction with specific examples.

本实施例所提供的适用于多场景的智能访客系统,是使用Pycharm软件和Python语言开发的在云端服务器或终端设备上(如NVIDIAJetson TX2)运行的访客系统,如图1所示,系统通过外接摄像头和内部模块,实现对来访人员脸部的检测和身份的识别,从而实现对来访人员信息的显示、记录和管理。它包括有:The intelligent visitor system applicable to multiple scenarios provided by this embodiment is a visitor system developed on a cloud server or a terminal device (such as NVIDIA Jetson TX2) developed using Pycharm software and Python language. As shown in Figure 1, the system is connected to The camera and internal modules realize the face detection and identity recognition of visitors, so as to realize the display, recording and management of visitor information. It includes:

人脸检测模块,主要实现对外接摄像头中视频流的人脸的自动检测,输出视频图像中的人脸位置和人脸的置信度。人脸位置包括检测到人脸矩形框左上角相对于原图左上角的坐标(x坐标和y坐标)和矩形框的长宽;人脸的置信度表示系统输出的人脸框内包含有人脸的概率;The face detection module mainly realizes the automatic detection of the face in the video stream in the external camera, and outputs the position of the face in the video image and the confidence of the face. The position of the face includes the coordinates (x coordinate and y coordinate) of the upper left corner of the detected face rectangle frame relative to the upper left corner of the original image and the length and width of the rectangle frame; the confidence of the face indicates that the face frame output by the system contains a human face The probability;

视频显示模块,主要实现对人脸检测模块输出结果的可视化,并输出从原图中裁剪出的人脸图像;其中,该模块可以最多显示四路摄像头(包括USB摄像头和远程网络摄像头)的检测结果,并可以最大化其中任何一路摄像头检测结果的显示区域,便于管理员对全局的来访人员信息的查看和某一路摄像头来访人员信息的查看;The video display module mainly realizes the visualization of the output result of the face detection module, and outputs the face image cut out from the original image; among them, this module can display the detection of up to four cameras (including USB cameras and remote network cameras) As a result, it can maximize the display area of the detection results of any one of the cameras, which is convenient for the administrator to view the overall visitor information and the visitor information of a certain camera;

数据库管理模块,主要实现对数据库中用户数据的注册、删除、修改和显示查看操作;The database management module mainly realizes the registration, deletion, modification and display viewing operations of user data in the database;

人脸识别模块,主要实现对输入人脸图像在数据库中所属身份的识别,其身份信息包括:用户ID和用户名。输出此人与识别到的数据库中身份的相似度,以及此人到访时间和此人在数据库中的身份信息;The face recognition module mainly realizes the identification of the identity of the input face image in the database, and its identity information includes: user ID and user name. Output the similarity between this person and the identified identity in the database, as well as the person's visit time and the person's identity information in the database;

访客信息显示模块,主要实现将访客信息显示到系统显示界面的访客信息显示区,访客信息包括人脸识别模块输出的身份信息,相似度和来访人员到访时间;The visitor information display module mainly realizes the display of visitor information to the visitor information display area of the system display interface. The visitor information includes the identity information output by the face recognition module, the similarity and the visitor's visit time;

日志打印模块,主要实现记录人脸识别模块识别到的所有访客的信息,包括身份信息,相似度和到访时间;按日期进行归档后打印输出;The log printing module mainly records the information of all visitors identified by the face recognition module, including identity information, similarity and visit time; archives by date and prints out;

系统显示界面,如图2和图3所示,主要实现该访客系统与用户的信息交互,该界面包括视频显示区、LOGO显示区、访客信息显示区、用户信息输入栏、操作区共五部分,具体如下:The system display interface, as shown in Figure 2 and Figure 3, mainly realizes the information interaction between the visitor system and the user. The interface includes five parts: video display area, LOGO display area, visitor information display area, user information input column, and operation area ,details as follows:

所述视频显示区负责在系统界面上显示视频显示模块输出的内容;The video display area is responsible for displaying the content output by the video display module on the system interface;

LOGO显示区负责在系统界面上显示该访客系统的名称;The LOGO display area is responsible for displaying the name of the visitor system on the system interface;

访客信息显示区负责在系统界面上显示访客信息显示模块输出的内容;The visitor information display area is responsible for displaying the output content of the visitor information display module on the system interface;

用户信息输入栏负责接收用户输入的用户名,并发送到数据库管理模块;The user information input column is responsible for receiving the user name input by the user and sending it to the database management module;

操作区负责与管理员进行交互,完成用户对数据库管理模块的操作。The operation area is responsible for interacting with the administrator to complete the user's operation on the database management module.

所述人脸检测模块包括摄像头或视频流读取模块和人脸检测器模块,其中:The face detection module includes a camera or a video stream reading module and a face detector module, wherein:

所述摄像头或视频流读取模块负责从摄像头的视频流中一帧一帧地读取图像,然后对每一帧图像数据进行预处理。预处理步骤为:首先对图像进行数据格式转换,转换成指定的数据类型(如float32)、颜色通道顺序(RGB);然后对图像进行高斯滤波,去除其中包含的噪声;接着对图像进行直方图均衡化,从一定程度上消除光照因素的影响。最后将预处理后的图像送入人脸检测器模块;The camera or video stream reading module is responsible for reading images frame by frame from the video stream of the camera, and then preprocessing each frame of image data. The preprocessing steps are: first, convert the data format of the image into a specified data type (such as float32) and color channel order (RGB); then perform Gaussian filtering on the image to remove the noise contained in it; then perform a histogram on the image Equalization eliminates the influence of light factors to a certain extent. Finally, the preprocessed image is sent to the face detector module;

所述人脸检测器模块负责对输入的图像进行人脸检测,并将检测结果送入视频显示模块;使用Multi-task convolutional neural network(MTCNN)作为人脸检测器。其检测结果包括:检测到的人脸数目、检测到每一张人脸的置信度和检测到每一张人脸的位置信息;其中,人脸的位置信息是包含了此人脸的矩形框的参数:即矩形框左上角相对于原图左上角的坐标(x值,y值)和矩形框的长和宽。The human face detector module is responsible for carrying out human face detection to the input image, and sending the detection result into the video display module; using Multi-task convolutional neural network (MTCNN) as the human face detector. The detection results include: the number of detected faces, the confidence level of each detected face, and the position information of each detected face; where the position information of a face is a rectangular frame containing the face Parameters: the coordinates (x value, y value) of the upper left corner of the rectangular frame relative to the upper left corner of the original image and the length and width of the rectangular frame.

所述视频显示模块包括视频处理模块和显示调整模块,其中:The video display module includes a video processing module and a display adjustment module, wherein:

所述视频处理模块负责根据人脸检测的检测结果对原图进行以下处理:The video processing module is responsible for carrying out the following processing to the original image according to the detection result of face detection:

a、若未检测到人脸,原图不做处理,直接送入显示调整模块;a. If no face is detected, the original image will not be processed, and will be directly sent to the display adjustment module;

b、若检测到一个或一个以上人脸,将置信概率最大的人脸用绿色矩形框在原图画出,裁剪并输出到人脸识别模块;将其余检测到的人脸用蓝色矩形框在原图画出。b. If one or more faces are detected, draw the face with the highest confidence probability in the original image with a green rectangle frame, cut it out and output it to the face recognition module; frame the rest of the detected faces with a blue rectangle frame in the original image Picture drawn.

所述显示调整模块负责显示视频处理模块对原图的处理结果。其根据原图所属的摄像头编号(即输入视频流的来源),将处理结果显示到系统显示界面的视频显示区的对应位置。当用户单击了某一路视频显示区时,如果该视频显示区是最小化状态,则将该视频显示区最大化;如果该视频显示区是最大化状态,则将该视频显示区最小化。The display adjustment module is responsible for displaying the processing result of the original image by the video processing module. It displays the processing result on the corresponding position of the video display area of the system display interface according to the camera number to which the original image belongs (that is, the source of the input video stream). When the user clicks a certain video display area, if the video display area is minimized, the video display area is maximized; if the video display area is maximized, the video display area is minimized.

所述数据库管理模块包括数据库操作模块,具有注册、修改、删除、显示当前用户四项功能,其中:The database management module includes a database operation module, which has four functions of registering, modifying, deleting and displaying current users, wherein:

所述数据库操作模块用于响应管理员的相应指令,包括注册新用户、修改用户信息、删除选中用户和显示当前已注册的用户数据列表;The database operation module is used to respond to the corresponding instructions of the administrator, including registering new users, modifying user information, deleting selected users and displaying a list of currently registered user data;

所述注册功能,即在数据库中添加新的用户,此功能需要提供一张新用户的脸部图像,该用户脸部图像可以在现场进行摄像头采集,也可以由新用户自助上传;还要输入用户想要注册的用户名;接着,系统会将此人脸图像送入人脸识别模块的特征提取器中,生成一个128维的特征码;系统会自动地为该用户分配一个唯一的用户ID;最后,由数据库操作模块将此用户的相关信息(包括用户ID,用户名,特征码,用户脸部图像)存储到数据库中;The registration function is to add a new user in the database. This function needs to provide a face image of a new user. This user face image can be collected by a camera on the spot, or can be uploaded by the new user by himself; The user name that the user wants to register; then, the system will send the face image to the feature extractor of the face recognition module to generate a 128-dimensional feature code; the system will automatically assign a unique user ID to the user ; At last, the user's relevant information (comprising user ID, user name, feature code, user face image) is stored in the database by the database operation module;

所述修改功能,即修改用户信息,除了用户ID不能修改,用户名、特征码和用户脸部图像都可以进行相应的修改;The modification function, i.e. modifying the user information, except that the user ID cannot be modified, the user name, feature code and user face image can be modified accordingly;

所述删除功能,即删除选中的某条用户数据;The deletion function is to delete a selected piece of user data;

所述显示当前用户功能,即在数据库管理界面显示当前数据库中已注册的所有用户信息,已注册用户信息包括用户ID、用户名和注册时保存的用户脸部图像。The function of displaying the current user is to display all registered user information in the current database on the database management interface, and the registered user information includes user ID, user name and user face image saved during registration.

所述人脸识别模块,包括特征提取器、数据库模块和访客信息生成模块,其中:The face recognition module includes a feature extractor, a database module and a visitor information generation module, wherein:

所述特征提取器负责将输入的人脸图像转化为128维的特征码,使用FaceNet:AUnified Embedding for Face Recognition and Clustering(FaceNet)作为特征提取器;The feature extractor is responsible for converting the input face image into a 128-dimensional feature code, using FaceNet: AUnified Embedding for Face Recognition and Clustering (FaceNet) as a feature extractor;

所述数据库模块,使用mySQL作为数据库模型,其功能是一方面负责存储用户信息,另一方面负责检索用户数据库,找到与给定特征码最相似的用户数据。通过分别计算两个特征码(一个是给定的特征码,另一个是数据库中的某一个特征码)的余弦相似度,得到这两个特征码对应人脸或身份的相似程度,从而确定给定特征码对应的人脸或身份;如果相似程度大于预先设定的阈值(如0.85),则取相似度最大的作为识别结果。如果数据库中没有相似程度大于阈值的用户数据,则识别结果为该用户未注册;The database module uses mySQL as the database model, and its functions are responsible for storing user information on the one hand, and retrieving the user database on the other hand to find the user data most similar to a given feature code. By calculating the cosine similarity of two feature codes (one is a given feature code and the other is a certain feature code in the database) respectively, the similarity of the two feature codes corresponding to the face or identity is obtained, so as to determine the given Determine the face or identity corresponding to the feature code; if the degree of similarity is greater than a preset threshold (such as 0.85), then take the one with the largest degree of similarity as the recognition result. If there is no user data with similarity greater than the threshold in the database, the identification result is that the user is not registered;

所述访客信息生成模块负责将识别到的用户身份信息和当前的时间一起发送给访客信息显示模块和日志打印模块。The visitor information generating module is responsible for sending the identified user identity information and the current time to the visitor information display module and the log printing module.

所述访客信息显示模块负责将访客信息显示到系统显示界面的访客信息显示区。如果该用户今日未到访,则将该用户的用户ID、用户名、相似度、到访时间、检测到的用户脸部图像和数据库中的用户脸部图像一并添加到访客信息显示区;如果今日已到访,则不添加。The visitor information display module is responsible for displaying visitor information in the visitor information display area of the system display interface. If the user has not visited today, then add the user's user ID, user name, similarity, visit time, detected user face image and user face image in the database to the visitor information display area; Do not add if already visited today.

所述日志打印模块,负责记录每一条检测到并识别的用户数据,包括用户ID、用户名、相似度、到访时间,并将今日的所有用户到访数据打印到一个日志文档中,最后放在今日日期命名的文件夹下。The log printing module is responsible for recording each detected and identified user data, including user ID, user name, similarity, and visit time, and prints all user visit data today into a log file, and finally puts Under the folder named today's date.

以上所述实施例只为本发明之较佳实施例,并非以此限制本发明的实施范围,故凡依本发明之形状、原理所作的变化,均应涵盖在本发明的保护范围内。The above-described embodiments are only preferred embodiments of the present invention, and are not intended to limit the scope of the present invention. Therefore, all changes made according to the shape and principles of the present invention should be covered within the protection scope of the present invention.

Claims (8)

1. a kind of intelligent visitor system suitable for more scenes characterized by comprising
Face detection module, the face position for realizing the automatic detection to face in input video stream, in output video image It sets;
Video display module for realizing the visualization to face detection module output result, and is exported and is cut out from original image Facial image;Wherein, which can at most show the testing result of four-way CCD camera, including USB camera and telenet Network camera, and the display area of any of them camera detection result all the way can be maximized;
Database management module checks operation for realizing registration, deletion, modification and the display to user data in database;
Face recognition module, for realizing to input facial image in the database belonging to identity identification, identity information packet It includes: User ID and user name;Output this person and the similarity and this person's visiting time of identity in the database recognized and this The identity information of people in the database;
Visitor information display module, for realizing the identity information of display face recognition module output, similarity and visiting personnel Visiting time;
Log print module, for realizing the information of all visitors that record face recognition module recognizes, including identity information, Similarity and visiting time print out after being filed by date;
System display interface, for realizing the information exchange of the guest system and user, which includes video viewing area, LOGO Viewing area, visitor information viewing area, user information input field and operating space.
2. a kind of intelligent visitor system suitable for more scenes according to claim 1, it is characterised in that: the face inspection Surveying module includes camera or video flowing read module and human-face detector module, in which:
What the camera or video flowing read module were responsible for generating from USB camera or telecommunication network camera or video file It is successively read image in video flowing, then image data is pre-processed, pre-treatment step includes picture format conversion, filtering Pretreated image is finally sent into human-face detector module by denoising and histogram equalization;
The human-face detector module is responsible for carrying out Face datection to the image of input, and will test result and be sent into video display mould Block;Testing result includes: the face number detected, detects the confidence level of each face and detect each face Location information;Wherein, the location information of face is to contain the parameter of the rectangle frame of this face, i.e., the rectangle frame upper left corner relative to The length and width of coordinate (x value, the y value) and rectangle frame in the original image upper left corner.
3. a kind of intelligent visitor system suitable for more scenes according to claim 1, it is characterised in that: the video is aobvious Show that module includes video processing module and display adjustment module, in which:
The video processing module is responsible for carrying out the following processing original image according to the testing result of Face datection:
If face a, is not detected, original image is not processed, and is sent directly into display adjustment module;
If b, detecting one or more faces, the maximum face of fiducial probability is drawn with green rectangle frame in original image, It cuts and is output to face recognition module;The face that remaining is detected is drawn with blue rectangle frame in original image;
The display adjustment module is responsible for showing processing result of the video processing module to original image, the camera shooting according to belonging to original image Processing result, is shown to the corresponding position of the video viewing area of system display interface, and can be according to the finger of user by head number Enable the video viewing area for maximizing or minimizing any camera all the way.
4. a kind of intelligent visitor system suitable for more scenes according to claim 1, it is characterised in that: the database Management module includes database operating modules, has registration, modification, deletes, display four Xiang Gongneng of active user, in which:
The database operating modules are used for the command adapted thereto of response management person, including register new user, modification user information, delete Except the user data list for choosing user current registered with display;
The registering functional registers new user, this function needs to provide the face image of a new user, user face figure As camera acquisition can be carried out at the scene, can also be uploaded by new user self-help;Also to input the user that user wants registration Name;Then, this facial image can be sent into the feature extractor of face recognition module by system, generate the feature of one 128 dimension Code;System automatically can distribute a unique User ID for the user;Finally, by database operating modules by the phase of this user Information storage is closed into database, wherein the relevant information includes User ID, user name, condition code and user's face image;
The modification function, i.e. modification user information, in addition to User ID, user name, condition code and user face figure cannot be modified As that can be modified accordingly;
The deletion function deletes certain user data chosen;
Display active user's function, i.e., registered all user's letters in data base administration interface display current database Breath.
5. a kind of intelligent visitor system suitable for more scenes according to claim 1, it is characterised in that: the face is known Other module, including feature extractor, database module and visitor information generation module, in which:
The feature extractor is responsible for converting the facial image of input to the condition code of 128 dimensions;
On the one hand the database module is responsible for storage user information, be on the other hand responsible for retrieval customer data base, find and to Determine the most like user data of condition code, by calculating separately the cosine similarity of two condition codes, one is given feature Code, the other is some condition code in database, obtains the similarity degree that the two condition codes correspond to face or identity, from And determine the given corresponding face of condition code or identity;If similarity degree is greater than preset threshold value, similarity is taken most Big is used as recognition result, if the user data for not having similarity degree to be greater than threshold value in database, recognition result is the use Family is unregistered;
The visitor information generation module is responsible for the subscriber identity information that will be recognized and the current time sends jointly to visitor Information display module and log print module.
6. a kind of intelligent visitor system suitable for more scenes according to claim 1, it is characterised in that: visitor's letter Breath display module is responsible for for visitor information being shown to the visitor information viewing area of system display interface, if the user does not arrive today It visits, then it will be in the User ID of the user, user name, similarity, visiting time, the user's face image and database that detect User's face image is added to visitor information viewing area together;If today has visited, do not add.
7. a kind of intelligent visitor system suitable for more scenes according to claim 1, it is characterised in that: the log is beaten Impression block is responsible for recording the user data that each is detected and identified, including when User ID, user name, similarity and visiting Between, and all users of today are visited into data-printing into a log document, finally it is placed on the file of date today name Under folder.
8. a kind of intelligent visitor system suitable for more scenes according to claim 1, it is characterised in that: the video is aobvious Show that area is responsible for showing the content of video display module output on system interface;It is responsible on system interface the viewing area LOGO Show the title of the guest system;It is responsible for showing that visitor information display module is defeated on system interface in the visitor information viewing area Content out;The user information input field is responsible for receiving the user name of user's input, and is sent to database management module;Institute It states operating space to be responsible for interacting with administrator, completes operation of the user to database management module.
CN201910597478.XA 2019-07-04 2019-07-04 An intelligent visitor system suitable for multiple scenarios Pending CN110363891A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910597478.XA CN110363891A (en) 2019-07-04 2019-07-04 An intelligent visitor system suitable for multiple scenarios

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910597478.XA CN110363891A (en) 2019-07-04 2019-07-04 An intelligent visitor system suitable for multiple scenarios

Publications (1)

Publication Number Publication Date
CN110363891A true CN110363891A (en) 2019-10-22

Family

ID=68218013

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910597478.XA Pending CN110363891A (en) 2019-07-04 2019-07-04 An intelligent visitor system suitable for multiple scenarios

Country Status (1)

Country Link
CN (1) CN110363891A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111476183A (en) * 2020-04-13 2020-07-31 腾讯科技(深圳)有限公司 Passenger flow information processing method and device
CN113190700A (en) * 2021-07-02 2021-07-30 成都旺小宝科技有限公司 Face snapshot, screening and storage method and system for real estate transaction
CN114291141A (en) * 2022-01-18 2022-04-08 中国铁道科学研究院集团有限公司通信信号研究所 Operation behavior management and control and statistics system of CTC system
CN116499086A (en) * 2023-04-24 2023-07-28 安徽奥克斯智能电气有限公司 Air conditioner control method, system, electronic device and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001037169A1 (en) * 1999-11-15 2001-05-25 Eye Ticket Corporation System and method for managing reservations and boarding for plural transportation carriers
US20020039447A1 (en) * 2000-08-29 2002-04-04 Imageid Ltd Indexing, storage and retrieval of digital images
CN103080951A (en) * 2010-08-23 2013-05-01 诺基亚公司 Method and apparatus for recognizing objects in media content
CN104765998A (en) * 2015-04-16 2015-07-08 国家电网公司 User identity reliably-verifying system based on face identification and using method thereof
CN205451095U (en) * 2015-12-02 2016-08-10 深圳市商汤科技有限公司 A face -identifying device
WO2016137169A1 (en) * 2015-02-27 2016-09-01 권병수 Hospital management system and method using face recognition
CN108133533A (en) * 2018-02-23 2018-06-08 王志强 A kind of synthesis door meets management system
CN108171840A (en) * 2017-12-28 2018-06-15 广东傲智创新科技有限公司 A kind of building control system based on recognition of face
CN207517087U (en) * 2017-11-29 2018-06-19 华南理工大学 A kind of intelligent access control system
CN109359548A (en) * 2018-09-19 2019-02-19 深圳市商汤科技有限公司 Multi-face recognition monitoring method and device, electronic device and storage medium
CN109389723A (en) * 2018-10-11 2019-02-26 平安科技(深圳)有限公司 Utilize the caller management method, device, computer equipment of recognition of face

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001037169A1 (en) * 1999-11-15 2001-05-25 Eye Ticket Corporation System and method for managing reservations and boarding for plural transportation carriers
US20020039447A1 (en) * 2000-08-29 2002-04-04 Imageid Ltd Indexing, storage and retrieval of digital images
CN103080951A (en) * 2010-08-23 2013-05-01 诺基亚公司 Method and apparatus for recognizing objects in media content
WO2016137169A1 (en) * 2015-02-27 2016-09-01 권병수 Hospital management system and method using face recognition
CN104765998A (en) * 2015-04-16 2015-07-08 国家电网公司 User identity reliably-verifying system based on face identification and using method thereof
CN205451095U (en) * 2015-12-02 2016-08-10 深圳市商汤科技有限公司 A face -identifying device
CN207517087U (en) * 2017-11-29 2018-06-19 华南理工大学 A kind of intelligent access control system
CN108171840A (en) * 2017-12-28 2018-06-15 广东傲智创新科技有限公司 A kind of building control system based on recognition of face
CN108133533A (en) * 2018-02-23 2018-06-08 王志强 A kind of synthesis door meets management system
CN109359548A (en) * 2018-09-19 2019-02-19 深圳市商汤科技有限公司 Multi-face recognition monitoring method and device, electronic device and storage medium
CN109389723A (en) * 2018-10-11 2019-02-26 平安科技(深圳)有限公司 Utilize the caller management method, device, computer equipment of recognition of face

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
GAOPENG GOU: "Video face recognition through multi-scale and optimization of margin distributions", 《PROCEDIA COMPUTER SCIENCE 》 *
刘一玮,杨韬,刘瑾: "基于余弦相似度的人脸识别系统的实现", 《电子技术与软件工程》 *
顾吉涛: "智能访客 系统 中的人脸检测及方 向判别算法", 《计算机应用与软件》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111476183A (en) * 2020-04-13 2020-07-31 腾讯科技(深圳)有限公司 Passenger flow information processing method and device
CN113190700A (en) * 2021-07-02 2021-07-30 成都旺小宝科技有限公司 Face snapshot, screening and storage method and system for real estate transaction
CN114291141A (en) * 2022-01-18 2022-04-08 中国铁道科学研究院集团有限公司通信信号研究所 Operation behavior management and control and statistics system of CTC system
CN116499086A (en) * 2023-04-24 2023-07-28 安徽奥克斯智能电气有限公司 Air conditioner control method, system, electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN205827465U (en) a guest system
CN110363891A (en) An intelligent visitor system suitable for multiple scenarios
CN105426137B (en) A kind of secure print auditing system based on face recognition
CN204680077U (en) A kind of Meeting Signature management system
US12332988B2 (en) Systems and methods for enhancing biometric matching accuracy
CN107483416A (en) The method and device of authentication
CN110516672A (en) Card information identification method, device and terminal
KR101984758B1 (en) Method of service related to animal based on blockchain and apparatus performing the same
CN101826151A (en) Method and system for human face comparison identity identification
CN106982426A (en) A method and system for remotely realizing the real-name registration of old cards
CN108877012A (en) Intelligent caller method and system
CN203480567U (en) Rental housing management system
CN107680294A (en) House property information querying method, system, terminal device and storage medium
CN101377860A (en) Intelligent caller management method
CN201413537Y (en) System for managing visitors of important units
CN108537028A (en) A kind of computer identity identifying system and method
CN106303599A (en) A kind of information processing method, system and server
CN211878614U (en) Self-service certificate receiving terminal
CN109635878A (en) A kind of painting and calligraphy fidelity identification method and device
CN107464316A (en) Intelligent caller machine and its operating system
CN117392790A (en) A method, system and equipment for borrowing and returning books based on visual recognition
CN108388672A (en) Lookup method, device and the computer readable storage medium of video
CN109697412A (en) A kind of identity card scanning record method based on OCR and face recognition technology
CN205827466U (en) a guest machine
CN104217504A (en) Identity recognition self-service terminal and corresponding certificate of house property printing terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191022