Airport apron face recognition method and device, medium and equipment

Through long-distance video face recognition in the airport apron environment, using moving target detection and corner detection technology, the problem of low recognition efficiency of existing technology in long-distance and non-contact environments has been solved, and accurate video face recognition has been achieved. Face recognition and moving target tracking meet the needs of airport security monitoring.

CN118609182APending Publication Date: 2024-09-06THE SECOND RES INST OF CIVIL AVIATION ADMINISTRATION OF CHINA
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410681237.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Existing face recognition technology is difficult to achieve accurate video face recognition in long-distance, non-contact environments, especially in large scenes such as airport aprons, and cannot meet the needs of security monitoring and criminal record retrieval.

Method used

By acquiring long-distance video frames, we perform moving target detection and corner point detection, build a moving target contour model, update and track moving targets, realize key moving target recognition and face recognition, and use corner point detection and corner point tracking technology to deal with occlusions. and emerging targets.

Benefits of technology

It achieves accurate face recognition in long-distance, non-contact environments, improves the efficiency of moving target association and occlusion processing, and ensures correct ID marking and face recognition results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118609182A
    Figure CN118609182A
Patent Text Reader

Abstract

The invention relates to the technical field of equipment face recognition, in particular to an airport apron face recognition method and device, a medium and equipment. The method comprises the steps of obtaining a current frame of a target video; if the distance between the corresponding central position and the video acquisition equipment is greater than a preset distance, obtaining a moving target list of the current video frame of the target video; according to all historical video frames before the current video frame of the target video and a preset moving target contour model updating rule, obtaining a moving target contour model list corresponding to the current video frame of the target video frame; according to the A, the L and a preset corner detection method, determining a corresponding relation between the A and the L to obtain a key moving target list; if G is not null, updating L according to G; and according to the updated L, performing face recognition and marking on the A. According to the invention, more efficient moving target association and occlusion processing are realized. And based on a precise moving target tracking result, precise face recognition is realized, and a correct ID is given.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] Face recognition is a biometric technology that identifies people based on their facial features. It uses computers to reliably and effectively identify people based on their unique physiological and behavioral characteristics. A typical video face recognition system includes a series of technical modules: using a camera to capture images or video streams containing faces, automatically detecting and tracking faces in images after preprocessing, locating key feature points in faces, and then determining the identity of the detected faces. The face recognition part is also commonly called portrait recognition or facial recognition.

[0003] Compared with commonly used biometric features including fingerprints, signatures, voice, irises, palm prints, gait, etc., the advantages of face recognition are mainly reflected in its initiative, non-intrusiveness and user acceptance. Video face recognition system can capture the user's identification information even if the user does not cooperate, meeting the requirements of document verification, security monitoring and other aspects, and has an irreplaceable position in the field of biometric recognition.

[0004] Although the research and marketization of face recognition have made certain progress, the emerging new demands have brought new challenges to face recognition. The face recognition systems currently available on the market are still mainly concentrated in the comparison of photos or video face recognition applications in close range under indoor conditions. For the security field in large scenes such as airport apron areas, there is not only a high demand for traditional face recognition technologies based on photo comparison, such as security document verification in the apron area and face retrieval with criminal records, but also an urgent and strong demand for long-distance, non-contact video face recognition technology in wide-area environments such as apron areas. Therefore, there is an urgent need for a long-distance, non-contact, and accurate video face recognition technology. Summary of the invention

[0005] The technical problem to be solved by this application is: how to provide a long-distance, non-contact, accurate video face recognition technology.

[0006] In view of the above technical problems, according to the first aspect of the present application, a method for face recognition on an airport apron is provided, the method comprising:

[0007] S100, obtaining a current frame of a target video corresponding to an airport apron;

[0008] S200, if the distance between the center position corresponding to the target video and the video acquisition device is greater than the preset distance, a moving target detection is performed on the current video frame of the target video to obtain a moving target list A of the current video frame of the target video = (A1, A2, ..., A i , ..., A n); i = 1, 2, ..., n; n is the number of moving objects included in the current video frame of the target video; A i is the i-th moving target included in the current video frame of the target video.

[0009] S300, according to all historical video frames before the current video frame of the target video and the preset moving target contour model update rule, obtain the moving target contour model list L corresponding to the current video frame of the target video frame = (L1, L2, ..., L j , ..., L m );j=1,2,...,m;m is the number of moving target contour models corresponding to the current video frame of the target video;L j is the jth moving target contour model corresponding to the current video frame of the target video; m=a; a is the number of historical moving targets corresponding to the historical video frame containing the largest number of historical moving targets; the moving target contour model is constructed based on corner point detection of the historical video frames.

[0010] S400, according to A, L and a preset corner point detection method, determine the corresponding relationship between A and L to obtain a key moving target list G = (G1, G2, ..., G p , ..., G q ); p = 1, 2, ..., q; p is the number of key motion target lists; G p is the Pth key motion target; a key motion target is a motion target for which there is no corresponding motion target contour model in L.

[0011] S500, if G is not empty, then update L according to G; wherein the moving target contour model in L after the update corresponds one-to-one with the moving target in A.

[0012] S600: Based on the updated L, perform face recognition on A and mark the face.

[0013] According to a second aspect of the present application, an airport apron face recognition device is provided, the device comprising:

[0014] An acquisition unit, used to acquire a current frame of a target video corresponding to an airport apron;

[0015] The detection unit is used to detect moving targets on the current video frame of the target video if the distance between the center position corresponding to the target video and the video acquisition device is greater than a preset distance, and obtain a moving target list A of the current video frame of the target video = (A1, A2, ..., A i , ..., A n ); i = 1, 2, ..., n; n is the number of moving objects included in the current video frame of the target video; A iis the i-th moving target included in the current video frame of the target video;

[0016] The model acquisition unit is used to obtain a moving target contour model list L = (L1, L2, ..., L2) corresponding to the current video frame of the target video frame according to all historical video frames before the current video frame of the target video and the preset moving target contour model update rule. j , ..., L m );j=1,2,...,m;m is the number of moving target contour models corresponding to the current video frame of the target video;L j is the jth moving target contour model corresponding to the current video frame of the target video; m=a; a is the number of historical moving targets corresponding to the historical video frame containing the largest number of historical moving targets; the moving target contour model is constructed based on corner point detection of the historical video frames;

[0017] A list acquisition unit is used to determine the corresponding relationship between A and L according to A, L and a preset corner point detection method to obtain a key moving target list G = (G1, G2, ..., G p , ..., G q ); p = 1, 2, ..., q; p is the number of key motion target lists; G p is the Pth key moving target; the key moving target is a moving target for which there is no corresponding moving target contour model in L;

[0018] An updating unit, configured to update L according to G if G is not empty; wherein the moving target contour model in L after the update corresponds one-to-one with the moving target in A;

[0019] The recognition unit is used to perform face recognition and marking on A according to the updated L.

[0020] According to the third aspect of the present application, a non-transitory computer-readable storage medium is provided, in which at least one instruction or at least one program is stored, and the at least one instruction or at least one program is loaded and executed by a processor to implement the above-mentioned airport apron face recognition method.

[0021] According to a fourth aspect of the present application, there is provided an electronic device comprising a processor and the above-mentioned non-transitory computer-readable storage medium.

[0022] The present application has at least the following beneficial effects: when the distance between the center position corresponding to the target video corresponding to the airport apron and the video acquisition device is greater than the preset distance, first, a list of moving targets of the current video frame of the target video is obtained; then, according to all historical video frames before the current video frame of the target video and the preset moving target contour model update rule, a list of moving target contour models corresponding to the current video frame of the target video frame is obtained, where the moving target contour model is constructed based on corner point detection of the historical video frames. Then, according to the moving target list and the moving target contour model list, several key moving targets are determined. Then, the corresponding moving target contour is constructed. Finally, face recognition is performed. This application obtains the moving target contour model of each moving target in each video frame through corner point detection, and based on the update of the moving target detection result for each updated current video frame, builds a new moving target contour model for the moving targets that were originally occluded and not recognized or the moving targets that newly enter the current video frame of the target video, and realizes the moving target tracking for the moving target according to the moving target contour model corresponding to each moving target. And because this application adopts corner point detection and corner point tracking, it can also accurately identify and track multiple moving targets that are occluded after the moving target contour model is established. More efficient moving target association and occlusion processing are achieved. Finally, accurate face recognition is achieved based on the accurate moving target tracking results and the correct ID is assigned. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0024] Figure 1 A flowchart of an airport apron face recognition method provided for one embodiment of the present application;

[0025] Figure 2 A structural block diagram of an airport apron face recognition device provided for one embodiment of the present application. DETAILED DESCRIPTION

[0026] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0027] like Figure 1 As shown, a method for face recognition at an airport apron is provided according to an embodiment of the present application, comprising:

[0028] S100, obtaining a current frame of a target video corresponding to an airport apron.

[0029] Specifically, this application is to perform real-time face detection on videos.

[0030] S200, if the distance between the center position corresponding to the target video and the video acquisition device is greater than the preset distance, a moving target detection is performed on the current video frame of the target video to obtain a moving target list A of the current video frame of the target video = (A1, A2, ..., A i , ..., A n ); i = 1, 2, ..., n; n is the number of moving objects included in the current video frame of the target video; A i is the i-th moving target included in the current video frame of the target video.

[0031] Specifically, if the distance between the center position corresponding to the target video and the video acquisition device is greater than a preset distance, it is a long distance condition. Here, the center position corresponding to the target video can be the geometric center point of the viewing angle range of the target video. As an example, the preset distance can be 20 meters. Step S200 also includes:

[0032] S210: If the distance between the center position corresponding to the target video and the video acquisition device is greater than a preset distance, a video frame brightness value of the current video frame of the target video is acquired.

[0033] S220: If the brightness value of the video frame is less than a preset brightness value threshold, the brightness of the current video frame of the target video is adjusted to obtain n motion foregrounds.

[0034] Here, if the brightness value of the video frame is less than the preset brightness value threshold, the brightness of the current video frame of the target video is adjusted so that the brightness reaches the preset brightness value threshold before processing, which can achieve a certain robustness against sudden changes in illumination. After the current video frame with adjusted brightness value is compared with the background model (background clipping), the motion foreground is preliminarily obtained. Next, the motion foreground needs to be further processed to obtain useful results, and on the other hand, it needs to be input into the background modeling module to obtain a new model through background update.

[0035] S230, performing noise removal, ghost removal and connected region analysis on the n moving foregrounds, respectively, to obtain a moving target list A=(A1, A2, ..., A i , ..., A n ).

[0036] Here, the n moving foregrounds obtained initially will be input into the final individual confirmation module after noise removal, ghost removal, and connected region analysis. The goal of noise removal is to remove those independent noise points in the initial foreground and small areas with an area less than a certain threshold value. The task of ghost removal is to identify those moving areas in the scene that were once moving targets but have now stopped moving and merged into the background. The result obtained after removing ghosts is the real moving area. Next, a connected region analysis is performed to classify all moving pixels in the scene into a limited number of connected regions. Due to detection errors, some moving targets may be separated into several connected regions. Finally, the function of individual confirmation is to identify all moving individuals in the scene based on the connected regions and assign different IDs (individual tags) to each of them. In this way, a moving target list A is obtained.

[0037] S300, according to all historical video frames before the current video frame of the target video and the preset moving target contour model update rule, obtain the moving target contour model list L corresponding to the current video frame of the target video frame = (L1, L2, ..., L j , ..., L m );j=1,2,...,m;m is the number of moving target contour models corresponding to the current video frame of the target video;L j is the jth moving target contour model corresponding to the current video frame of the target video; m=a; a is the number of historical moving targets corresponding to the historical video frame containing the largest number of historical moving targets; the moving target contour model is constructed based on corner point detection of the historical video frames.

[0038] Specifically, after the moving target is detected, corner detection and corner tracking are first performed. The advantage of corner tracking is that it is local and does not require the overall information of the target, which is helpful for occlusion processing. Based on the results of corner tracking and the moving target contour model (obtained based on the results of previous detection and tracking), on the basis of moving target detection, target association and occlusion processing are performed to finally obtain the output result. Furthermore, the preset moving target contour model update rules include:

[0039] S310, obtaining an initial video frame of a target video.

[0040] S320: Construct corresponding target contour models according to each moving target included in the initial video frame.

[0041] Here, the initial video frame of the target video is obtained, and moving target detection is performed on the initial video frame to obtain several moving targets. Corner point detection is performed on each moving target, and multiple corner points are assigned to each moving target based on the result of corner point detection, and then a corresponding target contour model is constructed for each moving target based on all the corner points corresponding to each moving target. In the process of moving target detection, multiple moving targets that are too close or blocked may be detected as the same moving target, that is, a target contour model will also be constructed.

[0042] S330, each time an updated current video frame of the target video is received, if the number of moving targets included in the current video frame is greater than the number of moving targets included in each historical video frame before the current video frame; then a corresponding moving target contour model is constructed based on the updated moving targets included in the current video frame; the updated moving targets are moving targets that have not been detected in each historical video frame before the current video frame.

[0043] Here, when receiving a current video frame of an updated target video, if the number of moving targets included in the current video frame is greater than the number of moving targets included in each historical video frame before the current video frame, it means that there may be two situations. One situation is that in the current video frame of the updated target video, a moving target that was not near the trajectory of the center of gravity of any moving target before appears, that is, a new moving target that has never appeared; the other situation is that in the current video frame of the updated target video, multiple moving targets that were originally identified as one moving target, but were actually occluded or separated from each other and mistakenly identified as one moving target, are not occluded or separated from each other, and are identified as multiple moving targets, resulting in an increase in the number. At this time, a corresponding new moving target contour model is constructed for the newly added updated moving target.

[0044] In an exemplary embodiment of the present application, each moving target has a corresponding center of gravity trajectory, and after step S320, the method further includes:

[0045] S340, each time the current video frame of the updated target video is received, if the current video frame includes a reproduced moving target, a corresponding moving target contour model is constructed based on the reproduced moving target included in the current video frame; the reproduced moving target is a moving target that appeared before a preset number of video frames and disappeared for a preset number of video frames and was on the same center of gravity trajectory.

[0046] Here, each time the current video frame of the updated target video is received, if the current video frame includes a reappearing moving target, a corresponding moving target contour model is constructed based on the reappearing moving target included in the current video frame. As an example: the preset video frame is 30 frames, that is, the reappearing moving target appears before 30 video frames, but disappears within 30 consecutive frames, and then appears again, and is still located at the same center of gravity trajectory. At this time, it is considered to be a new moving target, and the original moving target may leave the corresponding field of view of the target video when it is blocked. Then, a corresponding moving target contour model is constructed for the new moving target.

[0047] It should be noted that, in the present embodiment, when the moving target contour model corresponding to each moving target is updated according to the preset moving target contour model update rule, if multiple moving targets have been identified and the moving target contour model has been constructed, in the subsequent video frames, if one or several of them are obscured, resulting in the moving target not being detected, it is not necessary to reconstruct the moving target contour model, but the moving target contour model corresponding to the video frame with the most identified moving targets shall prevail.

[0048] S400, according to A, L and a preset corner point detection method, determine the corresponding relationship between A and L to obtain a key moving target list G = (G1, G2, ..., G p , ..., G q ); p = 1, 2, ..., q; p is the number of key motion target lists; G p is the Pth key motion target; a key motion target is a motion target for which there is no corresponding motion target contour model in L.

[0049] Specifically, on the basis of detecting the moving target in each video frame, a corresponding corner point is assigned to each moving target according to the corresponding moving target contour model, and then the moving target tracking between video frames is realized by performing corner point tracking. Since the moving target tracking between video frames by performing corner point tracking not only relies on the face information, but also assigns multiple corner points to a moving target according to the result of its moving target detection, when its face is blocked, the corner point information of other parts of the body can also be used to track the moving target and handle the occlusion.

[0050] Here, the key moving target is a moving target for which there is no corresponding moving target contour model in L, that is, it is determined whether there is a moving target for which there is no target contour model constructed in the current frame.

[0051] S500, if G is not empty, then update L according to G; wherein the moving target contour model in L after the update corresponds one-to-one with the moving target in A.

[0052] Specifically, if G is not empty, it means that there is a key moving target, and a new moving target contour model is constructed according to the key moving target. The updated moving target contour model in L corresponds to the moving target in A one-to-one.

[0053] It should be noted that this embodiment obtains the moving target contour model of each moving target in each video frame through corner point detection, and based on the update of the moving target detection result for each updated current video frame, a new moving target contour model is constructed for the moving targets that were originally occluded and not recognized or the moving targets that newly enter the current video frame of the target video, and the moving target tracking of the moving target is realized according to the moving target contour model corresponding to each moving target. Moreover, since this embodiment adopts corner point detection and corner point tracking, it can also accurately identify and track multiple moving targets that are occluded after the moving target contour model is established. A more efficient moving target association and occlusion processing are realized.

[0054] S600: Based on the updated L, perform face recognition on A and mark the face.

[0055] Specifically, step S600 includes:

[0056] S610, searching and locating a face according to the updated L.

[0057] S620: If there is a moving target with an unlocated face, obtain the face location of the moving target with an unlocated face in a previous historical video frame of the current video frame as the face location of the moving target with an unlocated face.

[0058] S630, assigning a face ID to each moving target.

[0059] Here, since the above steps achieve relatively accurate detection and tracking of moving targets, it is possible to accurately detect occluded moving targets, thereby narrowing the scope of face recognition, removing interference, searching for faces on the basis of moving target detection and tracking, and finally locating faces. If there is a moving target with an unlocated face, here, lowering the head or occlusion may cause face positioning failure. At this time, the face positioning of the moving target with an unlocated face in the previous historical video frame of the current video frame is obtained as the face positioning of the moving target with an unlocated face. Finally, a face ID is assigned to each moving target based on the result of face recognition.

[0060] In an exemplary embodiment of the present application, an erroneous face recognition result of any video frame is repaired according to the spatiotemporal information of each face in the target video.

[0061] Specifically, the purpose of face tracking is to establish the association between the face in the previous and next video frames. This association information helps to make the final determination of the face ID in video face recognition. On a single frame image, after performing face recognition, the face ID is finally determined, but in video face identification, based on the face's motion trajectory, the face recognition errors on certain frames can be corrected, and even in areas where the face cannot be detected (various factors such as changes in the face's angle may lead to the failure of face detection), the face's position can be predicted and the correct ID can be assigned.

[0062] The face tracking method in this embodiment is based on moving target tracking, but does not completely rely on moving target tracking. First, the face trajectory can be roughly determined based on face matching. By fusing the face trajectory with the moving target trajectory, the error or mistake of face tracking can be corrected, and even the error of moving target tracking can be corrected.

[0063] Different from static image face recognition, faces in videos have unique spatial and temporal information. We use face tracking to make full use of this spatial and temporal information for face recognition. For each face track, we determine the final face ID of the track by combining the recognition results of each track point.

[0064] In an exemplary embodiment of the present application, after step S100, the method further includes:

[0065] S001: If the distance between the center position corresponding to the target video and the video acquisition device is less than a preset distance, motion detection and moving target detection are performed on the current video frame of the target video.

[0066] Specifically, moving target detection is to identify all moving individuals in the scene and assign different IDs (individual tags) respectively. For long-distance face recognition systems (steps S100-S600 above), moving target detection is necessary. Because long-distance systems usually use extremely high-resolution cameras (e.g., a resolution of 3840*2160), it is necessary to narrow the scope of face detection through moving target detection. In addition, in long-distance systems, the position where the target enters the scene is usually quite far (e.g., 30-40 meters away), and the system has enough time to stabilize detection and tracking. However, for close / medium-distance face recognition systems, the moment the target (close to the front face) appears in the field of view, it is already quite close to the camera, and the face already has sufficient differentiation, which requires the close / medium-distance face recognition system to quickly locate the face. If you wait for the moving target detection / tracking to stabilize before starting face detection, the face may have moved a long distance or even left the field of view. Therefore, in this embodiment, motion detection / moving target detection is used in combination to achieve the goal of rapid positioning.

[0067] The task of motion detection is to quickly locate those areas in the scene where there is displacement. Simple frame difference and more advanced optical flow methods can achieve this goal. By performing face detection based on the results of motion detection, the face can be quickly located when the target (the face close to the front) appears in the scene, thereby ensuring that the lag in face detection does not exceed 5 frames. However, simple motion detection cannot identify all moving individuals in the scene and assign different IDs (individual tags). Therefore, the combined use of motion detection / moving target detection in this embodiment can not only achieve the purpose of quickly locating the face, but also provide sufficient information for moving target tracking.

[0068] S002, tracking a moving target.

[0069] Specifically, the purpose of moving target tracking is to establish the association between the target frames and form the target trajectory.

[0070] S003, performing image processing on the current video frame.

[0071] Specifically, the image preprocessing steps include: denoising, brightness equalization, determining search boundaries, etc. The purpose of preprocessing is to provide images of relatively good quality for face detection.

[0072] S004, performing face detection according to the skin color modeling module.

[0073] Specifically, a skin color modeling module based on a mixed Gaussian model is constructed.

[0074] The purpose of face detection is to perform the task of face location on the candidate areas given by motion detection and the candidate areas given by motion target detection / tracking. By locating faces on the candidate areas given by motion detection, faces that appear immediately in the scene can be quickly detected. Locating faces on the candidate areas given by motion target detection / tracking helps to form a complete face trajectory. For some cases, as an example: the tracking frame of the target is very unstable, and only a part of the target is tracked. On this basis, it is difficult to obtain accurate face detection results. In response to this situation, when the program starts, the image corresponding to the corresponding video frame is converted to the HSV space, and the mixed Gaussian skin color model in the skin color modeling module is used to detect the skin-like areas in the image, and then face detection is performed based on these skin-like areas. In this way, even if the moving target tracking frame is unstable, the face can be accurately detected.

[0075] Furthermore, when tracking a face, the skin color data of each moving target under different light conditions is obtained, and the skin color modeling module is updated accordingly. The face is tracked based on a method combining the updated skin color modeling module with a tracking method based on KLT (feature point tracking). First, the key feature points of the face are tracked using the KLT tracking method, and then in the HSV space, the region containing the feature points is judged based on a rule based on a mixed Gaussian skin color model, and finally the specific position of the face is inferred to achieve stable tracking of the face. That is, the skin color modeling module is continuously updated during the entire face tracking process. This achieves the ultimate goal of accurate face recognition at a relatively close distance.

[0076] In another aspect of this application, reference is made to Figure 2 , and also provides an airport apron face recognition device 100, comprising:

[0077] An acquisition unit 110 is used to acquire a current frame of a target video corresponding to an airport apron;

[0078] The detection unit 120 is used to detect moving targets on the current video frame of the target video if the distance between the center position corresponding to the target video and the video acquisition device is greater than a preset distance, and obtain a moving target list A of the current video frame of the target video = (A1, A2, ..., A i , ..., A n ); i = 1, 2, ..., n; n is the number of moving objects included in the current video frame of the target video; A i is the i-th moving target included in the current video frame of the target video;

[0079] The model acquisition unit 130 is used to obtain a moving target contour model list L corresponding to the current video frame of the target video frame according to all historical video frames before the current video frame of the target video and a preset moving target contour model update rule. j , ..., L m );j=1,2,...,m;m is the number of moving target contour models corresponding to the current video frame of the target video;L j is the jth moving target contour model corresponding to the current video frame of the target video; m=a; a is the number of historical moving targets corresponding to the historical video frame containing the largest number of historical moving targets; the moving target contour model is constructed based on corner point detection of the historical video frames;

[0080] The list acquisition unit 140 is used to determine the correspondence between A and L according to A, L and a preset corner point detection method to obtain a key moving target list G = (G1, G2, ..., G p , ..., G q); p = 1, 2, ..., q; p is the number of key motion target lists; G p is the Pth key moving target; the key moving target is a moving target for which there is no corresponding moving target contour model in L;

[0081] An updating unit 150, configured to update L according to G if G is not empty; wherein the moving target contour model in L after the update corresponds one-to-one with the moving target in A;

[0082] The recognition unit 160 is used to perform face recognition and mark on A according to the updated L.

[0083] In an exemplary embodiment of the present application, an electronic device capable of implementing the above method is also provided.

[0084] Those skilled in the art will appreciate that various aspects of the present application may be implemented as a system, method or program product. Therefore, various aspects of the present application may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to as "circuit", "module" or "system" herein.

[0085] The electronic device according to this embodiment of the present application is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0086] The electronic device is presented in the form of a general-purpose computing device. The components of the electronic device may include, but are not limited to: the at least one processor mentioned above, the at least one storage device mentioned above, and a bus connecting different system components (including storage devices and processors).

[0087] The storage stores program codes, which can be executed by the processor, so that the processor executes the steps described in the above “Exemplary Method” section of this specification according to various exemplary embodiments of the present application.

[0088] The memory may include readable media in the form of volatile memory, such as random access memory (RAM) and / or cache memory, and may further include read only memory (ROM).

[0089] The storage may also include a program / utility having a set (at least one) of program modules, such program modules including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include the implementation of a network environment.

[0090] The bus may represent one or more of several types of bus structures including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures.

[0091] The electronic device can also communicate with one or more external devices (such as keyboards, pointing devices, Bluetooth devices, etc.), and can also communicate with one or more devices that enable users to interact with the electronic device, and / or communicate with any device (such as routers, modems, etc.) that enables the electronic device to communicate with one or more other computing devices. This communication can be carried out through an input / output (I / O) interface. In addition, the electronic device can also communicate with one or more networks (such as local area networks (LANs), wide area networks (WANs) and / or public networks, such as the Internet) through a network adapter. As shown in the figure, the network adapter communicates with other modules of the electronic device through a bus. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the electronic device, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0092] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation methods of the present application.

[0093] In an exemplary embodiment of the present application, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present application can also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary implementations of the present application described in the above "Exemplary Method" section of the present specification.

[0094] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0095] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0096] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0097] Program code for performing the operations of the present application may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0098] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present application, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0099] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.

[0100] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A method for face recognition on an airport apron, characterized in that: The method comprises: S100, obtaining a current frame of a target video corresponding to an airport apron; S200, if the distance between the center position corresponding to the target video and the video acquisition device is greater than the preset distance, a moving target detection is performed on the current video frame of the target video to obtain a moving target list A of the current video frame of the target video = (A1, A2, ..., A i , ..., A n ); i = 1, 2, ..., n; n is the number of moving objects included in the current video frame of the target video; A i is the i-th moving target included in the current video frame of the target video; S300, according to all historical video frames before the current video frame of the target video and the preset moving target contour model update rule, obtain the moving target contour model list L corresponding to the current video frame of the target video frame = (L1, L2, ..., L j , ..., L m );j=1,2,...,m;m is the number of moving target contour models corresponding to the current video frame of the target video;L j is the jth moving target contour model corresponding to the current video frame of the target video; m=a; a is the number of historical moving targets corresponding to the historical video frame containing the largest number of historical moving targets; the moving target contour model is constructed based on corner point detection of the historical video frames; S400, according to A, L and a preset corner point detection method, determine the corresponding relationship between A and L to obtain a key moving target list G = (G1, G2, ..., G p , ..., G q ); p = 1, 2, ..., q; p is the number of key motion target lists; G p is the Pth key moving target; the key moving target is a moving target for which there is no corresponding moving target contour model in L; S500, if G is not empty, then update L according to G; wherein the moving target contour model in L after the update corresponds one-to-one with the moving target in A; S600: Based on the updated L, perform face recognition on A and mark the face.

2. The airport apron face recognition method according to claim 1, characterized in that: Step S200 includes: S210, if the distance between the center position corresponding to the target video and the video acquisition device is greater than a preset distance, then acquiring a video frame brightness value of a current video frame of the target video; S220, if the brightness value of the video frame is less than a preset brightness value threshold, adjusting the brightness of the current video frame of the target video to obtain n motion foregrounds; S230, performing noise removal, ghost removal and connected region analysis on the n moving foregrounds respectively, to obtain a moving target list A=(A1, A2, ..., A i , ..., A n ).

3. The airport apron face recognition method according to claim 2, characterized in that: The ghost removal includes: removing the historical moving target that has stopped moving.

4. The airport apron face recognition method according to claim 1, characterized in that: The preset moving target contour model update rules include: S310, obtaining an initial video frame of a target video; S320, constructing corresponding target contour models according to each moving target included in the initial video frame; S330, each time an updated current video frame of the target video is received, if the number of moving targets included in the current video frame is greater than the number of moving targets included in each historical video frame before the current video frame; then a corresponding moving target contour model is constructed based on the updated moving targets included in the current video frame; the updated moving targets are moving targets that have not been detected in each historical video frame before the current video frame.

5. The airport apron face recognition method according to claim 3, characterized in that: Each moving target has a corresponding center of gravity trajectory, and after step S320, the method further includes: S340, each time the current video frame of the updated target video is received, if the current video frame includes a reproduced moving target, a corresponding moving target contour model is constructed based on the reproduced moving target included in the current video frame; the reproduced moving target is a moving target that appeared before a preset number of video frames and disappeared for a preset number of video frames and was on the same center of gravity trajectory.

6. The airport apron face recognition method according to claim 1, characterized in that: Step S600 includes: S610, searching and locating a face according to the updated L; S620, if there is a moving target with an unlocated face, obtaining the face location of the moving target with an unlocated face in a previous historical video frame of the current video frame as the face location of the moving target with an unlocated face; S630, assigning a face ID to each moving target.

7. The airport apron face recognition method according to claim 6, characterized in that: The method further comprises: S640, repairing an erroneous face recognition result of any video frame according to the spatial-temporal information of each face in the target video.

8. An airport apron face recognition device, characterized in that: The device comprises: An acquisition unit, used to acquire a current frame of a target video corresponding to an airport apron; The detection unit is used to detect moving targets on the current video frame of the target video if the distance between the center position corresponding to the target video and the video acquisition device is greater than a preset distance, and obtain a moving target list A of the current video frame of the target video = (A1, A2, ..., A i , ..., A n ); i = 1, 2, ..., n; n is the number of moving objects included in the current video frame of the target video; A i is the i-th moving target included in the current video frame of the target video; The model acquisition unit is used to obtain a moving target contour model list L = (L1, L2, ..., L2) corresponding to the current video frame of the target video frame according to all historical video frames before the current video frame of the target video and the preset moving target contour model update rule. j , ..., L m );j=1,2,...,m;m is the number of moving target contour models corresponding to the current video frame of the target video;L j is the jth moving target contour model corresponding to the current video frame of the target video; m=a; a is the number of historical moving targets corresponding to the historical video frame containing the largest number of historical moving targets; the moving target contour model is constructed based on corner point detection of the historical video frames; A list acquisition unit is used to determine the corresponding relationship between A and L according to A, L and a preset corner point detection method to obtain a key moving target list G = (G1, G2, ..., G p , ..., G q ); p = 1, 2, ..., q; p is the number of key motion target lists; G p is the Pth key moving target; the key moving target is a moving target for which there is no corresponding moving target contour model in L; An updating unit, configured to update L according to G if G is not empty; wherein the moving target contour model in L after the update corresponds one-to-one with the moving target in A; The recognition unit is used to perform face recognition and marking on A according to the updated L.

9. A non-transitory computer-readable storage medium, wherein at least one instruction or at least one program is stored in the storage medium, characterized in that: The at least one instruction or the at least one program is loaded and executed by the processor to implement the method according to any one of claims 1 to 7.

10. An electronic device, characterized in that: The invention comprises a processor and the non-transitory computer-readable storage medium as claimed in claim 9.

Citation Information

Patent Citations

  • Face tracking method, device and storage medium

    CN109087335A

  • Figure video clip extraction method based on multi-target motion tracking

    CN110009659A

  • Traffic vehicle tracking method based on video frame skipping processing

    CN116109671A