A method for determining face information, storage medium and electronic device
Through auxiliary detection, the intersection of historical and current communication ID sets and signal strength screening are used, combined with vehicle information, to solve the problem of low identification accuracy caused by poor image clarity in face recognition technology, and achieve more accurate identification. .
Patent Information
- Application Number
- CN202311506525.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-13
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2043-11-13
AI Technical Summary
In face recognition technology, due to the long distance or angle between the camera and the person being detected, the clarity of the acquired image is poor, resulting in low face recognition accuracy and inability to accurately identify the person.
After the similarity is generated through face comparison detection, if the similarity is within a certain threshold range, auxiliary detection is performed. The intersection of the historical communication ID set and the current communication ID set is used, combined with signal strength screening and associated vehicle information, to generate auxiliary detection. Information to support identity information and improve the accuracy of identification.
Through the combination of multi-dimensional reference information, the identity information of the person to be detected can be more accurately determined, improving the accuracy of identity recognition, and reducing misjudgments, especially when the image quality is poor.
Smart Images

Figure CN117542100B_ABST
Abstract
Description
Background Art
[0002] Face recognition is a biometric technology that identifies people based on their facial features. It uses a camera or camcorder to collect images or video streams containing faces, automatically detects and tracks faces in images, and then performs facial recognition on the detected faces. It is also commonly called portrait recognition or facial recognition.
[0003] In various existing scenarios, face recognition technology is used for identity authentication to achieve corresponding functions. However, in some usage scenarios, the image clarity may be poor due to the long distance between the camera and the detected person. Or due to the angle between the detected face and the camera, the frontal image of the face cannot be obtained, resulting in low accuracy of face recognition and inability to accurately perform identity recognition. Summary of the invention
[0004] In view of the above technical problems, the technical solution adopted by the present invention is:
[0005] According to one aspect of the present invention, a method for determining face information is provided, the method comprising the following steps:
[0006] The face image to be detected is compared with the target face image to generate a similarity A between the face image to be detected and the target face image.
[0007] If A∈[Y1, Y2], then auxiliary detection is performed on the face image to be detected to generate the first auxiliary information B. Wherein, Y1 and Y2 are the first similarity threshold and the second similarity threshold respectively, and Y1 <Y2。
[0008] According to A and B, a first determination value P1 corresponding to the face image to be detected is generated.
[0009] If P1>Y3, the face image to be detected is determined to be the target face image. Y3 is the first determination threshold.
[0010] Ancillary tests include:
[0011] According to the historical shooting time and historical shooting location corresponding to the target face historical image, obtain the historical communication ID set C corresponding to the target face image L .
[0012] According to the current shooting position of the face image to be detected, the current belonging base station to which the communication terminal corresponding to the face image to be detected is currently communicating is determined.
[0013] According to the current shooting time T of the face image to be detected d , generate the communication ID information current acquisition period [T d -t1,Td +t2]. Among them, t1 is the lead time and t2 is the delay time.
[0014] According to the current home base station in [T d -t1,T d +t2] generates the current communication ID set C corresponding to the face image to be detected. D .
[0015] The first auxiliary information B is generated according to the intersection of the historical communication ID set and the current communication ID set. B satisfies the following conditions:
[0016]
[0017] Wherein, b1 is the first auxiliary similarity, and k1 is the first auxiliary similarity adjustment coefficient.
[0018] Furthermore, P1 satisfies the following conditions:
[0019] P1=K A *A+K B *B. Among them, K A is the weight coefficient corresponding to A, K B is the weight coefficient corresponding to B, K A >K B .
[0020] Furthermore, according to the intersection of the historical communication ID set and the current communication ID set, the first auxiliary information B is generated, including:
[0021] According to the historical communication ID set and historical shooting time T L , the current shooting time and the intersection of the current communication ID set and , generate the first auxiliary information B
[0022] B meets the following conditions:
[0023]
[0024] Among them, T Z The preset interval duration.
[0025] Further, according to the historical shooting time and historical shooting location corresponding to the target face historical image, the historical communication ID set C corresponding to the target face image is obtained. L ,include:
[0026] According to the historical shooting position corresponding to the target face historical image, the base station position of the historical belonging base station of the communication terminal corresponding to the target face historical image for communication is determined.
[0027] According to the historical shooting position corresponding to the historical image of the target face and the base station position of the historical belonging base station, the signal strength screening interval [E1, E2] is generated. E1 and E2 respectively meet the following conditions:
[0028]
[0029] Wherein, E1 and E2 are the first signal screening intensity and the second signal screening intensity respectively. j is the basic signal strength of the corresponding shooting area, M LD is the distance between the historical shooting position corresponding to the target face historical image and the base station position of the historical belonging base station. k2 and k3 are the second amplitude adjustment coefficient and the third amplitude adjustment coefficient respectively.
[0030] According to the historical shooting time and [E1, E2] corresponding to the target face historical image, obtain the historical communication ID set C corresponding to the target face image L .
[0031] Further, according to the historical shooting time and [E1, E2] corresponding to the target face historical image, the historical communication ID set C corresponding to the target face image is obtained. L ,include:
[0032] The historical shooting time T corresponding to the historical image of the target face L , generate historical information acquisition period [T L -t1,T L +t2].
[0033] According to the historical belonging base station in [T L -t1,T L +t2], for each communication ID used in the communication, an initial historical communication ID set corresponding to the target face image is generated.
[0034] Furthermore, after generating the initial historical communication ID set corresponding to the target face image, the auxiliary detection further includes:
[0035] Get the communication ID with signal strength in [E1, E2] in the initial historical communication ID set, and generate the historical communication ID set C corresponding to the target face image L .
[0036] Furthermore, the images to be detected in which the face image to be detected is located also include associated vehicle images that are associated with the face image to be detected.
[0037] After generating the first determination value P1 corresponding to the face image to be detected according to A and B, the method further includes:
[0038] The second auxiliary information F is generated according to the associated vehicle image information and the target face image. F represents the degree of association between the vehicle in the associated vehicle image information and the person corresponding to the target face image.
[0039] According to A, B and F, a second determination value P2 corresponding to the face image to be detected is generated.
[0040] If P2>Y4, the face image to be detected is determined to be the target face image. Y4 is the second determination threshold.
[0041] Furthermore, Y4>Y3.
[0042] According to a second aspect of the present invention, a non-transitory computer-readable storage medium is provided, wherein the non-transitory computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned method for determining facial information is implemented.
[0043] According to a third aspect of the present invention, there is provided an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned method for determining facial information when executing the computer program.
[0044] The present invention has at least the following beneficial effects:
[0045] In the present invention, when the similarity between the face image to be detected generated by face comparison detection and the target face image is low, auxiliary detection is also used to obtain feature information of other dimensions of the person to be detected to further verify the identity information of the person to be detected. Therefore, through the combination of reference information of multiple dimensions, the identity information of the person to be detected can be more accurately determined to improve the accuracy of identity recognition.
[0046] In this solution, the communication ID information currently used by the person to be tested is used for further auxiliary verification. Since the current communication terminal has become a necessary communication terminal for everyone, the applicability of using the communication ID information as another dimension of supporting information is also higher. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0048] Figure 1 A flowchart of a method for determining facial information provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0049] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0050] According to one aspect of the present invention, Figure 1 As shown, a method for determining face information is provided, the method comprising the following steps:
[0051] S100: performing face comparison detection on the face image to be detected and the target face image to generate a similarity A between the face image to be detected and the target face image.
[0052] The solution in this embodiment can be applied to the scenario of quickly searching for missing persons, such as quickly searching for people who have lost contact voluntarily.
[0053] In the above scenario, the target facial image is the facial image saved before the missing person lost contact, and the facial image to be detected is the image of the person captured by the surveillance cameras deployed at various locations in a certain search area.
[0054] Through the existing face recognition comparison method, the similarity A between the face image to be detected and the target face image can be generated. Since the data processing volume of face recognition in this scene is large, the existing optimal frame extraction method can be used or only the images of key intersections can be compared to reduce the data processing volume. And cooperate with high-performance data processors to improve the processing speed.
[0055] S200: If A∈[Y1, Y2], perform auxiliary detection on the face image to be detected and generate first auxiliary information B. Wherein, Y1 and Y2 are the first similarity threshold and the second similarity threshold respectively, and Y1 <Y2。
[0056] Since the camera in the above scenario is set at a distance from the person to be detected, coupled with the influence of other conditions such as lighting, the quality of the image of the person to be detected will inevitably be poor.
[0057] This will result in a lower similarity A in the final recognition. In order to reduce the occurrence of misjudgment, auxiliary detection is required to obtain more supporting information to improve the accuracy of identity authentication of the person to be detected.
[0058] Specifically, auxiliary tests include:
[0059] S201: Obtain the historical communication ID set C corresponding to the target face image according to the historical shooting time and historical shooting location corresponding to the target face image L .
[0060] In the case of a loss of contact, the person who actively loses contact will usually switch to a new communication ID at the beginning of the loss of contact to cut off contact with the outside world. As a result, the original communication ID information cannot be used when searching for the lost person. Therefore, in order to carry out subsequent auxiliary detection normally, it is necessary to obtain the new communication ID of the lost person. Specifically, it can be obtained according to S201, which includes the following steps:
[0061] S211: Determine the base station position of the historically belonging base station for communication of the communication terminal corresponding to the target face historical image according to the historical shooting position corresponding to the target face historical image.
[0062] The target face history image is the face image of the missing person obtained during the missing period before the search. For example, if the person is found missing and the search begins on October 30, 2022, the corresponding missing period is the period between the current time and the last time the missing person was contacted.
[0063] Specifically, the corresponding target face historical image can be obtained by face comparison in the historical record database of the surveillance camera. The target face historical image is a face image whose similarity with the face of the missing person is greater than a set threshold.
[0064] At the same time, the target face historical image will be marked with the attributes of the shooting location (historical shooting location) and the shooting time (historical shooting time). The shooting location can be the layout location of the corresponding surveillance camera.
[0065] At the same time, the location of the surveillance camera can be used to determine which corresponding communication base station the location belongs to. Then the corresponding home base station can be determined. After the home base station is determined, all communication IDs that maintain communication with the home base station before and after the corresponding historical shooting time can be queried to form the corresponding initial historical communication ID set. However, there is a lot of noise data in the historical communication ID set.
[0066] In this embodiment, the noise data in the initial historical communication ID set can be cleaned in the following two ways to obtain the final historical communication ID set.
[0067] S221: Generate a signal strength screening interval [E1, E2] according to the historical shooting position corresponding to the historical image of the target face and the base station position of the historical belonging base station. E1 and E2 respectively meet the following conditions:
[0068]
[0069] Wherein, E1 and E2 are the first signal screening intensity and the second signal screening intensity respectively. j is the basic signal strength of the corresponding shooting area, M LD is the distance between the historical shooting position corresponding to the historical image of the target face and the base station position of the historical belonging base station. k2 and k3 are the second amplitude adjustment coefficient and the third amplitude adjustment coefficient respectively, which can be set according to the actual situation.
[0070] Different terrain conditions have different effects on signal attenuation. For example, mountainous terrain has a greater impact on signal attenuation, while plain terrain has a smaller impact on signal attenuation. Therefore, different E values need to be set according to the actual regional conditions. j Specifically, a higher E can be set for areas with small signal attenuation. j , set a lower E in areas with large signal attenuation j In general, there is a negative correlation between signal strength and communication distance, but signal attenuation is affected by many factors. Even if communication is carried out in the same area at the same distance, the strength of the two signals received by the base station will be different. j Adjust the amplitude to form an upper and lower limit of the signal strength to form the corresponding signal screening range. <k3<1。
[0071] S231: Obtain the historical communication ID set C corresponding to the target face image according to the historical shooting time corresponding to the target face image and [E1, E2] L .
[0072] Specifically, S231 includes:
[0073] S2311: Historical shooting time T corresponding to the historical image of the target face L , generate historical information acquisition period [T L -t1,T L +t2].
[0074] S2312: Based on the historical home base station [T L -t1,T L +t2], generates an initial historical communication ID set corresponding to the target face image, where t1 is the lead time and t2 is the delay time.
[0075] Usually, in order to confirm whether it has been online with the base station, the communication terminal will send a heartbeat packet to the base station at a certain interval (10-30 minutes). Therefore, when no other information is sent, the communication terminal and the base station will communicate at a certain frequency. At the same time, since the base station not only bears the function of voice calls, but also is responsible for sending network data. That is, the network messages of various applications on the communication terminal will also be sent to the corresponding base station, and then forwarded by the base station to the corresponding target address. For example, the communication signaling of the 4G part will still have frequent interactions with the surrounding base stations. And usually some applications have higher requirements for the real-time transmission and reception of messages, so the communication frequency between the communication terminal and the base station is higher. Usually, abnormal communication can be carried out within 3-5 seconds.
[0076] Therefore, in order to ensure that the collected communication IDs are more comprehensive, the time period [T L -t1,T L +t2] to establish a connection with the base station. Usually T L -t1 and T L +t2 is greater than the minimum communication frequency, such as t1 = t2 = 10S.
[0077] After S2312, auxiliary detection also includes:
[0078] S2313: Obtain the communication IDs whose signal strengths are in [E1, E2] in the initial historical communication ID set, and generate the historical communication ID set C corresponding to the target face image L .
[0079] In this embodiment, first, the historical information acquisition period can be generated through the historical shooting time, and then the target collection period corresponding to the target communication ID can be screened to narrow the collection scope and remove some noise data. At the same time, in order to prevent the omission of suspicious communication IDs, a corresponding collection period will be set to obtain as many communication IDs as possible to ensure comprehensive coverage of the target communication ID.
[0080] Then, the selected communication IDs will be further filtered by signal strength to further remove noise data.
[0081] S202: According to the current shooting position of the face image to be detected, determine the current belonging base station with which the communication terminal corresponding to the face image to be detected is currently communicating. The current belonging base station is not the same as the historical belonging base station.
[0082] S203: According to the current shooting time T of the face image to be detected d , generate the communication ID information current acquisition period [T d -t1,T d+t2]. Among them, t1 is the lead time and t2 is the delay time.
[0083] S204: Based on the current home base station [T d -t1,T d +t2] generates the current communication ID set C corresponding to the face image to be detected. D .
[0084] Similarly, the current communication ID set can also be acquired according to steps S211 to S231.
[0085] S205: Generate first auxiliary information B according to the intersection of the historical communication ID set and the current communication ID set. B satisfies the following conditions:
[0086]
[0087] Wherein, b1 is the first auxiliary similarity, and k1 is the first auxiliary similarity adjustment coefficient.
[0088] Specifically, if the person corresponding to the face image to be detected is the same person, the communication ID used by the person is usually the same, so the corresponding C D and C L The intersection of is not empty. If the person corresponding to the face image to be detected is not the same person, the corresponding C D and C L The intersection of is more likely to be empty.
[0089] Based on the above situation, in this embodiment, the first auxiliary information B is in C D and C L The case where the intersection is not empty is greater. D and C L The smaller the intersection is when the value is empty. Therefore, the value also reflects the possibility that the persons are the same person.
[0090] S300: Generate a first determination value P1 corresponding to the face image to be detected according to A and B.
[0091] Specifically, P1 satisfies the following conditions:
[0092] P1=K A *A+K B *B. Among them, K A is the weight coefficient corresponding to A, K B is the weight coefficient corresponding to B, K A >K B .
[0093] S400: If P1>Y3, then determine that the face image to be detected is a target face image. Y3 is a first determination threshold.
[0094] In the present invention, when the similarity between the face image to be detected generated by face comparison detection and the target face image is low, auxiliary detection is also used to obtain feature information of other dimensions of the person to be detected to further verify the identity information of the person to be detected. Therefore, through the combination of reference information of multiple dimensions, the identity information of the person to be detected can be more accurately determined to improve the accuracy of identity recognition.
[0095] As another embodiment of the present invention, S205: generating first auxiliary information B according to the intersection of the historical communication ID set and the current communication ID set, including:
[0096] S215: Based on the historical communication ID set and the historical shooting time T L , Current shooting time T d and the intersection of the current communication ID set and , generate the first auxiliary information B
[0097] B meets the following conditions:
[0098]
[0099] Among them, T Z is the preset interval time. Usually T Z It can be the duration of the loss of connection period.
[0100] In the historical record database, images of the target person at multiple different locations and at different times will be recorded, so the target face historical images finally obtained are also multiple, and the corresponding historical communication ID sets obtained are also multiple, and each corresponding shooting time is different. However, if the historical shooting time is closer to the current shooting time, the corresponding communication ID used by the detected person is more likely to be consistent with the communication ID used at the current time. Therefore, the closer the historical communication ID set to the current shooting time is to the intersection with the current communication ID set, the higher the confidence that the corresponding detected person and the target person are the same person, and the larger the corresponding B is. In this way, the identity information of the detected person can be judged more accurately to improve the accuracy of identity recognition.
[0101] As another embodiment of the present invention, the image to be detected where the face image to be detected is located further includes an associated vehicle image associated with the face image to be detected.
[0102] After S300: generating a first determination value P1 corresponding to the face image to be detected according to A and B, the method further includes:
[0103] S500: Generate second auxiliary information F according to the associated vehicle image information and the target face image. F represents the degree of association between the vehicle in the associated vehicle image information and the person corresponding to the target face image.
[0104] Specifically, the vehicles owned by the target person corresponding to the target face image and the vehicles owned by his / her immediate family members can be the associated vehicles in this embodiment. At the same time, it can be determined that the target person is a passenger or driver of a certain associated vehicle based on the image of the target person and the image to be detected. Therefore, F can be determined based on the closeness between the vehicle owner and the target person, and whether the target person is the driver in the image to be detected. Specifically, a mapping table can be set artificially to assign values, and the higher the degree of association, the greater F.
[0105] S501: Based on A, B and F, generate a second determination value P2 corresponding to the face image to be detected.
[0106] S502: If P2>Y4, then determine that the face image to be detected is the target face image. Y4 is the second determination threshold. Further, Y4>Y3.
[0107] In this embodiment, on the basis of face comparison, the communication ID and vehicle information related to the target person are also considered. Thus, the identity of the detected person is confirmed through the information of three dimensions to improve the accuracy of identity recognition.
[0108] As another embodiment of the present invention, before determining the facial information, it is necessary to obtain a facial image to be detected, and the facial image to be detected is captured by a monitoring component. The specific location of the monitoring component to obtain the facial image to be detected can be determined by the following method, which specifically includes the following steps:
[0109] A100: Acquire a historical communication ID set corresponding to the target face image according to the historical shooting time and historical shooting location corresponding to the target face historical image.
[0110] Furthermore, before A100, the method further includes:
[0111] A110: Calculate the similarity between the target face image and the optimal face image in each cluster group in the preset face information data to generate a cluster similarity between each cluster group and the target face image. Each cluster group includes at least one sub-face image.
[0112] Specifically, A110 includes:
[0113] A111: Calculate the similarity between the target face image and the optimal face image in each clustering group in the preset historical period in the preset face information data. The preset historical period can be set according to actual usage, and the number of target face historical images finally obtained can be adjusted by the length of the preset historical period.
[0114] A120: If the family similarity between any cluster family and the target face image is greater than a second similarity threshold, similarity calculation is performed between the target face image and each sub-face image in the cluster family to generate sub-similarity corresponding to the target face image and each sub-face image.
[0115] A130: If the sub-similarity between any sub-face image and the target face image is greater than a third similarity threshold, the sub-face image is determined to be a historical image of the target face.
[0116] After A130, multiple target face historical images corresponding to the target face images will be obtained, and the target face images are the face images of the target person.
[0117] On this basis, A100 includes:
[0118] A101: Determine the base station position of the historically belonging base station for communication of the communication terminal corresponding to the target face historical image according to the historical shooting position corresponding to the target face historical image.
[0119] A102: Generate a signal strength screening interval [E1, E2] based on the historical shooting location corresponding to the historical image of the target face and the base station location of the historical belonging base station. E1 and E2 meet the following conditions respectively:
[0120]
[0121] Wherein, E1 and E2 are the first signal screening intensity and the second signal screening intensity respectively. j is the basic signal strength of the corresponding shooting area, M LD is the distance between the historical shooting position corresponding to the target face historical image and the base station position of the historical belonging base station. k2 and k3 are the second amplitude adjustment coefficient and the third amplitude adjustment coefficient respectively.
[0122] A103: According to the historical shooting time corresponding to the target face historical image and [E1, E2], obtain the historical communication ID set corresponding to the target face image.
[0123] Specifically, A103 includes:
[0124] A113: The historical shooting time T corresponding to the historical image of the target face L , generate historical information acquisition period [T L -t1,TL +t2]. Among them, t1 is the lead time and t2 is the delay time.
[0125] A123: According to the historical home base station [T L -t1,T L +t2], for each communication ID used in the communication, an initial historical communication ID set corresponding to the target face image is generated.
[0126] A133: Obtain the communication IDs with signal strength in [E1, E2] in the initial historical communication ID set, and generate a historical communication ID set corresponding to the target face image.
[0127] Steps A101 to A103 remove noise data from the initial historical communication ID set based on two factors: communication signal strength and shooting time, so as to improve data accuracy and reduce the amount of matching and comparison.
[0128] A200: Match the communication ID of each base station currently communicating in the target search area with the communication ID in the historical communication ID set.
[0129] A300: If the match is successful, the home base station corresponding to the successfully matched communication ID is determined as the base station to be searched.
[0130] A400: Each image acquisition component within the communication range of the base station to be searched is determined as a target image acquisition component and a target face recognition task is configured to perform face recognition on the target person and continuously track the target person.
[0131] In the present invention, first, according to the historical shooting time and historical shooting location corresponding to the historical image of the target face, a historical communication ID set containing the communication ID of the target person can be obtained. Then, each base station is allowed to match the currently received communication ID with the communication ID in the historical communication ID set. Through this operation, the location area where the target person may currently exist can be quickly determined, and then the corresponding monitoring task can be configured for the monitoring component belonging to the area. In this way, the monitoring operation of the invalid monitoring area can be reduced. At the same time, because the comparison operation of the communication ID occupies less computing resources than the face comparison operation, it is more efficient, thereby saving a lot of computing resources.
[0132] Furthermore, in order to further reduce the invalid monitoring area, before A400, the method further includes:
[0133] A410: Obtain the communication strength H between the successfully matched communication ID and the corresponding base station to be searched.
[0134] Specifically, A410 includes:
[0135] A411: After the matching is successful, the base station to be searched continuously obtains the communication strength value of the corresponding communication ID within a preset time period.
[0136] A412: Generate H based on the communication strength value of the corresponding communication ID continuously obtained by the base station to be searched within the preset time. H satisfies the following conditions:
[0137]
[0138] Among them, H i is the communication strength value of the ith signal corresponding to the communication ID obtained by the base station to be searched in the preset time period. n is the total number of signals corresponding to the communication ID obtained by the base station to be searched in the preset time period.
[0139] When the communication terminal communicates with the base station, the information will be packaged into different data packets and sent continuously. As a result, the base station will receive multiple data packets from the same communication terminal within a period of time, and each data packet will correspond to a communication strength value. At the same time, since the preset duration is generally 1 minute or shorter, the movement of the target person can be ignored during this time period. In order to more accurately determine the current communication strength value of the target person, it is necessary to calculate the average communication strength value.
[0140] A420: Generate a circular communication range corresponding to the base station to be searched and centered on the base station to be searched according to H. The inner diameter R1 and the outer diameter R2 of the circular communication range satisfy the following conditions:
[0141]
[0142] Among them, E j is the basic signal strength of the area where the base station to be searched is located, k2 and k3 are the second amplitude adjustment coefficient and the third amplitude adjustment coefficient respectively.
[0143] Normally, the communication strength values at the same distance from the base station should be the same, that is, the communication strength values at each position of a circle formed by a fixed radius with the base station as the center are the same. However, in actual scenarios, due to different terrains or building obstructions, or the communication strength values at different distances from the base station may be the same.
[0144] Therefore, in order to reduce the error caused by this situation, the search range is set to be annular. Correspondingly, the inner diameter R1 and the outer diameter R2 can be obtained according to the above formula. Thus, by widening the search range, missed searches can be avoided.
[0145] After the camera to be assigned a monitoring task is determined, the present invention also provides a method for improving face recognition accuracy, which can more accurately determine the identity information of the person to be detected, so as to improve the accuracy of identity recognition.
[0146] As another embodiment of the present invention, a method for expanding related search information is also provided, which can expand information when there is less information about the target person, so as to provide more clue information and facilitate better search for the target person. The specific method includes:
[0147] B100: Acquire at least one first target vehicle image from a historical vehicle image library according to the first associated vehicle information of the target person.
[0148] The first associated vehicle information in this step may be the license plate number information, body color, vehicle model, etc. of all vehicles owned by the target person. The first associated vehicle information may also be the license plate number information, body color, vehicle model, etc. of vehicles owned by the target person and his / her spouse.
[0149] A corresponding search condition may be formed according to a combination of one or more of the above information, and then a search is performed in the historical vehicle image library according to the search condition to obtain the corresponding first target vehicle image.
[0150] The first target vehicle image can usually be an image captured by various surveillance cameras at intersections or highways, and generally includes facial information of the driver and the co-driver.
[0151] B200: Performing face recognition on each first target vehicle image, generating a first correlation similarity between the driver image and the co-driver image in each first target vehicle image and the face image of the target person.
[0152] The facial images of the driver and the co-driver in the image are respectively identified and compared with the facial image of the target person to generate corresponding similarity values, namely, the first associated similarity.
[0153] B300: Clustering all driver images and co-driver images whose first association similarity is less than a fourth similarity threshold, to generate at least one associated person image cluster corresponding to the target person. Each associated person image cluster includes at least one face image.
[0154] Since the driver and the co-driver in the first target vehicle image are very likely to be related persons with a high correlation with the target person, and since the facial image of the related person is quite different from the facial image of the target person, filtering can be performed using the fourth similarity threshold.
[0155] Then, the related persons are classified by clustering to generate at least one associated person image family. Each associated person image family corresponds to one associated person. Specifically, clustering can be performed by comparing the similarity between face images. Those with similarity greater than a certain threshold are classified into the same category, and those with similarity less than a certain threshold are classified into a single category.
[0156] Specifically, after B300, the method further includes:
[0157] B310: Generate the association priority of each associated person image cluster according to the association degree vectors corresponding to all face images in each associated person image cluster. x Satisfies the following relationship:
[0158]
[0159] Among them, P x g1 is the first correlation similarity between the driver image in the first target vehicle image to which the g-th face image in the x-th associated person image family belongs and the face image of the target person. x g2 is the first correlation similarity between the passenger image in the first target vehicle image to which the g-th face image in the x-th associated person image family belongs and the face image of the target person. f(x) is the total number of face images in the x-th associated person image family.
[0160] In actual situations, if a related person has a high degree of association with a target person, the probability of the related person and the target person riding in the same vehicle will also be high. Therefore, the number of first target vehicle images that capture both the related person and the target person is large. Correspondingly, according to the formula in this step, the corresponding association priority Q x Therefore, the associated persons can be better identified.
[0161] B320: According to the association priority of each associated human image family, obtain the association priority of the extended historical communication ID set corresponding to each first associated human face image.
[0162] The association priority of each associated person image family is used as the association priority of the corresponding expanded historical communication ID set.
[0163] B321: If the association priority of the extended historical communication ID set is less than the first priority threshold, the extended historical communication ID set is removed.
[0164] Since the first target vehicle image also includes images taken during the target person's taxi trip, and the correlation between the driver in the image and the target person is low, or even zero, the interference of the noise data should be eliminated. In this step, filtering by the first priority threshold can remove the interference of the corresponding noise data and reduce the amount of data processing.
[0165] B400: The face image with the highest image quality in each associated person image family is used as the first associated face image corresponding to each associated person image family. Specifically, the face image with the highest image quality in the associated person image family is the face image with the highest image resolution in the associated person image family.
[0166] B500: According to each first associated facial image corresponding to the target person, an expanded historical communication ID set corresponding to the target facial image is obtained.
[0167] In actual application scenarios, the target person is usually equipped with multiple communication terminals and communication IDs, and the communication terminal and the relevant person may be used interchangeably, so that the communication ID may be changed or replaced. Therefore, the above processing from B100 to B500 can further mine and expand the communication ID information related to the target person to assist in confirming the identity of the target person.
[0168] The implementation steps of B500 in this embodiment are the same as the implementation steps of A100 described above, and only the processed images are different, which will not be described in detail here.
[0169] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.
[0170] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure 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, including several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0171] In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
[0172] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention 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 herein as a "circuit", "module" or "system".
[0173] The electronic device according to this embodiment of the present invention is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0174] 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).
[0175] The storage stores program codes, which can be executed by the processor, so that the processor executes the steps according to various exemplary embodiments of the present invention described in the above “Exemplary Method” section of this specification.
[0176] 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).
[0177] 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.
[0178] 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.
[0179] The electronic device may also communicate with one or more external devices (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may communicate with one or more devices that enable a user to interact with the electronic device, and / or may communicate with any device (e.g., routers, modems, etc.) that enables the electronic device to communicate with one or more other computing devices. Such communication may be performed through an input / output (I / O) interface. Furthermore, the electronic device may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) through a network adapter. 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 may 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.
[0180] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure 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, including 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 of the present disclosure.
[0181] In an exemplary embodiment of the present disclosure, 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 invention may also be implemented in the form of a program product, which includes a program code, and 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 embodiments of the present invention described in the above "Exemplary Method" section of the present specification.
[0182] 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.
[0183] 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.
[0184] 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.
[0185] Program code for performing the operations of the present invention 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., through the Internet using an Internet service provider).
[0186] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, 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.
[0187] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, 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 multiple modules or units to be embodied.
[0188] The above are only specific embodiments of the present invention, but the protection scope of the present invention 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 by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A method for determining face information, characterized in that: The method comprises the following steps: Performing face comparison detection on the face image to be detected and the target face image to generate a similarity A between the face image to be detected and the target face image; If A∈[Y1, Y2], then auxiliary detection is performed on the face image to be detected to generate the first auxiliary information B; where Y1 and Y2 are the first similarity threshold and the second similarity threshold respectively, and Y1 <Y2; Generate a first determination value P1 corresponding to the face image to be detected according to A and B; P1 meets the following conditions: P1=K A ×A+K B ×B; where K A is the weight coefficient corresponding to A, K B is the weight coefficient corresponding to B, K A >K B ; If P1>Y3, it is determined that the face image to be detected is the target face image; Y3 is the first determination threshold; The auxiliary detection includes: According to the historical shooting time and historical shooting location corresponding to the target face historical image, obtain the historical communication ID set C corresponding to the target face image L ; Determine the current home base station to which the communication terminal corresponding to the face image to be detected is currently communicating according to the current shooting position of the face image to be detected; According to the current shooting time T of the face image to be detected d , generate the communication ID information current acquisition period [T d -t1,T d +t2]; where t1 is the lead time and t2 is the delay time; According to the current home base station in [T d -t1,T d +t2], generate a current communication ID set C corresponding to the face image to be detected. D ; Generate first auxiliary information B according to the intersection of the historical communication ID set and the current communication ID set; B satisfies the following conditions: ; Wherein, b1 is the first auxiliary similarity, k1 is the first auxiliary similarity adjustment coefficient; According to the historical shooting time and historical shooting location corresponding to the target face historical image, obtain the historical communication ID set C corresponding to the target face image L ,include: Determine the base station location of the historical home base station for communication of the communication terminal corresponding to the target face historical image according to the historical shooting location corresponding to the target face historical image; According to the historical shooting position corresponding to the historical image of the target face and the base station position of the historical attribution base station, a signal strength screening interval [E1, E2] is generated; E1 and E2 respectively meet the following conditions: ; Wherein, E1 and E2 are the first signal screening intensity and the second signal screening intensity respectively; j is the basic signal strength of the corresponding shooting area, M LD is the distance between the historical shooting position corresponding to the historical image of the target face and the base station position of the historical belonging base station; k2 and k3 are the second amplitude adjustment coefficient and the third amplitude adjustment coefficient respectively; According to the historical shooting time and [E1, E2] corresponding to the target face historical image, obtain the historical communication ID set C corresponding to the target face image L .
2. The method according to claim 1, characterized in that Generate first auxiliary information B according to the intersection of the historical communication ID set and the current communication ID set, including: According to the historical communication ID set, historical shooting time T L , current shooting time and current communication ID set, generating first auxiliary information B; B meets the following conditions: ; Among them, T Z The preset interval duration.
3. The method according to claim 1, characterized in that According to the historical shooting time and [E1, E2] corresponding to the target face historical image, obtain the historical communication ID set C corresponding to the target face image L ,include: According to the historical shooting time T corresponding to the historical image of the target face L , generate historical information acquisition period [T L -t1,T L +t2]; According to the historical belonging base station in [T L -t1,T L +t2], for each communication ID used in communication, an initial historical communication ID set corresponding to the target face image is generated.
4. The method according to claim 3, characterized in that After generating the initial historical communication ID set corresponding to the target face image, the auxiliary detection further includes: Obtain the communication ID with signal strength in [E1, E2] in the initial historical communication ID set, and generate the historical communication ID set C corresponding to the target face image L .
5. The method according to claim 1, characterized in that The image to be detected where the face image to be detected is located also includes an associated vehicle image associated with the face image to be detected; After generating a first determination value P1 corresponding to the face image to be detected according to A and B, the method further includes: Generate second auxiliary information F according to the associated vehicle image information and the target face image; F represents the degree of association between the vehicle in the associated vehicle image information and the person corresponding to the target face image; Generate a second determination value P2 corresponding to the face image to be detected according to A, B and F; If P2>Y4, it is determined that the face image to be detected is a target face image; Y4 is the second determination threshold.
6. The method according to claim 5, characterized in that Y4>Y3.
7. A non-transitory computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, a facial information determination method as described in any one of claims 1 to 6 is implemented.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, it implements a facial information determination method as described in any one of claims 1 to 6.
