A scoring voting system and method based on computer vision technology
By designing a scoring voting system in computer vision technology, using image acquisition equipment and similarity coefficient analysis, the problems of image noise and distortion are solved, accurate image recognition and scoring are achieved, and the automation and reliability of the system are improved.
Patent Information
- Application Number
- CN202411114149.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-08-14
AI Technical Summary
Existing computer vision technology has noise and distortion problems in image capture and analysis, which affects the accurate recognition and scoring results of images. It is especially difficult to accurately identify abnormal windows in voting assessment and selection systems.
A scoring voting system based on computer vision technology is designed, including a visual capture module, an image processing module, an image difference analysis module, an image voting response module and a scoring module. Image data is captured through image acquisition equipment for preprocessing and enhancement. , use similarity coefficient analysis to identify abnormal windows, and calculate the comprehensive scoring index to rank employees.
It improves the quality and accuracy of image data, ensures the fairness and transparency of assessment results, reduces manual intervention, and improves the automation level and reliability of the system.
Smart Images

Figure CN118628848B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer vision, and in particular to a scoring and voting system and method based on computer vision technology. Background Art
[0002] In the context of the rapid development of modern science and technology, computer vision technology, as an important branch of artificial intelligence, is being widely used in various fields. Computer vision technology processes and understands image and video data by simulating the human visual system, and can automatically complete tasks such as image analysis, object recognition and feature extraction. In many application fields, computer vision technology is widely used in image capture and analysis, especially in some practical operations, such as offline voting, assessment and selection systems.
[0003] Although the application of computer vision technology in voting and assessment has brought many conveniences, the existing system still has some shortcomings. When computer vision technology is applied to specific scenarios, various inadaptability phenomena will occur. For example, image preprocessing and enhancement technology may not be able to completely eliminate noise and distortion in the image acquisition process, thus affecting the final calculation of similar situations and the identification of assessment types. How to accurately identify abnormal windows in images is still one of the technical challenges. Summary of the invention
[0004] In view of the deficiencies in the prior art, the present invention provides a scoring and voting system and method based on computer vision technology, which solves the problems in the above-mentioned background technology.
[0005] To achieve the above objectives, the present invention is implemented through the following technical solutions: a scoring and voting system based on computer vision technology, including a visual capture module, an image processing module, an image difference analysis module, an image voting response module and a scoring module;
[0006] The visual capture module is used to use an image acquisition device to capture the corresponding pictures involved in each assessment type to obtain a known image data set, and to capture several groups of voting pictures involved in each employee after voting to obtain a comparison image data set;
[0007] The image processing module is used to perform image preprocessing on both the known image data set and the comparison image data set, and to improve the image quality according to the image enhancement technology to generate an image database;
[0008] The image difference analysis module is used to pre-set the window size of the image, and compare each group of windows in the corresponding voting image with the known images of each assessment type to construct the similarity coefficient Xsxs in the corresponding window, and preliminarily determine the assessment type of the corresponding voting image and identify the abnormal window based on the value of the similarity coefficient Xsxs, and determine the abnormal situation of the corresponding voting image based on the abnormal window;
[0009] The image voting response module is used to perform statistical operations on the similarity coefficients Xsxs in each window in the corresponding voting image to construct an overall similarity coefficient Zxs between the corresponding voting image and the preliminarily determined known image, and to determine the assessment type of the corresponding voting image again based on the overall similarity coefficient Zxs;
[0010] The scoring module is used to determine the assessment type of the corresponding voting image and identify the score value Fz of the corresponding assessment type in the voting image to calculate the comprehensive scoring index Zjxs of each employee, and score and rank the employees according to the comprehensive scoring index Zjxs.
[0011] Preferably, the visual capture module comprises a first capture unit and a second capture unit;
[0012] The first capture unit is used to place the corresponding pictures involved in each assessment type on a flat workbench, and use an image acquisition device to take a bird's-eye view of the corresponding pictures involved in each assessment type to capture a known image data set, and obtain the number of assessment types n based on the known image data set;
[0013] The second capturing unit is used to place several groups of voting pictures involving each employee on a flat workbench after the voting is completed, and to capture the several groups of voting pictures involving each employee using an image acquisition device to obtain a comparison image data set.
[0014] Preferably, the image processing module includes a preprocessing unit and an enhancement unit;
[0015] The preprocessing unit is used to preprocess the known image data set and the comparison image data set, wherein the preprocessing includes removing noise, smoothing the image, and performing geometric correction, and identifying and extracting effective features in the image to obtain the pixel value Xs1 in each window of each voting image and the pixel value Xs2 in each window of each known image;
[0016] The enhancement unit is used to adjust the brightness, stretch the image range, and adjust the image contrast by using histogram equalization.
[0017] Preferably, the image difference analysis module includes a comparison and analysis unit, a preliminary determination unit and an abnormality identification unit;
[0018] The comparison and analysis unit is used to preselect a window of a fixed size and slide it in the known image and the voting image to obtain the similarity coefficient Xsxs in the corresponding window, which is specifically obtained according to the following formula: In the formula, It is represented as the pixel mean in the jth window in the i-th voting image, It is represented as the mean value of pixels in the jth window in the i-th known image, It is expressed as the covariance between the pixels in the jth window in the i-th voting image and the pixels in the jth window in the i-th known image, It is expressed as the pixel variance in the jth window in the i-th voting image, It is expressed as the pixel variance in the jth window of the ith known image, where c1 and c2 are correction constants.
[0019] Preferably, the preliminary determination unit is used to obtain the similarity coefficient Xsxs in each window in the corresponding voting image according to the calculation method of obtaining the similarity coefficient Xsxs in the corresponding window in the comparison and analysis unit, and preliminarily determine the assessment type of the corresponding voting image according to the numerical value of the similarity coefficient Xsxs in each window in the corresponding voting image. The specific analysis content is as follows:
[0020] If the similarity coefficient Xsxs = 1, it is determined that the structure of the window in the current voting image is exactly the same as the corresponding window in the corresponding known image for comparison. At this time, it is preliminarily determined that the assessment type corresponding to the current voting image belongs to the assessment type involved in the currently compared known image;
[0021] If the similarity coefficient Xsxs = value 0, it is determined that the structure between the window in the current voting image and the corresponding window in the corresponding compared known image is completely different. At this time, it is preliminarily determined that the assessment type corresponding to the current voting image does not belong to the assessment type involved in the current compared known image.
[0022] Preferably, the abnormal identification unit is used to identify abnormal windows according to the numerical values of the similarity coefficients Xsxs in each window in the corresponding voting image, and the specific identification content is as follows:
[0023] If the value 0 < similarity coefficient Xsxs < value 1, it is determined that the structure of the window in the current voting image is not completely the same as the corresponding window in the corresponding known image. At this time, it is determined that the corresponding window in the current voting image is abnormal and the window is marked as an abnormal window;
[0024] When an abnormal window is found, a review instruction is issued to notify relevant personnel to review the corresponding pictures, check and correct the abnormal window.
[0025] Preferably, the image voting response module includes an overall analysis unit and a confirmation unit;
[0026] The overall analysis unit is used to perform statistical operations on the similarity coefficients Xsxs in each window in the corresponding voting image after preliminarily determining the assessment type of the corresponding voting image, so as to construct the overall similarity coefficient Zxs between the corresponding voting image and the preliminarily determined known image, which is specifically obtained in the following manner: Where J is the number of windows, j=1, 2, 3, ..., J, Xsxs j It is expressed as the overall similarity coefficient between the corresponding voting image and the preliminarily determined assessment type image.
[0027] Preferably, the confirmation unit is used to re-determine the assessment type of the corresponding voting image according to the overall similarity coefficient Zxs value obtained in the overall analysis unit. The specific re-analysis content is as follows:
[0028] If the overall similarity coefficient Zxs = value 1, it is determined that the structure of the window in the current voting image is exactly the same as the corresponding window in the corresponding known image for comparison. At this time, it is determined again that the assessment type corresponding to the current voting image belongs to the assessment type involved in the currently compared known image;
[0029] If the overall similarity coefficient Zxs = 0, it is determined that the structure of the window in the current voting image is completely different from the corresponding window in the corresponding known image for comparison. At this time, it is determined again that the assessment type corresponding to the current voting image does not belong to the assessment type involved in the current known image for comparison;
[0030] Among them, if several groups of assessment types of the corresponding voting images are preliminarily determined, the overall similarity coefficient Zxs of the corresponding voting image and several groups of preliminarily determined assessment type images are calculated respectively, and based on the said re-analysis content, the case where the comparison result is equal to the numerical value 1 is screened out, and the several groups of overall similarity coefficients Zxs where the comparison result is equal to the numerical value 1 are sorted in order of numerical value to extract the maximum value of the overall similarity coefficient Zxs, and the assessment type involved in the known image corresponding to the maximum value of the overall similarity coefficient Zxs is used as the assessment type of the corresponding voting image.
[0031] Preferably, the scoring module includes an assessment statistics unit and a ranking unit;
[0032] The assessment statistics unit is used to determine the assessment type of the corresponding voting image and identify the score value Fz of the corresponding assessment type in the voting image to calculate the comprehensive scoring index Zjxs of each employee, which is specifically obtained in the following manner: Where n is the number of assessment types, k=1, 2, 3, ..., K, Fz kIt is represented as the score value of the k-th assessment type, F k It is expressed as the weight value of the kth assessment type;
[0033] The ranking unit is used to obtain the comprehensive scoring index Zjxs of several groups of employees according to the calculation method of the comprehensive scoring index Zjxs obtained in the assessment statistics unit, sort the comprehensive scoring index Zjxs of several groups of employees in order of numerical value, and regard the sorted content as the assessment selection table.
[0034] A scoring voting method based on computer vision technology includes the following steps:
[0035] Step 1: Use an image acquisition device to capture the corresponding images involved in each assessment type to obtain a known image data set, and capture several groups of voting images involved in each employee after voting to obtain a comparison image data set;
[0036] Step 2: Preprocess the known image data set and the comparison image data set, and improve the image quality based on image enhancement technology to generate an image database;
[0037] Step 3: pre-set the window size of the image, and compare each group of windows in the corresponding voting image with the known images of each assessment type to construct the similarity coefficient Xsxs in the corresponding window, and preliminarily determine the assessment type of the corresponding voting image and identify the abnormal window based on the value of the similarity coefficient Xsxs, and determine the abnormality of the corresponding voting image based on the abnormal window;
[0038] Step 4: Perform statistical operations on the similarity coefficients Xsxs in each window in the corresponding voting image to construct an overall similarity coefficient Zxs between the corresponding voting image and the preliminarily determined known image, and determine the assessment type of the corresponding voting image again based on the overall similarity coefficient Zxs;
[0039] Step 5: Determine the assessment type of the corresponding voting image and identify the score value Fz of the corresponding assessment type in the voting image to calculate the comprehensive scoring index Zjxs of each employee, and rank the employees according to the comprehensive scoring index Zjxs.
[0040] The present invention provides a scoring voting system and method based on computer vision technology, which has the following beneficial effects:
[0041] (1) The visual capture module automatically captures images of each assessment type through image acquisition equipment, and obtains a known image data set and a comparison image data set after voting. This process not only reduces manual intervention, but also ensures the comprehensiveness and consistency of image data, laying a solid foundation for subsequent analysis. The image processing module improves the image quality by preprocessing and enhancing the known image data set and the comparison image data set. This process effectively reduces noise and improves image clarity, providing high-quality image data support for accurate analysis. The image difference analysis module uses a preset window size to carefully compare the voting image and construct a similarity coefficient Xsxs. This analysis method can accurately identify the similarity between the voting image and the assessment type image, and effectively detect abnormal windows, thereby ensuring the accuracy and reliability of the assessment data. The image voting response module constructs an overall similarity coefficient Zxs by counting the similarity coefficients of each window, and further confirms the assessment type of the voting image. This process optimizes image classification and assessment type determination, and further improves the system's discrimination ability and accuracy. The scoring module calculates the comprehensive scoring index Zjxs of each employee according to the determined assessment type and score value, and sorts them. This mechanism ensures the fairness and transparency of the assessment results, helps to scientifically evaluate employee performance and make reasonable decisions. In summary, the scoring voting system of this system not only improves the automation level of voting assessment, but also ensures the accuracy and reliability of the system through precise image processing, difference analysis and automatic scoring mechanism, and has significant application value and practical effect.
[0042] (2) The first capture unit of the visual capture module places the assessment type pictures on a flat workbench. By shooting from a bird's-eye view, it can ensure that a high-quality known image data set is captured. This setting avoids image distortion caused by inconsistent shooting angles, ensures the accuracy and consistency of the data set, and determines the number of assessment types n, providing a clear benchmark for subsequent analysis. After the voting is completed, the second capture unit also places the voting pictures on a flat workbench for image capture. This module can systematically collect the voting pictures of each employee to form a comparison image data set. This systematic capture method ensures the integrity and high quality of the comparison image data set, providing a solid data foundation for subsequent image processing and analysis. The enhancement unit uses histogram equalization technology to adjust the brightness and contrast of the image, further improving the visual effect of the image. By stretching the image range and adjusting the contrast, the image details are enhanced, making the important features in the image more obvious, which helps to improve the accuracy and efficiency of image analysis.
[0043] (3) The overall analysis unit constructs the overall similarity coefficient Zxs between the voting image and the known image by counting the similarity coefficients Xsxs in each window. This statistical operation takes into account all windows of the image and provides a comprehensive evaluation of the global features of the image, thereby improving the accuracy of the similarity evaluation. This method can effectively integrate the similarity information of each window and ensure that the matching degree between the voting image and the known image is comprehensively evaluated. The confirmation unit determines the assessment type of the voting image again based on the value of the overall similarity coefficient Zxs. And the secondary confirmation process can effectively avoid misjudgment and improve the reliability of the assessment type determination. By screening out the assessment type with the maximum overall similarity coefficient, the system can accurately extract the assessment type that best matches the voting image. This sorting and screening mechanism improves the accuracy of the assessment type determination and effectively excludes the mismatching type, ensuring the accuracy of the final judgment. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 This is a block diagram of a scoring and voting system based on computer vision technology of the present invention;
[0045] Figure 2 The figure is a flowchart of a scoring and voting method based on computer vision technology of the present invention. DETAILED DESCRIPTION
[0046] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0047] Example 1
[0048] See also Figure 1 , the present invention provides a scoring and voting system based on computer vision technology, including a visual capture module, an image processing module, an image difference analysis module, an image voting response module and a scoring module;
[0049] The visual capture module is used to use an image acquisition device to capture the corresponding pictures involved in each assessment type to obtain a known image data set, and to capture several groups of voting pictures involved in each employee after voting to obtain a comparison image data set;
[0050] The image processing module is used to perform image preprocessing on both the known image data set and the comparison image data set, and to improve the image quality according to the image enhancement technology to generate an image database, which is beneficial for subsequent analysis;
[0051] The image difference analysis module is used to pre-set the window size of the image, and compare each group of windows in the corresponding voting image with the known images of each assessment type to construct the similarity coefficient Xsxs in the corresponding window, and preliminarily determine the assessment type of the corresponding voting image and identify the abnormal window based on the value of the similarity coefficient Xsxs, and determine the abnormal situation of the corresponding voting image based on the abnormal window;
[0052] The image voting response module is used to perform statistical operations on the similarity coefficients Xsxs in each window in the corresponding voting image to construct an overall similarity coefficient Zxs between the corresponding voting image and the preliminarily determined known image, and to determine the assessment type of the corresponding voting image again based on the overall similarity coefficient Zxs;
[0053] The scoring module is used to determine the assessment type of the corresponding voting image and identify the score value Fz of the corresponding assessment type in the voting image to calculate the comprehensive scoring index Zjxs of each employee, and score and rank the employees according to the comprehensive scoring index Zjxs.
[0054] During the operation of this system, through the visual capture module, the system can automatically obtain image data sets of various assessment types and capture images of each employee after voting. This process reduces the tediousness and errors of traditional manual counting and improves the efficiency and accuracy of the voting process. The image processing module not only improves the quality of the image by preprocessing and enhancing the known image data set and the comparison image data set, but also generates a high-quality image database. This improvement provides a more reliable and clear data basis for subsequent image analysis, thereby improving the overall performance of the system. The image difference analysis module uses the preset window size to carefully compare the voting image and construct the similarity coefficient Xsxs. This module can accurately identify abnormal windows in the image and determine the abnormality of the voting image. In this way, the system can effectively detect quality problems or errors in the image and ensure the accuracy of the voting results. The image voting response module constructs the overall similarity coefficient Zxs between the voting image and the known image by counting the similarity coefficients in each window. This module can accurately determine the assessment type of the voting image, further reducing the possibility of human intervention and improving the accuracy of classification. The scoring module calculates the comprehensive scoring index Zjxs of each employee according to the determined assessment type and its score value Fz. The module can perform accurate scoring and sorting, which not only improves the credibility of the assessment, but also provides data support for decision-making. In summary, the system further improves the automation and accuracy of voting assessment through the comprehensive application of computer vision technology, optimizes the image processing and analysis process, thereby reducing the error of human intervention and enhancing the overall performance and reliability of the system.
[0055] Example 2
[0056] Please refer to Figure 1 ,Specifically: the visual capture module includes a first capture unit and a second capture unit;
[0057] The first capture unit is used to place the corresponding pictures involved in each assessment type on a flat workbench, and use an image acquisition device to take a bird's-eye view of the corresponding pictures involved in each assessment type to capture a known image data set, and obtain the number of assessment types n based on the known image data set;
[0058] The second capturing unit is used to place several groups of voting pictures involving each employee on a flat workbench after the voting is completed, and to capture the several groups of voting pictures involving each employee using an image acquisition device to obtain a comparison image data set.
[0059] The image processing module includes a preprocessing unit and an enhancement unit;
[0060] The preprocessing unit is used to preprocess the known image data set and the comparison image data set, wherein the preprocessing includes removing noise, smoothing the image, and performing geometric correction, and identifying and extracting effective features in the image to obtain the pixel value Xs1 in each window of each voting image and the pixel value Xs2 in each window of each known image;
[0061] Among them, the pixel value Xs1 in each window in each voting image and the pixel value Xs2 in each window in each known image are obtained by converting light into electrical signals through the camera using a photoelectric sensor, and then obtaining pixel values through digital processing. These cameras can be used for real-time image acquisition and monitoring.
[0062] Using wavelet denoising technology, the data information in the image is decomposed through wavelet transform, and the noise component is removed in the wavelet domain, and the image is reconstructed back to the original domain through inverse transform;
[0063] The enhancement unit is used to adjust the brightness, stretch the image range, and adjust the image contrast by using histogram equalization.
[0064] In this embodiment, the visual capture module obtains the known image data set and the comparison image data set through the first capture unit and the second capture unit respectively. The first capture unit places the corresponding picture of the assessment type on a flat workbench and uses the image acquisition device to take a bird's-eye view to ensure the high quality and accuracy of the known image data set. This method enables the system to obtain a detailed number of assessment types n, providing a solid data basis for subsequent analysis. The second capture unit collects the voting pictures of the employees after the voting is completed, ensuring the comprehensiveness and representativeness of the comparison image data set. The preprocessing unit in the image processing module significantly improves the image quality by removing noise, smoothing the image, and performing geometric correction. Image denoising using wavelet denoising technology can not only effectively separate noise and signal, but also reconstruct the image back to the original domain, retaining the key features of the image. This process reduces interference factors in image processing and improves the accuracy and reliability of subsequent analysis. The enhancement unit adjusts the brightness, contrast and range of the image through the histogram equalization technology, so that the visual effect of the image is significantly improved. This image enhancement method helps to improve the detail clarity and contrast in the image, making the subsequent image analysis and feature extraction more accurate. Through high-quality image acquisition and processing, the system can more accurately identify and extract effective features, improving the overall effect of data analysis. This optimization not only improves the accuracy of image matching, but also enhances the system's ability to analyze voting images and reduces the possibility of human intervention. Combined with precise image acquisition and processing technology, the system shows higher reliability and efficiency when performing image analysis, comparison and scoring. This improvement enables the system to process large amounts of voting data more quickly and improves the accuracy and fairness of voting results. In summary, the system's visual capture module and image processing module significantly improve the overall performance of the scoring voting system through precise image acquisition, effective preprocessing and image enhancement. These technical improvements not only improve the accuracy and efficiency of the system, but also optimize the data processing process, ensuring the fairness and reliability of voting assessments.
[0065] Example 3
[0066] Please refer to Figure 1 ,Specifically: the image difference analysis module includes a comparison and analysis unit, a preliminary determination unit and an abnormality identification unit;
[0067] The comparison and analysis unit is used to preselect a window of a fixed size, such as 8*8 or 11*11, etc., and slide it in the known image and the voting image to obtain the similarity coefficient Xsxs in the corresponding window, which is specifically obtained according to the following formula: In the formula, It is represented as the pixel mean in the jth window in the i-th voting image, It is represented as the mean value of pixels in the jth window in the i-th known image, It is expressed as the covariance between the pixels in the jth window in the i-th voting image and the pixels in the jth window in the i-th known image, It is expressed as the pixel variance in the jth window in the i-th voting image, It is expressed as the pixel variance in the jth window of the ith known image. c1 and c2 are correction constants used to stabilize the denominator.
[0068] The preliminary determination unit is used to obtain the similarity coefficient Xsxs in each window in the corresponding voting image according to the calculation method of the similarity coefficient Xsxs in the corresponding window obtained in the comparison and analysis unit, and preliminarily determine the assessment type of the corresponding voting image according to the numerical value of the similarity coefficient Xsxs in each window in the corresponding voting image. The specific analysis content is as follows:
[0069] If the similarity coefficient Xsxs = 1, it is determined that the structure of the window in the current voting image is exactly the same as the corresponding window in the corresponding known image for comparison. At this time, it is preliminarily determined that the assessment type corresponding to the current voting image belongs to the assessment type involved in the currently compared known image;
[0070] If the similarity coefficient Xsxs = value 0, it is determined that the structure between the window in the current voting image and the corresponding window in the corresponding compared known image is completely different. At this time, it is preliminarily determined that the assessment type corresponding to the current voting image does not belong to the assessment type involved in the current compared known image.
[0071] The abnormal identification unit is used to identify abnormal windows according to the numerical values of the similarity coefficients Xsxs in each window in the corresponding voting image. The specific identification content is as follows:
[0072] If the value 0 < similarity coefficient Xsxs < value 1, it is determined that the structure of the window in the current voting image is not completely the same as that of the corresponding window in the known image to be compared, that is, there are differences. At this time, it is determined that the corresponding window in the current voting image is abnormal and the window is marked as an abnormal window;
[0073] When an abnormal window is found, a review instruction is issued to notify relevant personnel to review the corresponding pictures, check and correct the abnormal window.
[0074] In this embodiment, the comparison and analysis unit calculates the similarity coefficient Xsxs in the window by sliding a fixed-size window in the known image and the voting image, thereby achieving high-precision image comparison. The calculation formula of the similarity coefficient Xsxs includes pixel mean, covariance and variance, and this process ensures the accuracy of the comparison. The preliminary determination unit uses the similarity coefficient Xsxs calculated by the comparison and analysis unit to determine the assessment type of the voting image. When the similarity coefficient is close to 1, it means that the structure of the voting image is exactly the same as that of the known image, so that the assessment type can be accurately and preliminarily determined; when the similarity coefficient is close to 0, it indicates that the structures of the two are completely different, and the system can effectively exclude irrelevant assessment types. This precise preliminary determination mechanism helps to quickly and accurately classify voting images and reduce the possibility of misclassification. The anomaly recognition unit can identify windows with similarity coefficients between 0 and 1 and mark them as abnormal windows. By identifying these windows, the system can detect inconsistencies or abnormalities in voting images. This function ensures that the system can promptly discover and deal with potential problem areas, and issue review instructions to notify relevant personnel for further inspection. This automated anomaly recognition and review mechanism helps maintain the accuracy and integrity of image data and improve the reliability of the system. Combining the functions of each unit, this module can perform detailed comparison and analysis of image data to ensure the accuracy of voting images. Through precise comparison, accurate preliminary judgment and efficient anomaly recognition, the system can effectively improve the accuracy of the voting assessment process, reduce errors caused by human intervention, and thus improve the performance and reliability of the overall system. In summary, the image difference analysis module of the system significantly improves the accuracy of image data processing and the overall reliability of the system through precise comparison, effective preliminary judgment and efficient anomaly recognition, providing strong support for the voting assessment system and ensuring the fairness and effectiveness of the voting process.
[0075] Example 4
[0076] Please refer to Figure 1 ,Specifically: the image voting response module includes an overall analysis unit and a confirmation unit;
[0077] The overall analysis unit is used to perform statistical operations on the similarity coefficients Xsxs in each window in the corresponding voting image after preliminarily determining the assessment type of the corresponding voting image, so as to construct the overall similarity coefficient Zxs between the corresponding voting image and the preliminarily determined known image, which is specifically obtained in the following manner: Where J is the number of windows, j=1, 2, 3, ..., J, Xsxs j It is expressed as the overall similarity coefficient between the corresponding voting image and the preliminarily determined assessment type image.
[0078] The confirmation unit is used to re-determine the assessment type of the corresponding voting image according to the overall similarity coefficient Zxs value obtained in the overall analysis unit. The specific re-analysis content is as follows:
[0079] If the overall similarity coefficient Zxs = value 1, it is determined that the structure of the window in the current voting image is exactly the same as the corresponding window in the corresponding known image for comparison. At this time, it is determined again that the assessment type corresponding to the current voting image belongs to the assessment type involved in the currently compared known image;
[0080] If the overall similarity coefficient Zxs = 0, it is determined that the structure of the window in the current voting image is completely different from the corresponding window in the corresponding known image for comparison. At this time, it is determined again that the assessment type corresponding to the current voting image does not belong to the assessment type involved in the current known image for comparison;
[0081] Among them, if several groups of assessment types of the corresponding voting images are preliminarily determined, the overall similarity coefficient Zxs of the corresponding voting image and several groups of preliminarily determined assessment type images are calculated respectively, and based on the said re-analysis content, the case where the comparison result is equal to the numerical value 1 is screened out, and the several groups of overall similarity coefficients Zxs where the comparison result is equal to the numerical value 1 are sorted in order of numerical value to extract the maximum value of the overall similarity coefficient Zxs, and the assessment type involved in the known image corresponding to the maximum value of the overall similarity coefficient Zxs is used as the assessment type of the corresponding voting image.
[0082] In this embodiment, after the overall analysis unit preliminarily determines the assessment type of the voting image, it uses statistical operations to calculate the overall similarity coefficient Zxs of each window. This process takes into account the number of windows J and the similarity coefficient Xsxsj. Through the comprehensive analysis of the similarity coefficients of all windows, the overall similarity between the voting image and the known image can be comprehensively evaluated, so that the differences of each part of the voting image can be taken into account, providing a more accurate basis for the confirmation of the final assessment type. The confirmation unit makes a final assessment type determination based on the value of the overall similarity coefficient Zxs. If the overall similarity coefficient Zxs is 1, it means that the structure between the voting image and the compared known image is completely consistent, and the system will confirm that the assessment type of the voting image is the assessment type involved in the known image; if the overall similarity coefficient Zxs is 0, it indicates that the structure is completely different, and the system excludes the assessment type. This confirmation mechanism based on the overall similarity coefficient can accurately determine the assessment type of the voting image and improve the accuracy of classification. Among multiple preliminarily determined assessment types, the system will calculate the overall similarity coefficient Zxs with each assessment type image and sort them according to the numerical value of the similarity coefficient. By extracting the maximum value of the overall similarity coefficient and taking the assessment type involved in the corresponding known image as the final assessment type, the system can efficiently screen out the assessment type that is relatively consistent with the voting image. This method can effectively avoid misjudgment and improve the accuracy of determining the assessment type. By comprehensively considering the similarity coefficients of each window and the overall similarity coefficient, the system can more comprehensively analyze the degree of match between the voting image and the known image. This comprehensive analysis method not only reduces errors and improves classification accuracy, but also increases the reliability and stability of the system when processing complex voting images. In summary, the system improves the accuracy and efficiency of the voting assessment process through the precise calculation and judgment of the overall analysis unit and the confirmation unit. The system can comprehensively analyze the image similarity, accurately confirm the assessment type, and efficiently screen the best matching results, thereby significantly optimizing the processing and classification process of the voting image.
[0083] Example 5
[0084] Please refer to Figure 1 ,Specifically: the scoring module includes an assessment statistics unit and a ranking unit;
[0085] The assessment statistics unit is used to determine the assessment type of the corresponding voting image and identify the score value Fz of the corresponding assessment type in the voting image to calculate the comprehensive scoring index Zjxs of each employee, which is specifically obtained in the following manner: Where n is the number of assessment types, k=1, 2, 3, ..., K, Fz k It is represented as the score value of the k-th assessment type, F k It is expressed as the weight value of the kth assessment type;
[0086] The ranking unit is used to obtain the comprehensive scoring index Zjxs of several groups of employees according to the calculation method of the comprehensive scoring index Zjxs obtained in the assessment statistics unit, sort the comprehensive scoring index Zjxs of several groups of employees in order of numerical value, and regard the sorted content as the assessment selection table.
[0087] In this embodiment, the assessment statistics unit determines the score value Fz according to the assessment type of each voting image and calculates the comprehensive scoring index Zjxs, and obtains the comprehensive scoring index of each employee by weighted average, so that the influence of different assessment types can be comprehensively considered to provide a comprehensive employee performance evaluation result. This method ensures the accuracy and fairness of the assessment result and considers the relative importance of different assessment types. The ranking unit sorts the employees according to the calculated comprehensive scoring index Zjxs. This sorting mechanism sorts the comprehensive scoring indexes of all employees according to the numerical value, thereby generating a clear assessment selection table. Through this sorting, the system can clearly display the performance ranking of each employee, making the selection process more transparent and fair. In summary, the system significantly improves the overall performance of the scoring voting system through the accurate statistics and efficient ranking of the scoring module. The system can accurately calculate the comprehensive scoring index of employees and generate fair selection rankings based on these indexes, thereby providing a transparent, fair and scientific performance evaluation platform.
[0088] Example 6
[0089] Please refer to Figure 1 and Figure 2 ,Specifically: A scoring voting method based on computer vision technology, including the following steps,
[0090] Step 1: Use an image acquisition device to capture the corresponding images involved in each assessment type to obtain a known image data set, and capture several groups of voting images involved in each employee after voting to obtain a comparison image data set;
[0091] Step 2: Preprocess the known image data set and the comparison image data set, and improve the image quality based on image enhancement technology to generate an image database;
[0092] Step 3: pre-set the window size of the image, and compare each group of windows in the corresponding voting image with the known images of each assessment type to construct the similarity coefficient Xsxs in the corresponding window, and preliminarily determine the assessment type of the corresponding voting image and identify the abnormal window based on the value of the similarity coefficient Xsxs, and determine the abnormality of the corresponding voting image based on the abnormal window;
[0093] Step 4: Perform statistical operations on the similarity coefficients Xsxs in each window in the corresponding voting image to construct an overall similarity coefficient Zxs between the corresponding voting image and the preliminarily determined known image, and determine the assessment type of the corresponding voting image again based on the overall similarity coefficient Zxs;
[0094] Step 5: Determine the assessment type of the corresponding voting image and identify the score value Fz of the corresponding assessment type in the voting image to calculate the comprehensive scoring index Zjxs of each employee, and rank the employees according to the comprehensive scoring index Zjxs.
[0095] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A scoring and voting system based on computer vision technology, characterized in that: It includes a visual capture module, an image processing module, an image difference analysis module, an image voting response module and a scoring module; The visual capture module is used to use an image acquisition device to capture the corresponding pictures involved in each assessment type to obtain a known image data set, and to capture several groups of voting pictures involved in each employee after voting to obtain a comparison image data set; The image processing module is used to perform image preprocessing on both the known image data set and the comparison image data set, and to improve the image quality according to the image enhancement technology to generate an image database; The image difference analysis module is used to pre-set the window size of the image, and compare each group of windows in the corresponding voting image with the known images of each assessment type to construct the similarity coefficient Xsxs in the corresponding window, and preliminarily determine the assessment type of the corresponding voting image and identify the abnormal window based on the value of the similarity coefficient Xsxs, and determine the abnormal situation of the corresponding voting image based on the abnormal window; The image voting response module is used to perform statistical operations on the similarity coefficients Xsxs in each window in the corresponding voting image to construct an overall similarity coefficient Zxs between the corresponding voting image and the preliminarily determined known image, and to determine the assessment type of the corresponding voting image again based on the overall similarity coefficient Zxs; The scoring module is used to determine the assessment type of the corresponding voting image and identify the score value Fz of the corresponding assessment type in the voting image to calculate the comprehensive scoring index Zjxs of each employee, and score and rank the employees according to the comprehensive scoring index Zjxs.
2. According to claim 1, a scoring and voting system based on computer vision technology is characterized in that: The visual capture module includes a first capture unit and a second capture unit; The first capture unit is used to place the corresponding pictures involved in each assessment type on a flat workbench, and use an image acquisition device to take a bird's-eye view of the corresponding pictures involved in each assessment type to capture a known image data set, and obtain the number of assessment types n based on the known image data set; The second capturing unit is used to place several groups of voting pictures involving each employee on a flat workbench after the voting is completed, and to capture the several groups of voting pictures involving each employee using an image acquisition device to obtain a comparison image data set.
3. The scoring and voting system based on computer vision technology according to claim 1 is characterized in that: The image processing module includes a preprocessing unit and an enhancement unit; The preprocessing unit is used to preprocess the known image data set and the comparison image data set, wherein the preprocessing includes removing noise, smoothing the image, and performing geometric correction, and identifying and extracting effective features in the image to obtain the pixel value Xs1 in each window of each voting image and the pixel value Xs2 in each window of each known image; The enhancement unit is used to adjust the brightness, stretch the image range, and adjust the image contrast by using histogram equalization.
4. The scoring and voting system based on computer vision technology according to claim 3 is characterized in that: The image difference analysis module includes a comparison and analysis unit, a preliminary determination unit and an abnormality identification unit; The comparison and analysis unit is used to preselect a window of a fixed size and slide it in the known image and the voting image to obtain the similarity coefficient Xsxs in the corresponding window, which is specifically obtained according to the following formula: In the formula, It is represented as the pixel mean in the jth window in the i-th voting image, It is represented as the mean value of pixels in the jth window in the i-th known image, It is expressed as the covariance between the pixels in the jth window in the i-th voting image and the pixels in the jth window in the i-th known image, It is expressed as the pixel variance in the jth window in the i-th voting image, It is expressed as the pixel variance in the jth window in the ith known image, where c1 and c2 are correction constants.
5. The scoring and voting system based on computer vision technology according to claim 4 is characterized in that: The preliminary determination unit is used to obtain the similarity coefficient Xsxs in each window in the corresponding voting image according to the calculation method of the similarity coefficient Xsxs in the corresponding window obtained in the comparison and analysis unit, and preliminarily determine the assessment type of the corresponding voting image according to the numerical value of the similarity coefficient Xsxs in each window in the corresponding voting image. The specific analysis content is as follows: If the similarity coefficient Xsxs = 1, it is determined that the structure of the window in the current voting image is exactly the same as the corresponding window in the corresponding known image for comparison. At this time, it is preliminarily determined that the assessment type corresponding to the current voting image belongs to the assessment type involved in the currently compared known image; If the similarity coefficient Xsxs = value 0, it is determined that the structure between the window in the current voting image and the corresponding window in the corresponding compared known image is completely different. At this time, it is preliminarily determined that the assessment type corresponding to the current voting image does not belong to the assessment type involved in the current compared known image.
6. The scoring and voting system based on computer vision technology according to claim 4 is characterized in that: The abnormal identification unit is used to identify abnormal windows according to the numerical values of the similarity coefficients Xsxs in each window in the corresponding voting image. The specific identification content is as follows: If the value 0 < similarity coefficient Xsxs < value 1, it is determined that the structure of the window in the current voting image is not completely the same as the corresponding window in the corresponding known image. At this time, it is determined that the corresponding window in the current voting image is abnormal and the window is marked as an abnormal window; When an abnormal window is found, a review instruction is issued to notify relevant personnel to review the corresponding pictures, check and correct the abnormal window.
7. The scoring and voting system based on computer vision technology according to claim 1 is characterized in that: The image voting response module includes an overall analysis unit and a confirmation unit; The overall analysis unit is used to perform statistical operations on the similarity coefficients Xsxs in each window in the corresponding voting image after preliminarily determining the assessment type of the corresponding voting image, so as to construct the overall similarity coefficient Zxs between the corresponding voting image and the preliminarily determined known image, which is specifically obtained in the following manner: Where J represents the number of windows, j=1, 2, 3, ..., J, Xsxs j It is expressed as the overall similarity coefficient between the corresponding voting image and the preliminarily determined assessment type image.
8. The scoring and voting system based on computer vision technology according to claim 7 is characterized in that: The confirmation unit is used to re-determine the assessment type of the corresponding voting image according to the overall similarity coefficient Zxs value obtained in the overall analysis unit. The specific re-analysis content is as follows: If the overall similarity coefficient Zxs = value 1, it is determined that the structure of the window in the current voting image is exactly the same as the corresponding window in the corresponding known image for comparison. At this time, it is determined again that the assessment type corresponding to the current voting image belongs to the assessment type involved in the currently compared known image; If the overall similarity coefficient Zxs = 0, it is determined that the structure of the window in the current voting image is completely different from the corresponding window in the corresponding known image for comparison. At this time, it is determined again that the assessment type corresponding to the current voting image does not belong to the assessment type involved in the current known image for comparison; Among them, if several groups of assessment types of the corresponding voting images are preliminarily determined, the overall similarity coefficient Zxs of the corresponding voting image and several groups of preliminarily determined assessment type images are calculated respectively, and based on the said re-analysis content, the case where the comparison result is equal to the numerical value 1 is screened out, and the several groups of overall similarity coefficients Zxs where the comparison result is equal to the numerical value 1 are sorted in order of numerical value to extract the maximum value of the overall similarity coefficient Zxs, and the assessment type involved in the known image corresponding to the maximum value of the overall similarity coefficient Zxs is used as the assessment type of the corresponding voting image.
9. The scoring and voting system based on computer vision technology according to claim 1, characterized in that: The scoring module includes an assessment statistics unit and a ranking unit; The assessment statistics unit is used to determine the assessment type of the corresponding voting image and identify the score value Fz of the corresponding assessment type in the voting image to calculate the comprehensive scoring index Zjxs of each employee, which is specifically obtained in the following manner: Where n is the number of assessment types, k=1, 2, 3, ..., K, Fz k It is represented as the score value of the k-th assessment type, F k It is expressed as the weight value of the kth assessment type; The ranking unit is used to obtain the comprehensive scoring index Zjxs of several groups of employees according to the calculation method of the comprehensive scoring index Zjxs obtained in the assessment statistics unit, sort the comprehensive scoring index Zjxs of several groups of employees in order of numerical value, and regard the sorted content as the assessment selection table.
10. A scoring and voting method based on computer vision technology, used to implement a scoring and voting system based on computer vision technology as described in any one of claims 1 to 9, characterized in that: The following steps are included: Step 1: Use an image acquisition device to capture the corresponding images involved in each assessment type to obtain a known image data set, and capture several groups of voting images involved in each employee after voting to obtain a comparison image data set; Step 2: Preprocess the known image data set and the comparison image data set, and improve the image quality based on image enhancement technology to generate an image database; Step 3: pre-set the window size of the image, and compare each group of windows in the corresponding voting image with the known images of each assessment type to construct the similarity coefficient Xsxs in the corresponding window, and preliminarily determine the assessment type of the corresponding voting image and identify the abnormal window based on the value of the similarity coefficient Xsxs, and determine the abnormality of the corresponding voting image based on the abnormal window; Step 4: Perform statistical operations on the similarity coefficients Xsxs in each window in the corresponding voting image to construct an overall similarity coefficient Zxs between the corresponding voting image and the preliminarily determined known image, and determine the assessment type of the corresponding voting image again based on the overall similarity coefficient Zxs; Step 5: Determine the assessment type of the corresponding voting image and identify the score value Fz of the corresponding assessment type in the voting image to calculate the comprehensive scoring index Zjxs of each employee, and rank the employees according to the comprehensive scoring index Zjxs.
