Method and device for determining optimization parameters in object identification system

By using sample case testing and round selection mechanisms in the object identification system, the parameter group is optimized to improve identification accuracy and reduce time, solving the identification accuracy and time-consuming problems caused by improper parameter selection, and achieving the best balance of the system Effect.

CN113449598BActive Publication Date: 2024-09-24TSINGHUA UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110580618.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-26
Publication Date
2024-09-24
Estimated Expiration
2041-05-26

AI Technical Summary

Technical Problem

Improper selection of parameters in existing object identification systems leads to low identification accuracy or too long identification time, or a poor overall balance between accuracy and time consumption.

Method used

Through sample use case testing, select the optimal parameter group that meets the preset conditions. Taking into account the two dimensions of accuracy and calculation time, construct the parameter group to be optimized, and perform parameter selection in each round until the parameters that meet the conditions are found. Group.

Benefits of technology

It improves the accuracy of the item identification system and reduces the calculation time, ensuring that the output parameter set achieves the best balance between accuracy and time consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113449598B
    Figure CN113449598B
Patent Text Reader

Abstract

The present invention provides a method and device for determining optimized parameters in an object identification system, including: determining the type and number of parameters to be optimized in the object identification system, and constructing a parameter group to be optimized; for the selection of the parameter group to be optimized in any round, each group of the parameter groups to be optimized is tested using a preset sample case to obtain the corresponding identity identification system accuracy and identity identification system identification time; if there is a first target parameter group to be optimized whose system accuracy and system identification time meet a first preset condition among all the parameter groups to be optimized in this round, then the first target optimized parameter group is determined to be the optimal parameter group, otherwise, the selection of the parameter group to be optimized in the next round is entered; wherein, the selection of the parameter group to be optimized in any round includes a preset number of parameter groups to be optimized. The method and device provided by the present invention achieve the improvement of the accuracy of the object identification system and the reduction of the calculation time of the object identification system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of object identification technology, and in particular to a method and device for determining optimization parameters in an object identification system. Background Art

[0002] Most of the object identity information identification algorithms currently used use preset parameters. Although they can meet the matching requirements of object identity information, there is a large waste of computing resources. When the parameters are not selected properly, the accuracy of object identity recognition may be low or the time consumption may be long.

[0003] Therefore, how to avoid improper parameter selection in the existing object identification system resulting in low recognition accuracy of the entire system, too long recognition time, or poor comprehensive balance between accuracy and time consumption is still a problem that needs to be solved urgently by technical personnel in this field. Summary of the invention

[0004] The present invention provides a method and device for determining optimization parameters in an object identification system, which are used to solve the problem that improper parameter selection in the existing object identification system leads to low recognition accuracy of the entire system or too long recognition time or poor comprehensive balance between accuracy and time consumption. By using a sample case test, a first target parameter group to be optimized that meets a first preset condition among all parameter groups to be optimized participating in comparison in the current round is selected as the optimal parameter group for output. If the first target parameter group to be optimized that meets the first preset condition does not exist in all parameter groups to be optimized in the current round, the parameter group to be optimized in the next round is selected, wherein the number of parameter groups to be optimized selected in any round is certain and the same, wherein the standard for determining whether the first preset condition is met needs to be based on parameters of two dimensions of system accuracy and system recognition time obtained by a preset sample case test after the parameter group to be optimized is brought into the object identification system. Therefore, the selection of the optimization parameters considers factors in two dimensions of accuracy and calculation time consumption respectively, and ensures that when the output optimal parameter group is applied to the object identification system, one of the accuracy and calculation time consumption of the system is guaranteed to be optimal or balanced.

[0005] The present invention provides a method for determining optimization parameters in an object identification system, comprising:

[0006] Determine the type and number of parameters to be optimized in the object identification system, and construct a parameter group to be optimized;

[0007] For the selection of the parameter groups to be optimized in any round, each of the parameter groups to be optimized is tested using a preset sample case to obtain the corresponding identity recognition system accuracy and identity recognition system recognition time;

[0008] If there is a first target parameter group to be optimized whose system accuracy and system identification time meet the first preset condition among all parameter groups to be optimized in this round, then the first target optimized parameter group is determined to be the optimal parameter group, otherwise, the next round of selection of the parameter group to be optimized is entered;

[0009] Among them, the selection of the parameter groups to be optimized in any round includes a preset number of parameter groups to be optimized.

[0010] According to a method for determining optimization parameters in an object identification system provided by the present invention, after determining that the target optimization parameter group is the optimal parameter group, the method further includes:

[0011] Determining whether the optimal parameter group meets a second preset condition;

[0012] If yes, then saving the performance evaluation value of the optimal parameter group calculated based on the second preset condition;

[0013] The second preset condition and the first preset condition use different methods for determining the system accuracy and system identification time.

[0014] According to a method for determining optimization parameters in an object identification system provided by the present invention, determining whether there is a first target parameter group to be optimized whose system accuracy and system identification time meet a first preset condition among all parameter groups to be optimized in the round specifically includes:

[0015] Using the preset sample case to test the object identification system constructed by each parameter group to be optimized in all parameter groups to be optimized in this round, and obtaining the system accuracy and system identification time corresponding to each parameter group to be optimized;

[0016] Determine a first mutation point of all the system accuracies in the round, a second mutation point of all the system identification times, and a second target parameter group to be optimized corresponding to a maximum difference between the system accuracies and the system identification times;

[0017] Determine a suspected target optimization parameter group based on the first mutation point, the second mutation point and the second target parameter group to be optimized;

[0018] Determine the statistical system accuracy and statistical system identification time obtained by testing the object identification system constructed by the suspected target optimization parameter group in the entire set of preset sample use cases;

[0019] If the accuracy of the statistical system exceeds a first preset threshold and the identification time of the statistical system does not exceed a second preset threshold, the suspected target optimization parameter group is the first target optimization parameter group.

[0020] According to a method for determining optimization parameters in an object identification system provided by the present invention, the first mutation point of all the system accuracies in the round, the second mutation point of all the system identification times, and the second target parameter group to be optimized corresponding to the maximum difference between the system accuracy and the system identification time are determined, specifically including:

[0021] The determination of the first mutation point of all the system accuracy rates in the round, the second mutation point of all the system identification times, and the second target parameter group to be optimized corresponding to the maximum difference between the system accuracy rate and the system identification time is calculated by the following formula:

[0022] C △Amax =argmax(△A(C i ))

[0023] C △Tmax =argmax(△T(C i ))

[0024] C d-max = argmax(A(C i )-T(C i ))

[0025] Among them, C △Amax is the first mutation point of the accuracy of all the systems in this round, C △Tmax The second mutation point of the time taken for all the systems to identify in this round, C d-max is the second target parameter group to be optimized corresponding to the maximum difference between the system accuracy and the system recognition time in this round, T(C i ) represents the system recognition time corresponding to the parameter group to be optimized ranked i after all the parameter groups to be optimized in this round are substituted into the object identification system test, and the system recognition time obtained is sorted by the time length, A(C i ) represents the system accuracy obtained by substituting all the parameter groups to be optimized in this round into the object identification system test, and the system accuracy corresponding to the parameter group to be optimized ranked i after sorting by accuracy, i = 1, 2, 3, ..., Q-1, Q is the preset number of groups, △T(C i )=T(C i+1 )-T(C i ), △A(C i )=A(C i+1 )-A(C i );

[0026] Correspondingly, determining the suspected target optimization parameter group based on the first mutation point, the second mutation point and the second target parameter group to be optimized specifically includes:

[0027] Suspected target optimization parameter group C use Calculated by the following formula:

[0028]

[0029] Among them, α, β and γ are the preset time preference coefficient, the preset accurate preference system and the preset balance time accuracy coefficient respectively, and α+β+γ=1, C △Amax is the first mutation point, C △Tmax is the second mutation point, C d-max A suspected target optimization parameter group is determined for the second target parameter group to be optimized.

[0030] According to a method for determining optimization parameters in an object identification system provided by the present invention, the method of determining the object identification system constructed by the suspected target optimization parameter group and the statistical system accuracy and the statistical system identification time obtained by testing the entire set of preset sample use cases specifically includes:

[0031] The suspected target optimization parameter group C is calculated by the following formula use The statistical system accuracy A(C) obtained by testing the constructed object identification system in the full set of preset sample cases use ) and the time taken by the statistical system to identify T(C use ):

[0032]

[0033]

[0034] Among them, A S (C random ) is the reference sample set in which the optimization parameter set C is randomly selected random The accuracy of A sub-reference sample set consisting of reference samples with a preset proportion is randomly selected from the entire reference sample set in the random selection optimization parameter set C random The accuracy under x (C use ) is a sub-sample case set consisting of sample cases with a preset proportion randomly selected from the preset sample case set in the suspected target optimization parameter set C use The accuracy rate under the condition that the items in the reference sample set and the preset sample case set belong to the same type, T S (C random ) is the reference sample set in which the optimization parameter set C is randomly selected random The average time for system identification under A sub-reference sample set consisting of reference samples with a preset proportion is randomly selected from the entire reference sample set in the random selection optimization parameter set Crandom The average system identification time under x (C use ) is a sub-sample case set consisting of sample cases with a preset proportion randomly selected from the preset sample case set in the suspected target optimization parameter set C use Average time for system identification.

[0035] According to a method for determining optimization parameters in an object identification system provided by the present invention, the construction of all parameter groups to be optimized in any round specifically includes:

[0036] All parameter groups to be optimized in any round are a set of parameter groups to be optimized that includes the preset number of groups and is constructed based on a preset search algorithm.

[0037] According to a method for determining optimization parameters in an object identification system provided by the present invention, the object identification system includes an image quality detection module, an image quality improvement module, a fingerprint feature detection module, a fingerprint feature matching module and a matching result other feature verification module;

[0038] Correspondingly, the parameters to be optimized in the object identification system include a number of first parameters to be optimized in the image quality detection module, a number of second parameters to be optimized in the fingerprint feature detection module, a number of third parameters to be optimized in the fingerprint feature matching module, and a number of fourth parameters to be optimized in the matching result other feature verification module;

[0039] Correspondingly, the method for determining the system accuracy and the system identification time in the second preset condition specifically includes:

[0040] The system accuracy A and system identification time T are determined by the following formula:

[0041] A=A0(P)

[0042]

[0043] Among them, A0() is the relationship function between pixel variables and system accuracy, P is the number of pixels of the test sample case image, and α i is the k1 algorithm time complexity of the parameters to be optimized involved in the object identification system and P 2 The time complexity weighted coefficient of the i-th algorithm in the algorithm proportional to β j is the k2 algorithm time complexity of the parameters to be optimized involved in the object identification system and P 1.5 The time complexity weighted coefficient of the jth algorithm in the algorithm that is proportional to γ lis the time complexity weighted coefficient of the lth algorithm among the k3 algorithms whose time complexity of the parameters to be optimized involved in the object identification system is proportional to P, δ m is the time complexity of the k4 algorithms involved in the object identification system to be optimized and P 0.5 The time complexity weighted coefficient of the mth algorithm in the algorithm is proportional to .

[0044] The present invention also provides a device for determining an optimization parameter in an object identification system, comprising:

[0045] A construction unit, used to determine the type and number of parameters to be optimized in the object identification system, and to construct a parameter group to be optimized;

[0046] A testing unit, used for selecting the parameter groups to be optimized in any round, testing each parameter group to be optimized using a preset sample case, and obtaining the corresponding identity recognition system accuracy and identity recognition system recognition time;

[0047] A determination unit, configured to determine that a first target parameter group to be optimized is an optimal parameter group if there is a first target parameter group to be optimized whose system accuracy and system identification time satisfy a first preset condition among all parameter groups to be optimized in the round, otherwise, proceed to the selection of the parameter group to be optimized in the next round;

[0048] Among them, the selection of the parameter groups to be optimized in any round includes a preset number of parameter groups to be optimized.

[0049] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the method for determining optimization parameters in the object identification system as described in any one of the above are implemented.

[0050] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method for determining optimization parameters in an object identification system as described in any one of the above.

[0051] The method and device for determining optimized parameters in an object identification system provided by the present invention, by determining the type and number of parameters to be optimized in the object identification system, constructing a parameter group to be optimized; for the selection of the parameter group to be optimized in any round, a preset sample case test is used for each group of the parameter groups to be optimized, and the corresponding identification system accuracy and identification system identification time are obtained; if there is a first target parameter group to be optimized whose system accuracy and system identification time meet the first preset condition among all the parameter groups to be optimized in this round, the first target optimized parameter group is determined as the optimal parameter group, otherwise, the selection of the parameter group to be optimized in the next round is entered; wherein, the selection of the parameter group to be optimized in any round includes a preset number of parameter groups to be optimized. Since the standard for determining whether the first preset condition is met needs to be based on the parameters of the system accuracy and system identification time obtained by the preset sample case test after the parameter group to be optimized is brought into the object identification system, therefore, the selection of the optimized parameters considers the factors of the accuracy and calculation time in the two dimensions respectively, and ensures that when the output optimal parameter group is applied to the object identification system, one of the system accuracy and calculation time is guaranteed to be optimal or balanced. Therefore, the method and device provided by the present invention can improve the accuracy of the item identification system and reduce the calculation time of the item identification system. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0053] Figure 1 A schematic flow chart of a method for determining optimization parameters in an object identification system provided by the present invention;

[0054] Figure 2 A schematic diagram of the scope of action of the verification structure parameters of the identification process provided by the present invention;

[0055] Figure 3 A schematic diagram of the scope of action of the feature matching and verification algorithm parameters provided by the present invention;

[0056] Figure 4 A schematic diagram of the feature matching algorithm parameter optimization selection process provided by the present invention;

[0057] Figure 5 A schematic diagram of a parameter preference selection process using a random search method provided by the present invention;

[0058] Figure 6The curves of the time and accuracy of object identification verification under different pixels provided by the present invention;

[0059] Figure 7 A schematic diagram of the structure of a device for determining optimization parameters in an object identification system provided by the present invention;

[0060] Figure 8 A schematic diagram of the physical structure of an electronic device provided by the present invention. DETAILED DESCRIPTION

[0061] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0062] In existing object identification systems, improper parameter selection generally leads to low recognition accuracy of the entire system, too long recognition time, or poor balance between accuracy and time consumption. Figure 1-Figure 6 A method for determining optimization parameters in an object identification system of the present invention is described. Figure 1 A flow chart of a method for determining optimization parameters in an object identification system provided by the present invention is shown as follows: Figure 1 As shown, the method includes:

[0063] Step 110, determining the type and number of parameters to be optimized in the object identification system, and constructing a parameter group to be optimized.

[0064] Specifically, the method for determining the optimization parameters in the object identification system provided by the present invention is to uniformly select and determine all the parameters to be optimized involved in the algorithms in each module in the system on the basis of a given object identification system, so as to ensure that the values ​​of each parameter in the parameter group to be optimized composed of all the parameters to be optimized can make the system more accurate or less time-consuming or achieve a better balance between accuracy and time-consuming. The overall algorithm framework in the object identification system provided by the present invention is object identification based on image feature point matching. Further, the object identification system may include an image quality detection module, an image quality improvement module, a feature detection module, a feature matching module and a feature verification module, wherein the algorithms involved, for example, feature extraction is extracted fingerprint information, feature matching involves augmentation algorithms, sample data structures, and feature measurement functions, verification data types and verification function types involved in feature verification, all the parameters to be optimized in the algorithm, and the parameter group to be optimized composed of the parameters to be optimized in the algorithm needs to be uniformly selected and determined, that is, the optimal parameter group finally determined can ensure that all the parameters therein take specific values ​​and are configured to the object identification system. Therefore, it is first necessary to determine the types and numbers of all the parameters to be optimized in the object identification system and form them into the parameter group to be optimized.

[0065] Step 120 , for any round of selection of the parameter groups to be optimized, a preset sample case test is performed on each parameter group to be optimized to obtain the corresponding identity recognition system accuracy and identity recognition system recognition time.

[0066] Specifically, a preset number of parameter groups to be optimized are determined to participate in the selection of the optimal parameter group of the current round. For example, if there are 60 parameters to be optimized in the parameter group to be optimized determined in step 110, then the parameter group to be optimized is a vector with a dimension of 60. If the preset number of groups is 1000, then the optimal parameter group is selected from 1000 vectors with a dimension of 60. The selection standard is to calculate each vector brought into the object identification system and then tested using the preset sample case to obtain the corresponding identification system accuracy and identification system identification time, wherein the accuracy is the proportion of the correct identification results to the total number of preset sample cases, and the identification system identification time is the average time of the time-consuming results obtained by testing all the cases in the preset sample cases. Each vector constructed by the parameter group to be optimized can obtain the corresponding identification system accuracy and identification system identification time, and the identification system accuracy and identification system identification time are used as reference factors for the subsequent selection of the optimal parameter group.

[0067] Step 130: If there is a first target parameter group to be optimized whose system accuracy and system identification time meet the first preset condition among all the parameter groups to be optimized in this round, then the first target optimization parameter group is determined to be the optimal parameter group; otherwise, the next round of selection of the parameter groups to be optimized is entered, wherein the selection of the parameter groups to be optimized in any round includes a preset number of parameter groups to be optimized.

[0068] Specifically, the corresponding system accuracy and system identification time calculated for all parameter groups to be optimized in this round are selected based on the optimal selection. The specific selection method is to determine whether there is a first target parameter group to be optimized whose system accuracy and system identification time meet the first preset condition among all parameter groups to be optimized. If so, the first target parameter group to be optimized is used as the optimal parameter group for the final output. If not, the selection of parameter groups to be optimized for the next round is continued. The selection is the same as the previous round. A set of parameter groups to be optimized with the same preset number of groups is first constructed, and then the first target parameter group to be optimized for this round is searched according to the same judgment condition. If found, the iterative output structure can be terminated. Otherwise, the next round of selection is required until the first target parameter group to be optimized that meets the first preset condition is found in a subsequent round for output.

[0069] It should be noted here that the number of parameter groups to be optimized in the set of parameter groups to be optimized constructed in each round is the same and is pre-set. The selection of parameter groups to be optimized in each round is carried out when the selection of the optimal parameter group in the parameter groups to be optimized in the previous round fails, until the selection in the parameter groups to be optimized in one round can select the optimal parameter group, then the iterative calculation is stopped. The preset number of parameter groups to be optimized that participate in the comparison competition as the final output in each round are determined based on a preset selection algorithm, and the optional ones include grid search method, random search method and Bayesian optimization algorithm, etc.

[0070] The method provided by the present invention determines the type and number of parameters to be optimized in the object identification system, and constructs a parameter group to be optimized; for the selection of the parameter group to be optimized in any round, each group of the parameter groups to be optimized is tested by a preset sample case to obtain the corresponding identity identification system accuracy and identity identification system identification time; if there is a first target parameter group to be optimized whose system accuracy and system identification time meet the first preset condition among all the parameter groups to be optimized in this round, then the first target optimization parameter group is determined to be the optimal parameter group, otherwise, the selection of the parameter group to be optimized in the next round is entered; wherein, the selection of the parameter group to be optimized in any round includes a preset number of parameter groups to be optimized. Since the standard for determining whether the first preset condition is met needs to be based on the parameters of the system accuracy and system identification time obtained by the preset sample case test after the parameter group to be optimized is brought into the object identification system, therefore, the selection of the optimization parameters considers the factors of the accuracy and calculation time in the two dimensions respectively, and ensures that when the output optimal parameter group is applied to the object identification system, one of the system accuracy and calculation time is guaranteed to be optimal or balanced. Therefore, the method provided by the present invention can improve the accuracy of the item identification system and reduce the calculation time of the item identification system.

[0071] Based on the above embodiment, in the method, after determining that the target optimization parameter group is the optimal parameter group, the method further includes:

[0072] Determining whether the optimal parameter group meets a second preset condition;

[0073] If yes, then saving the performance evaluation value of the optimal parameter group calculated based on the second preset condition;

[0074] The second preset condition and the first preset condition use different methods for determining the system accuracy and system identification time.

[0075] Specifically, the method for determining the optimized parameters in the object identification system provided by the present invention can not only determine the optimal parameter group that needs to set the parameter values ​​in the system to ensure the accuracy and calculation time of the object identification system, but also provide evaluation scores for the determined optimal parameter group, which is more convenient for the system to estimate the use effect in advance when it is used. However, the premise for calculating the performance evaluation value for the selected optimal parameter group is that it meets the second preset condition, that is, the selected optimal parameter group needs to meet a certain standard before its performance evaluation value is saved, otherwise its performance evaluation value is not provided. It should be noted here that the second preset condition and the method of determining the system accuracy and system recognition time used in the first preset condition are different; for example, in the determination of the first preset condition, the system accuracy is the percentage of correct recognition results obtained by comparing the results obtained after testing the object identity recognition system with the corresponding parameter group to be optimized based on the preset sample use case with the labels in the use case, and the system recognition time is the average time taken from the input system to the output result of all sample use cases calculated after testing the object identity recognition system with the corresponding parameter group to be optimized based on the preset sample use case. In the determination of the second preset condition, the pixels of all sample use case images input into the object identity recognition system can be used to determine the system, and the system time can also be determined based on the pixels of all sample use case images input into the system, because the higher the pixels, the greater the amount of calculation, and there is usually a proportional or quadratic relationship. The specific evaluation calculation formula can determine the corresponding time formula according to the given algorithm. It should be noted here that the method for determining the optimization parameters in the object identity recognition system provided by the present invention assumes that the object identity recognition system therein is a recognition system based on image processing, that is, the overall framework is to extract the first feature of the object in the input image, and compare it with the first feature in the pre-stored feature identity corresponding library to obtain the first feature in the library that matches the input image in the feature identity corresponding library, and then output the object identity corresponding to the first feature in the library as the identification identity of the object in the input image. Usually, a verification step is added before the final output, that is, comparing the second feature of the object in the input image with the second feature of the object of the recognition result to be output to see whether they match. If so, it means that the verification is passed and the result is output. The accuracy of object identity recognition is improved by comparing one more feature.

[0076] Based on the above embodiment, in this method, the determination of whether there is a first target parameter group to be optimized whose system accuracy and system identification time meet the first preset condition among all parameter groups to be optimized in this round specifically includes:

[0077] Using the preset sample case to test the object identification system constructed by each parameter group to be optimized in all parameter groups to be optimized in this round, and obtaining the system accuracy and system identification time corresponding to each parameter group to be optimized;

[0078] Determine a first mutation point of all the system accuracies in the round, a second mutation point of all the system identification times, and a second target parameter group to be optimized corresponding to a maximum difference between the system accuracies and the system identification times;

[0079] Determine a suspected target optimization parameter group based on the first mutation point, the second mutation point and the second target parameter group to be optimized;

[0080] Determine the statistical system accuracy and statistical system identification time obtained by testing the object identification system constructed by the suspected target optimization parameter group in the entire set of preset sample use cases;

[0081] If the accuracy of the statistical system exceeds a first preset threshold and the identification time of the statistical system does not exceed a second preset threshold, the suspected target optimization parameter group is the first target optimization parameter group.

[0082] Specifically, for each of the parameter groups to be optimized that participate in the selection of the optimal parameter group of the current round, all of them are brought into the unparameterized item identification system of the same determination algorithm module to construct an item identification system that can be directly used with parameter determination. For each item identification system that can be directly used determined by the parameter group to be optimized, a preset sample case is used for testing. It should be noted here that the preset sample case is usually a relatively small set of sample cases, the number of which is between 500-1000, that is, a preset sample case set consisting of 500-1000 groups of test sample images and corresponding item identification labels. Therefore, after being tested by the preset sample case, each item identification system that can be directly used determined by the parameter group to be optimized will obtain the corresponding system recognition accuracy and system recognition time, wherein the system recognition accuracy is based on the ratio of the number of the same identification results output by the system during the test and the real item identification labels corresponding to the input sample image carried in the preset sample case to the total number of sample cases, and the system recognition time is the average time consumed between the input of all image samples into the system and the output of the recognition results by the system during the test. Then, a prediction function is constructed based on the corresponding relationship between each parameter group to be optimized and its system recognition accuracy and system recognition time, that is, different parameter groups C to be optimized are used as independent variables, and their corresponding system recognition accuracy and system recognition time are used as function values ​​to determine the prediction function. After obtaining the prediction function, the first mutation point in the system accuracy prediction function, the second mutation point in the system recognition time prediction function, and the second target parameter group to be optimized corresponding to the maximum difference between the system accuracy and the system recognition time are determined respectively, and then the suspected target optimization parameter group is determined based on the first mutation point, the second mutation point and the second target parameter group to be optimized. It should be noted here that the parameter group to be optimized corresponding to the first mutation point can ensure the accuracy of the system, the parameter group to be optimized corresponding to the second mutation point can ensure the recognition time of the system, and the second target parameter group to be optimized corresponding to the maximum difference between the system accuracy and the system recognition time can ensure the best balance between the recognition time and the recognition accuracy of the system. Furthermore, the final determined suspected target optimization parameter group can be determined based on subtle adjustments in the user's preferences for different system requirements. For example, if the user only requires accuracy, then the suspected target optimization parameter group selects the first mutation point. If the user only requires the system to take less time to identify, then the suspected target optimization parameter group selects the second mutation point. If the user only requires a good balance between system identification time and system identification accuracy, then the suspected target optimization parameter group selects the second target parameter group to be optimized.Usually, the user's requirements are not single but have different weights, so a weighted formula based on the first mutation point, the second mutation point and the second target parameter group to be optimized as three weighted items will be constructed, where each weighted item has its own weight system, and the sum of the three weights is 1. The weight coefficients can be adjusted according to the user's different preferences for system recognition performance.

[0083] It should also be noted here that the final suspected target optimization parameter group also needs to be tested on the full set of preset sample use cases to obtain the statistical system accuracy and statistical system recognition time. When the accuracy and recognition time obtained from the full set of sample use cases pass the test of the corresponding preset thresholds, the suspected target optimization parameter group is determined to be the optimal parameter group that can be directly output in the end.

[0084] Based on the above embodiment, in the method, determining the first mutation point of all the system accuracies in the round, the second mutation point of all the system identification times, and the second target parameter group to be optimized corresponding to the maximum difference between the system accuracy and the system identification time specifically includes:

[0085] The determination of the first mutation point of all the system accuracy rates in the round, the second mutation point of all the system identification times, and the second target parameter group to be optimized corresponding to the maximum difference between the system accuracy rate and the system identification time is calculated by the following formula:

[0086] C △Amax =argmax(△A(C i ))

[0087] C △Tmax =argmax(△T(C i ))

[0088] C d-max = argmax(A(C i )-T(C i ))

[0089] Among them, C △Amax is the first mutation point of the accuracy of all the systems in this round, C △Tmax The second mutation point of the time taken for all the systems to identify in this round, C d-max is the second target parameter group to be optimized corresponding to the maximum difference between the system accuracy and the system recognition time in this round, T(C i ) represents the system recognition time corresponding to the parameter group to be optimized ranked i after all the parameter groups to be optimized in this round are substituted into the object identification system test, and the system recognition time obtained is sorted by the time length, A(C i) represents the system accuracy obtained by substituting all the parameter groups to be optimized in this round into the object identification system test, and the system accuracy corresponding to the parameter group to be optimized ranked i after sorting by accuracy, i = 1, 2, 3, ..., Q-1, Q is the preset number of groups, △T(C i )=T(C i+1 )-T(C i ), △A(C i )=A(C i+1 )-A(C i );

[0090] Correspondingly, determining the suspected target optimization parameter group based on the first mutation point, the second mutation point and the second target parameter group to be optimized specifically includes:

[0091] Suspected target optimization parameter group C use Calculated by the following formula:

[0092]

[0093] Among them, α, β and γ are the preset time preference coefficient, the preset accurate preference system and the preset balance time accuracy coefficient respectively, and α+β+γ=1, C △Amax is the first mutation point, C △Tmax is the second mutation point, C d-max A suspected target optimization parameter group is determined for the second target parameter group to be optimized.

[0094] Specifically, the determination of the optimization parameter group of the suspected target is described and explained through a specific mathematical formula. The mutation point is the parameter group to be optimized corresponding to the value of the most obvious increase in the system recognition time and system accuracy obtained by substituting all the parameter groups to be optimized in the round into the object identification system test, or the parameter group to be optimized corresponding to the point of the most obvious decrease after sorting from large to small, that is, the point with the largest slope. The parameter group to be optimized corresponding to the maximum value of the △ difference is expressed in the mathematical formula. Therefore, the following formula is obtained:

[0095] C △Amax =argmax(△A(C i ))

[0096] C △Tmax =argmax(△T(C i ))

[0097] Among them, C △Amax is the first mutation point of the accuracy of all the systems in this round, C △Tmax The second mutation point of the time taken for all the systems to identify in this round, T(C i) represents the system recognition time corresponding to the parameter group to be optimized ranked i after all the parameter groups to be optimized in this round are substituted into the object identification system test, and the system recognition time is sorted from small to large, A(C i ) represents the system accuracy obtained by substituting all the parameter groups to be optimized in this round into the object identification system test, and the system accuracy corresponding to the parameter group to be optimized ranked i after sorting the accuracy from small to large, i = 1, 2, 3, ..., Q-1, Q is the preset number of groups, △T(C i )=T(C i+1 )-T(C i ), △A(C i )=A(C i+1 )-A(C i ). It should be noted here that when T(C i ) represents the system recognition time corresponding to the parameter group to be optimized ranked i after all the parameter groups to be optimized in this round are substituted into the object identification system test, and the system recognition time corresponding to the parameter group to be optimized ranked i is sorted from large to small, A(C i ) represents the system accuracy obtained by substituting all the parameter groups to be optimized in this round into the object identification system test. The system accuracy corresponding to the parameter group to be optimized ranked i after sorting from the highest to the lowest accuracy is obtained. Correspondingly, △T(C i )=T(C i )-T(C i+1 ), △A(C i )=A(C i )-A(C i+1 ).

[0098] The second target parameter group to be optimized corresponding to the maximum difference between the system accuracy and the system identification time represents the parameter group to be optimized that can best balance the system accuracy and the system identification time, because their difference is the largest, which means that the results obtained are better balanced than those obtained from other parameter groups to be optimized, and can ensure both the accuracy and the system identification time within the limit range, rather than a system that only pursues to improve the accuracy, whose system identification time will be so large that it exceeds the acceptable range, resulting in a very small difference between them, and a system that only pursues to reduce the identification time, whose system identification accuracy will be so small that it will be lower than the normal requirement standard, resulting in a very small difference between them. Therefore, the dual guarantee of accuracy and system identification time is that their difference is the largest, so that the system identification time will not be too high when the accuracy is high, nor will it be too low when the system identification time is low. Maintaining the maximum difference is the best balance between the two mutually restraining relationships. Therefore, the following formula is obtained:

[0099] C d-max =argmax(A(C)-T(C))

[0100] Among them, C d-max The second target parameter group to be optimized corresponds to the maximum difference between the system accuracy and the system recognition time in this round.

[0101] The following formula is used to express the determination of the suspected target optimization parameter group based on the first mutation point, the second mutation point and the second target parameter group to be optimized:

[0102] Suspected target optimization parameter group C use Calculated by the following formula:

[0103]

[0104] Among them, α, β and γ are the preset time preference coefficient, the preset accurate preference system and the preset balance time accuracy coefficient respectively, and α+β+γ=1, C △Amax is the first mutation point, C △Tmax is the second mutation point, C d-max A suspected target optimization parameter group is determined for the second target parameter group to be optimized.

[0105] When the user of the system prefers accuracy, β is appropriately increased. When the user of the system prefers computing time, α is appropriately increased. When the user of the system comprehensively considers computing time and accuracy, γ is appropriately increased.

[0106] Based on the above embodiment, in the method, determining the statistical system accuracy and the statistical system identification time obtained by testing the object identification system constructed by the suspected target optimization parameter group in the full set of preset sample use cases specifically includes:

[0107] The suspected target optimization parameter group C is calculated by the following formula use The statistical system accuracy A(C) obtained by testing the constructed object identification system in the full set of preset sample cases use ) and the time taken by the statistical system to identify T(C use ):

[0108]

[0109]

[0110] Among them, A S (C random ) is the reference sample set in which the optimization parameter set C is randomly selected random The accuracy of A sub-reference sample set consisting of reference samples with a preset proportion is randomly selected from the entire reference sample set in the random selection optimization parameter set C random The accuracy under x (Cuse ) is a sub-sample case set consisting of sample cases with a preset proportion randomly selected from the preset sample case set in the suspected target optimization parameter set C use The accuracy rate under the condition that the items in the reference sample set and the preset sample case set belong to the same type, T S (C random ) is the reference sample set in which the optimization parameter set C is randomly selected random The average time for system identification under A sub-reference sample set consisting of reference samples with a preset proportion is randomly selected from the entire reference sample set in the random selection optimization parameter set C random The average system identification time under x (C use ) is a sub-sample case set consisting of sample cases with a preset proportion randomly selected from the preset sample case set in the suspected target optimization parameter set C use Average time for system identification.

[0111] Specifically, after obtaining the suspected target optimization parameter group, it is necessary to use the full set of sample cases to test to obtain the most accurate accuracy and recognition time of the system after the suspected target optimization parameter group is brought into the system. However, in actual testing, it is not necessary to test all sample cases in the full set to obtain the accuracy and recognition time, which would take too long and require too much calculation. The method adopted by the present invention is to test a small number of samples randomly selected from the full set, and then use the following formula to estimate the suspected target optimization parameter group C after obtaining the test results. use The statistical system accuracy A(C) obtained by testing the constructed object identification system in the full set of preset sample cases use ) and the time taken by the statistical system to identify T(C use ):

[0112]

[0113]

[0114] Among them, A S (C random ) is the reference sample set in which the optimization parameter set C is randomly selected random The accuracy of A sub-reference sample set consisting of reference samples with a preset proportion is randomly selected from the entire reference sample set in the random selection optimization parameter set C random The accuracy under x (C use ) is a sub-sample case set consisting of sample cases with a preset proportion randomly selected from the preset sample case set in the suspected target optimization parameter set C useThe accuracy rate under the condition that the items in the reference sample set and the preset sample case set belong to the same type, T S (C random ) is the reference sample set in which the optimization parameter set C is randomly selected random The average system identification time under mk (C random ) is to randomly select a sub-reference sample set consisting of reference samples with a preset proportion from the entire reference sample set and to randomly select an optimization parameter set C random The average system identification time under x (C use ) is a sub-sample case set consisting of sample cases with a preset proportion randomly selected from the preset sample case set in the suspected target optimization parameter set C use Average time for system identification.

[0115] To explain the above formula, the above formula hopes to use the proportion method in probability statistics to actually temporarily calculate the accuracy rate A of a subset of the entire set of preset sample use cases. x (C use ) and the average time taken for system identification T x (C use ) to obtain the accuracy of the preset sample case set A(C use ) and the average time taken for system identification T(C use ). Therefore, the reference sample set is used for calculation. It should be noted here that the items in the reference sample set and the items in the preset sample use case set are of the same type or have the same properties. For example, they are all transparent glazed patterned ceramics with bubbles and textures, so that the type and detectable number of feature points extracted for identity authentication are basically the same. Then, reference samples with a preset proportion are selected from the entire reference sample set to form a sub-reference sample set, and sub-sample use case sets composed of sample use cases with a preset proportion are also selected from the entire preset sample use case set, but multiple sub-reference sample sets need to be selected for calculating the mean. For example, there are 1000 blue and white porcelain tiles in the entire reference sample set, and the preset proportion is 10%. Then the sub-reference sample set includes 100 blue and white porcelain tiles randomly selected from the 1000 blue and white porcelain tiles, and the random selection is performed multiple times. For example, 10 sub-reference sample sets are selected. When there are 500 blue and white porcelain tiles in the entire preset sample use case set for detecting the performance of the system configured in the object identity recognition system with the suspected target optimization parameter group, 50 blue and white porcelain tiles need to be randomly selected from the 500 blue and white porcelain tiles to form a sub-sample use case set, and then only the system accuracy A of the sub-sample use case set under the suspected target optimization parameter group is temporarily calculated. x (C use ) and the average time taken for system identification T x (Cuse ), and It can be calculated in advance, and the suspected target optimization parameter set C can be estimated with a small amount of calculation use The statistical system accuracy A(C) obtained by testing the constructed object identification system in the full set of preset sample cases use ) and the time taken by the statistical system to identify T(C use ).

[0116] Based on the above embodiment, in the method, the construction of all parameter groups to be optimized in any round specifically includes:

[0117] All parameter groups to be optimized in any round are a set of parameter groups to be optimized that includes the preset number of groups and is constructed based on a preset search algorithm.

[0118] Specifically, the selection of all parameter groups to be optimized participating in the competition for the optimal parameter group in each round is limited to a search algorithm, that is, it can be randomly generated, but the selection of each parameter value also needs to meet the limit requirements of the parameter on the value range. Commonly used search algorithms include grid search method, random search method and Bayesian optimization algorithm, etc., which are not specifically limited here.

[0119] Based on the above embodiment, in this method, the object identification system includes an image quality detection module, an image quality improvement module, a fingerprint feature detection module, a fingerprint feature matching module and a matching result other feature verification module;

[0120] Correspondingly, the parameters to be optimized in the object identification system include a number of first parameters to be optimized in the image quality detection module, a number of second parameters to be optimized in the fingerprint feature detection module, a number of third parameters to be optimized in the fingerprint feature matching module, and a number of fourth parameters to be optimized in the matching result other feature verification module;

[0121] Correspondingly, the method for determining the system accuracy and the system identification time in the second preset condition specifically includes:

[0122] The system accuracy A and system identification time T are determined by the following formula:

[0123] A=A0(P)

[0124]

[0125] Among them, A0() is the relationship function between pixel variables and system accuracy, P is the number of pixels of the test sample case image, and α i is the k1 algorithm time complexity of the parameters to be optimized involved in the object identification system and P 2The time complexity weighted coefficient of the i-th algorithm in the algorithm proportional to β j is the k2 algorithm time complexity of the parameters to be optimized involved in the object identification system and P 1.5 The time complexity weighted coefficient of the jth algorithm in the algorithm that is proportional to γ l is the time complexity weighted coefficient of the lth algorithm among the k3 algorithms whose time complexity of the parameters to be optimized involved in the object identification system is proportional to P, δ m is the time complexity of the k4 algorithms involved in the object identification system to be optimized and P 0.5 The time complexity weighted coefficient of the mth algorithm in the algorithm is proportional to .

[0126] Specifically, the algorithm modules included in the object identification system are defined herein, that is, the object identification system includes an image quality detection module, an image quality improvement module, a fingerprint feature detection module, a fingerprint feature matching module, and a matching result other feature verification module. Figure 2 The schematic diagram of the scope of action of the verification structure parameters of the identification process provided by the present invention is as follows: Figure 2 As shown in the figure, the thin solid arrows connect the processing order and connection mode between the various algorithm modules in the object identification system. The image-based object identification process includes inputting the image to be verified into the system to first perform image quality detection and then improve the image quality based on the quality detection result. The improved image is subjected to feature detection and fingerprint feature extraction. The extracted fingerprint feature and Figure 2 The image-fingerprint-identity relationship stored in the sample image set identified in the uppermost box is compared to perform feature matching, and the image result and identity result obtained by matching are input into the feature verification module. The feature verification module then extracts another feature in the image to be verified and another feature of the image result for matching and comparison. If the verification is passed, the identity result is output as the identity recognition result.

[0127] It should be noted here that the fingerprint extraction algorithm parameters are mainly composed of the parameters of the feature detection algorithm and the parameters of the fingerprint generation algorithm. The feature detection algorithm parameters include the number of feature points, the number of feature detection layers, the minimum effective diameter of the feature, the feature type and the image pyramid level parameters of the feature; the fingerprint generation algorithm parameters include: the number of fingerprint vectors contained in each item fingerprint, the dimension of the descriptor, the descriptor generation method and the optional attributes of the feature information (such as feature point coordinates, neighborhood diameter, direction and feature type, etc.). Table 1 is the fingerprint vector information table provided by the present invention. The following Table 1 shows the contents of a fingerprint vector:

[0128] Table 1 Fingerprint vector table

[0129]

[0130]

[0131] In identifying structural parameters, the scope or process of several types of parameters are as follows: Figure 2 As shown. The fingerprint matching scheme refers to the process used in the object identification process, such as whether to introduce image preprocessing, the method of feature detection (such as using the distance between features to ensure that the features are distributed as evenly as possible within the image), and the algorithm selection of different functional modules in the object identification process (such as fingerprint extraction can use feature detection algorithms such as orb, sift and surf to extract features, and then generate object fingerprints based on the extracted features). Augmentation algorithm parameters refer to the contrast, saturation, interception range, brightness and other parameters used in the image augmentation algorithm when comparing sample images corresponding to the object fingerprints stored in the database in fingerprint verification. Sample data parameters refer to the type and quantity of original sample data used when matching object fingerprints.

[0132] Figure 3 The schematic diagram of the scope of action of the feature matching and verification algorithm parameters provided by the present invention. In the feature matching and verification algorithm parameters, the scope or process of several types of parameters are as follows Figure 3 As shown. The descriptor matching scheme refers to the algorithm used in the process of matching the feature descriptors detected in the sample fingerprint and the image of the fingerprint area to be verified. The BF method, KNN and FLANN algorithms can be used. The similarity measurement function refers to a function that obtains the similarity of two images to be verified based on the similarity relationship of feature points obtained by matching two feature descriptor tables. The mean, the mean of similarities of the most similar descriptors, or the number of fingerprint vectors with descriptor similarities within the threshold can be used; the verification data type is the data used in fingerprint verification, including: coordinates, meaningful minimum diameter, category and direction, etc.; the verification function is a function or process that uses the verification data to determine whether the verification is successful. The available types include: serial judgment, parallel judgment, judgment by setting weight functions, and judgment by using voting mechanisms, etc.

[0133] Figure 4 The following is a schematic diagram of the feature matching algorithm parameter optimization selection process provided by the present invention, such as Figure 4As shown in the figure, it is the algorithm parameter optimization selection process. For items of the same category, some of the item fingerprint samples can be used to quickly determine the model parameters of the item fingerprint. The model parameter optimization selection method can use grid search method, random search method and Bayesian optimization algorithm, etc.; when the accuracy and test time obtained by concentrated testing of a small-scale sample data set reach the target, the parameter optimization selection is completed, and the model performance evaluation added later is the performance score obtained by measuring the accuracy and calculation time of the item identification system after the parameters are determined from other aspects. Only when the score is higher than a certain threshold, the score value will be saved together with the determined parameters, providing more reference information for the item identification system constructed with the determined parameters.

[0134] The object identification performance includes: matching speed and matching accuracy. When optimizing parameters, you can choose to focus on the optimization target, and give a parameter selection scheme based on your preference. Taking the random search method as an example, randomly generate parameter groups C1,...,C m , the corresponding arrays of accuracy and test time obtained in the specified small-scale sample data set are: (A1, T1),..., (A m ,T m ). Figure 5 The present invention provides a flow chart of the parameter preference selection process using the random search method, according to which the parameter selection algorithm is as follows: Figure 5 shown. Figure 5 Also displayed Figure 4 The specific process in the link indicated by the decision loop return arrow in the process.

[0135] Calculate the time mutation point C △Tmax , accuracy mutation point C △Amax and the point C where the difference between the two is the largest d-max , as shown in formula (1)(2)(3). The preference selection function is shown in formula (4), where α+β+γ=1. When accuracy is preferred, β is appropriately increased; when computing time is preferred, α is appropriately increased; when both computing time and accuracy are considered comprehensively, γ is appropriately increased.

[0136] The determination of the first mutation point of all the system accuracy rates in the round, the second mutation point of all the system identification times, and the second target parameter group to be optimized corresponding to the maximum difference between the system accuracy rate and the system identification time is calculated by the following formula:

[0137] C △Amax =argmax(△A(C i )) (1)

[0138] C △Tmax =argmax(△T(C i )) (2)

[0139] C d-max = argmax(A(C i )-T(C i )) (3)

[0140] Among them, C △Amax is the first mutation point of the accuracy of all the systems in this round, C △Tmax The second mutation point of the time taken for all the systems to identify in this round, C d-max is the second target parameter group to be optimized corresponding to the maximum difference between the system accuracy and the system recognition time in this round, T(C i ) represents the system recognition time corresponding to the parameter group to be optimized ranked i after all the parameter groups to be optimized in this round are substituted into the object identification system test, and the system recognition time obtained is sorted by the time length, A(C i ) represents the system accuracy obtained by substituting all the parameter groups to be optimized in this round into the object identification system test, and the system accuracy corresponding to the parameter group to be optimized ranked i after sorting by accuracy, i = 1, 2, 3, ..., Q-1, Q is the preset number of groups, △T(C i )=T(C i+1 )-T(C i ), △A(C i )=A(C i+1 )-A(C i );

[0141] Correspondingly, determining the suspected target optimization parameter group based on the first mutation point, the second mutation point and the second target parameter group to be optimized specifically includes:

[0142] Suspected target optimization parameter group C use Calculated by the following formula:

[0143]

[0144] Among them, α, β and γ are the preset time preference coefficient, the preset accurate preference system and the preset balance time accuracy coefficient respectively, and α+β+γ=1, C △Amax is the first mutation point, C △Tmax is the second mutation point, C d-max A suspected target optimization parameter group is determined for the second target parameter group to be optimized.

[0145] As shown in equations (5) and (6), the accuracy of the partial sample set and the operation time are used to predict the accuracy of the full sample set A(C use ) and operation time T(C use ) is calculated. Among them, a number of n subsets m of the reference sample set are obtained.k When the parameter is C use The prediction accuracy of and operation time Prediction accuracy of the entire sample set A S (C use ) and operation time T S (C use ); the subset x of the current sample set with number n under parameter C i The prediction accuracy A x (C use ) and operation time T x (C use ).

[0146]

[0147]

[0148] The model performance evaluation will give the estimation function of the accuracy of item identity information verification using images with different numbers of pixels under the current parameter conditions as shown in formula (7), where A0(P) is the relationship function between known pixels and accuracy. The time function required for estimating verification is shown in formula (8), where P represents the number of pixels in the image, α, β, γ, δ are the corresponding relationship coefficients between pixels and time, and k is the number of corresponding algorithm time complexities. Figure 6 The curves of the time and accuracy required for object identification verification under different pixels provided by the present invention, and the function curves obtained by several commonly used image pixels are as follows: Figure 6 shown.

[0149] A=A0(P) (7)

[0150]

[0151] The following is a description of the device for determining the optimized parameters in the object identification system provided by the present invention. The device for determining the optimized parameters in the object identification system described below and the method for determining the optimized parameters in the object identification system described above can refer to each other.

[0152] Figure 7 The schematic diagram of the structure of the device for determining the optimization parameters in the object identification system provided by the present invention is as follows: Figure 7 As shown, the device includes a construction unit 710, a testing unit 720 and a determination unit 730, wherein:

[0153] The construction unit 710 is used to determine the type and number of parameters to be optimized in the object identification system and to construct a parameter group to be optimized;

[0154] The testing unit 720 is used to select the parameter groups to be optimized in any round, and use a preset sample case test for each parameter group to be optimized to obtain the corresponding identity recognition system accuracy and identity recognition system recognition time;

[0155] The determining unit 730 is configured to determine that the first target optimized parameter group is the optimal parameter group if there is a first target optimized parameter group whose system accuracy and system identification time meet the first preset condition among all the parameter groups to be optimized in the round, otherwise, proceed to the selection of the parameter group to be optimized in the next round;

[0156] Among them, the selection of the parameter groups to be optimized in any round includes a preset number of parameter groups to be optimized.

[0157] The device provided by the present invention constructs a parameter group to be optimized by determining the type and number of parameters to be optimized in an object identification system; for the selection of the parameter group to be optimized in any round, each group of the parameter groups to be optimized is tested by a preset sample case to obtain the corresponding identity identification system accuracy and identity identification system identification time; if there is a first target parameter group to be optimized whose system accuracy and system identification time meet the first preset condition among all the parameter groups to be optimized in this round, the first target optimization parameter group is determined to be the optimal parameter group, otherwise, the selection of the parameter group to be optimized in the next round is entered; wherein the selection of the parameter group to be optimized in any round includes a preset number of parameter groups to be optimized. Since the standard for determining whether the first preset condition is met needs to be based on the parameters of the system accuracy and system identification time obtained by the preset sample case test after the parameter group to be optimized is brought into the object identification system, therefore, the selection of the optimization parameters considers the factors of the accuracy and calculation time in the two dimensions respectively, so as to ensure that when the output optimal parameter group is applied to the object identification system, one of the system accuracy and calculation time is guaranteed to be optimal or balanced. Therefore, the device provided by the present invention can improve the accuracy of the object identification system and reduce the calculation time of the object identification system.

[0158] Based on the above embodiment, in the device, after determining that the target optimization parameter group is the optimal parameter group, the device further includes:

[0159] Determining whether the optimal parameter group meets a second preset condition;

[0160] If yes, then saving the performance evaluation value of the optimal parameter group calculated based on the second preset condition;

[0161] The second preset condition and the first preset condition use different methods for determining the system accuracy and system identification time.

[0162] Based on the above embodiment, in the device, the determination of whether there is a first target parameter group to be optimized whose system accuracy and system identification time meet the first preset condition among all parameter groups to be optimized in the round specifically includes:

[0163] Using the preset sample case to test the object identification system constructed by each parameter group to be optimized in all parameter groups to be optimized in this round, and obtaining the system accuracy and system identification time corresponding to each parameter group to be optimized;

[0164] Determine a first mutation point of all the system accuracies in the round, a second mutation point of all the system identification times, and a second target parameter group to be optimized corresponding to a maximum difference between the system accuracies and the system identification times;

[0165] Determine a suspected target optimization parameter group based on the first mutation point, the second mutation point and the second target parameter group to be optimized;

[0166] Determine the statistical system accuracy and statistical system identification time obtained by testing the object identification system constructed by the suspected target optimization parameter group in the entire set of preset sample use cases;

[0167] If the accuracy of the statistical system exceeds a first preset threshold and the identification time of the statistical system does not exceed a second preset threshold, the suspected target optimization parameter group is the first target optimization parameter group.

[0168] Based on the above embodiment, in the device, the first mutation point of all the system accuracy rates in the round, the second mutation point of all the system identification times, and the second target parameter group to be optimized corresponding to the maximum difference between the system accuracy rate and the system identification time are determined, specifically including:

[0169] The determination of the first mutation point of all the system accuracy rates in the round, the second mutation point of all the system identification times, and the second target parameter group to be optimized corresponding to the maximum difference between the system accuracy rate and the system identification time is calculated by the following formula:

[0170] C △Amax =argmax(△A(C i ))

[0171] C △Tmax =argmax(△T(C i ))

[0172] C d-max = argmax(A(C i )-T(C i ))

[0173] Among them, C △Amaxis the first mutation point of the accuracy of all the systems in this round, C △Tmax The second mutation point of the time taken for all the systems to identify in this round, C d-max is the second target parameter group to be optimized corresponding to the maximum difference between the system accuracy and the system recognition time in this round, T(C i ) represents the system recognition time corresponding to the parameter group to be optimized ranked i after all the parameter groups to be optimized in this round are substituted into the object identification system test, and the system recognition time obtained is sorted by the time length, A(C i ) represents the system accuracy obtained by substituting all the parameter groups to be optimized in this round into the object identification system test, and the system accuracy corresponding to the parameter group to be optimized ranked i after sorting by accuracy, i = 1, 2, 3, ..., Q-1, Q is the preset number of groups, △T(C i )=T(C i+1 )-T(C i ), △A(C i )=A(C i+1 )-A(C i );

[0174] Correspondingly, determining the suspected target optimization parameter group based on the first mutation point, the second mutation point and the second target parameter group to be optimized specifically includes:

[0175] Suspected target optimization parameter group C use Calculated by the following formula:

[0176]

[0177] Among them, α, β and γ are the preset time preference coefficient, the preset accurate preference system and the preset balance time accuracy coefficient respectively, and α+β+γ=1, C △Amax is the first mutation point, C △Tmax is the second mutation point, C d-max A suspected target optimization parameter group is determined for the second target parameter group to be optimized.

[0178] Based on the above embodiment, in the device, the statistical system accuracy and the statistical system identification time obtained by testing the object identification system constructed by the suspected target optimization parameter group in the full set of preset sample use cases specifically include:

[0179] The suspected target optimization parameter group C is calculated by the following formula use The statistical system accuracy A(C) obtained by testing the constructed object identification system in the full set of preset sample cases use ) and the time taken by the statistical system to identify T(C use ):

[0180]

[0181]

[0182] in, A subset m consisting of a preset number of sample cases randomly selected from the full set of preset sample cases k When the parameter group to be optimized is C use The system recognition accuracy is is a subset m consisting of the preset number of sample cases randomly selected from the entire set of preset sample cases k When the parameter group to be optimized is C use The system identification time is A S (C use ) is the system recognition accuracy of the entire set of preset sample cases, T S (C use ) is the system recognition time of the full set of preset sample cases, A x (C use ) is the subset x with the number of current sample cases being the preset number under the parameter C use The system recognition accuracy at time T x (C use ) is the subset x with the number of current sample cases being the preset number under the parameter C use The system identification time.

[0183] Based on the above embodiment, in the device, the construction of all parameter groups to be optimized in any round specifically includes:

[0184] All parameter groups to be optimized in any round are a set of parameter groups to be optimized that includes the preset number of groups and is constructed based on a preset search algorithm.

[0185] Based on the above embodiment, in the device, the object identification system includes an image quality detection module, an image quality improvement module, a fingerprint feature detection module, a fingerprint feature matching module and a matching result other feature verification module;

[0186] Correspondingly, the parameters to be optimized in the object identification system include a number of first parameters to be optimized in the image quality detection module, a number of second parameters to be optimized in the fingerprint feature detection module, a number of third parameters to be optimized in the fingerprint feature matching module, and a number of fourth parameters to be optimized in the matching result other feature verification module;

[0187] Correspondingly, the method for determining the system accuracy and the system identification time in the second preset condition specifically includes:

[0188] The system accuracy A and system identification time T are determined by the following formula:

[0189] A=A0(P)

[0190]

[0191] Wherein, A0() is the relationship function between pixel variables and system accuracy, P is the number of pixels of the test sample case image, k1, k2, k3 and k4 are the time complexity of the corresponding algorithms in the image quality detection module, the fingerprint feature detection module, the fingerprint feature matching module and the matching result other feature verification module, respectively, α i is the corresponding coefficient between the pixel and the system recognition time when the algorithm time complexity in the image quality detection module is i, β j is the coefficient of the correspondence between the pixel and the system recognition time when the algorithm time complexity in the fingerprint feature detection module is j, γ l is the corresponding coefficient between the pixel and the system recognition time when the algorithm time complexity in the fingerprint feature matching module is l, δ m It is the correspondence coefficient between pixels and system recognition time when the algorithm time complexity in other feature verification modules of the matching result is l.

[0192] Figure 8 A schematic diagram of the physical structure of an electronic device provided by the present invention, such as Figure 8 As shown, the electronic device may include: a processor 810, a communication interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication interface 820 and the memory 830 communicate with each other through the communication bus 840. The processor 810 may call the logic instructions in the memory 830 to execute the method for determining the optimization parameters in the object identification system, the method comprising: determining the type and number of parameters to be optimized in the object identification system, and constructing a parameter group to be optimized; for the selection of the parameter group to be optimized in any round, each group of the parameter group to be optimized is tested by a preset sample case to obtain the corresponding identity recognition system accuracy and identity recognition system identification time; if there is a first target parameter group to be optimized whose system accuracy and system identification time meet the first preset condition among all the parameter groups to be optimized in the round, then the first target optimization parameter group is determined to be the optimal parameter group, otherwise, the selection of the parameter group to be optimized in the next round is entered; wherein the selection of the parameter group to be optimized in any round includes a preset number of parameter groups to be optimized.

[0193] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0194] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the method for determining the optimized parameters in the object identification system provided by the above methods, the method including: determining the type and number of parameters to be optimized in the object identification system, and constructing a parameter group to be optimized; for the selection of the parameter group to be optimized in any round, a preset sample case test is used for each group of parameter groups to be optimized to obtain the corresponding identity recognition system accuracy and identity recognition system identification time; if there is a first target parameter group to be optimized whose system accuracy and system identification time meet the first preset condition among all the parameter groups to be optimized in this round, then the first target optimization parameter group is determined to be the optimal parameter group, otherwise, the selection of the parameter group to be optimized in the next round is entered; wherein, the selection of the parameter group to be optimized in any round includes a preset number of parameter groups to be optimized.

[0195] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the method for determining the optimized parameters in the object identification system provided by the above-mentioned methods, the method comprising: determining the type and number of parameters to be optimized in the object identification system, and constructing a parameter group to be optimized; for the selection of the parameter group to be optimized in any round, a preset sample case test is used for each group of parameter groups to be optimized to obtain the corresponding identity recognition system accuracy and identity recognition system recognition time; if there is a first target parameter group to be optimized whose system accuracy and system recognition time meet a first preset condition among all the parameter groups to be optimized in the round, then the first target optimization parameter group is determined to be the optimal parameter group, otherwise, the selection of the parameter group to be optimized in the next round is entered; wherein, the selection of the parameter group to be optimized in any round includes a preset number of parameter groups to be optimized.

[0196] The server embodiment described above is merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, i.e., they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.

[0197] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0198] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for determining optimization parameters in an object identification system, characterized in that: include: Determine the type and number of parameters to be optimized in the object identification system, and construct a parameter group to be optimized; For the selection of the parameter groups to be optimized in any round, each of the parameter groups to be optimized is tested using a preset sample case to obtain the corresponding identity recognition system accuracy and identity recognition system recognition time; If there is a first target parameter group to be optimized whose system accuracy and system identification time meet the first preset condition among all parameter groups to be optimized in this round, then the first target parameter group to be optimized is determined to be the optimal parameter group, otherwise, the next round of selection of the parameter group to be optimized is entered; Wherein, the selection of the parameter groups to be optimized in any round includes a preset number of parameter groups to be optimized; Determining the first mutation point of all the system accuracies in the round, the second mutation point of all the system identification times, and the second target parameter group to be optimized corresponding to the maximum difference between the system accuracy and the system identification time, specifically includes: Using the preset sample case to test the object identification system constructed by each parameter group to be optimized in all parameter groups to be optimized in this round, and obtaining the system accuracy and system identification time corresponding to each parameter group to be optimized; Determine a first mutation point of all the system accuracies in the round, a second mutation point of all the system identification times, and a second target parameter group to be optimized corresponding to a maximum difference between the system accuracies and the system identification times; The determination of the first mutation point of all the system accuracy rates in the round, the second mutation point of all the system identification times, and the second target parameter group to be optimized corresponding to the maximum difference between the system accuracy rate and the system identification time is calculated by the following formula: C △Amax =argmax(△A(C i )) C △Tmax =argmax(△T(C i )) C d-max =argmax(A(C i )-T(C i )) Among them, C △Amax is the first mutation point of the accuracy of all the systems in this round, C △Tmax The second mutation point of the time taken for all the systems to identify in this round, C d-max is the second target parameter group to be optimized corresponding to the maximum difference between the system accuracy and the system recognition time in this round, T(C i ) represents the system recognition time corresponding to the parameter group to be optimized ranked i after all the parameter groups to be optimized in this round are substituted into the object identification system test, and the system recognition time obtained is sorted by the time length, A(C i ) represents the system accuracy obtained by substituting all the parameter groups to be optimized in this round into the object identification system test, and the system accuracy corresponding to the parameter group to be optimized ranked i after sorting by accuracy, i = 1, 2, 3, ..., Q-1, Q is the preset number of groups, △T(C i )=T(C i+1 )-T(C i ), △A(C i )=A(C i+1 )-A(C i ); Correspondingly, determining a suspected target optimization parameter group based on the first mutation point, the second mutation point and the second target parameter group to be optimized specifically includes: Suspected target optimization parameter group C use Calculated by the following formula: Among them, α, β and γ are the preset time preference coefficient, the preset accuracy preference coefficient and the preset balance time accuracy coefficient respectively, and α+β+γ=1, C △Amax is the first mutation point, C △Tmax is the second mutation point, C d-max A suspected target optimization parameter group is determined for the second target parameter group to be optimized.

2. The method for determining optimization parameters in an object identification system according to claim 1, characterized in that: After determining that the target optimization parameter group is the optimal parameter group, the method further includes: Determining whether the optimal parameter group meets a second preset condition; If so, saving the performance evaluation value of the optimal parameter group calculated based on the second preset condition; The second preset condition and the first preset condition use different methods for determining the system accuracy and system identification time.

3. The method for determining optimization parameters in an object identification system according to claim 2, characterized in that: The determination of whether there is a first target parameter group to be optimized whose system accuracy and system identification time satisfy the first preset condition among all parameter groups to be optimized in the round specifically includes: Determine a suspected target optimization parameter group based on the first mutation point, the second mutation point and the second target parameter group to be optimized; Determine the statistical system accuracy and the statistical system identification time obtained by testing the object identification system constructed by the suspected target optimization parameter group in the entire set of preset sample use cases; If the accuracy of the statistical system exceeds a first preset threshold and the identification time of the statistical system does not exceed a second preset threshold, the suspected target optimization parameter group is the first target parameter group to be optimized.

4. The method for determining optimization parameters in an object identification system according to claim 1, characterized in that: The determining of the object identification system constructed by the suspected target optimization parameter group and the statistical system accuracy and the statistical system identification time obtained by testing the entire set of preset sample use cases specifically include: The suspected target optimization parameter group C is calculated by the following formula use The statistical system accuracy A(C) obtained by testing the constructed object identification system in the full set of preset sample cases use ) and the time taken by the statistical system to identify T(C use ): Among them, A S (C random ) is the reference sample set in which the optimization parameter set C is randomly selected random The accuracy under mk (C random ) is to randomly select a sub-reference sample set consisting of reference samples with a preset proportion from the entire reference sample set and randomly select the optimization parameter set C random The accuracy under x (C use ) is a sub-sample case set consisting of sample cases with a preset proportion randomly selected from the preset sample case set in the suspected target optimization parameter set C use The accuracy rate under the condition that the items in the reference sample set and the preset sample case set belong to the same type, T S (C random ) is the reference sample set in which the optimization parameter set C is randomly selected random The average time for system identification under A sub-reference sample set consisting of reference samples with a preset proportion is randomly selected from the entire reference sample set in the random selection optimization parameter set C random The average system identification time under x (C use ) is a sub-sample case set consisting of sample cases with a preset proportion randomly selected from the preset sample case set in the suspected target optimization parameter set C use Average time for system identification.

5. The method for determining optimization parameters in an object identification system according to any one of claims 1 to 4, characterized in that: The construction of all parameter groups to be optimized in any round specifically includes: All parameter groups to be optimized in any round are a set of parameter groups to be optimized that includes the preset number of groups and is constructed based on a preset search algorithm.

6. The method for determining optimization parameters in an object identification system according to any one of claims 2 to 4, characterized in that: The object identification system includes an image quality detection module, an image quality improvement module, a fingerprint feature detection module, a fingerprint feature matching module and a matching result other feature verification module; Correspondingly, the parameters to be optimized in the object identification system include several first parameters to be optimized in the image quality detection module, several second parameters to be optimized in the fingerprint feature detection module, several third parameters to be optimized in the fingerprint feature matching module, and several fourth parameters to be optimized in the matching result other feature verification module; Correspondingly, the method for determining the system accuracy and the system identification time in the second preset condition specifically includes: The system accuracy A and system identification time T are determined by the following formula: A=A0(P) Among them, A0() is the relationship function between pixel variables and system accuracy, P is the number of pixels of the test sample case image, and α i is the k1 algorithm time complexity of the parameters to be optimized involved in the object identification system and P 2 The time complexity weighted coefficient of the i-th algorithm in the algorithm proportional to β j is the k2 algorithm time complexity of the parameters to be optimized involved in the object identification system and P 1.5 The time complexity weighted coefficient of the jth algorithm in the algorithm that is proportional to γ l is the time complexity weighting coefficient of the lth algorithm among the k3 algorithms whose time complexity of the parameters to be optimized involved in the object identification system is proportional to P, δ m is the time complexity of the k4 algorithms involved in the object identification system to be optimized and P 0.5 The time complexity weighted coefficient of the mth algorithm in the algorithm is proportional to .

7. A device for determining an optimization parameter in an object identification system, using the method for determining an optimization parameter in an object identification system according to any one of claims 1 to 6, characterized in that: include: A construction unit, used to determine the type and number of parameters to be optimized in the object identification system, and to construct a parameter group to be optimized; A testing unit, used for selecting the parameter groups to be optimized in any round, testing each parameter group to be optimized using a preset sample case, and obtaining the corresponding identity recognition system accuracy and identity recognition system recognition time; A determination unit, configured to determine that a first target parameter group to be optimized is an optimal parameter group if there is a first target parameter group to be optimized whose system accuracy and system identification time satisfy a first preset condition among all parameter groups to be optimized in the round, otherwise, proceed to the selection of the parameter group to be optimized in the next round; Among them, the selection of the parameter groups to be optimized in any round includes a preset number of parameter groups to be optimized.

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 program, the steps of the method for determining the optimization parameters in the object identification system according to any one of claims 1 to 6 are implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for determining the optimization parameters in the object identification system according to any one of claims 1 to 6 are implemented.