WO2017202169A1 - Access control data processing method, access control method, and electronic apparatus - Google Patents
Access control data processing method, access control method, and electronic apparatus Download PDFInfo
- Publication number
- WO2017202169A1 WO2017202169A1 PCT/CN2017/081884 CN2017081884W WO2017202169A1 WO 2017202169 A1 WO2017202169 A1 WO 2017202169A1 CN 2017081884 W CN2017081884 W CN 2017081884W WO 2017202169 A1 WO2017202169 A1 WO 2017202169A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- person
- door
- information
- personnel
- entering
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims description 36
- 238000003672 processing method Methods 0.000 title abstract description 10
- 230000000694 effects Effects 0.000 claims abstract description 163
- 238000001514 detection method Methods 0.000 claims description 104
- 241000282414 Homo sapiens Species 0.000 claims description 99
- 230000033001 locomotion Effects 0.000 claims description 35
- 238000012545 processing Methods 0.000 claims description 5
- 230000001815 facial effect Effects 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 9
- 238000012549 training Methods 0.000 description 8
- 238000012706 support-vector machine Methods 0.000 description 7
- 240000004050 Pentaglottis sempervirens Species 0.000 description 5
- 235000004522 Pentaglottis sempervirens Nutrition 0.000 description 5
- 238000013528 artificial neural network Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000000513 principal component analysis Methods 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000003550 marker Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000003449 preventive effect Effects 0.000 description 1
- 239000000700 radioactive tracer Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/30—Individual registration on entry or exit not involving the use of a pass
- G07C9/32—Individual registration on entry or exit not involving the use of a pass in combination with an identity check
- G07C9/37—Individual 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
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
Definitions
- the present invention relates to the field of access control technologies, and in particular, to an access control data processing method, an access control method, and an electronic device.
- Access control is a preventive measure against the door.
- the access control can guarantee the personal safety of human beings.
- the doors here include various passages that can pass, such as residential doors and passage gates.
- automatic access control can be realized to a certain extent.
- a camera is installed at the door. The outside person can actively align the camera in front of the door, and the face image is obtained by the camera and sent to the access control system, and the face is controlled by the access control system. Identification, thereby using the recognition result to control the passage and closing of the door.
- the current access control mode requires personnel to actively cooperate with the camera to complete face recognition, and waiting for personnel to cooperate to complete the face recognition time consumption is difficult to predict, resulting in inefficient access control.
- an access control data processing method an access control method, and an electronic device are provided.
- a method for processing access control data includes:
- the door opening instruction is output when the recognized user ID of the face belongs to the door opening authority.
- An access control method includes:
- the door opening instruction is output when the user identification has a door opening authority.
- An electronic device comprising a memory and a processor, the memory storing computer readable instructions, the computer readable instructions being executed by the processor such that the processor performs the following steps:
- the door opening instruction is output when the recognized user ID of the face belongs to the door opening authority.
- An electronic device comprising a memory and a processor, the memory storing computer readable instructions, the computer readable instructions being executed by the processor such that the processor performs the following steps:
- the door opening instruction is output when the user identification has a door opening authority.
- FIG. 1 is an application environment diagram of an access control system in an embodiment
- FIG. 2 is a schematic view showing the internal structure of a camera in an embodiment
- FIG. 3 is a schematic diagram showing the internal structure of an electronic device in an embodiment
- FIG. 4 is a schematic flow chart of a method for processing access control data in an embodiment
- FIG. 5 is a schematic diagram of a training and prediction process of a prediction model in an embodiment
- FIG. 6 is a flow chart showing the steps of an abnormal alarm in one embodiment
- FIG. 7 is a schematic flow chart of an access control method in an embodiment
- FIG. 8 is a structural block diagram of an electronic device in an embodiment
- FIG. 9 is a structural block diagram of an electronic device in another embodiment.
- FIG. 10 is a structural block diagram of an electronic device in an embodiment
- 11 is a block diagram showing the structure of an electronic device in another embodiment.
- an access control system including a camera 110, a face acquisition camera 120, and an access control device 130.
- the camera 110 may specifically be a normal camera of a depth camera or a non-depth camera, and the depth camera can not only capture images but also capture images. The distance from the target camera in the captured image to the depth camera is obtained.
- the camera 110 is configured to capture a sequence of images, obtain human activity information according to the image sequence, detect location information of the person who meets the intention of entering the door according to the personnel activity information, and send the location information of the person to the access control device.
- the face capture camera 120 is configured to collect an image including a face, and the collected image including the face can be sent to the access control device 130.
- the access control device 130 may be a server or a device dedicated to the access control, and the access control device 130 may perform targeted face recognition on the image including the face according to the location information of the person, and have the user identifier of the recognized face.
- the door opening command is output when the door is opened.
- a camera is provided that can be used as the camera 110 or the face acquisition camera 120.
- the camera includes a processor coupled through a system bus, a non-volatile storage medium, an image sensor, an internal memory, and a communication interface.
- the non-volatile storage medium of the camera stores an operating system, and further stores computer readable instructions.
- the processor can implement an access control data processing method.
- the processor is used to provide computing and control capabilities to support the operation of the entire camera.
- Computer readable instructions may be stored in the internal memory in the camera, the computer readable instructions being executable by the processor to cause the processor to perform an access control data processing method.
- the communication interface is for communicating with the access control device 130.
- Image sensors are used to capture images. It will be understood by those skilled in the art that the structure shown in FIG. 2 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation of the camera to which the solution of the present application is applied. The specific camera may include a ratio. More or fewer components are shown in the figures, or some components are combined, or have different component arrangements.
- an electronic device that can be used as the access control device 130.
- the electronic device includes a processor coupled through a system bus, a non-volatile storage medium, an internal memory, and a communication interface.
- the non-volatile storage medium of the electronic device stores an operating system, a database, and computer readable instructions.
- the database stores a correspondence between the user identifier and the opening permission.
- the computer readable instruction can be used to implement an access control method.
- the processor of the electronic device is used to provide computing and control capabilities to support the operation of the entire electronic device.
- Computer readable instructions may be stored in the internal memory of the electronic device, the computer readable instructions being The processor performs a method of access control.
- the communication interface is for communicating with the camera 110 and the face acquisition camera 120.
- the electronic device can be a server, and the server can be implemented by a separate server or a server cluster composed of multiple servers.
- FIG. 3 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the electronic device to which the solution of the present application is applied.
- the specific electronic device may be It includes more or fewer components than those shown in the figures, or some components are combined, or have different component arrangements.
- a method for processing access control data is provided.
- This embodiment is exemplified by the method applied to the camera 110 in the access control system of FIG.
- the method specifically includes the following steps:
- Step 402 Acquire an image sequence.
- the camera captures a sequence of images.
- the image sequence is a collection of images in which the images are arranged in chronological order of shooting.
- the images captured by the camera are arranged in chronological order to form an image sequence.
- the camera can be a top view camera.
- the bird's-eye view camera can take a bird's-eye view image to form a bird's-eye view sequence.
- the camera can be mounted on the top or above the wall of the person's height or at the top corner, allowing the camera to capture an image of the top view, with the camera's field of view covering at least the door.
- the overhead image is an image taken down from a position higher than the height of the person, and may be a plan view or a view with an oblique angle.
- the overhead image sequence is a sequence of images formed by chronologically arranging the overhead images captured by the camera, and the overhead image sequence may specifically be a video or a sequence of pictures.
- the time interval of the adjacent overhead image in the overhead image sequence can be set as needed.
- the frame rate of the overhead image sequence may be lower or higher than the frame rate threshold that the human eye can withstand.
- the frame rate of the overhead image sequence is the number of overhead images per unit time in the overhead image sequence, and the frame rate is high based on the sequence of the overhead image. The detection result is more accurate, and the frame rate is low, and the camera hardware resource consumption is small.
- Step 404 obtaining personnel activity information according to the image sequence.
- the personnel activity information is information that can reflect the activity of the personnel, and the camera can specifically detect each of the overhead images in the image sequence to obtain the personnel activity information.
- Camera can map The image sequence is sent to the server to receive the human activity information detected by the server and fed back by the server; the camera can also extract the feature for detecting the activity information of the person from the image sequence, and send the extracted feature to the server, and receive the server feedback.
- the activity information of the personnel obtained based on the extracted features.
- the human activity information may include at least one of a human body position, a human body orientation, a human body motion direction, and a human head orientation.
- the camera may specifically perform at least one of human body detection, human body orientation detection, human motion direction detection, and human head orientation detection on each of the top view images in the image sequence, thereby obtaining at least one of a human body position, a human body orientation, a human body motion direction, and a human head orientation.
- Human body detection, body orientation detection, human motion direction detection, and head orientation detection can all be obtained by using a pre-trained classifier.
- the classifier can be a Support Vector Machine (SVM) or a neural network.
- the classifier can be based on The corresponding sample training of the top view angle is obtained.
- SVM Support Vector Machine
- Step 406 Detecting a person who meets the intention of entering the door according to the personnel activity information.
- Step 407 Acquire location information of the person.
- the camera may predict whether the corresponding person meets the intention of entering the door according to the personnel activity information, and if the person who meets the intention of entering the door obtains the position information of the corresponding person; Persons who meet the intent of entering the door continue to obtain information on the activity of the person based on the sequence of images.
- the intention of entering the door reflects the probability of the corresponding person entering the door. If the intention of entering the door is met, it indicates that the probability of the corresponding person entering the door is high according to the information of the personnel activity; if the intention of entering the door is not met, the probability of the corresponding person entering the door is predicted according to the information of the personnel activity. . Whether or not the intent to enter the door can be obtained by inputting the personnel activity information into the pre-trained prediction model, and outputting whether or not the prediction result conforms to the intent of entering the door, and if so, obtaining the position information of the corresponding person.
- Step 408 Perform face recognition according to the location information of the person.
- Step 409 Output a door opening instruction when the identified user identifier of the face belongs to the door opening authority.
- the camera transmits location information of a person who meets the intention of entering the door to the access control device.
- the access control device acquires the location information of the person sent by the camera, and acquires the face acquisition camera The image captured by the head.
- the access control device can use the unified coordinate system to map the position information of the person to the collected image, and perform face recognition on the face image matching the position information of the person in the image collected by the face acquisition camera to obtain a face. Identify the results.
- the access control device determines the user identifier to which the face belongs according to the face recognition result, so as to query whether the user identifier has the right to open the door, and if the query has the permission to open the door, the door opening instruction is output.
- the door opening command can be output to a device that directly controls the passage and closing of the door, such as a door lock or a gate lock, so that the door can pass.
- the face recognition may employ a face recognition algorithm based on template matching, a subspace analysis face recognition algorithm, a Locality Preserving Projections (LPP) face recognition, a principal component analysis (PCA) algorithm, Eigenface method (based on KL transform), artificial neural network face recognition algorithm, and support vector machine face recognition algorithm.
- LPP Locality Preserving Projections
- PCA principal component analysis
- Eigenface method based on KL transform
- artificial neural network face recognition algorithm and support vector machine face recognition algorithm.
- the core idea of face recognition algorithm based on template matching uses a person's facial feature law to establish a stereoscopic model frame. After positioning the face position of the person, the model frame is used to locate and adjust the facial features of the person. Factors such as observation angle, occlusion, and expression changes during face recognition.
- the above-mentioned access control data processing method obtains the personnel activity information by using the image sequence, and uses the personnel activity information to detect the position information of the person who meets the intention of entering the door.
- the detected position information of the person is the position information of the person who meets the intention of entering the door, and then the targeted face recognition is performed according to the position information of the person, and the recognized face is used for the access control.
- the person who meets the intention of entering the door can be automatically judged, and the targeted face recognition can be performed, which can reduce the time consumption for the waiting person to actively cooperate with the face recognition, and improve the access control efficiency.
- the personnel activity information includes a human motion feature, an image sequence feature, and an image appearance feature.
- Step 406 specifically includes: detecting, by the trained predictive model, the human motion feature, the image sequence feature, and the image appearance feature. A person who meets the intention of entering the door.
- the human motion feature may include at least one of a human body position feature, a human body orientation feature, and a human head orientation feature, reflecting a feature of the human body in a bird's-eye view image.
- An image sequence feature is a feature between consecutive top-view images in an image sequence, including detection and follow-up between successive top-view images. Tracer changes in characteristics, such as human motion direction characteristics or human motion trajectory characteristics.
- the image appearance feature is a shape feature and a shape distribution feature in a top view image.
- the prediction model can adopt a model such as a support vector machine or a neural network.
- the corresponding human motion feature, image sequence feature and image apparent feature can be extracted from the training image sequence, and the specific training image sequence can be extracted by the human body detection and the human body to obtain the corresponding human motion feature, image sequence feature and The apparent features of the image, and then the prediction model can be obtained according to the motion characteristics of the person extracted from the training image sequence, the image sequence features and the apparent features of the image, and whether or not the marker data of the door is entered.
- the access control device may input the human motion feature, the image sequence feature, and the image appearance feature obtained from the image sequence into the trained prediction model to obtain a prediction result that conforms to the intent of entering the door.
- the personnel motion state, the image sequence feature, and the image appearance feature can more accurately describe the personnel activity status, so that the prediction model can accurately determine whether the corresponding person has the door intention and improve the accuracy of detecting the door intention. Sex, which in turn increases the efficiency of access control.
- the image sequence is acquired by the depth camera; the access control data processing method further includes: acquiring the personnel distance information corresponding to the personnel activity information; and the step 406 includes: detecting the intent to enter the door according to the personnel activity information and the personnel distance information; Personnel.
- the depth camera is a camera that can acquire not only the image but also the distance between the target and the depth camera in the image, such as TOF (Time offlight), which refers to atoms, molecules or sound waves, electromagnetic waves, etc., which propagate in the medium. Distance required time) camera or 3D laser camera.
- the camera can not only obtain the information of the personnel activity, but also obtain the corresponding personnel distance information, and the distance information of the person can reflect the distance of the corresponding person from the camera.
- the camera specifically inputs the personnel activity information and the personnel distance information into the prediction model, and outputs whether the prediction result conforms to the intention of entering the door. If the intent of entering the door is met, the camera acquires the location information of the person of the corresponding person.
- the prediction model is also trained by the personnel activity information obtained in the training image sequence and the corresponding personnel distance information during training.
- the personnel distance information is further considered, and the accuracy of detecting the intention of entering the door can be further improved, and the efficiency of the access control is further improved.
- the access control data processing method further includes the step of abnormal alarm, which specifically includes the following steps:
- Step 602 Obtain a human activity trajectory according to the image sequence.
- the human activity track is data describing the change of the position of the corresponding person over time.
- the camera can perform human body detection on the bird's-eye view image, and track the detected human body in the image sequence according to the human body detection result, thereby obtaining the human activity track of the corresponding person.
- the human activity track can be represented by a number of position points arranged in chronological order.
- step 604 the result of the person entering the door is obtained according to the trajectory of the person activity.
- the detection result of the personnel entering the door is the detection result of the fact that the person enters the door, and may also include the trajectory of the personnel movement of the corresponding person.
- the camera can detect whether the person's activity trajectory enters the door inner area from the outer door area, thereby obtaining a person entrance detection result of whether the person corresponding to the person activity track enters the door.
- the area inside the door refers to the area protected by the door controlled by the access control, generally the inner area of the room where the door is located; the area outside the door is the area within the field of view of the camera that does not belong to the area inside the door, generally the area outside the room where the door is located. .
- Step 606 Output an alarm message when the recognized face does not match the personnel entry detection result.
- the camera sends the personnel door detection result to the access control device, and specifically may only be sent when detecting the entry result of the person entering the door by the corresponding person.
- the access control device receives the door detection result, and determines whether the person corresponding to the recognized face matches the detection result of the person entering the door. If the match is matched, the detection may continue, and if not, the alarm information is output.
- Whether the recognized face and the person entering the door detection result match can be determined by judging whether the human activity track of the recognized face matches the person activity track of the entered person. If the identified human activity trajectory of the face is inconsistent with the trajectory of the person who has entered the door, or the position information of the person corresponding to the recognized face is inconsistent with the trajectory of the person who has entered the door, the recognized face and The identity of the entered personnel does not match. At this time, it is determined that the person corresponding to the recognized face does not match the detection result of the person entering the door, indicating that there may be a situation in which the face of another person is used for face recognition, and the alarm information may be output.
- the recognized face and the person entering the door detection result match, and can also be identified by judging Judging whether the number of faces matches the number of people who have entered the door. For example, if the recognized face is one, but the personnel entry detection result indicates that there are two entrance personnel, indicating that there may be trailing malicious personnel, and the alarm information can be output.
- the access control device may specifically output an alarm sound, control the alarm light to flash, send the alarm information to the designated mobile terminal, or combine two or more of the manners of outputting the alarm information, and may also adopt other The mode outputs alarm information.
- the access control device outputs an alarm message according to the matching result of the recognized face and the person entering the door detection result, and can output an alarm message when the matching result is not matched, and can perform an alarm reminder when the safety condition is met, but the security alarm is obtained.
- the person who goes to the alarm information can take corresponding measures against the access control scene with potential safety hazards to ensure the security of the access control.
- step 604 includes obtaining a human door detection result that the corresponding person has entered the door when the human activity trajectory passes from the outer door region through a line segment representing the door or more than one parallel line segment reaches the inner door region.
- the inner door area and the inner door area may be represented by corresponding line segments representing the door.
- the shape of the line segment is related to the projected shape of the door in the overhead image, and the line segment can be a straight line segment, a curved segment or a broken line segment.
- the number of doors in the overhead view image may be one or more, one of which may be represented by one line segment or by more than one parallel line segment.
- the two sides of the line segment are the inner door area and the outer door area respectively; when one door corresponds to more than one parallel line segment, the two sides of the parallel line segment are respectively the inner door area and the outer door area.
- the side-by-side line segment is a fault-tolerant area.
- the parallel line segments are a plurality of line segments that are substantially parallel, such as two or three parallel line segments.
- the personnel activity track passes from the outer door area to a door segment corresponding to a door to reach the door inner area, it can be determined that the corresponding person has entered the door.
- the trajectory of the personnel moves from the outside area to the area inside the door through the parallel line indicating the extra one corresponding to one door, it means that the corresponding person is not at the door, but does enter the door area, which can improve the door detection.
- the accuracy of the results can improve the accuracy of the alarm and prevent misjudgment.
- the predictive model may update the predictive model based on personnel information that meets the intent to enter, a face recognition result, and a person entry detection result that meets the entry intention of the person entering the door.
- the information of the person who meets the intention of entering the door includes the location information of the person who meets the intention of entering the door.
- the prediction model is iteratively trained by using the personnel information, the face recognition result and the personnel entry detection result that meet the intent of entering the door, so that the prediction result of the prediction model is more accurate, and the accuracy of the access control is improved.
- the various processes performed by the camera, the face capture camera, and the access control device described above may be performed locally or through remote server processing.
- an access control method is provided. This embodiment is applied to the access control device 130 in FIG. 1 to illustrate.
- the method specifically includes the following steps:
- Step 702 Obtain location information of the person who meets the intention of entering the door; the person who meets the intention of entering the door is detected according to the information of the personnel activity; and the information of the personnel activity is obtained according to the image sequence.
- the camera can acquire the image sequence, obtain the personnel activity information according to the image sequence, detect the position information of the person who meets the intention of entering the door according to the personnel activity information, and send the position information of the person to the access control device, and the access control device receives the entry. Location information of the intended person.
- the camera can acquire a sequence of images and send it to the access control device, which can obtain the activity information of the person according to the image sequence, and detect the position information of the person who meets the intention of entering the door according to the activity information of the person.
- the camera captures a sequence of images.
- the camera can be installed at the top or above the wall of the person's height or at the top corner, so that the camera can capture the image from the top view, and the camera's field of view covers at least the position of the door.
- the image sequence is a sequence of images formed by chronologically arranging the overhead images captured by the camera, and the image sequence may specifically be a video or a sequence of pictures.
- the time interval of adjacent overhead images in the image sequence can be set as desired.
- the frame rate of the image sequence can be lower or higher than the frame rate threshold that the human eye can withstand.
- the frame rate of the image sequence is the number of overhead images in the image sequence per unit time, and the frame rate is higher based on the detection result of the image sequence.
- the frame rate is low, and the camera hardware resource consumption is small.
- the personnel activity information is information that can reflect the activity of the personnel, and the camera can specifically detect each of the overhead images in the image sequence to obtain the personnel activity information.
- the camera can send the image sequence to the server to receive the human activity information detected by the server and fed back by the server; the camera can also extract the feature for detecting the activity information of the person from the image sequence, and send the extracted feature to the server. Receiving the personnel activity information detected by the server based on the extracted feature detection.
- the human activity information may include at least one of a human body position, a human body orientation, a human body motion direction, and a human head orientation.
- the camera may specifically perform at least one of human body detection, human body orientation detection, human motion direction detection, and human head orientation detection on each of the top view images in the image sequence, thereby obtaining at least one of a human body position, a human body orientation, a human body motion direction, and a human head orientation.
- Human body detection, body orientation detection, human motion direction detection, and head orientation detection can all be obtained by using a pre-trained classifier.
- the classifier can be a Support Vector Machine (SVM) or a neural network.
- the classifier can be based on The corresponding sample training of the top view angle is obtained.
- SVM Support Vector Machine
- the camera After the camera obtains the activity information of the personnel, it can predict whether the corresponding personnel meets the intention of entering the door through the trained prediction model according to the information of the personnel activity, and if the person who meets the intention of entering the door obtains the position information of the corresponding person; if it does not meet the intention of entering the door
- the personnel continue to obtain personnel activity information based on the image sequence.
- the intention of entering the door reflects the probability of the corresponding person entering the door. If the intention of entering the door is met, it indicates that the probability of the corresponding person entering the door is high according to the information of the personnel activity; if the intention of entering the door is not met, the probability of the corresponding person entering the door is predicted according to the information of the personnel activity. . Whether or not the intent to enter the door can be obtained by inputting the personnel activity information into the pre-trained prediction model, and outputting whether or not the prediction result conforms to the intent of entering the door, and if so, obtaining the position information of the corresponding person.
- Step 704 Perform face recognition according to the location information of the person.
- the access control device acquires the location information of the person sent by the camera, and acquires the image collected by the face acquisition camera.
- the access control device can use the unified coordinate system to map the position information of the person to the captured image, and the image collected by the face acquisition camera and the person The face image matched by the location information is subjected to face recognition to obtain a face recognition result.
- Step 706 Acquire a user identifier to which the recognized face belongs.
- Step 708 outputting a door opening instruction when the user identifier has the right to open the door.
- the access control device determines the user identifier to which the face belongs according to the face recognition result, so as to query whether the user identifier has the right to open the door, and if the query has the permission to open the door, the door opening instruction is output.
- the door opening command can be output to a device that directly controls the passage and closing of the door, such as a door lock or a gate lock, so that the door can pass.
- the face recognition may employ a face recognition algorithm based on template matching, a subspace analysis face recognition algorithm, a Locality Preserving Projections (LPP) face recognition, a principal component analysis (PCA) algorithm, Eigenface method (based on KL transform), artificial neural network face recognition algorithm, and support vector machine face recognition algorithm.
- LPP Locality Preserving Projections
- PCA principal component analysis
- Eigenface method based on KL transform
- artificial neural network face recognition algorithm and support vector machine face recognition algorithm.
- the core idea of face recognition algorithm based on template matching uses a person's facial feature law to establish a stereoscopic model frame. After positioning the face position of the person, the model frame is used to locate and adjust the facial features of the person. Factors such as observation angle, occlusion, and expression changes during face recognition.
- the above-mentioned access control method uses the image sequence to obtain the personnel activity information, thereby using the personnel activity information to detect the position information of the person who meets the intention of entering the door.
- the detected position information of the person is the position information of the person who meets the intention of entering the door, and then the targeted face recognition is performed according to the position information of the person, and the recognized face is used for the access control.
- the person who meets the intention of entering the door can be automatically judged, and the targeted face recognition can be performed, which can reduce the time consumption for the waiting person to actively cooperate with the face recognition, and improve the access control efficiency.
- the access control method further includes: acquiring a door detection result of the person; and outputting the alarm information when the recognized face does not match the detection result of the person entering the door.
- the access control device may obtain the detection result of the person entering the door sent by the camera, or may obtain the result of the door entry detection according to the image sequence sent by the camera.
- the results of the personnel entry detection can be obtained according to the trajectory of the personnel activity, and the trajectory of the human activity can be obtained according to the image sequence.
- the personnel activity information includes a person motion feature, an image sequence feature, and an image appearance feature; and obtaining location information of the person who meets the door intention, including: The sign, the image sequence feature and the image appearance feature are detected by the trained prediction model, and the position information of the corresponding person is obtained.
- obtaining location information of the person who meets the intent of entering the door includes: acquiring personnel distance information corresponding to the personnel activity information; and detecting location information of the person who meets the intention of entering the door according to the personnel activity information and the personnel distance information.
- the camera can perform human body detection on the top view image, and track the detected human body in the image sequence according to the human body detection result, thereby obtaining the human activity track of the corresponding person.
- the human activity track can be represented by a number of position points arranged in chronological order.
- the detection result of the personnel entering the door is the detection result of the fact that the person enters the door, and may also include the trajectory of the personnel movement of the corresponding person.
- the camera can detect whether the person's activity trajectory enters the door inner area from the outer door area, thereby obtaining a person entrance detection result of whether the person corresponding to the person activity track enters the door.
- the area inside the door refers to the area protected by the door controlled by the access control, generally the inner area of the room where the door is located; the area outside the door is the area within the field of view of the camera that does not belong to the area inside the door, generally the area outside the room where the door is located. .
- the camera sends the personnel entry detection result to the access control device, which can be sent only when the detection result of the person entering the door of the corresponding person is detected.
- the access control device receives the door detection result, and determines whether the person corresponding to the recognized face matches the detection result of the person entering the door. If the match is matched, the detection may continue, and if not, the alarm information is output.
- Whether the recognized face and the person entering the door detection result match can be determined by judging whether the human activity track of the recognized face matches the person activity track of the entered person. If the identified human activity trajectory of the face is inconsistent with the trajectory of the person who has entered the door, or the position information of the person corresponding to the recognized face is inconsistent with the trajectory of the person who has entered the door, the recognized face and The identity of the entered personnel does not match. At this time, it is determined that the person corresponding to the recognized face does not match the detection result of the person entering the door, indicating that there may be a situation in which the face of another person is used for face recognition, and the alarm information may be output.
- Whether the recognized face and the person entering the door detection result match can also be judged by judging whether the number of recognized faces and the number of people who have entered the door match. For example, if the recognized face is one However, the result of the personnel entry detection indicates that there are two people entering the door, indicating that there may be trailing malicious personnel, and the alarm information can be output.
- the access control device may specifically output an alarm sound, control the alarm light to flash, send the alarm information to the designated mobile terminal, or combine two or more of the manners of outputting the alarm information, and may also adopt other The mode outputs alarm information.
- the access control device outputs an alarm message according to the matching result of the recognized face and the person entering the door detection result, and can output an alarm message when the matching result is not matched, and can perform an alarm reminder when the safety condition is met, but the security alarm is obtained.
- the person who goes to the alarm information can take corresponding measures against the access control scene with potential safety hazards to ensure the security of the access control.
- the personnel door detection result is a result of a door entrance detection result obtained when a person activity track passes from a door outer area through a line segment representing the door or more than one side line segment reaches the door inner area, indicating that the corresponding person has entered the door.
- the human activity track is obtained from the image sequence.
- the in-door area and the in-door area may be represented by corresponding line segments representing the door.
- the shape of the line segment is related to the projected shape of the door in the overhead image, and the line segment can be a straight line segment, a curved segment or a broken line segment.
- the number of doors in the overhead view image may be one or more, one of which may be represented by one line segment or by more than one parallel line segment.
- the two sides of the line segment are the inner door area and the outer door area respectively; when one door corresponds to more than one parallel line segment, the two sides of the parallel line segment are respectively the inner door area and the outer door area.
- the side-by-side line segment is a fault-tolerant area.
- the parallel line segments are a plurality of line segments that are substantially parallel, such as two or three parallel line segments.
- the personnel activity track passes from the outer door area to a door segment corresponding to a door to reach the door inner area, it can be determined that the corresponding person has entered the door.
- the trajectory of the personnel moves from the outside area to the area inside the door through the parallel line indicating the extra one corresponding to one door, it means that the corresponding person is not at the door, but does enter the door area, which can improve the door detection.
- the accuracy of the results can improve the accuracy of the alarm and prevent misjudgment.
- the present application further provides an electronic device 800, electronic
- the internal structure of device 800 may correspond to the structure shown in FIG. 2, and each of the modules described below may be implemented in whole or in part by software, hardware, or a combination thereof.
- the electronic device 800 includes an image sequence acquisition module 801, a door intent detection module 802, and a transmission module 803.
- the image sequence obtaining module 801 is configured to acquire a sequence of images.
- the portal intention detecting module 802 is configured to obtain the personnel activity information according to the image sequence; and detect the location information of the person who meets the intention of entering the door according to the personnel activity information.
- the sending module 803 is configured to send the location information of the person to the access control device, so that the access control device performs face recognition according to the location information of the person, and outputs a door opening command when the identified user identifier of the face belongs to the door opening authority.
- the electronic device 800 obtains the person activity information by using the image sequence, and uses the person activity information to detect the position information of the person who meets the intention of entering the door.
- the detected position information of the person is the position information of the person who meets the intention of entering the door, and then the targeted face recognition is performed according to the position information of the person, and the recognized face is used for the access control.
- the person who meets the intention of entering the door can be automatically judged, and the targeted face recognition can be performed, which can reduce the time consumption for the waiting person to actively cooperate with the face recognition, and improve the access control efficiency.
- the human activity information includes a human motion feature, an image sequence feature, and an image appearance feature;
- the portal intent detection module 802 is configured to pass the trained predictive model based on the human motion feature, the image sequence feature, and the image appearance feature. A person who meets the intention of entering the door is detected and the location information of the corresponding person is obtained.
- the personnel motion state, the image sequence feature, and the image appearance feature can more accurately describe the personnel activity status, so that the prediction model can accurately determine whether the corresponding person has the door intention and improve the accuracy of detecting the door intention. Sex, which in turn increases the efficiency of access control.
- the image sequence is acquired by the depth camera; the door intention detection module 802 is further configured to acquire the personnel distance information corresponding to the personnel activity information; and the position information of the person who meets the door opening intention is detected according to the personnel activity information and the personnel distance information.
- the personnel distance information is further considered, and the accuracy of detecting the intention of entering the door can be further improved, and the efficiency of the access control is further improved.
- the electronic device 800 further includes: a door detection module 804, configured to obtain a human activity trajectory according to the image sequence; and obtain a human door detection result according to the human activity trajectory.
- a door detection module 804 configured to obtain a human activity trajectory according to the image sequence; and obtain a human door detection result according to the human activity trajectory.
- the sending module 803 is further configured to send a personnel door detection result to the access control device, so that the access control device outputs the alarm information when the recognized face does not match the personnel door detection result.
- the access control device outputs an alarm message according to the matching result of the recognized face and the person entering the door detection result, and can output an alarm message when the matching result is not matched, and can perform an alarm reminder when the safety condition is met, but the security alarm is obtained.
- the person who goes to the alarm information can take corresponding measures against the access control scene with potential safety hazards to ensure the security of the access control.
- the door detection module 804 is further configured to: when a person activity track passes from a door outer area through a line segment representing the door or more than one side line segment reaches the door inner area, the person who has entered the door of the corresponding person enters the door. Test results.
- the personnel activity track passes from the outer door area to a door segment corresponding to a door to reach the door inner area, it can be determined that the corresponding person has entered the door.
- the trajectory of the personnel moves from the outside area to the area inside the door through the parallel line indicating the extra one corresponding to one door, it means that the corresponding person is not at the door, but does enter the door area, which can improve the door detection.
- the accuracy of the results can improve the accuracy of the alarm and prevent misjudgment.
- an electronic device 1000 including: a personnel location information acquisition module 1001, a face recognition module 1002, and an access control module 1003.
- the person position information obtaining module 1001 is configured to obtain position information of a person who meets the intention of entering the door; the position information of the person is position information of the person who meets the intention of entering the door detected according to the personnel activity information; and the personnel activity information is obtained according to the image sequence.
- the face recognition module 1002 is configured to perform face recognition according to the location information of the person.
- the access control module 1003 is configured to obtain a user identifier to which the recognized face belongs; and output a door opening command when the user identifier has the right to open the door.
- the electronic device 1000 obtains the person activity information using the image sequence, and uses the person activity information to detect the position information of the person who meets the intention of entering the door.
- the location information of the detected person is The position information of the person who meets the intention of entering the door is used, and the targeted face recognition is performed according to the position information of the person, and the recognized face is used for the access control. In this way, the person who meets the intention of entering the door can be automatically judged, and the targeted face recognition can be performed, which can reduce the time consumption for the waiting person to actively cooperate with the face recognition, and improve the access control efficiency.
- the electronic device 1000 further includes: an alarm module 1004, configured to acquire a door detection result of the person; and output an alarm message when the recognized face does not match the door detection result.
- an alarm module 1004 configured to acquire a door detection result of the person; and output an alarm message when the recognized face does not match the door detection result.
- the access control device outputs an alarm message according to the matching result of the recognized face and the person entering the door detection result, and can output an alarm message when the matching result is not matched, and can perform an alarm reminder when the safety condition is met, but the security alarm is obtained.
- the person who goes to the alarm information can take corresponding measures against the access control scene with potential safety hazards to ensure the security of the access control.
- the personnel door detection result is a result of a door entrance detection result obtained when a person activity track passes from a door outer area through a line segment representing the door or more than one side line segment reaches the door inner area, indicating that the corresponding person has entered the door.
- the human activity track is obtained from the image sequence.
- the human activity trajectory passes from the outer door area to a line segment corresponding to one door to reach the inner door area, it can be determined that the corresponding person has entered the door.
- the trajectory of the personnel moves from the outside area to the area inside the door through the parallel line indicating the extra one corresponding to one door, it means that the corresponding person is not at the door, but does enter the door area, which can improve the door detection.
- the accuracy of the results can improve the accuracy of the alarm and prevent misjudgment.
- an electronic device includes a memory and a processor, the memory storing computer readable instructions, the computer readable instructions being executed by the processor, causing the processor to perform the steps of: acquiring an image sequence; Obtaining the activity information of the personnel; detecting the location information of the person who meets the intention of entering the door according to the information of the personnel activity; and transmitting the location information of the person to the access control device, so that the access control device performs face recognition according to the location information of the person, and identifies the When the user ID of the face belongs to the user, the door opening command is output.
- the personnel activity information includes a person motion feature, an image sequence feature, and an image appearance feature; and the location information of the person who meets the door intention is detected according to the personnel activity information, the package Including: according to the characteristics of the personnel movement, the characteristics of the image sequence and the appearance of the image, the trained prediction model is used to detect the person who meets the intention of entering the door, and obtain the position information of the corresponding person.
- the electronic device includes a depth camera that acquires a sequence of images; the computer readable instructions further cause the processor to perform the steps of: acquiring human distance information corresponding to the human activity information; and detecting the person in accordance with the intent to enter the door based on the personnel activity information
- the location information includes: detecting location information of a person who meets the intention of entering the door according to the personnel activity information and the personnel distance information.
- the computer readable instructions further cause the processor to: obtain a human activity trajectory according to the image sequence; obtain a human door detection result according to the human activity trajectory; and send a human door detection result to the access control device to enable the access control
- the device outputs an alarm message when the recognized face does not match the personnel entry detection result.
- obtaining a door entry detection result according to a human activity trajectory includes: when a person activity trajectory passes from a door outer area through a line segment representing the door or more than one side line segment reaches the door inner area, obtaining the corresponding person has The person entering the door enters the door to test the result.
- the electronic device obtains the person activity information by using the image sequence, and uses the person activity information to detect the position information of the person who meets the intention of entering the door.
- the detected position information of the person is the position information of the person who meets the intention of entering the door, and then the targeted face recognition is performed according to the position information of the person, and the recognized face is used for the access control.
- the person who meets the intention of entering the door can be automatically judged, and the targeted face recognition can be performed, which can reduce the time consumption for the waiting person to actively cooperate with the face recognition, and improve the access control efficiency.
- An electronic device comprising a memory and a processor, wherein the memory stores computer readable instructions, wherein when the computer readable instructions are executed by the processor, the processor performs the steps of: obtaining location information of a person who meets the intention of entering the door; The information is the location information of the person who meets the intention of entering the door according to the information of the personnel activity; the information of the personnel activity is obtained according to the image sequence; the face recognition is performed according to the location information of the person; and the user identifier to which the recognized face belongs is obtained; The door open command is output when the user logo has the right to open the door.
- the personnel activity information includes a person motion feature, an image sequence feature, and an image appearance feature; and obtaining location information of the person who meets the door intention, including: The sign, the image sequence feature and the image appearance feature are detected by the trained prediction model, and the position information of the corresponding person is obtained.
- obtaining location information of the person who meets the intent of entering the door includes: acquiring personnel distance information corresponding to the personnel activity information; and detecting location information of the person who meets the intention of entering the door according to the personnel activity information and the personnel distance information.
- the computer readable instructions further cause the processor to perform the steps of: obtaining a human door detection result; and outputting an alarm message when the recognized face does not match the human door detection result.
- the result of the door entry detection is that when a person activity track passes from a door outer area through a line segment representing the door or more than one side line segment reaches the door inner area, the obtained person indicating that the corresponding person has entered the door enters the door.
- the detection result; the human activity track is obtained according to the image sequence.
- the electronic device obtains the person activity information by using the image sequence, and uses the person activity information to detect the position information of the person who meets the intention of entering the door.
- the detected position information of the person is the position information of the person who meets the intention of entering the door, and then the targeted face recognition is performed according to the position information of the person, and the recognized face is used for the access control.
- the person who meets the intention of entering the door can be automatically judged, and the targeted face recognition can be performed, which can reduce the time consumption for the waiting person to actively cooperate with the face recognition, and improve the access control efficiency.
- the storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Image Analysis (AREA)
- Alarm Systems (AREA)
Abstract
An access control data processing method comprises: acquiring an image sequence (402); acquiring, according to the image sequence, personal activity information (404); detecting, according to the personal activity information, a person having intension of entering (406); acquiring location information of the person (407); performing, according to the location information of the person, facial recognition (408); and outputting, when a user identifier associated with the recognized face has an entry permission, a door opening command (409).
Description
本申请要求于2016年05月25日提交中国专利局,申请号为201610353026.3,发明名称为“门禁控制数据处理方法和装置、门禁控制方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims to be submitted to the Chinese Patent Office on May 25, 2016, the application number is 201610353026.3, and the title of the invention is the priority of the Chinese patent application entitled "Access Control Data Processing Method and Apparatus, Access Control Method and Apparatus", the entire contents of which are The citations are incorporated herein by reference.
本发明涉及门禁技术领域,特别是涉及一种门禁控制数据处理方法、门禁控制方法和电子设备。The present invention relates to the field of access control technologies, and in particular, to an access control data processing method, an access control method, and an electronic device.
门禁是对门的防范措施,通过门禁控制可以保障人类的人身安全,这里的门包括能够通行的各种通道,比如住宅门、通道闸口等。目前已经可以一定程度上实现自动化门禁控制,比如在门处安装摄像头,外来人员在门前可主动对准摄像头,由摄像头拍摄获得人脸图像后发送至门禁控制系统,由门禁控制系统进行人脸识别,从而利用识别结果控制门的通行和关闭。Access control is a preventive measure against the door. The access control can guarantee the personal safety of human beings. The doors here include various passages that can pass, such as residential doors and passage gates. At present, automatic access control can be realized to a certain extent. For example, a camera is installed at the door. The outside person can actively align the camera in front of the door, and the face image is obtained by the camera and sent to the access control system, and the face is controlled by the access control system. Identification, thereby using the recognition result to control the passage and closing of the door.
然而,目前的门禁控制方式,需要人员主动配合摄像头完成人脸识别,等待人员配合来完成人脸识别的时间消耗是难以预期的,导致门禁控制效率低下。However, the current access control mode requires personnel to actively cooperate with the camera to complete face recognition, and waiting for personnel to cooperate to complete the face recognition time consumption is difficult to predict, resulting in inefficient access control.
发明内容Summary of the invention
根据本申请的各种实施例,提供一种门禁控制数据处理方法、门禁控制方法和电子设备。According to various embodiments of the present application, an access control data processing method, an access control method, and an electronic device are provided.
一种门禁控制数据处理方法,包括:A method for processing access control data includes:
获取图像序列;Obtaining a sequence of images;
根据所述图像序列获得人员活动信息;
Obtaining human activity information according to the image sequence;
根据所述人员活动信息检测出符合进门意图的人员;Detecting a person who meets the intention of entering the door according to the information of the personnel activity;
获取所述人员的位置信息;Obtaining location information of the person;
根据所述人员的位置信息进行人脸识别;及Performing face recognition based on the location information of the person; and
在识别到的人脸所属用户标识具有开门权限时输出开门指令。The door opening instruction is output when the recognized user ID of the face belongs to the door opening authority.
一种门禁控制方法,包括:An access control method includes:
获取符合进门意图的人员的位置信息;所述符合进门意图的人员根据人员活动信息检测出;所述人员活动信息是根据图像序列得到的;Obtaining location information of the person who meets the intention of entering the door; the person who meets the intention of entering the door is detected according to the information of the personnel activity; and the information of the activity of the person is obtained according to the image sequence;
根据所述人员的位置信息进行人脸识别;Performing face recognition based on the location information of the person;
获取识别到的人脸所属的用户标识;及Obtaining the user ID to which the recognized face belongs; and
当所述用户标识具有开门权限时输出开门指令。The door opening instruction is output when the user identification has a door opening authority.
一种电子设备,包括存储器和处理器,所述存储器中储存有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行以下步骤:An electronic device comprising a memory and a processor, the memory storing computer readable instructions, the computer readable instructions being executed by the processor such that the processor performs the following steps:
获取图像序列;Obtaining a sequence of images;
根据所述图像序列获得人员活动信息;Obtaining human activity information according to the image sequence;
根据所述人员活动信息检测出符合进门意图的人员;Detecting a person who meets the intention of entering the door according to the information of the personnel activity;
获取所述人员的位置信息;Obtaining location information of the person;
根据所述人员的位置信息进行人脸识别;及Performing face recognition based on the location information of the person; and
在识别到的人脸所属用户标识具有开门权限时输出开门指令。The door opening instruction is output when the recognized user ID of the face belongs to the door opening authority.
一种电子设备,包括存储器和处理器,所述存储器中储存有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行以下步骤:An electronic device comprising a memory and a processor, the memory storing computer readable instructions, the computer readable instructions being executed by the processor such that the processor performs the following steps:
获取符合进门意图的人员的位置信息;所述符合进门意图的人员根据人员活动信息检测出;所述人员活动信息是根据图像序列得到的;Obtaining location information of the person who meets the intention of entering the door; the person who meets the intention of entering the door is detected according to the information of the personnel activity; and the information of the activity of the person is obtained according to the image sequence;
根据所述人员的位置信息进行人脸识别;Performing face recognition based on the location information of the person;
获取识别到的人脸所属的用户标识;及Obtaining the user ID to which the recognized face belongs; and
当所述用户标识具有开门权限时输出开门指令。
The door opening instruction is output when the user identification has a door opening authority.
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本发明的其它特征、目的和优点将从说明书、附图以及权利要求书变得明显。Details of one or more embodiments of the present application are set forth in the accompanying drawings and description below. Other features, objects, and advantages of the invention will be apparent from the description and appended claims.
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings to be used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present application, and other drawings can be obtained from those skilled in the art without any creative work.
图1为一个实施例中门禁控制系统的应用环境图;1 is an application environment diagram of an access control system in an embodiment;
图2为一个实施例中摄像头的内部结构示意图;2 is a schematic view showing the internal structure of a camera in an embodiment;
图3为一个实施例中电子设备的内部结构示意图;3 is a schematic diagram showing the internal structure of an electronic device in an embodiment;
图4为一个实施例中门禁控制数据处理方法的流程示意图;4 is a schematic flow chart of a method for processing access control data in an embodiment;
图5为一个实施例中预测模型的训练以及预测过程示意图;FIG. 5 is a schematic diagram of a training and prediction process of a prediction model in an embodiment; FIG.
图6为一个实施例中异常报警的步骤的流程示意图;6 is a flow chart showing the steps of an abnormal alarm in one embodiment;
图7为一个实施例中门禁控制方法的流程示意图;7 is a schematic flow chart of an access control method in an embodiment;
图8为一个实施例中电子设备的结构框图;FIG. 8 is a structural block diagram of an electronic device in an embodiment; FIG.
图9为另一个实施例中电子设备的结构框图;9 is a structural block diagram of an electronic device in another embodiment;
图10为一个实施例中电子设备的结构框图;FIG. 10 is a structural block diagram of an electronic device in an embodiment; FIG.
图11为另一个实施例中电子设备的结构框图。11 is a block diagram showing the structure of an electronic device in another embodiment.
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
如图1所示,在一个实施例中,提供了一种门禁控制系统,包括摄像头110、人脸采集摄像头120和门禁控制设备130。摄像头110具体可以是深度摄像头或者非深度摄像头的普通摄像头,深度摄像头不仅可以拍摄图像还可
以获得拍摄的图像中的目标距离该深度摄像头的距离。摄像头110用于拍摄图像序列,可根据图像序列获得人员活动信息,根据人员活动信息检测出符合进门意图的人员的位置信息,向门禁控制设备发送人员的位置信息。人脸采集摄像头120用于采集包含人脸的图像,可将采集到的包含人脸的图像发送到门禁控制设备130。门禁控制设备130可以是服务器或者专用于门禁控制的设备,门禁控制设备130可根据人员的位置信息对包含人脸的图像进行针对性地人脸识别,并在识别到的人脸所属用户标识具有开门权限时输出开门指令。As shown in FIG. 1, in one embodiment, an access control system is provided, including a camera 110, a face acquisition camera 120, and an access control device 130. The camera 110 may specifically be a normal camera of a depth camera or a non-depth camera, and the depth camera can not only capture images but also capture images.
The distance from the target camera in the captured image to the depth camera is obtained. The camera 110 is configured to capture a sequence of images, obtain human activity information according to the image sequence, detect location information of the person who meets the intention of entering the door according to the personnel activity information, and send the location information of the person to the access control device. The face capture camera 120 is configured to collect an image including a face, and the collected image including the face can be sent to the access control device 130. The access control device 130 may be a server or a device dedicated to the access control, and the access control device 130 may perform targeted face recognition on the image including the face according to the location information of the person, and have the user identifier of the recognized face. The door opening command is output when the door is opened.
如图2所示,在一个实施例中,提供了一种摄像头,可用作摄像头110或者人脸采集摄像头120。如图2所示,该摄像头包括通过系统总线连接的处理器、非易失性存储介质、图像传感器、内存储器和通信接口。其中,摄像头的非易失性存储介质存储有操作系统,还存储有计算机可读指令,该计算机可读指令被处理器执行时,可使得处理器实现一种门禁控制数据处理方法。该处理器用于提供计算和控制能力,支撑整个摄像头的运行。摄像头中的内存储器中可存储有计算机可读指令,该计算机可读指令被处理器执行时,可使得处理器执行一种门禁控制数据处理方法。通信接口用于与门禁控制设备130通信。图像传感器用于采集图像。本领域技术人员可以理解,图2中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的摄像头的限定,具体的摄像头可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。As shown in FIG. 2, in one embodiment, a camera is provided that can be used as the camera 110 or the face acquisition camera 120. As shown in FIG. 2, the camera includes a processor coupled through a system bus, a non-volatile storage medium, an image sensor, an internal memory, and a communication interface. The non-volatile storage medium of the camera stores an operating system, and further stores computer readable instructions. When the computer readable instructions are executed by the processor, the processor can implement an access control data processing method. The processor is used to provide computing and control capabilities to support the operation of the entire camera. Computer readable instructions may be stored in the internal memory in the camera, the computer readable instructions being executable by the processor to cause the processor to perform an access control data processing method. The communication interface is for communicating with the access control device 130. Image sensors are used to capture images. It will be understood by those skilled in the art that the structure shown in FIG. 2 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation of the camera to which the solution of the present application is applied. The specific camera may include a ratio. More or fewer components are shown in the figures, or some components are combined, or have different component arrangements.
如图3所示,在一个实施例中,提供了一种电子设备,可用作门禁控制设备130。该电子设备包括通过系统总线连接的处理器、非易失性存储介质、内存储器和通信接口。其中,该电子设备的非易失性存储介质存储有操作系统、数据库和计算机可读指令,数据库中存储用户标识与开门权限的对应关系,该计算机可读指令可用于实现一种门禁控制方法。该电子设备的处理器用于提供计算和控制能力,支撑整个电子设备的运行。该电子设备的内存储器中可储存有计算机可读指令,该计算机可读指令被处理器执行时,可使得
处理器执行一种门禁控制方法。通信接口用于与摄像头110和人脸采集摄像头120通信。电子设备可以是服务器,服务器可以用独立的服务器或者是多个服务器组成的服务器集群来实现。本领域技术人员可以理解,图3中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的电子设备的限定,具体的电子设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。As shown in FIG. 3, in one embodiment, an electronic device is provided that can be used as the access control device 130. The electronic device includes a processor coupled through a system bus, a non-volatile storage medium, an internal memory, and a communication interface. The non-volatile storage medium of the electronic device stores an operating system, a database, and computer readable instructions. The database stores a correspondence between the user identifier and the opening permission. The computer readable instruction can be used to implement an access control method. The processor of the electronic device is used to provide computing and control capabilities to support the operation of the entire electronic device. Computer readable instructions may be stored in the internal memory of the electronic device, the computer readable instructions being
The processor performs a method of access control. The communication interface is for communicating with the camera 110 and the face acquisition camera 120. The electronic device can be a server, and the server can be implemented by a separate server or a server cluster composed of multiple servers. A person skilled in the art can understand that the structure shown in FIG. 3 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the electronic device to which the solution of the present application is applied. The specific electronic device may be It includes more or fewer components than those shown in the figures, or some components are combined, or have different component arrangements.
如图4所示,在一个实施例中,提供了一种门禁控制数据处理方法,本实施例以该方法应用于上述图1中门禁控制系统中的摄像头110来举例说明。该方法具体包括如下步骤:As shown in FIG. 4, in an embodiment, a method for processing access control data is provided. This embodiment is exemplified by the method applied to the camera 110 in the access control system of FIG. The method specifically includes the following steps:
步骤402,获取图像序列。Step 402: Acquire an image sequence.
具体地,摄像头拍摄获得图像序列。图像序列是图像按拍摄的时间顺序排列后的图像集合。将摄像头拍摄得到的图像按时间顺序排列后形成图像序列。摄像头可以是俯视摄像头。俯视摄像头可以拍摄得到俯视图像,进而形成俯视图像序列。Specifically, the camera captures a sequence of images. The image sequence is a collection of images in which the images are arranged in chronological order of shooting. The images captured by the camera are arranged in chronological order to form an image sequence. The camera can be a top view camera. The bird's-eye view camera can take a bird's-eye view image to form a bird's-eye view sequence.
摄像头可安装在顶部或者高于人身高的墙壁处或者顶部墙角处,使得摄像头可以拍摄到俯视视角的图像,摄像头的视野至少覆盖门所在位置。俯视图像是从高于人员身高的位置向下拍摄得到的图像,可以是正俯视或者具有倾斜角度的俯视。The camera can be mounted on the top or above the wall of the person's height or at the top corner, allowing the camera to capture an image of the top view, with the camera's field of view covering at least the door. The overhead image is an image taken down from a position higher than the height of the person, and may be a plan view or a view with an oblique angle.
俯视图像序列是摄像头拍摄得到的俯视图像按时间顺序排列后形成的图像序列,俯视图像序列具体可以是视频或者图片序列。俯视图像序列中相邻俯视图像的时间间隔可根据需要设定。俯视图像序列的帧率可以低于或者高于人眼所能承受的帧率阈值,俯视图像序列的帧率是俯视图像序列中单位时间内的俯视图像的数量,帧率高基于俯视图像序列的检测结果更准确,帧率低对摄像头硬件资源消耗小。The overhead image sequence is a sequence of images formed by chronologically arranging the overhead images captured by the camera, and the overhead image sequence may specifically be a video or a sequence of pictures. The time interval of the adjacent overhead image in the overhead image sequence can be set as needed. The frame rate of the overhead image sequence may be lower or higher than the frame rate threshold that the human eye can withstand. The frame rate of the overhead image sequence is the number of overhead images per unit time in the overhead image sequence, and the frame rate is high based on the sequence of the overhead image. The detection result is more accurate, and the frame rate is low, and the camera hardware resource consumption is small.
步骤404,根据图像序列获得人员活动信息。 Step 404, obtaining personnel activity information according to the image sequence.
其中人员活动信息是可反映人员活动情况的信息,摄像头具体可对图像序列中的各个俯视图像进行检测,从而得到人员活动信息。摄像头可以将图
像序列发送到服务器,从而接收服务器反馈的由服务器检测到的人员活动信息;摄像头也可以从图像序列中提取出用于检测人员活动信息的特征,并将提取的特征发送到服务器,接收服务器反馈的根据提取的特征检测得到的人员活动信息。The personnel activity information is information that can reflect the activity of the personnel, and the camera can specifically detect each of the overhead images in the image sequence to obtain the personnel activity information. Camera can map
The image sequence is sent to the server to receive the human activity information detected by the server and fed back by the server; the camera can also extract the feature for detecting the activity information of the person from the image sequence, and send the extracted feature to the server, and receive the server feedback. The activity information of the personnel obtained based on the extracted features.
人员活动信息可以包括人体位置、人体朝向、人体运动方向以及人头朝向中的至少一种。摄像头具体可以对图像序列中的各个俯视图像进行人体检测、人体朝向检测、人体运动方向检测以及人头朝向检测中的至少一种,从而得到人体位置、人体朝向、人体运动方向以及人头朝向中的至少一种作为人员活动信息。人体检测、人体朝向检测、人体运动方向检测以及人头朝向检测都可以采用预先训练得到的分类器检测获得,分类器可以是支持向量机(Support Vector Machine,SVM)或者神经网络等,分类器可根据俯视角度的相应样本训练获得。The human activity information may include at least one of a human body position, a human body orientation, a human body motion direction, and a human head orientation. The camera may specifically perform at least one of human body detection, human body orientation detection, human motion direction detection, and human head orientation detection on each of the top view images in the image sequence, thereby obtaining at least one of a human body position, a human body orientation, a human body motion direction, and a human head orientation. A kind of information about personnel activities. Human body detection, body orientation detection, human motion direction detection, and head orientation detection can all be obtained by using a pre-trained classifier. The classifier can be a Support Vector Machine (SVM) or a neural network. The classifier can be based on The corresponding sample training of the top view angle is obtained.
步骤406,根据人员活动信息检测出符合进门意图的人员。Step 406: Detecting a person who meets the intention of entering the door according to the personnel activity information.
步骤407,获取所述人员的位置信息。Step 407: Acquire location information of the person.
具体地,摄像头得到人员活动信息后,便可以根据人员活动信息,通过已训练的预测模型对相应人员是否符合进门意图进行预测,若是符合进门意图的人员,则获取相应人员的位置信息;若是不符合进门意图的人员,则继续根据图像序列获得人员活动信息。Specifically, after the camera obtains the activity information of the personnel, the camera may predict whether the corresponding person meets the intention of entering the door according to the personnel activity information, and if the person who meets the intention of entering the door obtains the position information of the corresponding person; Persons who meet the intent of entering the door continue to obtain information on the activity of the person based on the sequence of images.
其中进门意图反映的是相应人员进门的概率,若符合进门意图则说明根据人员活动信息预测相应人员后续进门的概率高;若不符合进门意图则说明根据人员活动信息预测相应人员后续进门的概率低。是否符合进门意图可通过将人员活动信息输入到预先训练得到的预测模型,输出是否符合进门意图的预测结果,若符合则获取相应人员的位置信息。The intention of entering the door reflects the probability of the corresponding person entering the door. If the intention of entering the door is met, it indicates that the probability of the corresponding person entering the door is high according to the information of the personnel activity; if the intention of entering the door is not met, the probability of the corresponding person entering the door is predicted according to the information of the personnel activity. . Whether or not the intent to enter the door can be obtained by inputting the personnel activity information into the pre-trained prediction model, and outputting whether or not the prediction result conforms to the intent of entering the door, and if so, obtaining the position information of the corresponding person.
步骤408,根据所述人员的位置信息进行人脸识别。Step 408: Perform face recognition according to the location information of the person.
步骤409,在识别到的人脸所属用户标识具有开门权限时输出开门指令。Step 409: Output a door opening instruction when the identified user identifier of the face belongs to the door opening authority.
具体地,摄像头将符合进门意图的人员的位置信息发送到门禁控制设备。门禁控制设备获取到摄像头发送的人员的位置信息,并获取到人脸采集摄像
头采集到的图像。Specifically, the camera transmits location information of a person who meets the intention of entering the door to the access control device. The access control device acquires the location information of the person sent by the camera, and acquires the face acquisition camera
The image captured by the head.
门禁控制设备可利用统一的坐标系将人员的位置信息对应到采集到的图像中,对人脸采集摄像头采集到的图像中与人员的位置信息匹配的人脸图像进行人脸识别,得到人脸识别结果。The access control device can use the unified coordinate system to map the position information of the person to the collected image, and perform face recognition on the face image matching the position information of the person in the image collected by the face acquisition camera to obtain a face. Identify the results.
门禁控制设备根据人脸识别结果确定人脸所属用户标识,从而查询该用户标识是否具有开门权限,若查询到具有开门权限则输出开门指令。开门指令可输出到直接控制门通行和关闭的装置上,比如门锁或者闸门锁定器,使得门可以通行。The access control device determines the user identifier to which the face belongs according to the face recognition result, so as to query whether the user identifier has the right to open the door, and if the query has the permission to open the door, the door opening instruction is output. The door opening command can be output to a device that directly controls the passage and closing of the door, such as a door lock or a gate lock, so that the door can pass.
在一个实施例中,人脸识别可采用基于模板匹配的人脸识别算法、子空间分析人脸识别算法、局部保持投影(Locality Preserving Projections,LPP)人脸识别、主成分分析(PCA)算法、特征脸法(基于KL变换)、人工神经网络人脸识别算法以及支持向量机人脸识别算法中的任意一种。其中基于模板匹配的人脸识别算法核心思想利用人的脸部特征规律建立一个立体可调的模型框架,在定位出人的脸部位置后用模型框架定位和调整人的脸部特征部位,解决人脸识别过程中的观察角度、遮挡和表情变化等因素影响。In an embodiment, the face recognition may employ a face recognition algorithm based on template matching, a subspace analysis face recognition algorithm, a Locality Preserving Projections (LPP) face recognition, a principal component analysis (PCA) algorithm, Eigenface method (based on KL transform), artificial neural network face recognition algorithm, and support vector machine face recognition algorithm. The core idea of face recognition algorithm based on template matching uses a person's facial feature law to establish a stereoscopic model frame. After positioning the face position of the person, the model frame is used to locate and adjust the facial features of the person. Factors such as observation angle, occlusion, and expression changes during face recognition.
上述门禁控制数据处理方法,利用图像序列得到人员活动信息,从而利用人员活动信息检测出符合进门意图的人员的位置信息。检测到的人员的位置信息是符合进门意图的人员的位置信息,再根据该人员的位置信息进行针对性地人脸识别,进而利用识别出的人脸进行门禁控制。这样可以自动判断符合进门意图的人员,并进行针对性地人脸识别,可减少等待人员主动配合进行人脸识别的时间消耗,提高了门禁控制效率。The above-mentioned access control data processing method obtains the personnel activity information by using the image sequence, and uses the personnel activity information to detect the position information of the person who meets the intention of entering the door. The detected position information of the person is the position information of the person who meets the intention of entering the door, and then the targeted face recognition is performed according to the position information of the person, and the recognized face is used for the access control. In this way, the person who meets the intention of entering the door can be automatically judged, and the targeted face recognition can be performed, which can reduce the time consumption for the waiting person to actively cooperate with the face recognition, and improve the access control efficiency.
在一个实施例中,人员活动信息包括人员运动特征、图像序列特征和图像表观特征;步骤406具体包括:根据人员运动特征、图像序列特征和图像表观特征,通过已训练的预测模型检测出符合进门意图的人员。In one embodiment, the personnel activity information includes a human motion feature, an image sequence feature, and an image appearance feature. Step 406 specifically includes: detecting, by the trained predictive model, the human motion feature, the image sequence feature, and the image appearance feature. A person who meets the intention of entering the door.
具体地,人员运动特征可以包括人体位置特征、人体朝向特征以及人头朝向特征中的至少一种,反映的是人体在俯视图像中的特征。图像序列特征是图像序列中连续俯视图像之间的特征,包括连续俯视图像之间检测到和跟
踪的人员变化特征,比如人体运动方向特征或者人体运动轨迹特征。图像表观特征是俯视图像中的形状特征以及形状分布特征。Specifically, the human motion feature may include at least one of a human body position feature, a human body orientation feature, and a human head orientation feature, reflecting a feature of the human body in a bird's-eye view image. An image sequence feature is a feature between consecutive top-view images in an image sequence, including detection and follow-up between successive top-view images.
Tracer changes in characteristics, such as human motion direction characteristics or human motion trajectory characteristics. The image appearance feature is a shape feature and a shape distribution feature in a top view image.
预测模型可采用支持向量机或者神经网络等模型。参照图5,训练图像序列中可提取出相应的人员运动特征、图像序列特征和图像表观特征,具体训练图像序列可经过人体检测和人体跟踪后提取得到相应的人员运动特征、图像序列特征和图像表观特征,进而预测模型可根据训练图像序列中提取出的人员运动特征、图像序列特征和图像表观特征,以及是否进门的标记数据,进行训练获得。在执行步骤406时,门禁控制设备可将从图像序列中获得的人员运动特征、图像序列特征和图像表观特征输入训练得到的预测模型,获得是否符合进门意图的预测结果。The prediction model can adopt a model such as a support vector machine or a neural network. Referring to FIG. 5, the corresponding human motion feature, image sequence feature and image apparent feature can be extracted from the training image sequence, and the specific training image sequence can be extracted by the human body detection and the human body to obtain the corresponding human motion feature, image sequence feature and The apparent features of the image, and then the prediction model can be obtained according to the motion characteristics of the person extracted from the training image sequence, the image sequence features and the apparent features of the image, and whether or not the marker data of the door is entered. When step 406 is performed, the access control device may input the human motion feature, the image sequence feature, and the image appearance feature obtained from the image sequence into the trained prediction model to obtain a prediction result that conforms to the intent of entering the door.
本实施例中,通过人员运动特征、图像序列特征和图像表观特征,可以更加准确地描述人员活动状况,从而利用预测模型可准确地判断出相应人员是否具有进门意图,提高检测进门意图的准确性,进而提高门禁控制的效率。In this embodiment, the personnel motion state, the image sequence feature, and the image appearance feature can more accurately describe the personnel activity status, so that the prediction model can accurately determine whether the corresponding person has the door intention and improve the accuracy of detecting the door intention. Sex, which in turn increases the efficiency of access control.
在一个实施例中,图像序列通过深度摄像头获取;该门禁控制数据处理方法还包括:获取与人员活动信息对应的人员距离信息;步骤406包括:根据人员活动信息和人员距离信息检测出符合进门意图的人员。In one embodiment, the image sequence is acquired by the depth camera; the access control data processing method further includes: acquiring the personnel distance information corresponding to the personnel activity information; and the step 406 includes: detecting the intent to enter the door according to the personnel activity information and the personnel distance information; Personnel.
具体地,深度摄像头是不仅可以采集图像还可以获得图像中目标与深度摄像头之间距离信息的摄像头,如TOF(Time offlight,飞行时间,指原子、分子或声波、电磁波等波在媒介中传播一段距离所需要的时间)摄像头或者3D激光摄像头等。摄像头不仅可以获得人员活动信息,还可以获得相应的人员距离信息,该人员距离信息可反映相应人员距离摄像头的距离。Specifically, the depth camera is a camera that can acquire not only the image but also the distance between the target and the depth camera in the image, such as TOF (Time offlight), which refers to atoms, molecules or sound waves, electromagnetic waves, etc., which propagate in the medium. Distance required time) camera or 3D laser camera. The camera can not only obtain the information of the personnel activity, but also obtain the corresponding personnel distance information, and the distance information of the person can reflect the distance of the corresponding person from the camera.
进一步地,摄像头具体可将人员活动信息和人员距离信息输入预测模型,输出是否符合进门意图的预测结果。若符合进门意图,则摄像头获取相应人员的人员的位置信息。该预测模型在训练时也会采用训练图像序列中得到的人员活动信息和相应的人员距离信息训练获得。Further, the camera specifically inputs the personnel activity information and the personnel distance information into the prediction model, and outputs whether the prediction result conforms to the intention of entering the door. If the intent of entering the door is met, the camera acquires the location information of the person of the corresponding person. The prediction model is also trained by the personnel activity information obtained in the training image sequence and the corresponding personnel distance information during training.
本实施例中,在进行进门意图检测时,进一步考虑了人员距离信息,可以进一步提高检测进门意图的准确性,进一步提高门禁控制的效率。
In the embodiment, when the door intent detection is performed, the personnel distance information is further considered, and the accuracy of detecting the intention of entering the door can be further improved, and the efficiency of the access control is further improved.
如图6所示,在一个实施例中,该门禁控制数据处理方法还包括异常报警的步骤,具体包括如下步骤:As shown in FIG. 6, in an embodiment, the access control data processing method further includes the step of abnormal alarm, which specifically includes the following steps:
步骤602,根据图像序列获得人员活动轨迹。Step 602: Obtain a human activity trajectory according to the image sequence.
其中,人员活动轨迹是描述相应人员位置随时间变化情况的数据。具体地,摄像头可对俯视图像进行人体检测,并根据人体检测结果在图像序列中跟踪检测到的人体,从而获得相应人员的人员活动轨迹。人员活动轨迹可用若干按时间顺序排列的位置点表示。Among them, the human activity track is data describing the change of the position of the corresponding person over time. Specifically, the camera can perform human body detection on the bird's-eye view image, and track the detected human body in the image sequence according to the human body detection result, thereby obtaining the human activity track of the corresponding person. The human activity track can be represented by a number of position points arranged in chronological order.
步骤604,根据人员活动轨迹获得人员进门检测结果。In step 604, the result of the person entering the door is obtained according to the trajectory of the person activity.
其中,人员进门检测结果是对人员是否进门的事实的检测结果,还可以包括相应人员的人员活动轨迹。具体地,摄像头可通过检测人员活动轨迹是否从门外区域进入到门内区域,从而得到人员活动轨迹对应的人员是否进门的人员进门检测结果。这里门内区域是指门禁控制的门所防护的区域,一般是门所在房间的内部区域;门外区域是摄像头的视野范围内不属于门内区域的区域,一般是门所在房间之外的区域。Among them, the detection result of the personnel entering the door is the detection result of the fact that the person enters the door, and may also include the trajectory of the personnel movement of the corresponding person. Specifically, the camera can detect whether the person's activity trajectory enters the door inner area from the outer door area, thereby obtaining a person entrance detection result of whether the person corresponding to the person activity track enters the door. The area inside the door refers to the area protected by the door controlled by the access control, generally the inner area of the room where the door is located; the area outside the door is the area within the field of view of the camera that does not belong to the area inside the door, generally the area outside the room where the door is located. .
步骤606,在识别到的人脸与人员进门检测结果不匹配时输出报警信息。Step 606: Output an alarm message when the recognized face does not match the personnel entry detection result.
具体地,摄像头将人员进门检测结果发送到门禁控制设备,具体可仅在检测到相应人员已进门的人员进门检测结果时发送。门禁控制设备接收人员进门检测结果,判断识别到的人脸对应的人员是否与人员进门检测结果匹配,若匹配则可继续检测,若不匹配则输出报警信息。Specifically, the camera sends the personnel door detection result to the access control device, and specifically may only be sent when detecting the entry result of the person entering the door by the corresponding person. The access control device receives the door detection result, and determines whether the person corresponding to the recognized face matches the detection result of the person entering the door. If the match is matched, the detection may continue, and if not, the alarm information is output.
识别到的人脸与人员进门检测结果是否匹配,具体可通过判断识别到的人脸的人员活动轨迹与已进门人员的人员活动轨迹是否匹配来判断。若识别到的人脸对应的人员活动轨迹与已进门人员的人员活动轨迹不一致,或者识别到的人脸对应的人员的位置信息与已进门人员的人员活动轨迹不一致,说明识别到的人脸与已进门人员身份不匹配,此时判定识别到的人脸对应的人员与人员进门检测结果不匹配,说明可能存在使用别人人脸进行人脸识别的情况,可输出报警信息。Whether the recognized face and the person entering the door detection result match can be determined by judging whether the human activity track of the recognized face matches the person activity track of the entered person. If the identified human activity trajectory of the face is inconsistent with the trajectory of the person who has entered the door, or the position information of the person corresponding to the recognized face is inconsistent with the trajectory of the person who has entered the door, the recognized face and The identity of the entered personnel does not match. At this time, it is determined that the person corresponding to the recognized face does not match the detection result of the person entering the door, indicating that there may be a situation in which the face of another person is used for face recognition, and the alarm information may be output.
识别到的人脸与人员进门检测结果是否匹配,还可以通过判断识别到的
人脸的数量和已进门人员的数量是否匹配来判断。比如若识别到的人脸是一个,但是人员进门检测结果表示已进门人员为两个,说明可能存在尾随的恶意人员,可输出报警信息。Whether the recognized face and the person entering the door detection result match, and can also be identified by judging
Judging whether the number of faces matches the number of people who have entered the door. For example, if the recognized face is one, but the personnel entry detection result indicates that there are two entrance personnel, indicating that there may be trailing malicious personnel, and the alarm information can be output.
输出报警信息时,门禁控制设备具体可以输出报警声音,控制报警灯闪烁,发送报警信息到指定移动终端,或者将这些输出报警信息的方式中的两个或者两个以上进行组合,还可以采用其它方式输出报警信息。When the alarm information is output, the access control device may specifically output an alarm sound, control the alarm light to flash, send the alarm information to the designated mobile terminal, or combine two or more of the manners of outputting the alarm information, and may also adopt other The mode outputs alarm information.
本实施例中,门禁控制设备依据识别到的人脸与人员进门检测结果的匹配结果,当匹配结果为不匹配时输出报警信息,可以在符合开门条件时但存在安全隐患时进行报警提醒,获取到报警信息的人员就可以针对存在安全隐患的门禁场景采取相应的措施,保证门禁控制安全性。In this embodiment, the access control device outputs an alarm message according to the matching result of the recognized face and the person entering the door detection result, and can output an alarm message when the matching result is not matched, and can perform an alarm reminder when the safety condition is met, but the security alarm is obtained. The person who goes to the alarm information can take corresponding measures against the access control scene with potential safety hazards to ensure the security of the access control.
在一个实施例中,步骤604包括:当人员活动轨迹从门外区域穿过表示门的一条线段或多于一条的并列线段达到门内区域时,获得相应人员已进门的人员进门检测结果。In one embodiment, step 604 includes obtaining a human door detection result that the corresponding person has entered the door when the human activity trajectory passes from the outer door region through a line segment representing the door or more than one parallel line segment reaches the inner door region.
具体地,俯视图像中,门内区域和门内区域可通过相应的表示门的线段来表示。线段的形状与门在俯视图像中呈现的投影形状相关,线段可以是直线段、曲线段或者折线段。Specifically, in the overhead view image, the inner door area and the inner door area may be represented by corresponding line segments representing the door. The shape of the line segment is related to the projected shape of the door in the overhead image, and the line segment can be a straight line segment, a curved segment or a broken line segment.
俯视图像中门的数量可以是一个或多个,其中一个门可以用一条线段来表示,也可以用多于一条的并列线段来表示。当一个门对应一条线段时,该线段两侧分别是门内区域和门外区域;当一个门对应多于一条的并列线段时,该并列线段整体的两侧分别是门内区域和门外区域,该并列线段之间则是容错区域。并列的线段是大致平行的多条线段,比如可以是2条或3条并列线段。The number of doors in the overhead view image may be one or more, one of which may be represented by one line segment or by more than one parallel line segment. When a door corresponds to a line segment, the two sides of the line segment are the inner door area and the outer door area respectively; when one door corresponds to more than one parallel line segment, the two sides of the parallel line segment are respectively the inner door area and the outer door area. The side-by-side line segment is a fault-tolerant area. The parallel line segments are a plurality of line segments that are substantially parallel, such as two or three parallel line segments.
人员活动轨迹从门外区域穿过表示一个门对应的一条线段到达门内区域时,便可以判定相应人员已进门。当人员活动轨迹从门外区域穿过表示一个门对应的多余一条的并列线段到达门内区域时,说明相应人员并不是在门口徘徊,而是确实进入了门内区域,这样可提高人员进门检测结果的准确性,进而可提高报警准确性,防止误判。
When the personnel activity track passes from the outer door area to a door segment corresponding to a door to reach the door inner area, it can be determined that the corresponding person has entered the door. When the trajectory of the personnel moves from the outside area to the area inside the door through the parallel line indicating the extra one corresponding to one door, it means that the corresponding person is not at the door, but does enter the door area, which can improve the door detection. The accuracy of the results, in turn, can improve the accuracy of the alarm and prevent misjudgment.
在一个实施例中,预测模型可根据符合进门意图的人员信息、人脸识别结果以及符合进门意图的人员是否进门的人员进门检测结果,更新预测模型。符合进门意图的人员信息包括符合进门意图的人员的位置信息。In one embodiment, the predictive model may update the predictive model based on personnel information that meets the intent to enter, a face recognition result, and a person entry detection result that meets the entry intention of the person entering the door. The information of the person who meets the intention of entering the door includes the location information of the person who meets the intention of entering the door.
本实施例中,利用符合进门意图的人员信息、人脸识别结果以及人员进门检测结果对预测模型进行迭代训练,使得预测模型的预测结果更加准确,提高了门禁控制的准确性。In this embodiment, the prediction model is iteratively trained by using the personnel information, the face recognition result and the personnel entry detection result that meet the intent of entering the door, so that the prediction result of the prediction model is more accurate, and the accuracy of the access control is improved.
在一个实施例中,上述摄像头、人脸采集摄像头和门禁控制设备各自所做的各种处理,可以在本地完成,也可以通过远程服务器处理获得。In one embodiment, the various processes performed by the camera, the face capture camera, and the access control device described above may be performed locally or through remote server processing.
如图7所示,在一个实施例中,提供了一种门禁控制方法,本实施例以该方法应用于上述图1中的门禁控制设备130来举例说明。该方法具体包括如下步骤:As shown in FIG. 7, in an embodiment, an access control method is provided. This embodiment is applied to the access control device 130 in FIG. 1 to illustrate. The method specifically includes the following steps:
步骤702,获取符合进门意图的人员的位置信息;符合进门意图的人员根据人员活动信息检测出;人员活动信息是根据图像序列得到的。Step 702: Obtain location information of the person who meets the intention of entering the door; the person who meets the intention of entering the door is detected according to the information of the personnel activity; and the information of the personnel activity is obtained according to the image sequence.
具体地,摄像头可获取图像序列,根据图像序列获得人员活动信息,根据人员活动信息检测出符合进门意图的人员的位置信息,向门禁控制设备发送人员的位置信息,门禁控制设备则接收到符合进门意图的人员的位置信息。Specifically, the camera can acquire the image sequence, obtain the personnel activity information according to the image sequence, detect the position information of the person who meets the intention of entering the door according to the personnel activity information, and send the position information of the person to the access control device, and the access control device receives the entry. Location information of the intended person.
在其它实施例中,摄像头可获取图像序列并发送到门禁控制设备,门禁控制设备可根据图像序列获得人员活动信息,根据人员活动信息检测出符合进门意图的人员的位置信息。In other embodiments, the camera can acquire a sequence of images and send it to the access control device, which can obtain the activity information of the person according to the image sequence, and detect the position information of the person who meets the intention of entering the door according to the activity information of the person.
其中,摄像头拍摄获得图像序列。其中摄像头可安装在顶部或者高于人身高的墙壁处或者顶部墙角处,使得摄像头可以拍摄到俯视视角的图像,摄像头的视野至少覆盖门所在位置。Among them, the camera captures a sequence of images. The camera can be installed at the top or above the wall of the person's height or at the top corner, so that the camera can capture the image from the top view, and the camera's field of view covers at least the position of the door.
图像序列是摄像头拍摄得到的俯视图像按时间顺序排列后形成的图像序列,图像序列具体可以是视频或者图片序列。图像序列中相邻俯视图像的时间间隔可根据需要设定。图像序列的帧率可以低于或者高于人眼所能承受的帧率阈值,图像序列的帧率是图像序列中单位时间内的俯视图像的数量,帧率高基于图像序列的检测结果更准确,帧率低对摄像头硬件资源消耗小。
The image sequence is a sequence of images formed by chronologically arranging the overhead images captured by the camera, and the image sequence may specifically be a video or a sequence of pictures. The time interval of adjacent overhead images in the image sequence can be set as desired. The frame rate of the image sequence can be lower or higher than the frame rate threshold that the human eye can withstand. The frame rate of the image sequence is the number of overhead images in the image sequence per unit time, and the frame rate is higher based on the detection result of the image sequence. The frame rate is low, and the camera hardware resource consumption is small.
其中人员活动信息是可反映人员活动情况的信息,摄像头具体可对图像序列中的各个俯视图像进行检测,从而得到人员活动信息。摄像头可以将图像序列发送到服务器,从而接收服务器反馈的由服务器检测到的人员活动信息;摄像头也可以从图像序列中提取出用于检测人员活动信息的特征,并将提取的特征发送到服务器,接收服务器反馈的根据提取的特征检测得到的人员活动信息。The personnel activity information is information that can reflect the activity of the personnel, and the camera can specifically detect each of the overhead images in the image sequence to obtain the personnel activity information. The camera can send the image sequence to the server to receive the human activity information detected by the server and fed back by the server; the camera can also extract the feature for detecting the activity information of the person from the image sequence, and send the extracted feature to the server. Receiving the personnel activity information detected by the server based on the extracted feature detection.
人员活动信息可以包括人体位置、人体朝向、人体运动方向以及人头朝向中的至少一种。摄像头具体可以对图像序列中的各个俯视图像进行人体检测、人体朝向检测、人体运动方向检测以及人头朝向检测中的至少一种,从而得到人体位置、人体朝向、人体运动方向以及人头朝向中的至少一种作为人员活动信息。人体检测、人体朝向检测、人体运动方向检测以及人头朝向检测都可以采用预先训练得到的分类器检测获得,分类器可以是支持向量机(Support Vector Machine,SVM)或者神经网络等,分类器可根据俯视角度的相应样本训练获得。The human activity information may include at least one of a human body position, a human body orientation, a human body motion direction, and a human head orientation. The camera may specifically perform at least one of human body detection, human body orientation detection, human motion direction detection, and human head orientation detection on each of the top view images in the image sequence, thereby obtaining at least one of a human body position, a human body orientation, a human body motion direction, and a human head orientation. A kind of information about personnel activities. Human body detection, body orientation detection, human motion direction detection, and head orientation detection can all be obtained by using a pre-trained classifier. The classifier can be a Support Vector Machine (SVM) or a neural network. The classifier can be based on The corresponding sample training of the top view angle is obtained.
摄像头得到人员活动信息后,便可以根据人员活动信息,通过已训练的预测模型对相应人员是否符合进门意图进行预测,若是符合进门意图的人员,则获取相应人员的位置信息;若是不符合进门意图的人员,则继续根据图像序列获得人员活动信息。After the camera obtains the activity information of the personnel, it can predict whether the corresponding personnel meets the intention of entering the door through the trained prediction model according to the information of the personnel activity, and if the person who meets the intention of entering the door obtains the position information of the corresponding person; if it does not meet the intention of entering the door The personnel continue to obtain personnel activity information based on the image sequence.
其中进门意图反映的是相应人员进门的概率,若符合进门意图则说明根据人员活动信息预测相应人员后续进门的概率高;若不符合进门意图则说明根据人员活动信息预测相应人员后续进门的概率低。是否符合进门意图可通过将人员活动信息输入到预先训练得到的预测模型,输出是否符合进门意图的预测结果,若符合则获取相应人员的位置信息。The intention of entering the door reflects the probability of the corresponding person entering the door. If the intention of entering the door is met, it indicates that the probability of the corresponding person entering the door is high according to the information of the personnel activity; if the intention of entering the door is not met, the probability of the corresponding person entering the door is predicted according to the information of the personnel activity. . Whether or not the intent to enter the door can be obtained by inputting the personnel activity information into the pre-trained prediction model, and outputting whether or not the prediction result conforms to the intent of entering the door, and if so, obtaining the position information of the corresponding person.
步骤704,根据人员的位置信息进行人脸识别。Step 704: Perform face recognition according to the location information of the person.
具体地,门禁控制设备获取到摄像头发送的人员的位置信息,并获取到人脸采集摄像头采集到的图像。门禁控制设备可利用统一的坐标系将人员的位置信息对应到采集到的图像中,对人脸采集摄像头采集到的图像中与人员
的位置信息匹配的人脸图像进行人脸识别,得到人脸识别结果。Specifically, the access control device acquires the location information of the person sent by the camera, and acquires the image collected by the face acquisition camera. The access control device can use the unified coordinate system to map the position information of the person to the captured image, and the image collected by the face acquisition camera and the person
The face image matched by the location information is subjected to face recognition to obtain a face recognition result.
步骤706,获取识别到的人脸所属的用户标识。Step 706: Acquire a user identifier to which the recognized face belongs.
步骤708,当用户标识具有开门权限时输出开门指令。 Step 708, outputting a door opening instruction when the user identifier has the right to open the door.
门禁控制设备根据人脸识别结果确定人脸所属用户标识,从而查询该用户标识是否具有开门权限,若查询到具有开门权限则输出开门指令。开门指令可输出到直接控制门通行和关闭的装置上,比如门锁或者闸门锁定器,使得门可以通行。The access control device determines the user identifier to which the face belongs according to the face recognition result, so as to query whether the user identifier has the right to open the door, and if the query has the permission to open the door, the door opening instruction is output. The door opening command can be output to a device that directly controls the passage and closing of the door, such as a door lock or a gate lock, so that the door can pass.
在一个实施例中,人脸识别可采用基于模板匹配的人脸识别算法、子空间分析人脸识别算法、局部保持投影(Locality Preserving Projections,LPP)人脸识别、主成分分析(PCA)算法、特征脸法(基于KL变换)、人工神经网络人脸识别算法以及支持向量机人脸识别算法中的任意一种。其中基于模板匹配的人脸识别算法核心思想利用人的脸部特征规律建立一个立体可调的模型框架,在定位出人的脸部位置后用模型框架定位和调整人的脸部特征部位,解决人脸识别过程中的观察角度、遮挡和表情变化等因素影响。In an embodiment, the face recognition may employ a face recognition algorithm based on template matching, a subspace analysis face recognition algorithm, a Locality Preserving Projections (LPP) face recognition, a principal component analysis (PCA) algorithm, Eigenface method (based on KL transform), artificial neural network face recognition algorithm, and support vector machine face recognition algorithm. The core idea of face recognition algorithm based on template matching uses a person's facial feature law to establish a stereoscopic model frame. After positioning the face position of the person, the model frame is used to locate and adjust the facial features of the person. Factors such as observation angle, occlusion, and expression changes during face recognition.
上述门禁控制方法,利用图像序列得到人员活动信息,从而利用人员活动信息检测出符合进门意图的人员的位置信息。检测到的人员的位置信息是符合进门意图的人员的位置信息,再根据该人员的位置信息进行针对性地人脸识别,进而利用识别出的人脸进行门禁控制。这样可以自动判断符合进门意图的人员,并进行针对性地人脸识别,可减少等待人员主动配合进行人脸识别的时间消耗,提高了门禁控制效率。The above-mentioned access control method uses the image sequence to obtain the personnel activity information, thereby using the personnel activity information to detect the position information of the person who meets the intention of entering the door. The detected position information of the person is the position information of the person who meets the intention of entering the door, and then the targeted face recognition is performed according to the position information of the person, and the recognized face is used for the access control. In this way, the person who meets the intention of entering the door can be automatically judged, and the targeted face recognition can be performed, which can reduce the time consumption for the waiting person to actively cooperate with the face recognition, and improve the access control efficiency.
在一个实施例中,该门禁控制方法还包括:获取人员进门检测结果;当识别到的人脸与人员进门检测结果不匹配时输出报警信息。In an embodiment, the access control method further includes: acquiring a door detection result of the person; and outputting the alarm information when the recognized face does not match the detection result of the person entering the door.
具体地,门禁控制设备可获取摄像头发送的人员进门检测结果,也可以依据摄像头发送图像序列得到人员进门检测结果。人员进门检测结果可根据人员活动轨迹获得,人员活动轨迹可根据图像序列获得。Specifically, the access control device may obtain the detection result of the person entering the door sent by the camera, or may obtain the result of the door entry detection according to the image sequence sent by the camera. The results of the personnel entry detection can be obtained according to the trajectory of the personnel activity, and the trajectory of the human activity can be obtained according to the image sequence.
在一个实施例中,人员活动信息包括人员运动特征、图像序列特征和图像表观特征;获取符合进门意图的人员的位置信息,包括:根据人员运动特
征、图像序列特征和图像表观特征,通过已训练的预测模型检测出符合进门意图的人员,并获取相应人员的位置信息。In one embodiment, the personnel activity information includes a person motion feature, an image sequence feature, and an image appearance feature; and obtaining location information of the person who meets the door intention, including:
The sign, the image sequence feature and the image appearance feature are detected by the trained prediction model, and the position information of the corresponding person is obtained.
在一个实施例中,获取符合进门意图的人员的位置信息,包括:获取与人员活动信息对应的人员距离信息;及根据人员活动信息和人员距离信息检测出符合进门意图的人员的位置信息。In one embodiment, obtaining location information of the person who meets the intent of entering the door includes: acquiring personnel distance information corresponding to the personnel activity information; and detecting location information of the person who meets the intention of entering the door according to the personnel activity information and the personnel distance information.
在一个实施例中,摄像头可对俯视图像进行人体检测,并根据人体检测结果在图像序列中跟踪检测到的人体,从而获得相应人员的人员活动轨迹。人员活动轨迹可用若干按时间顺序排列的位置点表示。In one embodiment, the camera can perform human body detection on the top view image, and track the detected human body in the image sequence according to the human body detection result, thereby obtaining the human activity track of the corresponding person. The human activity track can be represented by a number of position points arranged in chronological order.
其中,人员进门检测结果是对人员是否进门的事实的检测结果,还可以包括相应人员的人员活动轨迹。具体地,摄像头可通过检测人员活动轨迹是否从门外区域进入到门内区域,从而得到人员活动轨迹对应的人员是否进门的人员进门检测结果。这里门内区域是指门禁控制的门所防护的区域,一般是门所在房间的内部区域;门外区域是摄像头的视野范围内不属于门内区域的区域,一般是门所在房间之外的区域。Among them, the detection result of the personnel entering the door is the detection result of the fact that the person enters the door, and may also include the trajectory of the personnel movement of the corresponding person. Specifically, the camera can detect whether the person's activity trajectory enters the door inner area from the outer door area, thereby obtaining a person entrance detection result of whether the person corresponding to the person activity track enters the door. The area inside the door refers to the area protected by the door controlled by the access control, generally the inner area of the room where the door is located; the area outside the door is the area within the field of view of the camera that does not belong to the area inside the door, generally the area outside the room where the door is located. .
摄像头将人员进门检测结果发送到门禁控制设备,具体可仅在检测到相应人员已进门的人员进门检测结果时发送。门禁控制设备接收人员进门检测结果,判断识别到的人脸对应的人员是否与人员进门检测结果匹配,若匹配则可继续检测,若不匹配则输出报警信息。The camera sends the personnel entry detection result to the access control device, which can be sent only when the detection result of the person entering the door of the corresponding person is detected. The access control device receives the door detection result, and determines whether the person corresponding to the recognized face matches the detection result of the person entering the door. If the match is matched, the detection may continue, and if not, the alarm information is output.
识别到的人脸与人员进门检测结果是否匹配,具体可通过判断识别到的人脸的人员活动轨迹与已进门人员的人员活动轨迹是否匹配来判断。若识别到的人脸对应的人员活动轨迹与已进门人员的人员活动轨迹不一致,或者识别到的人脸对应的人员的位置信息与已进门人员的人员活动轨迹不一致,说明识别到的人脸与已进门人员身份不匹配,此时判定识别到的人脸对应的人员与人员进门检测结果不匹配,说明可能存在使用别人人脸进行人脸识别的情况,可输出报警信息。Whether the recognized face and the person entering the door detection result match can be determined by judging whether the human activity track of the recognized face matches the person activity track of the entered person. If the identified human activity trajectory of the face is inconsistent with the trajectory of the person who has entered the door, or the position information of the person corresponding to the recognized face is inconsistent with the trajectory of the person who has entered the door, the recognized face and The identity of the entered personnel does not match. At this time, it is determined that the person corresponding to the recognized face does not match the detection result of the person entering the door, indicating that there may be a situation in which the face of another person is used for face recognition, and the alarm information may be output.
识别到的人脸与人员进门检测结果是否匹配,还可以通过判断识别到的人脸的数量和已进门人员的数量是否匹配来判断。比如若识别到的人脸是一
个,但是人员进门检测结果表示已进门人员为两个,说明可能存在尾随的恶意人员,可输出报警信息。Whether the recognized face and the person entering the door detection result match can also be judged by judging whether the number of recognized faces and the number of people who have entered the door match. For example, if the recognized face is one
However, the result of the personnel entry detection indicates that there are two people entering the door, indicating that there may be trailing malicious personnel, and the alarm information can be output.
输出报警信息时,门禁控制设备具体可以输出报警声音,控制报警灯闪烁,发送报警信息到指定移动终端,或者将这些输出报警信息的方式中的两个或者两个以上进行组合,还可以采用其它方式输出报警信息。When the alarm information is output, the access control device may specifically output an alarm sound, control the alarm light to flash, send the alarm information to the designated mobile terminal, or combine two or more of the manners of outputting the alarm information, and may also adopt other The mode outputs alarm information.
本实施例中,门禁控制设备依据识别到的人脸与人员进门检测结果的匹配结果,当匹配结果为不匹配时输出报警信息,可以在符合开门条件时但存在安全隐患时进行报警提醒,获取到报警信息的人员就可以针对存在安全隐患的门禁场景采取相应的措施,保证门禁控制安全性。In this embodiment, the access control device outputs an alarm message according to the matching result of the recognized face and the person entering the door detection result, and can output an alarm message when the matching result is not matched, and can perform an alarm reminder when the safety condition is met, but the security alarm is obtained. The person who goes to the alarm information can take corresponding measures against the access control scene with potential safety hazards to ensure the security of the access control.
在一个实施例中,人员进门检测结果是当人员活动轨迹从门外区域穿过表示门的一条线段或多于一条的并列线段达到门内区域时获得的表示相应人员已进门的人员进门检测结果;人员活动轨迹根据图像序列得到。In one embodiment, the personnel door detection result is a result of a door entrance detection result obtained when a person activity track passes from a door outer area through a line segment representing the door or more than one side line segment reaches the door inner area, indicating that the corresponding person has entered the door. The human activity track is obtained from the image sequence.
具体地,在俯视图像中,门内区域和门内区域可通过相应的表示门的线段来表示。线段的形状与门在俯视图像中呈现的投影形状相关,线段可以是直线段、曲线段或者折线段。Specifically, in the overhead view image, the in-door area and the in-door area may be represented by corresponding line segments representing the door. The shape of the line segment is related to the projected shape of the door in the overhead image, and the line segment can be a straight line segment, a curved segment or a broken line segment.
俯视图像中门的数量可以是一个或多个,其中一个门可以用一条线段来表示,也可以用多于一条的并列线段来表示。当一个门对应一条线段时,该线段两侧分别是门内区域和门外区域;当一个门对应多于一条的并列线段时,该并列线段整体的两侧分别是门内区域和门外区域,该并列线段之间则是容错区域。并列的线段是大致平行的多条线段,比如可以是2条或3条并列线段。The number of doors in the overhead view image may be one or more, one of which may be represented by one line segment or by more than one parallel line segment. When a door corresponds to a line segment, the two sides of the line segment are the inner door area and the outer door area respectively; when one door corresponds to more than one parallel line segment, the two sides of the parallel line segment are respectively the inner door area and the outer door area. The side-by-side line segment is a fault-tolerant area. The parallel line segments are a plurality of line segments that are substantially parallel, such as two or three parallel line segments.
人员活动轨迹从门外区域穿过表示一个门对应的一条线段到达门内区域时,便可以判定相应人员已进门。当人员活动轨迹从门外区域穿过表示一个门对应的多余一条的并列线段到达门内区域时,说明相应人员并不是在门口徘徊,而是确实进入了门内区域,这样可提高人员进门检测结果的准确性,进而可提高报警准确性,防止误判。When the personnel activity track passes from the outer door area to a door segment corresponding to a door to reach the door inner area, it can be determined that the corresponding person has entered the door. When the trajectory of the personnel moves from the outside area to the area inside the door through the parallel line indicating the extra one corresponding to one door, it means that the corresponding person is not at the door, but does enter the door area, which can improve the door detection. The accuracy of the results, in turn, can improve the accuracy of the alarm and prevent misjudgment.
如图8所示,在一个实施例中,本申请还提供一种电子设备800,电子
设备800的内部结构可对应于如图2所示的结构,下述每个模块可全部或部分通过软件、硬件或其组合来实现。电子设备800包括图像序列获取模块801、进门意图检测模块802和发送模块803。As shown in FIG. 8, in one embodiment, the present application further provides an electronic device 800, electronic
The internal structure of device 800 may correspond to the structure shown in FIG. 2, and each of the modules described below may be implemented in whole or in part by software, hardware, or a combination thereof. The electronic device 800 includes an image sequence acquisition module 801, a door intent detection module 802, and a transmission module 803.
图像序列获取模块801,用于获取图像序列。The image sequence obtaining module 801 is configured to acquire a sequence of images.
进门意图检测模块802,用于根据图像序列获得人员活动信息;根据人员活动信息检测出符合进门意图的人员的位置信息。The portal intention detecting module 802 is configured to obtain the personnel activity information according to the image sequence; and detect the location information of the person who meets the intention of entering the door according to the personnel activity information.
发送模块803,用于向门禁控制设备发送人员的位置信息,使得门禁控制设备根据人员的位置信息进行人脸识别,并在识别到的人脸所属用户标识具有开门权限时输出开门指令。The sending module 803 is configured to send the location information of the person to the access control device, so that the access control device performs face recognition according to the location information of the person, and outputs a door opening command when the identified user identifier of the face belongs to the door opening authority.
上述电子设备800,利用图像序列得到人员活动信息,从而利用人员活动信息检测出符合进门意图的人员的位置信息。检测到的人员的位置信息是符合进门意图的人员的位置信息,再根据该人员的位置信息进行针对性地人脸识别,进而利用识别出的人脸进行门禁控制。这样可以自动判断符合进门意图的人员,并进行针对性地人脸识别,可减少等待人员主动配合进行人脸识别的时间消耗,提高了门禁控制效率。The electronic device 800 obtains the person activity information by using the image sequence, and uses the person activity information to detect the position information of the person who meets the intention of entering the door. The detected position information of the person is the position information of the person who meets the intention of entering the door, and then the targeted face recognition is performed according to the position information of the person, and the recognized face is used for the access control. In this way, the person who meets the intention of entering the door can be automatically judged, and the targeted face recognition can be performed, which can reduce the time consumption for the waiting person to actively cooperate with the face recognition, and improve the access control efficiency.
在一个实施例中,人员活动信息包括人员运动特征、图像序列特征和图像表观特征;进门意图检测模块802用于根据人员运动特征、图像序列特征和图像表观特征,通过已训练的预测模型检测出符合进门意图的人员,并获取相应人员的位置信息。In one embodiment, the human activity information includes a human motion feature, an image sequence feature, and an image appearance feature; the portal intent detection module 802 is configured to pass the trained predictive model based on the human motion feature, the image sequence feature, and the image appearance feature. A person who meets the intention of entering the door is detected and the location information of the corresponding person is obtained.
本实施例中,通过人员运动特征、图像序列特征和图像表观特征,可以更加准确地描述人员活动状况,从而利用预测模型可准确地判断出相应人员是否具有进门意图,提高检测进门意图的准确性,进而提高门禁控制的效率。In this embodiment, the personnel motion state, the image sequence feature, and the image appearance feature can more accurately describe the personnel activity status, so that the prediction model can accurately determine whether the corresponding person has the door intention and improve the accuracy of detecting the door intention. Sex, which in turn increases the efficiency of access control.
在一个实施例中,图像序列通过深度摄像头获取;进门意图检测模块802还用于获取与人员活动信息对应的人员距离信息;根据人员活动信息和人员距离信息检测出符合进门意图的人员的位置信息。In one embodiment, the image sequence is acquired by the depth camera; the door intention detection module 802 is further configured to acquire the personnel distance information corresponding to the personnel activity information; and the position information of the person who meets the door opening intention is detected according to the personnel activity information and the personnel distance information. .
本实施例中,在进行进门意图检测时,进一步考虑了人员距离信息,可以进一步提高检测进门意图的准确性,进一步提高门禁控制的效率。
In the embodiment, when the door intent detection is performed, the personnel distance information is further considered, and the accuracy of detecting the intention of entering the door can be further improved, and the efficiency of the access control is further improved.
如图9所示,在一个实施例中,电子设备800还包括:进门检测模块804,用于根据图像序列获得人员活动轨迹;根据人员活动轨迹获得人员进门检测结果。As shown in FIG. 9, in an embodiment, the electronic device 800 further includes: a door detection module 804, configured to obtain a human activity trajectory according to the image sequence; and obtain a human door detection result according to the human activity trajectory.
发送模块803还用于向门禁控制设备发送人员进门检测结果,使得门禁控制设备在识别到的人脸与人员进门检测结果不匹配时输出报警信息。The sending module 803 is further configured to send a personnel door detection result to the access control device, so that the access control device outputs the alarm information when the recognized face does not match the personnel door detection result.
本实施例中,门禁控制设备依据识别到的人脸与人员进门检测结果的匹配结果,当匹配结果为不匹配时输出报警信息,可以在符合开门条件时但存在安全隐患时进行报警提醒,获取到报警信息的人员就可以针对存在安全隐患的门禁场景采取相应的措施,保证门禁控制安全性。In this embodiment, the access control device outputs an alarm message according to the matching result of the recognized face and the person entering the door detection result, and can output an alarm message when the matching result is not matched, and can perform an alarm reminder when the safety condition is met, but the security alarm is obtained. The person who goes to the alarm information can take corresponding measures against the access control scene with potential safety hazards to ensure the security of the access control.
在一个人实施例中,进门检测模块804还用于当人员活动轨迹从门外区域穿过表示门的一条线段或多于一条的并列线段达到门内区域时,获得相应人员已进门的人员进门检测结果。In one embodiment, the door detection module 804 is further configured to: when a person activity track passes from a door outer area through a line segment representing the door or more than one side line segment reaches the door inner area, the person who has entered the door of the corresponding person enters the door. Test results.
人员活动轨迹从门外区域穿过表示一个门对应的一条线段到达门内区域时,便可以判定相应人员已进门。当人员活动轨迹从门外区域穿过表示一个门对应的多余一条的并列线段到达门内区域时,说明相应人员并不是在门口徘徊,而是确实进入了门内区域,这样可提高人员进门检测结果的准确性,进而可提高报警准确性,防止误判。When the personnel activity track passes from the outer door area to a door segment corresponding to a door to reach the door inner area, it can be determined that the corresponding person has entered the door. When the trajectory of the personnel moves from the outside area to the area inside the door through the parallel line indicating the extra one corresponding to one door, it means that the corresponding person is not at the door, but does enter the door area, which can improve the door detection. The accuracy of the results, in turn, can improve the accuracy of the alarm and prevent misjudgment.
如图10所示,在一个实施例中,提供了一种电子设备1000,包括:人员位置信息获取模块1001、人脸识别模块1002和门禁控制模块1003。As shown in FIG. 10, in an embodiment, an electronic device 1000 is provided, including: a personnel location information acquisition module 1001, a face recognition module 1002, and an access control module 1003.
人员位置信息获取模块1001,用于获取符合进门意图的人员的位置信息;人员的位置信息是根据人员活动信息检测出的符合进门意图的人员的位置信息;人员活动信息是根据图像序列得到的。The person position information obtaining module 1001 is configured to obtain position information of a person who meets the intention of entering the door; the position information of the person is position information of the person who meets the intention of entering the door detected according to the personnel activity information; and the personnel activity information is obtained according to the image sequence.
人脸识别模块1002,用于根据人员的位置信息进行人脸识别。The face recognition module 1002 is configured to perform face recognition according to the location information of the person.
门禁控制模块1003,用于获取识别到的人脸所属的用户标识;当用户标识具有开门权限时输出开门指令。The access control module 1003 is configured to obtain a user identifier to which the recognized face belongs; and output a door opening command when the user identifier has the right to open the door.
上述电子设备1000,利用图像序列得到人员活动信息,从而利用人员活动信息检测出符合进门意图的人员的位置信息。检测到的人员的位置信息是
符合进门意图的人员的位置信息,再根据该人员的位置信息进行针对性地人脸识别,进而利用识别出的人脸进行门禁控制。这样可以自动判断符合进门意图的人员,并进行针对性地人脸识别,可减少等待人员主动配合进行人脸识别的时间消耗,提高了门禁控制效率。The electronic device 1000 obtains the person activity information using the image sequence, and uses the person activity information to detect the position information of the person who meets the intention of entering the door. The location information of the detected person is
The position information of the person who meets the intention of entering the door is used, and the targeted face recognition is performed according to the position information of the person, and the recognized face is used for the access control. In this way, the person who meets the intention of entering the door can be automatically judged, and the targeted face recognition can be performed, which can reduce the time consumption for the waiting person to actively cooperate with the face recognition, and improve the access control efficiency.
如图11所示,在一个实施例中,电子设备1000还包括:报警模块1004,用于获取人员进门检测结果;当识别到的人脸与人员进门检测结果不匹配时输出报警信息。As shown in FIG. 11, in an embodiment, the electronic device 1000 further includes: an alarm module 1004, configured to acquire a door detection result of the person; and output an alarm message when the recognized face does not match the door detection result.
本实施例中,门禁控制设备依据识别到的人脸与人员进门检测结果的匹配结果,当匹配结果为不匹配时输出报警信息,可以在符合开门条件时但存在安全隐患时进行报警提醒,获取到报警信息的人员就可以针对存在安全隐患的门禁场景采取相应的措施,保证门禁控制安全性。In this embodiment, the access control device outputs an alarm message according to the matching result of the recognized face and the person entering the door detection result, and can output an alarm message when the matching result is not matched, and can perform an alarm reminder when the safety condition is met, but the security alarm is obtained. The person who goes to the alarm information can take corresponding measures against the access control scene with potential safety hazards to ensure the security of the access control.
在一个实施例中,人员进门检测结果是当人员活动轨迹从门外区域穿过表示门的一条线段或多于一条的并列线段达到门内区域时获得的表示相应人员已进门的人员进门检测结果;人员活动轨迹根据图像序列得到。In one embodiment, the personnel door detection result is a result of a door entrance detection result obtained when a person activity track passes from a door outer area through a line segment representing the door or more than one side line segment reaches the door inner area, indicating that the corresponding person has entered the door. The human activity track is obtained from the image sequence.
本实施例中,人员活动轨迹从门外区域穿过表示一个门对应的一条线段到达门内区域时,便可以判定相应人员已进门。当人员活动轨迹从门外区域穿过表示一个门对应的多余一条的并列线段到达门内区域时,说明相应人员并不是在门口徘徊,而是确实进入了门内区域,这样可提高人员进门检测结果的准确性,进而可提高报警准确性,防止误判。In this embodiment, when the human activity trajectory passes from the outer door area to a line segment corresponding to one door to reach the inner door area, it can be determined that the corresponding person has entered the door. When the trajectory of the personnel moves from the outside area to the area inside the door through the parallel line indicating the extra one corresponding to one door, it means that the corresponding person is not at the door, but does enter the door area, which can improve the door detection. The accuracy of the results, in turn, can improve the accuracy of the alarm and prevent misjudgment.
在一个实施例中,一种电子设备,包括存储器和处理器,存储器中储存有计算机可读指令,计算机可读指令被处理器执行时,使得处理器执行以下步骤:获取图像序列;根据图像序列获得人员活动信息;根据人员活动信息检测出符合进门意图的人员的位置信息;及向门禁控制设备发送人员的位置信息,使得门禁控制设备根据人员的位置信息进行人脸识别,并在识别到的人脸所属用户标识具有开门权限时输出开门指令。In one embodiment, an electronic device includes a memory and a processor, the memory storing computer readable instructions, the computer readable instructions being executed by the processor, causing the processor to perform the steps of: acquiring an image sequence; Obtaining the activity information of the personnel; detecting the location information of the person who meets the intention of entering the door according to the information of the personnel activity; and transmitting the location information of the person to the access control device, so that the access control device performs face recognition according to the location information of the person, and identifies the When the user ID of the face belongs to the user, the door opening command is output.
在一个实施例中,人员活动信息包括人员运动特征、图像序列特征和图像表观特征;根据人员活动信息检测出符合进门意图的人员的位置信息,包
括:根据人员运动特征、图像序列特征和图像表观特征,通过已训练的预测模型检测出符合进门意图的人员,并获取相应人员的位置信息。In one embodiment, the personnel activity information includes a person motion feature, an image sequence feature, and an image appearance feature; and the location information of the person who meets the door intention is detected according to the personnel activity information, the package
Including: according to the characteristics of the personnel movement, the characteristics of the image sequence and the appearance of the image, the trained prediction model is used to detect the person who meets the intention of entering the door, and obtain the position information of the corresponding person.
在一个实施例中,电子设备包括获取图像序列的深度摄像头;计算机可读指令还使得处理器执行以下步骤:获取与人员活动信息对应的人员距离信息;根据人员活动信息检测出符合进门意图的人员的位置信息包括:根据人员活动信息和人员距离信息检测出符合进门意图的人员的位置信息。In one embodiment, the electronic device includes a depth camera that acquires a sequence of images; the computer readable instructions further cause the processor to perform the steps of: acquiring human distance information corresponding to the human activity information; and detecting the person in accordance with the intent to enter the door based on the personnel activity information The location information includes: detecting location information of a person who meets the intention of entering the door according to the personnel activity information and the personnel distance information.
在一个实施例中,计算机可读指令还使得处理器执行以下步骤:根据图像序列获得人员活动轨迹;根据人员活动轨迹获得人员进门检测结果;及向门禁控制设备发送人员进门检测结果,使得门禁控制设备在识别到的人脸与人员进门检测结果不匹配时输出报警信息。In one embodiment, the computer readable instructions further cause the processor to: obtain a human activity trajectory according to the image sequence; obtain a human door detection result according to the human activity trajectory; and send a human door detection result to the access control device to enable the access control The device outputs an alarm message when the recognized face does not match the personnel entry detection result.
在一个实施例中,根据人员活动轨迹获得人员进门检测结果,包括:当人员活动轨迹从门外区域穿过表示门的一条线段或多于一条的并列线段达到门内区域时,获得相应人员已进门的人员进门检测结果。In one embodiment, obtaining a door entry detection result according to a human activity trajectory includes: when a person activity trajectory passes from a door outer area through a line segment representing the door or more than one side line segment reaches the door inner area, obtaining the corresponding person has The person entering the door enters the door to test the result.
上述电子设备,利用图像序列得到人员活动信息,从而利用人员活动信息检测出符合进门意图的人员的位置信息。检测到的人员的位置信息是符合进门意图的人员的位置信息,再根据该人员的位置信息进行针对性地人脸识别,进而利用识别出的人脸进行门禁控制。这样可以自动判断符合进门意图的人员,并进行针对性地人脸识别,可减少等待人员主动配合进行人脸识别的时间消耗,提高了门禁控制效率。The electronic device obtains the person activity information by using the image sequence, and uses the person activity information to detect the position information of the person who meets the intention of entering the door. The detected position information of the person is the position information of the person who meets the intention of entering the door, and then the targeted face recognition is performed according to the position information of the person, and the recognized face is used for the access control. In this way, the person who meets the intention of entering the door can be automatically judged, and the targeted face recognition can be performed, which can reduce the time consumption for the waiting person to actively cooperate with the face recognition, and improve the access control efficiency.
一种电子设备,包括存储器和处理器,存储器中储存有计算机可读指令,计算机可读指令被处理器执行时,使得处理器执行以下步骤:获取符合进门意图的人员的位置信息;人员的位置信息是根据人员活动信息检测出的符合进门意图的人员的位置信息;人员活动信息是根据图像序列得到的;根据人员的位置信息进行人脸识别;获取识别到的人脸所属的用户标识;及当用户标识具有开门权限时输出开门指令。An electronic device comprising a memory and a processor, wherein the memory stores computer readable instructions, wherein when the computer readable instructions are executed by the processor, the processor performs the steps of: obtaining location information of a person who meets the intention of entering the door; The information is the location information of the person who meets the intention of entering the door according to the information of the personnel activity; the information of the personnel activity is obtained according to the image sequence; the face recognition is performed according to the location information of the person; and the user identifier to which the recognized face belongs is obtained; The door open command is output when the user logo has the right to open the door.
在一个实施例中,人员活动信息包括人员运动特征、图像序列特征和图像表观特征;获取符合进门意图的人员的位置信息,包括:根据人员运动特
征、图像序列特征和图像表观特征,通过已训练的预测模型检测出符合进门意图的人员,并获取相应人员的位置信息。In one embodiment, the personnel activity information includes a person motion feature, an image sequence feature, and an image appearance feature; and obtaining location information of the person who meets the door intention, including:
The sign, the image sequence feature and the image appearance feature are detected by the trained prediction model, and the position information of the corresponding person is obtained.
在一个实施例中,获取符合进门意图的人员的位置信息,包括:获取与人员活动信息对应的人员距离信息;及根据人员活动信息和人员距离信息检测出符合进门意图的人员的位置信息。In one embodiment, obtaining location information of the person who meets the intent of entering the door includes: acquiring personnel distance information corresponding to the personnel activity information; and detecting location information of the person who meets the intention of entering the door according to the personnel activity information and the personnel distance information.
在一个实施例中,计算机可读指令还使得处理器执行以下步骤:获取人员进门检测结果;及当识别到的人脸与人员进门检测结果不匹配时输出报警信息。In one embodiment, the computer readable instructions further cause the processor to perform the steps of: obtaining a human door detection result; and outputting an alarm message when the recognized face does not match the human door detection result.
在一个实施例中,人员进门检测结果,是当人员活动轨迹从门外区域穿过表示门的一条线段或多于一条的并列线段达到门内区域时,获得的表示相应人员已进门的人员进门检测结果;人员活动轨迹根据图像序列得到。In one embodiment, the result of the door entry detection is that when a person activity track passes from a door outer area through a line segment representing the door or more than one side line segment reaches the door inner area, the obtained person indicating that the corresponding person has entered the door enters the door. The detection result; the human activity track is obtained according to the image sequence.
上述电子设备,利用图像序列得到人员活动信息,从而利用人员活动信息检测出符合进门意图的人员的位置信息。检测到的人员的位置信息是符合进门意图的人员的位置信息,再根据该人员的位置信息进行针对性地人脸识别,进而利用识别出的人脸进行门禁控制。这样可以自动判断符合进门意图的人员,并进行针对性地人脸识别,可减少等待人员主动配合进行人脸识别的时间消耗,提高了门禁控制效率。The electronic device obtains the person activity information by using the image sequence, and uses the person activity information to detect the position information of the person who meets the intention of entering the door. The detected position information of the person is the position information of the person who meets the intention of entering the door, and then the targeted face recognition is performed according to the position information of the person, and the recognized face is used for the access control. In this way, the person who meets the intention of entering the door can be automatically judged, and the targeted face recognition can be performed, which can reduce the time consumption for the waiting person to actively cooperate with the face recognition, and improve the access control efficiency.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,该计算机程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,前述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等非易失性存储介质,或随机存储记忆体(Random Access Memory,RAM)等。A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct related hardware, and the computer program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments may be arbitrarily combined. For the sake of brevity of description, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, It is considered to be the range described in this specification.
以上实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,
但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。
The above embodiments merely express several embodiments of the present invention, and the description thereof is more specific and detailed.
However, it cannot be construed as limiting the scope of the invention patent. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the invention. Therefore, the scope of the invention should be determined by the appended claims.
Claims (20)
- 一种门禁控制数据处理方法,包括:A method for processing access control data includes:获取图像序列;Obtaining a sequence of images;根据所述图像序列获得人员活动信息;Obtaining human activity information according to the image sequence;根据所述人员活动信息检测出符合进门意图的人员;Detecting a person who meets the intention of entering the door according to the information of the personnel activity;获取所述人员的位置信息;Obtaining location information of the person;根据所述人员的位置信息进行人脸识别;及Performing face recognition based on the location information of the person; and在识别到的人脸所属用户标识具有开门权限时输出开门指令。The door opening instruction is output when the recognized user ID of the face belongs to the door opening authority.
- 根据权利要求1所述的方法,其特征在于,所述人员活动信息包括人员运动特征、图像序列特征和图像表观特征;The method according to claim 1, wherein said personnel activity information comprises a person motion feature, an image sequence feature, and an image appearance feature;所述根据所述人员活动信息检测出符合进门意图的人员包括:The person who detects the intent to enter the door according to the personnel activity information includes:根据所述人员运动特征、图像序列特征和图像表观特征,通过已训练的预测模型检测出符合进门意图的人员。According to the motion characteristics of the person, the characteristics of the image sequence, and the apparent features of the image, the trained predictive model is used to detect the person who meets the intention of entering the door.
- 根据权利要求1所述的方法,其特征在于,所述图像序列通过深度摄像头获取;所述方法还包括:The method of claim 1 wherein the sequence of images is obtained by a depth camera; the method further comprising:获取与所述人员活动信息对应的人员距离信息;Obtaining personnel distance information corresponding to the personnel activity information;所述根据所述人员活动信息检测出符合进门意图的人员包括:The person who detects the intent to enter the door according to the personnel activity information includes:根据所述人员活动信息和人员距离信息检测出符合进门意图的人员。A person who meets the intention of entering the door is detected based on the person activity information and the person distance information.
- 根据权利要求1所述的方法,其特征在于,还包括:The method of claim 1 further comprising:根据所述图像序列获得人员活动轨迹;Obtaining a human activity trajectory according to the image sequence;根据所述人员活动轨迹获得人员进门检测结果;及Obtaining a person entry detection result according to the trajectory of the person activity; and在所述识别到的人脸与所述人员进门检测结果不匹配时输出报警信息。The alarm information is output when the recognized face does not match the person entry detection result.
- 根据权利要求4所述的方法,其特征在于,所述根据所述人员活动轨迹获得人员进门检测结果包括:The method according to claim 4, wherein the obtaining the door detection result according to the human activity trajectory comprises:当所述人员活动轨迹从门外区域穿过表示门的一条线段或多于一条的并列线段达到门内区域时,获得相应人员已进门的人员进门检测结果。When the human activity trajectory passes from a door outer region through a line segment representing the door or more than one parallel line segment reaches the inner door region, the result of the door entry detection of the person who has entered the door is obtained.
- 一种门禁控制方法,包括: An access control method includes:获取符合进门意图的人员的位置信息;所述符合进门意图的人员根据人员活动信息检测出;所述人员活动信息是根据图像序列得到的;Obtaining location information of the person who meets the intention of entering the door; the person who meets the intention of entering the door is detected according to the information of the personnel activity; and the information of the activity of the person is obtained according to the image sequence;根据所述人员的位置信息进行人脸识别;Performing face recognition based on the location information of the person;获取识别到的人脸所属的用户标识;及Obtaining the user ID to which the recognized face belongs; and当所述用户标识具有开门权限时输出开门指令。The door opening instruction is output when the user identification has a door opening authority.
- 根据权利要求6所述的方法,其特征在于,所述人员活动信息包括人员运动特征、图像序列特征和图像表观特征;The method according to claim 6, wherein the personnel activity information comprises a person motion feature, an image sequence feature, and an image appearance feature;所述获取符合进门意图的人员的位置信息包括:The obtaining location information of the person who meets the intention of entering the door includes:根据所述人员运动特征、图像序列特征和图像表观特征,通过已训练的预测模型检测出符合进门意图的人员,并获取相应人员的位置信息。According to the motion characteristics of the person, the image sequence feature and the image appearance feature, the trained prediction model is used to detect the person who meets the intention of entering the door, and obtain the position information of the corresponding person.
- 根据权利要求6所述的方法,其特征在于,所述获取符合进门意图的人员的位置信息包括:The method according to claim 6, wherein the obtaining location information of a person who meets the intention of entering the door comprises:获取与所述人员活动信息对应的人员距离信息;及Obtaining personnel distance information corresponding to the personnel activity information; and根据所述人员活动信息和人员距离信息检测出符合进门意图的人员,并获取相应人员的位置信息。The person who meets the intention of entering the door is detected according to the personnel activity information and the person distance information, and the location information of the corresponding person is obtained.
- 根据权利要求6所述的方法,其特征在于,还包括:The method of claim 6 further comprising:获取人员进门检测结果;及Obtaining the results of personnel entry detection; and当所述识别到的人脸与所述人员进门检测结果不匹配时输出报警信息。The alarm information is output when the recognized face does not match the person entry detection result.
- 根据权利要求9所述的方法,其特征在于,所述人员进门检测结果,是当人员活动轨迹从门外区域穿过表示门的一条线段或多于一条的并列线段达到门内区域时,获得的表示相应人员已进门的人员进门检测结果;所述人员活动轨迹根据所述图像序列得到。The method according to claim 9, wherein said personnel door detection result is obtained when a person activity trajectory passes from a door outer region through a line segment representing the door or more than one parallel line segment reaches the door inner region The person indicating that the corresponding person has entered the door enters the door detection result; the person activity track is obtained according to the image sequence.
- 一种电子设备,包括存储器和处理器,所述存储器中储存有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行以下步骤:An electronic device comprising a memory and a processor, the memory storing computer readable instructions, the computer readable instructions being executed by the processor such that the processor performs the following steps:获取图像序列;Obtaining a sequence of images;根据所述图像序列获得人员活动信息; Obtaining human activity information according to the image sequence;根据所述人员活动信息检测出符合进门意图的人员;Detecting a person who meets the intention of entering the door according to the information of the personnel activity;获取所述人员的位置信息;Obtaining location information of the person;根据所述人员的位置信息进行人脸识别;及Performing face recognition based on the location information of the person; and在识别到的人脸所属用户标识具有开门权限时输出开门指令。The door opening instruction is output when the recognized user ID of the face belongs to the door opening authority.
- 根据权利要求11所述的电子设备,其特征在于,所述人员活动信息包括人员运动特征、图像序列特征和图像表观特征;The electronic device according to claim 11, wherein the personnel activity information comprises a person motion feature, an image sequence feature, and an image appearance feature;所述根据所述人员活动信息检测出符合进门意图的人员包括:The person who detects the intent to enter the door according to the personnel activity information includes:根据所述人员运动特征、图像序列特征和图像表观特征,通过已训练的预测模型检测出符合进门意图的人员。According to the motion characteristics of the person, the characteristics of the image sequence, and the apparent features of the image, the trained predictive model is used to detect the person who meets the intention of entering the door.
- 根据权利要求11所述的电子设备,其特征在于,所述电子设备包括获取图像序列的深度摄像头;所述计算机可读指令还使得所述处理器执行以下步骤:The electronic device of claim 11 wherein said electronic device comprises a depth camera that acquires a sequence of images; said computer readable instructions further causing said processor to perform the steps of:获取与所述人员活动信息对应的人员距离信息;Obtaining personnel distance information corresponding to the personnel activity information;所述根据所述人员活动信息检测出符合进门意图的人员包括:The person who detects the intent to enter the door according to the personnel activity information includes:根据所述人员活动信息和人员距离信息检测出符合进门意图的人员。A person who meets the intention of entering the door is detected based on the person activity information and the person distance information.
- 根据权利要求11所述的电子设备,其特征在于,所述计算机可读指令还使得所述处理器执行以下步骤:The electronic device of claim 11 wherein said computer readable instructions further cause said processor to perform the following steps:根据所述图像序列获得人员活动轨迹;Obtaining a human activity trajectory according to the image sequence;根据所述人员活动轨迹获得人员进门检测结果;及Obtaining a person entry detection result according to the trajectory of the person activity; and在所述识别到的人脸与所述人员进门检测结果不匹配时输出报警信息。The alarm information is output when the recognized face does not match the person entry detection result.
- 根据权利要求14所述的电子设备,其特征在于,所述根据所述人员活动轨迹获得人员进门检测结果包括:The electronic device according to claim 14, wherein the obtaining the door detection result according to the human activity trajectory comprises:当所述人员活动轨迹从门外区域穿过表示门的一条线段或多于一条的并列线段达到门内区域时,获得相应人员已进门的人员进门检测结果。When the human activity trajectory passes from a door outer region through a line segment representing the door or more than one parallel line segment reaches the inner door region, the result of the door entry detection of the person who has entered the door is obtained.
- 一种电子设备,包括存储器和处理器,所述存储器中储存有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行以下步骤: An electronic device comprising a memory and a processor, the memory storing computer readable instructions, the computer readable instructions being executed by the processor such that the processor performs the following steps:获取符合进门意图的人员的位置信息;所述符合进门意图的人员根据人员活动信息检测出;所述人员活动信息是根据图像序列得到的;Obtaining location information of the person who meets the intention of entering the door; the person who meets the intention of entering the door is detected according to the information of the personnel activity; and the information of the activity of the person is obtained according to the image sequence;根据所述人员的位置信息进行人脸识别;Performing face recognition based on the location information of the person;获取识别到的人脸所属的用户标识;及Obtaining the user ID to which the recognized face belongs; and当所述用户标识具有开门权限时输出开门指令。The door opening instruction is output when the user identification has a door opening authority.
- 根据权利要求16所述的电子设备,其特征在于,所述人员活动信息包括人员运动特征、图像序列特征和图像表观特征;The electronic device according to claim 16, wherein the personnel activity information comprises a person motion feature, an image sequence feature, and an image appearance feature;所述获取符合进门意图的人员的位置信息包括:The obtaining location information of the person who meets the intention of entering the door includes:根据所述人员运动特征、图像序列特征和图像表观特征,通过已训练的预测模型检测出符合进门意图的人员,并获取相应人员的位置信息。According to the motion characteristics of the person, the image sequence feature and the image appearance feature, the trained prediction model is used to detect the person who meets the intention of entering the door, and obtain the position information of the corresponding person.
- 根据权利要求16所述的电子设备,其特征在于,所述获取符合进门意图的人员的位置信息包括:The electronic device according to claim 16, wherein the obtaining location information of the person who meets the intention of entering the door comprises:获取与所述人员活动信息对应的人员距离信息;及Obtaining personnel distance information corresponding to the personnel activity information; and根据所述人员活动信息和人员距离信息检测出符合进门意图的人员,并获取相应人员的位置信息。The person who meets the intention of entering the door is detected according to the personnel activity information and the person distance information, and the location information of the corresponding person is obtained.
- 根据权利要求16所述的电子设备,其特征在于,所述计算机可读指令还使得所述处理器执行以下步骤:The electronic device of claim 16 wherein said computer readable instructions further cause said processor to perform the following steps:获取人员进门检测结果;及Obtaining the results of personnel entry detection; and当所述识别到的人脸与所述人员进门检测结果不匹配时输出报警信息。The alarm information is output when the recognized face does not match the person entry detection result.
- 根据权利要求19所述的电子设备,其特征在于,所述人员进门检测结果,是当人员活动轨迹从门外区域穿过表示门的一条线段或多于一条的并列线段达到门内区域时,获得的表示相应人员已进门的人员进门检测结果;所述人员活动轨迹根据所述图像序列得到。 The electronic device according to claim 19, wherein said personnel door detection result is that when a person activity track passes from a door outer region through a line segment representing the door or more than one parallel line segment reaches the door inner region, The obtained result indicates that the person who has entered the door has entered the door; the human activity track is obtained according to the image sequence.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610353026.3A CN105913528B (en) | 2016-05-25 | 2016-05-25 | Access control data processing method and device, access control method and device |
CN201610353026.3 | 2016-05-25 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017202169A1 true WO2017202169A1 (en) | 2017-11-30 |
Family
ID=56741410
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/081884 WO2017202169A1 (en) | 2016-05-25 | 2017-04-25 | Access control data processing method, access control method, and electronic apparatus |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105913528B (en) |
WO (1) | WO2017202169A1 (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108804903A (en) * | 2018-06-12 | 2018-11-13 | 平安科技(深圳)有限公司 | File viewing method and device and computer readable storage medium |
EP3657513A1 (en) * | 2018-11-22 | 2020-05-27 | Konica Minolta, Inc. | Image processing program and image processer |
CN111291596A (en) * | 2018-12-07 | 2020-06-16 | 杭州海康威视数字技术股份有限公司 | Early warning method and device based on face recognition |
CN112163568A (en) * | 2020-10-28 | 2021-01-01 | 成都中科大旗软件股份有限公司 | Scenic spot person searching system based on video detection |
CN112511809A (en) * | 2020-12-22 | 2021-03-16 | 浙江大华技术股份有限公司 | Privacy protection method, device, equipment and medium for monitoring equipment |
CN112634507A (en) * | 2020-12-30 | 2021-04-09 | 重庆赤木科技有限公司 | Safety access control management system for community |
US11157734B1 (en) | 2020-12-01 | 2021-10-26 | Motorola Solutions, Inc. | Autonomous self-learning artificial intelligence intent system for access control |
CN114333123A (en) * | 2021-12-13 | 2022-04-12 | 南京熊猫电子股份有限公司 | Gate passage detection method, device and medium based on laser ranging element group |
US20220268088A1 (en) * | 2021-02-12 | 2022-08-25 | Dormakaba Deutschland Gmbh | Method for operating a door actuator |
CN115909556A (en) * | 2022-11-01 | 2023-04-04 | 深圳市鼎山科技有限公司 | Face recognition intelligent lock control system and method based on 5G technology |
US11645867B2 (en) | 2020-05-12 | 2023-05-09 | Motorola Solutions, Inc. | Device, method and system for controlling an access point based on movement trends of a mover |
SE2250364A1 (en) * | 2022-03-24 | 2023-09-25 | Assa Abloy Ab | Determining intent to open a door |
Families Citing this family (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105913528B (en) * | 2016-05-25 | 2019-06-25 | 腾讯科技(深圳)有限公司 | Access control data processing method and device, access control method and device |
CN107730663A (en) * | 2017-05-10 | 2018-02-23 | 西安艾润物联网技术服务有限责任公司 | Door-access control method and device |
CN110874876B (en) * | 2018-08-30 | 2022-07-05 | 阿里巴巴集团控股有限公司 | Unlocking method and device |
CN111508124A (en) * | 2019-01-11 | 2020-08-07 | 百度在线网络技术(北京)有限公司 | Authority verification method and device |
CN109872471A (en) * | 2019-02-11 | 2019-06-11 | 杭州比智科技有限公司 | Based on the unmanned shop purchase method and device that can close payment and settlement area |
CN110246243A (en) * | 2019-05-09 | 2019-09-17 | 厦门中控智慧信息技术有限公司 | Access control method, device and terminal device |
CN110390747A (en) * | 2019-06-26 | 2019-10-29 | 深圳中青文化投资管理有限公司 | A kind of Intelligent Office space building guard method and computer readable storage medium |
CN110427887B (en) * | 2019-08-02 | 2023-03-10 | 腾讯科技(深圳)有限公司 | Member identity identification method and device based on intelligence |
CN110503760B (en) * | 2019-08-27 | 2021-06-01 | 海信集团有限公司 | Access control method and access control system |
CN110491009A (en) * | 2019-09-03 | 2019-11-22 | 北京华捷艾米科技有限公司 | Home security method and system based on intelligent recognition camera |
CN111063083B (en) * | 2019-12-16 | 2021-11-16 | 腾讯科技(深圳)有限公司 | Access control method and device, computer readable storage medium and computer equipment |
CN111768535A (en) * | 2020-07-08 | 2020-10-13 | 深圳纽酷物联网有限公司 | Dynamic face recognition terminal adopting 5G network communication |
CN112749413B (en) * | 2020-08-03 | 2023-03-31 | 德能森智能科技(成都)有限公司 | Authority verification device and method based on intelligent park management |
CN111988571B (en) * | 2020-08-26 | 2022-09-16 | 杭州海康威视数字技术股份有限公司 | Method and device for detecting access information |
CN112200944B (en) * | 2020-09-30 | 2023-01-13 | 广州市果豆科技有限责任公司 | Barrier gate control method and system combining face recognition |
CN112614261A (en) * | 2020-12-15 | 2021-04-06 | 中标慧安信息技术股份有限公司 | Visitor management method and system based on video identification |
CN113033420B (en) * | 2021-03-29 | 2024-03-26 | 北京物资学院 | Non-image type access control system and method based on big data acquisition |
CN113538763B (en) * | 2021-06-09 | 2023-10-27 | 青岛海信智慧生活科技股份有限公司 | Entrance guard opening method, intelligent terminal and server |
CN113936321A (en) * | 2021-10-22 | 2022-01-14 | 杭州海康威视数字技术股份有限公司 | Access control authentication method, device and equipment based on facial biometric identification |
CN116386193A (en) * | 2023-02-23 | 2023-07-04 | 浙江大华技术股份有限公司 | Access control method, device, electronic device and storage medium |
CN119810965B (en) * | 2025-03-12 | 2025-06-17 | 长沙云梦电子科技有限公司 | Dynamic management and control system and method based on multi-source data fusion |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090226093A1 (en) * | 2008-03-03 | 2009-09-10 | Canon Kabushiki Kaisha | Apparatus and method for detecting specific object pattern from image |
CN101975009A (en) * | 2010-10-29 | 2011-02-16 | 无锡中星微电子有限公司 | Automatic door control device and method |
CN203276305U (en) * | 2013-05-28 | 2013-11-06 | 南京三宝科技股份有限公司 | Intelligent gait recognition device based on cloud vision |
CN104239851A (en) * | 2014-07-25 | 2014-12-24 | 重庆科技学院 | Intelligent cell inspection system based on behavior analysis and control method thereof |
CN105239897A (en) * | 2015-11-02 | 2016-01-13 | 张玥桐 | Intelligent safety door |
CN105913528A (en) * | 2016-05-25 | 2016-08-31 | 腾讯科技(深圳)有限公司 | Method and device for processing access control data, method and device for access control |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9536046B2 (en) * | 2010-01-12 | 2017-01-03 | Microsoft Technology Licensing, Llc | Automated acquisition of facial images |
US9082235B2 (en) * | 2011-07-12 | 2015-07-14 | Microsoft Technology Licensing, Llc | Using facial data for device authentication or subject identification |
CN102982598B (en) * | 2012-11-14 | 2015-05-20 | 三峡大学 | Video people counting method and system based on single camera scene configuration |
CN105261095A (en) * | 2015-10-21 | 2016-01-20 | 北京无线电计量测试研究所 | Access control system based on iris recognition and method for iris recognition by utilizing system |
-
2016
- 2016-05-25 CN CN201610353026.3A patent/CN105913528B/en active Active
-
2017
- 2017-04-25 WO PCT/CN2017/081884 patent/WO2017202169A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090226093A1 (en) * | 2008-03-03 | 2009-09-10 | Canon Kabushiki Kaisha | Apparatus and method for detecting specific object pattern from image |
CN101975009A (en) * | 2010-10-29 | 2011-02-16 | 无锡中星微电子有限公司 | Automatic door control device and method |
CN203276305U (en) * | 2013-05-28 | 2013-11-06 | 南京三宝科技股份有限公司 | Intelligent gait recognition device based on cloud vision |
CN104239851A (en) * | 2014-07-25 | 2014-12-24 | 重庆科技学院 | Intelligent cell inspection system based on behavior analysis and control method thereof |
CN105239897A (en) * | 2015-11-02 | 2016-01-13 | 张玥桐 | Intelligent safety door |
CN105913528A (en) * | 2016-05-25 | 2016-08-31 | 腾讯科技(深圳)有限公司 | Method and device for processing access control data, method and device for access control |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108804903A (en) * | 2018-06-12 | 2018-11-13 | 平安科技(深圳)有限公司 | File viewing method and device and computer readable storage medium |
EP3657513A1 (en) * | 2018-11-22 | 2020-05-27 | Konica Minolta, Inc. | Image processing program and image processer |
CN111291596A (en) * | 2018-12-07 | 2020-06-16 | 杭州海康威视数字技术股份有限公司 | Early warning method and device based on face recognition |
US11645867B2 (en) | 2020-05-12 | 2023-05-09 | Motorola Solutions, Inc. | Device, method and system for controlling an access point based on movement trends of a mover |
CN112163568A (en) * | 2020-10-28 | 2021-01-01 | 成都中科大旗软件股份有限公司 | Scenic spot person searching system based on video detection |
AU2021390569B2 (en) * | 2020-12-01 | 2023-09-21 | Motorola Solutions, Inc. | Autonomous self-learning artificial intelligence intent system for access control |
US11157734B1 (en) | 2020-12-01 | 2021-10-26 | Motorola Solutions, Inc. | Autonomous self-learning artificial intelligence intent system for access control |
WO2022120316A1 (en) * | 2020-12-01 | 2022-06-09 | Motorola Solutions, Inc. | Autonomous self-learning artificial intelligence intent system for access control |
CN112511809A (en) * | 2020-12-22 | 2021-03-16 | 浙江大华技术股份有限公司 | Privacy protection method, device, equipment and medium for monitoring equipment |
CN112634507A (en) * | 2020-12-30 | 2021-04-09 | 重庆赤木科技有限公司 | Safety access control management system for community |
US20220268088A1 (en) * | 2021-02-12 | 2022-08-25 | Dormakaba Deutschland Gmbh | Method for operating a door actuator |
CN114333123A (en) * | 2021-12-13 | 2022-04-12 | 南京熊猫电子股份有限公司 | Gate passage detection method, device and medium based on laser ranging element group |
SE2250364A1 (en) * | 2022-03-24 | 2023-09-25 | Assa Abloy Ab | Determining intent to open a door |
SE546191C2 (en) * | 2022-03-24 | 2024-06-25 | Assa Abloy Ab | Determining intent to open a door |
CN115909556A (en) * | 2022-11-01 | 2023-04-04 | 深圳市鼎山科技有限公司 | Face recognition intelligent lock control system and method based on 5G technology |
CN115909556B (en) * | 2022-11-01 | 2024-07-09 | 深圳市鼎山科技有限公司 | Face recognition intelligent lock control system and method based on 5G technology |
Also Published As
Publication number | Publication date |
---|---|
CN105913528B (en) | 2019-06-25 |
CN105913528A (en) | 2016-08-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017202169A1 (en) | Access control data processing method, access control method, and electronic apparatus | |
US12314388B2 (en) | Systems and methods for machine learning enhanced intelligent building access endpoint security monitoring and management | |
US10796514B2 (en) | System and method for optimizing a facial recognition-based system for controlling access to a building | |
WO2021180060A1 (en) | Channel gate control method, apparatus and system | |
US20210287469A1 (en) | System and method for provisioning a facial recognition-based system for controlling access to a building | |
EP2620896B1 (en) | System And Method For Face Capture And Matching | |
US11217076B1 (en) | Camera tampering detection based on audio and video | |
WO2020083183A1 (en) | Living body detection method and apparatus, electronic device, storage medium and related system using living body detection method | |
CN110738769A (en) | forbidden user identification method, device, system and computer equipment | |
US10839204B2 (en) | Sharing identification data with audio/video recording and communication devices and local processing of the shared data | |
WO2015136938A1 (en) | Information processing method and information processing system | |
US11935297B2 (en) | Item monitoring for doorbell cameras | |
JP7257765B2 (en) | Information processing device, authentication system, control method thereof, and program | |
CN107833328B (en) | Access control verification method and device based on face recognition and computing equipment | |
KR102658852B1 (en) | Access control system based on facial recognition | |
CN110892412B (en) | Face recognition system, face recognition method, and face recognition program | |
US11627289B1 (en) | Activating security system alarms based on data generated by audio/video recording and communication devices | |
CN117746545A (en) | Intelligent equipment linkage method, device, equipment and medium based on personnel track | |
US12300050B2 (en) | Access control solution for a passage device | |
US20230222193A1 (en) | Information processing device, permission determination method, and program | |
KR20140060081A (en) | Apparatus and method for speed gate based on face recognition at a distance | |
CN117830960B (en) | A risk identification method, device, equipment and medium based on smart community | |
CN117612288A (en) | Gate system and evidence obtaining method thereof | |
CN120014745A (en) | Intelligent gate pass method, system and equipment | |
CN119489445A (en) | Inspection robot control method, electronic device, storage medium and program product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17802015 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17802015 Country of ref document: EP Kind code of ref document: A1 |