Personnel identity identification method, system and medium based on image recognition
By performing front-end calibration and boundary extraction on the collected images, converting them into characteristic signals, and performing spectrum conversion and threshold comparison, the accurate identification of blacklisted personnel is achieved and the problem of low identification efficiency of blacklisted personnel in the security system is solved. Improved security.
Patent Information
- Application Number
- CN202410969074.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-07-19
AI Technical Summary
In a security camera scenario, quickly and effectively identifying blacklisted persons in the scene is a key issue for the security system. It is difficult to efficiently and accurately identify blacklisted persons with existing technology.
By collecting personnel sample images and on-site images, perform front-end calibration and boundary extraction, convert them into boundary feature signals, perform discrimination and extraction through hierarchical discrimination coefficients, perform spectrum conversion and curve marking, and combine with preset threshold comparisons to achieve blacklist identities. Accurate identification.
It improves the accuracy and efficiency of face recognition, can efficiently and accurately identify blacklisted persons, enhances the security of public places, and prevents potential security risks.
Smart Images

Figure CN118506461B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image recognition, and in particular to a method, system and medium for distinguishing a person's identity based on image recognition. Background Art
[0002] Using computer vision recognition technology for security control is a basic measure for modern public security and private security. For example, video surveillance systems are installed in public places such as banks, subway stations, railway stations, and airports, and real-time image acquisition and monitoring of people is performed through the video surveillance system. The identity recognition system is a further upgrade of the security monitoring system. On the basis of image acquisition, identity discrimination can be further performed. Computer vision combined with machine learning and other technologies can be used to automatically identify and verify personal identities. It is applied to security inspections, access control, monitoring systems and other security scenarios.
[0003] The security recognition system based on computer recognition includes hardware deployment such as cameras, image acquisition and preprocessing, face detection, feature extraction, database establishment and maintenance, feature matching and identity authentication, and result response. For example, key features are extracted from face images through feature extraction algorithms such as convolutional neural networks, and then the extracted features are compared with the features in the database. Similarity judgment is performed in a 1:N or 1:1 manner to determine whether there is a match. The judgment is made by setting a matching threshold. If it is higher than the matching threshold, the match is determined to be successful and the identity is confirmed. If the match fails or the face that meets the similarity score requirements is not matched, access is denied or an alarm is triggered. The system performs corresponding operations based on the verification results, such as opening the door, recording access logs, or issuing security alarms.
[0004] In addition to conventional configurations, some security systems deployed in public places also set up whitelist and blacklist mechanisms. For example, people on the whitelist are allowed to enter or perform predetermined operations, while people on the blacklist, once identified, are key focus and tracking personnel. In addition to responses such as access denial, further operations such as security alarms and continuous trajectory tracking will be triggered. Therefore, in the scenario of security control cameras, in addition to realizing basic face detection and matching recognition, how to quickly and effectively identify blacklisted people appearing in the scene based on the collected face images of each person is a key issue for security systems. Summary of the invention
[0005] According to a first aspect of the present invention, a method for identifying a person based on image recognition is provided, comprising the following steps:
[0006] Step 1: Collect personnel sample images and on-site personnel images;
[0007] Step 2: Set the cropping standard to perform front-end calibration on the personnel sample image and the on-site personnel image, obtain the input calibration image, and set the change extraction window to perform boundary extraction on the input calibration image to obtain the personnel boundary feature map;
[0008] Step 3: convert the personnel boundary feature map to obtain the personnel boundary feature signal, and discriminate and extract the personnel boundary feature signal according to the graded discrimination coefficient to obtain the discrimination personnel feature coefficient;
[0009] Step 4: Perform spectrum conversion on the characteristic coefficient of discriminating personnel to obtain a discriminating coefficient spectrum diagram, and curve mark the discriminating coefficient spectrum diagram to obtain a discriminating coefficient spectrum line; and
[0010] Step 5: Perform pattern conversion and abnormal identity check on the discrimination coefficient spectrum to obtain the blacklist discrimination difference, and perform threshold comparison based on the preset coefficient threshold to obtain the matching blacklist coefficient and the qualified coefficient spectrum, wherein: perform identity linking on the matching blacklist coefficient to obtain the blacklist identity; perform matching and push on the qualified coefficient spectrum to obtain the qualified personnel identity.
[0011] According to the second aspect of the present invention, a personnel identity identification system based on image recognition is also proposed, comprising: an image acquisition module, an image processing module, a graph conversion and extraction module and a comprehensive identification module;
[0012] An image acquisition module, used to acquire personnel sample images and on-site personnel images;
[0013] An image processing module is used to set a cropping standard to perform front-end calibration on a personnel sample image and an on-site personnel image, obtain an input calibration image, and set a variable extraction window to perform boundary extraction on the input calibration image to obtain a personnel boundary feature map;
[0014] A graph conversion and extraction module is used to convert the personnel boundary feature graph to obtain the personnel boundary feature signal, and to discriminate and extract the personnel boundary feature signal according to the graded discrimination coefficient to obtain the discrimination personnel feature coefficient;
[0015] The comprehensive discrimination module includes a spectrum conversion module and an identity discrimination module, wherein:
[0016] The spectrum conversion module is used to perform spectrum conversion on the characteristic coefficients of the discriminant personnel to obtain the discriminant coefficient spectrum. On the basis of curve marking on the discriminant coefficient spectrum to obtain the discriminant coefficient spectrum line, the discriminant coefficient spectrum line is subjected to pattern conversion and abnormal identity inspection to obtain the blacklist discrimination difference.
[0017] The identity identification module is used to perform threshold comparison based on a preset coefficient threshold to obtain matching blacklist coefficients and qualified coefficient spectra, wherein: identity linking is performed on the matching blacklist coefficients to obtain the blacklist identity; and matching and pushing is performed on the qualified coefficient spectra to obtain the qualified personnel identity.
[0018] According to a third aspect of the present invention, a computer system is also provided, comprising:
[0019] one or more processors;
[0020] A memory stores operable instructions, which, when executed by one or more processors, cause the one or more processors to perform operations, including the process of executing the aforementioned method for determining a person's identity based on image recognition.
[0021] According to the fourth aspect of the purpose of the present invention, a computer-readable medium storing a computer program is also proposed, wherein the computer program includes instructions / instruction sets that can be executed by one or more processors, and when the instructions / instruction sets are executed by one or more processors, the process of the aforementioned method for determining a person's identity based on image recognition is implemented.
[0022] Compared with the prior art, the personnel identity discrimination method based on image recognition proposed by the present invention obtains a personnel boundary feature map by performing front-end calibration and boundary extraction on personnel sample images and on-site personnel images; converts the personnel boundary feature map to obtain a personnel boundary feature signal, sets response parameters to perform series division on the discrimination response coefficient to obtain a graded discrimination coefficient, and discriminates and extracts the personnel boundary feature signal according to the graded discrimination coefficient to obtain a discriminant personnel feature coefficient; extracts features from the collected personnel image data, performs signal conversion and discriminant extraction to obtain a discriminant personnel feature coefficient, thereby increasing the accuracy of personnel image recognition and improving work efficiency;
[0023] At the same time, based on the spectral conversion of the characteristic coefficients of discriminating personnel, the discriminant coefficient spectrum diagram is obtained, and the discriminant coefficient spectrum diagram is linked and matched and pushed to the identity, the blacklist identity and qualified personnel identity are obtained, which can efficiently and accurately identify blacklist personnel, monitor blacklist personnel, prevent potential security risks, and improve the safety of public places. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 4 is a flow chart of a method for determining a person's identity based on image recognition according to an embodiment of the present invention.
[0025] Figure 2 is a schematic diagram of a personnel identity determination system based on image recognition according to an embodiment of the present invention. DETAILED DESCRIPTION
[0026] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0027] Combination Figure 1 As shown, the method for distinguishing a person's identity based on image recognition according to an embodiment of the present invention comprises the following steps:
[0028] Step 1: Collect personnel sample images and on-site personnel images;
[0029] Step 2: Set the cropping standard to perform front-end calibration on the personnel sample image and the on-site personnel image, obtain the input calibration image, and set the change extraction window to perform boundary extraction on the input calibration image to obtain the personnel boundary feature map;
[0030] Step 3: convert the personnel boundary feature map to obtain the personnel boundary feature signal, and discriminate and extract the personnel boundary feature signal according to the graded discrimination coefficient to obtain the discrimination personnel feature coefficient;
[0031] Step 4: Perform spectrum conversion on the characteristic coefficient of discriminating personnel to obtain a discriminating coefficient spectrum diagram, and curve mark the discriminating coefficient spectrum diagram to obtain a discriminating coefficient spectrum line; and
[0032] Step 5: Perform pattern conversion and abnormal identity check on the discrimination coefficient spectrum to obtain the blacklist discrimination difference, and perform threshold comparison based on the preset coefficient threshold to obtain the matching blacklist coefficient and the qualified coefficient spectrum, wherein: perform identity linking on the matching blacklist coefficient to obtain the blacklist identity; perform matching and push on the qualified coefficient spectrum to obtain the qualified personnel identity.
[0033] As an optional embodiment, in step 1, collecting personnel sample images and on-site personnel images includes:
[0034] Set up sample capture end and multi-source acquisition end;
[0035] The facial identity of the person is collected through the sample capture end to obtain a sample image of the person;
[0036] Perform key marking on the obtained personnel sample images to obtain qualified sample images and blacklist sample images;
[0037] Construct a blacklist image set, and upload the obtained blacklist sample images to the blacklist image set;
[0038] Construct a sample image set, and upload the obtained qualified sample images to the sample image set;
[0039] The comprehensive data of the set area is collected through the multi-source acquisition terminal to obtain images of on-site personnel.
[0040] In the specific implementation process, facial identity collection means registering facial images of all people in a limited area, that is, recording the facial images of people and associating the identity information of people with the facial images. The identity information includes name, contact information (such as mobile phone number, landline number, etc.), certificate information (such as ID number, etc.) and residential address.
[0041] Among them, the obtained personnel sample images are key-marked to obtain qualified sample images and blacklist sample images, especially marking each person in the list as a blacklist sample image according to the preset blacklist personnel list and identity information.
[0042] It should be understood that the aforementioned blacklisted persons refer specifically to persons marked as requiring special attention in a limited area, and also correspond to the identity information of the associated blacklisted persons, including name, telephone number, ID number, residential address, and reason for being blacklisted.
[0043] Furthermore, the multi-source acquisition end is a device that is set up in a limited area to record images, such as a pan-tilt camera, a fixed-position camera, or a panoramic camera.
[0044] The aforementioned limited set area is a place where security monitoring is required, and multiple aforementioned multi-source collection terminals are deployed.
[0045] As an optional embodiment, in step 2, a cropping standard is set to perform front-end calibration on the personnel sample image and the on-site personnel image, an input calibration image is obtained, and a change extraction window is set to perform boundary extraction on the input calibration image to obtain a personnel boundary feature map, including:
[0046] Set cutting criteria;
[0047] Marking the obtained blacklist image set, sample image set and on-site personnel images as pre-processed personnel images;
[0048] Performing front-end calibration on the pre-processed person image according to the obtained cropping standard to obtain an input calibration image;
[0049] Setting a change extraction window according to the obtained input calibration image, wherein the change extraction window includes a window size and a window number;
[0050] Setting a verification response layer according to the obtained window size, and uploading the obtained input calibration image and the change extraction window to the verification response layer;
[0051] The input calibration image is subjected to boundary extraction according to the obtained change extraction window to obtain a person boundary feature map. Thus, the input calibration image is analyzed through the change extraction window to extract the boundary features of the person.
[0052] Therefore, by configuring the cropping standards, including determining the cropping size, shape and ratio, it is intended to ensure that the images extracted from different image sources (such as blacklist image sets, sample image sets and field personnel images) have consistent formats and qualities, which is convenient for subsequent processing.
[0053] Furthermore, the aforementioned image size includes image length and image width, wherein the image length represents the number of pixels in the horizontal direction and the image width represents the number of pixels in the vertical direction, and the image resolution is determined based on the obtained image length and image width.
[0054] The number of channels indicates the number of colors allowed to pass, that is, one channel represents one color and can identify the color. For example, when the number of channels is 3, it means that there are three color channels, allowing three colors to pass, especially the RGB color channel.
[0055] In a further embodiment, the front-end calibration comprises:
[0056] According to the obtained cropping standard, the image resolutions of the blacklist image set, sample image set and on-site personnel images are unified, that is, the number of pixels in the horizontal and vertical directions are the same; at the same time, the image colors are verified to obtain images with the same color standard. The input calibration images include standard blacklist images, standard sample images and standard on-site personnel images.
[0057] In a further embodiment, the change extraction window is expressed as a matrix including a plurality of elements, and the window size determines the range of movement of the change extraction window in the input calibration image.
[0058] In a further embodiment, the above-mentioned performing boundary extraction on the input calibration image according to the obtained change extraction window includes:
[0059] Setting a starting extraction point for the obtained input calibration image, uploading the obtained change extraction window to the starting extraction point of the input calibration image, and marking a corresponding position of the change extraction window in the input calibration image as a change area;
[0060] Performing smoothing convolution on the change region according to the obtained change extraction window to obtain a region boundary map; and
[0061] The region boundary maps are sequentially combined according to the obtained input calibration images to obtain a personnel boundary feature map, wherein the aforementioned personnel boundary feature map includes a blacklist feature map, a sample feature map, and an on-site personnel feature map.
[0062] The aforementioned starting extraction point represents a starting point for boundary extraction selected in the input calibration image. In this embodiment, the selected starting extraction point is the upper left corner of the input calibration image.
[0063] The aforementioned smoothing convolution process includes:
[0064] Convolve the elements in the change extraction window with the elements in the change region to obtain a region boundary map;
[0065] The change extraction window is translated and slid in the input calibration image to reach the next change area, and the change area is smoothly convolved with the change extraction window to obtain a region boundary map until the change extraction window covers all areas of the input calibration image;
[0066] It should be further explained that, in the specific implementation process, the aforementioned sequential combination means combining the region boundary map after smooth convolution of the change region according to the input calibration image to obtain a personnel boundary feature map with the same image order as the input calibration image.
[0067] Therefore, smoothing convolution is used to reduce noise and highlight boundary features, thereby improving the accuracy of the edge detection algorithm.
[0068] In a further embodiment, in step 3, the personnel boundary feature map is converted to obtain a personnel boundary feature signal, and the personnel boundary feature signal is discriminated and extracted according to the graded discrimination coefficient to obtain the discriminant personnel feature coefficient, including:
[0069] Performing signal conversion on the obtained personnel boundary feature map to obtain a personnel boundary feature signal;
[0070] Setting a discrimination response coefficient according to the obtained personnel boundary characteristic signal, wherein preferably, the discrimination response coefficient is expressed in a function form;
[0071] Set response parameters, extract the discriminant response coefficients in sections according to the obtained response parameters, and obtain the response intervals;
[0072] Obtaining a response level according to the obtained response parameters, response intervals and personnel boundary characteristic signals, dividing the discrimination response coefficient into levels according to the obtained response level, and obtaining a graded discrimination coefficient;
[0073] According to the obtained graded discrimination coefficient, the personnel boundary feature signal is discriminated and extracted to obtain the discriminant personnel feature coefficient.
[0074] Among them, the personnel boundary characteristic signals include blacklist characteristic signals, sample characteristic signals and on-site personnel characteristic signals;
[0075] The aforementioned response parameters are used to control the parameters of the scaling and translation transformation of the discriminant response coefficient in the time dimension and the frequency dimension. Then, the discriminant response coefficient is segmented and extracted according to the set response parameters to obtain the response interval.
[0076] The segmented extraction includes: obtaining a response interval according to the interval distance between two adjacent response parameters on the discriminant response coefficient.
[0077] The response interval defines the dividing line between response coefficients.
[0078] As an optional embodiment, a response level is obtained according to the obtained response parameters, response interval and personnel boundary characteristic signal, and the obtained response level is marked as X:
[0079] ;
[0080] Where L represents the signal length of the personnel boundary characteristic signal, m represents the number of response intervals, j represents the response interval, BC represents the response parameter, Represents parameter weight.
[0081] Furthermore, the series division includes:
[0082] The discriminant response coefficients were equally divided according to the number of response levels obtained to obtain graded discriminant coefficients of equal length.
[0083] Thus, according to the obtained equally divided hierarchical discriminant coefficients, the personnel boundary feature signals are discriminated and extracted to obtain the discriminant personnel feature coefficients;
[0084] It should be further explained that, in the specific implementation process, the process of discriminant extraction includes:
[0085] Based on the obtained graded discrimination coefficient, the graded discrimination coefficient of equal length is convolved with the personnel boundary characteristic signal to obtain the segmented boundary coefficient, until the personnel boundary characteristic signal is convolved with the graded discrimination coefficient, the obtained segmented boundary coefficients are summed to obtain the discriminating personnel characteristic coefficient.
[0086] Among them, the characteristic coefficients for distinguishing personnel include the blacklist characteristic coefficient, the sample characteristic coefficient and the on-site personnel characteristic coefficient.
[0087] In a further embodiment, in step 4, the characteristic coefficient of discriminating personnel is converted into a spectrum to obtain a discriminant coefficient spectrum diagram, and on the basis of curve marking the discriminant coefficient spectrum diagram to obtain a discriminant coefficient spectrum line, the discriminant coefficient spectrum line is converted into a pattern and abnormal identity is checked to obtain a blacklist discrimination difference, including:
[0088] Performing spectrum conversion on the obtained characteristic coefficients for discriminating personnel to obtain a spectrum diagram of the discriminating coefficients;
[0089] Marking the obtained discriminant coefficient spectrum with a curve to obtain a discriminant coefficient spectrum line, wherein the discriminant coefficient spectrum line includes a blacklist coefficient spectrum line, a sample coefficient spectrum line and an on-site personnel coefficient spectrum line;
[0090] Performing pattern conversion on the blacklist image set according to the obtained blacklist coefficient spectrum lines to obtain a blacklist spectrum line set;
[0091] Based on the discrimination coefficient spectrum diagram, the obtained on-site personnel coefficient spectrum line and the blacklist spectrum line set are checked for abnormal identity to obtain the blacklist discrimination difference.
[0092] As an optional embodiment, the aforementioned spectrum conversion includes: generating a corresponding spectrum diagram according to the discrimination personnel characteristic coefficient, i.e., a discrimination coefficient spectrum diagram; according to the blacklist characteristic coefficient, sample characteristic coefficient and on-site personnel characteristic coefficient included in the discrimination personnel characteristic coefficient, the discrimination coefficient spectrum diagram includes a blacklist coefficient spectrum diagram, a sample coefficient spectrum diagram and an on-site personnel coefficient spectrum diagram.
[0093] In a further embodiment, the aforementioned pattern conversion includes: replacing the blacklist sample images in the blacklist image set with the blacklist coefficient spectrum, that is, the corresponding blacklist sample images can be obtained through the blacklist coefficient spectrum, and then the identity information associated with the blacklist sample images can be obtained;
[0094] In a further embodiment, the abnormal identity verification process includes:
[0095] The obtained on-site personnel coefficient spectrum is marked as X(n), and the obtained blacklist coefficient spectrum is marked as H(n) i , i represents the blacklist coefficient spectrum line number in the blacklist spectrum line set, and n represents the number of sampling points in the discriminant coefficient spectrum graph;
[0096] Compare the obtained on-site personnel coefficient spectrum with the blacklist coefficient spectrum to obtain the blacklist discrimination difference, and mark the obtained blacklist discrimination difference as NP i ,in:
[0097] ;
[0098] Where dn represents the differential with respect to n.
[0099] The aforementioned spectrum line comparison includes: calculating the integral of the on-site personnel coefficient spectrum line and the blacklist coefficient spectrum line in the discrimination coefficient spectrum diagram, which is the blacklist discrimination difference.
[0100] In a further embodiment, in step 5, a threshold comparison is performed based on a preset coefficient threshold to obtain a matching blacklist coefficient and a qualified coefficient spectrum, wherein: an identity link is performed on the matching blacklist coefficient to obtain a blacklist identity; and a matching push is performed on the qualified coefficient spectrum to obtain a qualified person identity, including:
[0101] Set the coefficient threshold, perform threshold comparison on the blacklist discrimination difference according to the obtained coefficient threshold, and obtain the matching blacklist coefficient and qualified coefficient spectrum;
[0102] Obtain the blacklist coefficient spectrum corresponding to the matching blacklist coefficient, perform identity linking on the blacklist sample graph corresponding to the blacklist coefficient spectrum, and obtain the blacklist identity;
[0103] Compare the obtained qualified coefficient spectrum with the sample coefficient spectrum to obtain the sample coefficient difference;
[0104] Sort the obtained sample coefficient differences to obtain a sample identity sequence;
[0105] Setting a comparison threshold, and performing identity verification on the sample identity sequence according to the set comparison threshold to obtain a qualified sample sequence;
[0106] The obtained qualified sample sequences are matched and pushed to obtain the identity of qualified personnel.
[0107] As an optional embodiment, the aforementioned matching blacklist coefficient represents the on-site personnel coefficient spectrum corresponding to the blacklist discrimination difference being greater than or equal to the coefficient threshold, which is the matching blacklist coefficient; otherwise, it is a qualified coefficient spectrum diagram, that is, the degree of matching between the on-site personnel coefficient spectrum and the blacklist coefficient spectrum is unqualified, indicating that the on-site personnel does not belong to the blacklist personnel and needs to be compared with the sample coefficient spectrum to determine their identity.
[0108] Obtain the blacklist coefficient spectrum corresponding to the matching blacklist coefficient, perform identity linking on the blacklist sample graph corresponding to the blacklist coefficient spectrum, and obtain the blacklist identity;
[0109] Further, the identity link includes determining that the identity information of the on-site personnel image corresponding to the on-site personnel coefficient spectrum line subjected to the threshold comparison is a blacklist identity.
[0110] Furthermore, the identity review includes: determining the sample coefficient spectrum corresponding to the sample coefficient difference greater than the comparison threshold in the sample identity sequence as a qualified sample sequence;
[0111] Furthermore, the matching push includes: marking the qualified sample graph corresponding to the sample coefficient spectrum line ranked first in the qualified sample sequence as a matching qualified sample graph, obtaining the identity information associated with the matching qualified sample graph, and recording it as the qualified person identity, thereby completing the identity identification of non-blacklisted persons.
[0112] Combination Figure 2 As shown in the example, according to the embodiment disclosed in the present invention, a personnel identity determination system based on image recognition is also proposed, comprising: an image acquisition module, an image processing module, a graph conversion and extraction module, and a comprehensive determination module;
[0113] An image acquisition module, used to acquire personnel sample images and on-site personnel images;
[0114] An image processing module is used to set a cropping standard to perform front-end calibration on a personnel sample image and an on-site personnel image, obtain an input calibration image, and set a variable extraction window to perform boundary extraction on the input calibration image to obtain a personnel boundary feature map;
[0115] A graph conversion and extraction module is used to convert the personnel boundary feature graph to obtain the personnel boundary feature signal, and to discriminate and extract the personnel boundary feature signal according to the graded discrimination coefficient to obtain the discrimination personnel feature coefficient;
[0116] The comprehensive discrimination module includes a spectrum conversion module and an identity discrimination module, wherein:
[0117] The spectrum conversion module is used to perform spectrum conversion on the characteristic coefficients of the discriminant personnel to obtain the discriminant coefficient spectrum. On the basis of curve marking on the discriminant coefficient spectrum to obtain the discriminant coefficient spectrum line, the discriminant coefficient spectrum line is subjected to pattern conversion and abnormal identity inspection to obtain the blacklist discrimination difference.
[0118] The identity identification module is used to perform threshold comparison based on a preset coefficient threshold to obtain matching blacklist coefficients and qualified coefficient spectra, wherein: identity linking is performed on the matching blacklist coefficients to obtain the blacklist identity; and matching and pushing is performed on the qualified coefficient spectra to obtain the qualified personnel identity.
[0119] It should be understood that in the personnel identity identification system based on image recognition in the above-mentioned embodiment, the image acquisition module, image processing module, graph conversion and extraction module and comprehensive identification module, their corresponding functions and implementation processes are implemented in accordance with the corresponding steps in the personnel identity identification method based on image recognition in the above-mentioned embodiment.
[0120] In combination with the process of the method for determining a person's identity based on image recognition in the above embodiment, according to an embodiment of the present invention, a computer system is further provided, comprising: one or more processors, and a memory.
[0121] The aforementioned memory is configured to store operable instructions, which, when executed by one or more processors, cause one or more processors to perform operations, wherein the aforementioned operations include the process of executing the method for determining a person's identity based on image recognition of the aforementioned embodiment.
[0122] In combination with the process of the object tracking method based on face recognition in the above embodiment, according to an embodiment of the present invention, a computer-readable medium capable of storing a computer program is also proposed. The aforementioned computer program includes instructions / instruction sets that can be executed by one or more processors. When the instructions / instruction sets are executed by one or more processors, they implement the process of the personnel identity determination method based on image recognition in the aforementioned embodiment.
[0123] The preferred embodiments of the present invention disclosed above are only used to help explain the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to only specific implementation methods. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.
Claims
1. A method for identifying a person based on image recognition. It is characterized in that include: Step 1: Collect personnel sample images and on-site personnel images; Step 2: Set the cropping standard to perform front-end calibration on the personnel sample image and the on-site personnel image, obtain the input calibration image, and set the change extraction window to perform boundary extraction on the input calibration image to obtain the personnel boundary feature map; Step 3: convert the personnel boundary feature map to obtain the personnel boundary feature signal, and discriminate and extract the personnel boundary feature signal according to the graded discrimination coefficient to obtain the discrimination personnel feature coefficient; Step 4: Perform spectrum conversion on the characteristic coefficient of the discriminant personnel to obtain a discriminant coefficient spectrum diagram, and curve mark the discriminant coefficient spectrum diagram to obtain a discriminant coefficient spectrum line; Step 5: Perform pattern conversion and abnormal identity check on the discrimination coefficient spectrum to obtain the blacklist discrimination difference, and perform threshold comparison based on the preset coefficient threshold to obtain the matching blacklist coefficient and qualified coefficient spectrum, wherein: perform identity linking on the matching blacklist coefficient to obtain the blacklist identity; perform matching and push on the qualified coefficient spectrum to obtain the qualified personnel identity; Among them, in the step 4, the characteristic coefficient of discriminating personnel is subjected to spectrum conversion to obtain a discriminant coefficient spectrum diagram, and on the basis of curve marking on the discriminant coefficient spectrum diagram to obtain a discriminant coefficient spectrum line, the discriminant coefficient spectrum line is subjected to pattern conversion and abnormal identity inspection to obtain a blacklist discrimination difference, including the following steps: Performing spectrum conversion on the obtained characteristic coefficients for discriminating personnel to obtain a spectrum diagram of the discriminating coefficients; Marking the obtained discrimination coefficient spectrum graph with a curve to obtain a discrimination coefficient spectrum line, wherein the discrimination coefficient spectrum line includes a blacklist coefficient spectrum line, a sample coefficient spectrum line, and an on-site personnel coefficient spectrum line; Performing pattern conversion on the blacklist image set according to the obtained blacklist coefficient spectrum lines to obtain a blacklist spectrum line set; Based on the discrimination coefficient spectrum diagram, the obtained on-site personnel coefficient spectrum line and the blacklist spectrum line set are checked for abnormal identity to obtain the blacklist discrimination difference; Furthermore, the pattern conversion includes: replacing the blacklist sample images in the blacklist image set with the blacklist coefficient spectrum, that is, obtaining the corresponding blacklist sample images through the blacklist coefficient spectrum, and then obtaining the identity information associated with the blacklist sample images; The abnormal identity verification includes: The obtained on-site personnel coefficient spectrum is marked as X(n), and the obtained blacklist coefficient spectrum is marked as H(n) i , i represents the blacklist coefficient spectrum line number in the blacklist spectrum line set, and n represents the number of sampling points in the discriminant coefficient spectrum graph; Compare the obtained on-site personnel coefficient spectrum with the blacklist coefficient spectrum to obtain the blacklist discrimination difference, and mark the obtained blacklist discrimination difference as NP i ,in: ; In the formula, dn represents the differential with respect to n; The spectrum line comparison includes: calculating the integral of the on-site personnel coefficient spectrum line and the blacklist coefficient spectrum line in the discrimination coefficient spectrum diagram, which is the blacklist discrimination difference; In step 5, threshold comparison is performed based on a preset coefficient threshold to obtain matching blacklist coefficients and qualified coefficient spectra, wherein: identity linking is performed on the matching blacklist coefficients to obtain the blacklist identity; matching and pushing is performed on the qualified coefficient spectra to obtain the qualified personnel identity, including the following steps: Set the coefficient threshold, perform threshold comparison on the blacklist discrimination difference according to the obtained coefficient threshold, and obtain the matching blacklist coefficient and qualified coefficient spectrum; Obtain the blacklist coefficient spectrum corresponding to the matching blacklist coefficient, perform identity linking on the blacklist sample graph corresponding to the blacklist coefficient spectrum, and obtain the blacklist identity; Compare the obtained qualified coefficient spectrum with the sample coefficient spectrum to obtain the sample coefficient difference; Sort the obtained sample coefficient differences to obtain a sample identity sequence; Setting a comparison threshold, and performing identity verification on the sample identity sequence according to the set comparison threshold to obtain a qualified sample sequence; The obtained qualified sample sequences are matched and pushed to obtain the identity of qualified personnel.
2. According to the method for identifying a person based on image recognition according to claim 1, It is characterized in that In the step 1, collecting personnel sample images and on-site personnel images includes: Set up sample capture end and multi-source acquisition end; The facial identity of the person is collected through the sample capture end to obtain a sample image of the person; Perform key marking on the obtained personnel sample images to obtain qualified sample images and blacklist sample images; Construct a blacklist image set, and upload the obtained blacklist sample images to the blacklist image set; Construct a sample image set, and upload the obtained qualified sample images to the sample image set; The comprehensive data of the set area is collected through the multi-source acquisition terminal to obtain images of on-site personnel.
3. According to the method for identifying a person's identity based on image recognition according to claim 2, It is characterized in that In step 2, the cropping standard is set to perform front-end calibration on the personnel sample image and the on-site personnel image, an input calibration image is obtained, and a change extraction window is set to perform boundary extraction on the input calibration image to obtain a personnel boundary feature map, including: Set cutting criteria; Marking the obtained blacklist image set, sample image set and on-site personnel images as pre-processed personnel images; Performing front-end calibration on the pre-processed person image according to the obtained cropping standard to obtain an input calibration image; Setting a change extraction window according to the obtained input calibration image, wherein the change extraction window includes a window size and a window number; Setting a verification response layer according to the obtained window size, and uploading the obtained input calibration image and the change extraction window to the verification response layer; The boundary of the input calibration image is extracted according to the obtained change extraction window to obtain a person boundary feature map.
4. The method for identifying a person based on image recognition according to claim 3, It is characterized in that The step of extracting the boundary of the input calibration image according to the obtained change extraction window comprises: Setting a starting extraction point for the obtained input calibration image, uploading the obtained change extraction window to the starting extraction point of the input calibration image, and marking a corresponding position of the change extraction window in the input calibration image as a change area; Perform smooth convolution on the change region according to the obtained change extraction window to obtain a region boundary map; The region boundary maps are sequentially combined according to the obtained input calibration images to obtain a person boundary feature map.
5. According to the method for determining the identity of a person based on image recognition according to claim 4, It is characterized in that In the step 3, the personnel boundary feature map is converted to obtain the personnel boundary feature signal, and the personnel boundary feature signal is discriminated and extracted according to the graded discrimination coefficient to obtain the discriminant personnel feature coefficient, including: Performing signal conversion on the obtained personnel boundary feature map to obtain a personnel boundary feature signal; Setting a discrimination response coefficient according to the obtained personnel boundary characteristic signal; Set response parameters, extract the discriminant response coefficients in sections according to the obtained response parameters, and obtain the response intervals; Obtaining a response level according to the obtained response parameters, response intervals and personnel boundary characteristic signals, dividing the discrimination response coefficient into levels according to the obtained response level, and obtaining a graded discrimination coefficient; According to the obtained graded discrimination coefficient, the personnel boundary feature signal is discriminated and extracted to obtain the discriminant personnel feature coefficient.
6. A personnel identification system based on image recognition, It is characterized in that include: Image acquisition module, image processing module, atlas conversion and extraction module and comprehensive discrimination module; The image acquisition module is used to acquire personnel sample images and on-site personnel images; The image processing module is used to set the cropping standard to perform front-end calibration on the personnel sample image and the on-site personnel image, obtain the input calibration image and set the change extraction window to perform boundary extraction on the input calibration image to obtain the personnel boundary feature map; The graph conversion and extraction module is used to convert the personnel boundary feature graph to obtain the personnel boundary feature signal, and to discriminate and extract the personnel boundary feature signal according to the graded discrimination coefficient to obtain the discrimination personnel feature coefficient; The comprehensive identification module includes a spectrum conversion module and an identity identification module, wherein: The spectrum conversion module is used to perform spectrum conversion on the characteristic coefficients of the discriminant personnel to obtain a discriminant coefficient spectrum diagram, and on the basis of curve marking on the discriminant coefficient spectrum diagram to obtain the discriminant coefficient spectrum line, perform pattern conversion and abnormal identity inspection on the discriminant coefficient spectrum line to obtain the blacklist discrimination difference; The identity identification module is used to perform threshold comparison based on a preset coefficient threshold to obtain matching blacklist coefficients and qualified coefficient spectrum lines, wherein: identity linking is performed on the matching blacklist coefficients to obtain the blacklist identity; matching and pushing is performed on the qualified coefficient spectrum lines to obtain the qualified personnel identity; The spectrum conversion module is configured to perform spectrum conversion on the characteristic coefficients of the discriminant personnel based on the following process to obtain the discriminant coefficient spectrum, and then perform pattern conversion and abnormal identity inspection on the discriminant coefficient spectrum to obtain the blacklist discrimination difference on the basis of curve marking on the discriminant coefficient spectrum to obtain the discriminant coefficient spectrum line: Performing spectrum conversion on the obtained characteristic coefficients for discriminating personnel to obtain a spectrum diagram of the discriminating coefficients; Marking the obtained discrimination coefficient spectrum graph with a curve to obtain a discrimination coefficient spectrum line, wherein the discrimination coefficient spectrum line includes a blacklist coefficient spectrum line, a sample coefficient spectrum line, and an on-site personnel coefficient spectrum line; Performing pattern conversion on the blacklist image set according to the obtained blacklist coefficient spectrum lines to obtain a blacklist spectrum line set; Based on the discrimination coefficient spectrum diagram, the obtained on-site personnel coefficient spectrum line and the blacklist spectrum line set are checked for abnormal identity to obtain the blacklist discrimination difference; The pattern conversion includes: replacing the blacklist sample images in the blacklist image set with the blacklist coefficient spectrum, that is, obtaining the corresponding blacklist sample images through the blacklist coefficient spectrum, and then obtaining the identity information associated with the blacklist sample images; The abnormal identity verification includes: The obtained on-site personnel coefficient spectrum is marked as X(n), and the obtained blacklist coefficient spectrum is marked as H(n) i , i represents the blacklist coefficient spectrum line number in the blacklist spectrum line set, and n represents the number of sampling points in the discriminant coefficient spectrum graph; Compare the obtained on-site personnel coefficient spectrum with the blacklist coefficient spectrum to obtain the blacklist discrimination difference, and mark the obtained blacklist discrimination difference as NP i ,in: ; In the formula, dn represents the differential with respect to n; The spectrum line comparison includes: calculating the integral of the on-site personnel coefficient spectrum line and the blacklist coefficient spectrum line in the discrimination coefficient spectrum diagram, which is the blacklist discrimination difference; The identity identification module is configured to implement threshold comparison based on a preset coefficient threshold, obtain matching blacklist coefficients and qualified coefficient spectra, and perform identity linking on the matching blacklist coefficients to obtain the blacklist identity; match and push the qualified coefficient spectra to obtain the qualified personnel identity based on the following process: Set the coefficient threshold, perform threshold comparison on the blacklist discrimination difference according to the obtained coefficient threshold, and obtain the matching blacklist coefficient and qualified coefficient spectrum; Obtain the blacklist coefficient spectrum corresponding to the matching blacklist coefficient, perform identity linking on the blacklist sample graph corresponding to the blacklist coefficient spectrum, and obtain the blacklist identity; Compare the obtained qualified coefficient spectrum with the sample coefficient spectrum to obtain the sample coefficient difference; Sort the obtained sample coefficient differences to obtain a sample identity sequence; Setting a comparison threshold, and performing identity verification on the sample identity sequence according to the set comparison threshold to obtain a qualified sample sequence; The obtained qualified sample sequences are matched and pushed to obtain the identity of qualified personnel.
7. A computer system, It is characterized in that include: one or more processors; A memory storing operable instructions, wherein when the instructions are executed by the one or more processors, the one or more processors perform operations, wherein the operations include the process of executing the method for determining a person's identity based on image recognition as described in any one of claims 1 to 5.
8. A computer-readable medium storing a computer program, It is characterized in that The computer program includes instructions / instruction sets that can be executed by one or more processors. When the instructions / instruction sets are executed by the one or more processors, the process of the method for determining a person's identity based on image recognition as described in any one of claims 1 to 5 is implemented.
