A blank answer detection method and system for examination marking
By cropping and image processing the answer sheet image, combined with grayscale histogram matching and pixel value ratio judgment, the accuracy and automatic scoring of blank answer detection are achieved, and the problem of misjudgment in blank answer detection in the existing technology is solved. Improved marking efficiency and accuracy.
Patent Information
- Application Number
- CN202011611561.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-30
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2040-12-30
AI Technical Summary
The existing computer online grading system has misjudgment problems when detecting blank answer papers, resulting in low grading efficiency and accuracy, and teachers need to make manual judgments, which increases the workload.
By cropping the answer sheet image to generate a sub-image, and performing grayscale and binarization processing, a grayscale histogram is created to match the preset standard, and the pixel value ratio is combined to determine whether the sub-image is blank for answer, achieving automatic detection. and ratings.
It improves the accurate recognition rate of blank test papers, reduces misjudgments by marking teachers, automates scoring, improves marking efficiency and accuracy, and reduces work burden.
Smart Images

Figure CN112700414B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic examination paper marking, and in particular to a blank answer detection method and system for examination paper marking. Background Art
[0002] Across the country, online marking systems are used to mark important exams such as the National College Entrance Examination, the National English Test Band 4 and Band 6. Online marking of various exams by computers has become a trend and an inevitable trend in the development of exam marking.
[0003] In the current computer online marking process, the marking teacher has a heavy workload during the marking process, and often encounters blank answer papers of examinees. There is no effective means in the prior art to detect blank answer papers. When marking papers, teachers manually judge whether they are blank answers, but manual judgment is prone to errors. For example, when the teacher is grading, if the previous consecutive papers are blank papers, it is easy to mistakenly score non-blank papers as blank papers when grading, or if the previous consecutive papers are non-blank papers, it is easy to mistakenly score blank papers as non-blank papers when grading.
[0004] These blank answer papers will affect the efficiency and accuracy of the teacher's grading to a certain extent, and some teachers may even give wrong marks to blank answer papers. In order to improve the efficiency and accuracy of grading, how to automatically detect blank answer papers and reduce the workload of grading teachers is an urgent problem to be solved. Summary of the invention
[0005] To solve the above problems, the present invention provides a blank answer detection method for examination marking, the method comprising:
[0006] The answer sheet image is cropped according to the question blocks to generate multiple sub-images of different question blocks; the sub-images are grayscaled and binarized one by one to generate corresponding grayscale images and binarized images; based on the number of pixels with a pixel value of 255 in the binarized image, it is determined that the sub-image corresponding to the binarized image is a blank answer sub-image; a grayscale histogram of the blank answer sub-image is created based on the grayscale image corresponding to the blank answer sub-image; the grayscale histogram is matched with a preset standard grayscale histogram, and if the match is successful, it is confirmed that the blank answer sub-image has no answer content.
[0007] Furthermore, based on the number of pixels with a pixel value of 255 in the binary image, determining whether a sub-image is a blank answer sub-image includes: dividing the binary image into an outer frame part and an inner area part; counting the percentage A of the number of pixels with a pixel value of 255 in the outer frame part to the total number of pixels in the outer frame part and comparing the percentage A with a first preset threshold to determine whether the outer frame part is suspected to have no answer from the candidate; counting the percentage B of the number of pixels with a pixel value of 255 in the inner area part to the total number of pixels in the inner area part and comparing the percentage B with a second preset threshold to determine whether the outer frame part is suspected to have no answer from the candidate; if both the outer frame part and the inner area part are suspected to have no answer from the candidate, then the sub-image is determined to be a blank answer sub-image.
[0008] Furthermore, creating a grayscale histogram of the blank answer sub-image includes: obtaining a grayscale image corresponding to the blank answer sub-image; counting the number of times each grayscale level appears in the grayscale image; counting the frequency of occurrence of each grayscale level based on the number of times each grayscale level appears; and drawing a grayscale histogram of the blank answer sub-image based on the frequency of occurrence of each grayscale level.
[0009] Furthermore, before cropping the answer sheet image, the process also includes: pre-reading a copy of the answer sheet image; framing each question block as a frame selection template; and marking the question block number corresponding to each frame selection area in the frame selection template.
[0010] Furthermore, cropping the answer sheet image includes: cropping the answer sheet image according to a frame selection template to generate a plurality of sub-images; marking the question block number corresponding to the sub-image according to the question block number corresponding to each frame selection area in the frame selection template.
[0011] The present invention also provides a blank answer detection system for examination paper marking, the system comprising: a scanning module, a cutting module, and an image processing module, wherein: the scanning module is connected to the cutting module, the scanning module is used to scan the examination paper to generate an answer sheet image and send the answer sheet image to the cutting module; the cutting module is connected to the scanning module and the image processing module respectively, and is used to cut the answer sheet image received from the scanning module into a plurality of sub-images and send the sub-images to the image processing module for processing;
[0012] The image processing module is used to detect and process the sub-images one by one to determine whether the sub-image is a sub-image without answer content.
[0013] Furthermore, the system also includes: a frame selection module, which is connected to the scanning module and the cutting module respectively, the frame selection module is used to generate a frame selection template, and the cutting module cuts the answer sheet image according to the frame selection template.
[0014] Furthermore, the system also includes: a marking module, which is connected to the image processing module; the marking module is used to obtain the sub-images processed by the image processing module, automatically scoring the question blocks corresponding to the sub-images marked as having no answer content as zero points, and for the sub-images marked as having answer content, the marking module distributes them to marking teachers for scoring.
[0015] The blank answer detection method and system for examination paper marking provided by the present invention can accurately identify blank examination papers, and can automatically score blank examination papers after they are identified, without the need for manual identification by examiners, thereby improving the work efficiency and accuracy of examiners in marking and reducing their workload. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 This is a flowchart of a blank answer detection method according to an embodiment of the present invention;
[0017] Figure 2 A flowchart of the steps of determining whether a sub-image is a blank answer sub-image according to an embodiment of the present invention;
[0018] Figure 3 A flowchart of the steps of obtaining a grayscale histogram of a blank answer sub-image according to an embodiment of the present invention;
[0019] Figure 4 This is a schematic diagram of the module structure of a blank answer detection system for examination marking according to an embodiment of the present invention;
[0020] Figure 5 A blank answer detection flow chart of a blank answer detection system for examination paper marking according to an embodiment of the present invention;
[0021] Figure 6 It is a flowchart of image processing of sub-images by the image processing module;
[0022] 201 - scanning module, 202 - cropping module, 203 - image processing module, 204 - frame selection module, 205 - marking module. DETAILED DESCRIPTION
[0023] The following will be combined with the accompanying drawings in 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 belong to the protection scope of the present invention.
[0024] like Figure 1 As shown, a blank answer detection method according to an embodiment of the present invention comprises the following steps:
[0025] Step S101: cropping the answer sheet image according to the question blocks to generate a plurality of sub-images of different question blocks.
[0026] Specifically, the answer sheet is cut according to the question block, and each sub-image generated corresponds to a question block number. Furthermore, before the answer sheet image is cut according to the question block, the answer sheet test paper is scanned to generate the answer sheet image. Furthermore, in order to make the answer sheet cut more accurate and avoid image tilt, before scanning the answer sheet test paper, the answer sheet test paper is first positioned to determine whether the position of the answer sheet test paper is tilted. If tilted, the position of the answer sheet test paper is adjusted before scanning.
[0027] Step S102: grayscale processing and binarization processing are performed on the sub-images one by one to generate corresponding grayscale images and binarization images.
[0028] Specifically, the sub-image is grayed to generate a gray image, and then the gray image is binarized to generate a binary image. The grayscale of the pixel points on the binary image has only two values: 0 and 255. A threshold can be set in advance, and the gray image is scanned. The pixel values of all the pixel points on the gray image are compared with the preset threshold. If it is greater than the preset threshold, the pixel value of the point is recorded as 255, and if it is less than the preset threshold, the pixel value of the point is recorded as 0. The binary image is obtained through the above operation. Furthermore, in this embodiment, the preset threshold is 128. If the pixel value of the pixel point is greater than or equal to 128, the pixel value of the point is recorded as 255. If the pixel value of the pixel point is less than 128, the pixel value of the point is recorded as 0.
[0029] Step S103: Based on the number of pixels with a pixel value of 255 in the binary image, determine whether the sub-image corresponding to the binary image is a blank answer sub-image.
[0030] Specifically, a quantity threshold can be preset for the number of pixels with a pixel value of 255 in the binary image. When the number of pixels with a pixel value of 255 actually detected in the binary image exceeds the preset quantity threshold, the sub-image is judged to be a blank answer sub-image; or the percentage of the number of pixels with a pixel value of 255 in the total number of pixels in the binary image can be compared with the preset percentage threshold. If the percentage is greater than the preset percentage threshold, the sub-image is judged to be a blank answer sub-image.
[0031] Step S104: creating a grayscale histogram of the blank answer sub-image according to the grayscale image corresponding to the blank answer sub-image.
[0032] Specifically, if the sub-image is determined to be a blank answer sub-image, a grayscale histogram of the blank answer sub-image is obtained according to the grayscale image corresponding to the blank answer sub-image. The grayscale histogram of an image represents the distribution of grayscale levels of the image.
[0033] Step S105: Match the grayscale histogram with a preset standard grayscale histogram. If the match is successful, it is confirmed that the blank answer sub-image has no answer content.
[0034] Specifically, the preset standard grayscale histogram can be obtained by the following method: pre-scanning a blank test paper without answers from examinees to generate an answer sheet image, cropping the scanned answer sheet image according to the question blocks to generate multiple sub-images of different question blocks, and statistically obtaining the grayscale histograms corresponding to the sub-images of each different question block as the preset standard grayscale histogram. One or more blank test papers without answers from examinees can be scanned, preferably, multiple blank test papers without answers from examinees are scanned. When multiple blank test papers without answers from examinees are scanned, when creating the standard grayscale histogram corresponding to the sub-image of a certain question block, the grayscale data of multiple sub-images representing the same question block can be comprehensively considered to make the created standard grayscale histogram more accurate.
[0035] When making a judgment, first obtain the question block number of the question block represented by the sub-image that needs to be judged whether it has no answer content, and then determine the preset standard grayscale histogram based on the question block number, and match the grayscale histogram of the blank answer sub-image that needs to be judged with the determined preset standard grayscale histogram. If the match is successful, it means that the sub-image suspected to have no answer content does have no answer content. If the match is unsuccessful, it means that the blank answer sub-image actually has answer content.
[0036] The blank answer detection method for examination marking provided by the present invention cuts the answer sheet image according to the question blocks, grayscales and binarizes each sub-image after cutting, obtains the grayscale histogram of the blank answer sub-image through subsequent image processing means, and matches the grayscale histogram of the blank answer sub-image with a preset standard grayscale histogram. If the match is successful, it means that there is no answer content. The above method can accurately detect blank answers without the need for manual screening by the marking teacher, thus avoiding misjudgment caused by inertia of the marking teacher when marking. For example, when the marking teacher is grading, the previous multiple consecutive test papers are blank test papers, and the non-blank test papers are easily mistakenly scored as blank test papers when grading, or the previous multiple consecutive test papers are non-blank test papers, and the blank test papers are easily mistakenly scored as non-blank test papers when grading. The present invention uses image processing and recognition technology to screen the test papers before distributing them to the examiners, detect blank test papers, reduce the workload of the examiners, and improve the accuracy of the examination work.
[0037] Further, in another embodiment of the present invention, Figure 2 As shown, based on the number of pixels with a pixel value of 255 in the binary image, determining whether the sub-image is a blank answer sub-image includes:
[0038] Step S1031: Divide the binary image into an outer frame part and an inner region part;
[0039] Specifically, the inner area part and the outer frame part are determined according to the border of the designated answer area. The inner area part is the designated answer area, and the outer area part is the part outside the designated answer area that includes question number, title, blank edge and other contents.
[0040] Step S1032: Count the percentage A of the number of pixels in the outer frame part whose pixel value is 255 to the total number of pixels in the outer frame part and compare the percentage A with the first preset threshold to determine whether there is no answer content of the examinee in the outer frame part;
[0041] Step S1033: Count the percentage B of the number of pixels with a pixel value of 255 in the inner area to the total number of pixels in the inner area and compare the percentage B with the second preset threshold to determine whether there is no answer from the examinee in the outer frame;
[0042] Step S1034: If there is no answer from the examinee in the outer frame part and the inner area part, the sub-image is determined to be a blank answer sub-image.
[0043] Specifically, in step S1032 and step S1033, the binary image is mainly scanned, and the number of pixels with a pixel value of 255 and the corresponding position coordinates are recorded. Then, according to the position coordinates, the number of pixels with a pixel value of 255 in the outer frame part and the number of pixels with a pixel value of 255 in the inner area part are determined, and then the percentage B of the number of pixels with a pixel value of 255 in the inner area part to the total number of pixels in the inner area part and the percentage A of the number of pixels with a pixel value of 255 in the outer frame part to the total number of pixels in the outer frame part are counted. If the percentage A is greater than or equal to the first preset threshold and the percentage B is greater than or equal to the second preset threshold, it means that there is no answer content of the examinee in both the outer frame part and the inner area part, that is, the sub-images corresponding to the outer frame part and the inner area part are blank answer sub-images.
[0044] Since the sub-image obtained after cutting includes text such as question number and question content in addition to the designated answer area, when judging whether the sub-image is a blank answer sub-image based on the number of pixels with a pixel value of 255, the designated answer area and the question number and question outside the designated answer area must be comprehensively considered when setting the preset threshold to obtain an average preset threshold. Therefore, the calculation process when setting the preset threshold is relatively complicated and cumbersome, and errors are prone to occur. In this embodiment, before judging whether the sub-image is a blank answer sub-image, the sub-image is divided into an outer frame part and an inner area part. When performing detection, different first preset thresholds and second preset thresholds are used for the outer frame part and the inner area part for comparison and judgment, respectively. There is no need to perform comprehensive calculation considerations when setting the preset threshold, which makes the factors that need to be considered in setting the preset threshold simpler, reduces the error rate, and improves the accuracy of the judgment result.
[0045] Further, in another embodiment of the present invention, Figure 3 As shown, creating a grayscale histogram of a blank answer sub-image includes:
[0046] Step S1041: obtaining a grayscale image corresponding to the blank answer sub-image;
[0047] As mentioned above, after the answer sheet image is cropped, the generated sub-image is grayed and binarized to generate the corresponding grayscale image and binarized image. When obtaining the grayscale histogram of the blank answer sub-image, the grayscale image of the blank answer sub-image must first be obtained, and the grayscale histogram is generated based on the grayscale image.
[0048] Step S1042: Count the number of occurrences of each gray level in the gray image.
[0049] Specifically, the number of occurrences of each gray level in the gray image of the blank answer sub-image is counted, recorded as Num[i], where i represents the i-th gray level.
[0050] Step S1043: Calculate the frequency of occurrence of each gray level according to the number of times each gray level appears.
[0051] Specifically, the frequency of the i-th grayscale level can be represented by P[i], P[i]=Num[i] / (W*H), where W is the width of the grayscale image and H is the height of the grayscale image.
[0052] Step S1044: Draw a grayscale histogram of the blank answer sub-image according to the frequency of occurrence of each grayscale level.
[0053] Furthermore, in another embodiment of the present invention, before cropping the answer sheet image, the process further includes: pre-reading a copy of the answer sheet image; framing the answer sheet image according to different question blocks, framing each question block as a framing template, specifically, using the framing area corresponding to each question block after framing as the framing template; marking the question block number corresponding to each framing area in the framing template, and recording the coordinate position and area size of each framing area on the answer sheet image. The framing template can be represented by the coordinate position and area data of the framing area corresponding to different question blocks.
[0054] Furthermore, in another embodiment of the present invention, cropping the answer sheet image includes: cropping the answer sheet image according to the frame selection template to generate multiple sub-images; marking the question block number corresponding to the sub-image according to the question block number corresponding to each frame selection area in the frame selection template. Specifically, the answer sheet image is cropped according to the position data generated after the answer area where the examinee answers is framed.
[0055] The present invention also provides a blank answer detection system for examination paper marking. In one embodiment, Figure 4 As shown, the system includes a scanning module 201, a cutting module 202, and an image processing module 203, wherein: the scanning module 201 is connected to the cutting module 202, the scanning module 201 is used to scan the test paper to generate an answer sheet image and send the answer sheet image to the cutting module 202; the cutting module 202 is connected to the scanning module 201 and the image processing module 203 respectively, and is used to cut the answer sheet image received from the scanning module 201 into multiple sub-images and send the sub-images to the image processing module 203 for processing; the image processing module 203 is used to detect and process the sub-images one by one, and determine whether the sub-image is a sub-image of unanswered content. Specifically, the scanning module 201 may include a high-speed scanner, and the scanning module 201 scans the examinee's test paper through a high-speed scanner to generate an answer sheet image, and transmits the answer sheet image to the cutting module 202 for cutting processing, and cuts the answer sheet image into multiple sub-images according to the question block. The image processing module 203 performs grayscale and binarization processing on each received sub-image one by one to generate a grayscale image and a binary image, and determines whether the sub-image is a blank answer sub-image based on the number of pixels with a pixel value of 255. The detailed steps have been mentioned above and will not be repeated here.
[0056] Furthermore, based on the previous embodiment, the blank answer detection system for examination marking also includes: a framing module 204, which is connected to the scanning module 201 and the cutting module 202 respectively, and the framing module 204 is used to generate a framing template, and the cutting module 202 cuts the answer sheet image according to the framing template.
[0057] Furthermore, based on the previous embodiment, in another embodiment of the present invention, the blank answer detection system for examination marking also includes a marking module 205, which is connected to the image processing module 203; the marking module 205 is used to obtain the sub-images processed by the image processing module 203, and automatically score the question blocks corresponding to the sub-images marked as having no answer content as zero points, and for the sub-images marked as having answer content, the marking module 205 distributes them to the marking teachers for scoring.
[0058] Specifically, in this embodiment, Figure 5 , Figure 6 As shown, the blank answer detection system for examination marking includes the following steps when performing blank answer detection:
[0059] Step S301: The scanning module scans the answer sheet test paper, generates an answer sheet image, and stores the generated answer sheet image.
[0060] Specifically, the scanning module can scan the answer sheet and the test paper through a high-speed scanner.
[0061] Step S302: The frame selection module reads the answer sheet image stored in the scanning module, and frames the answer sheet image according to the question blocks, and frames each question block as a frame selection template.
[0062] Specifically, the frame selection module can be controlled manually. The staff uses the frame selection module to frame different question blocks from the answer sheet image. After the frame selection is completed, the frame selection module marks which question block each framed area belongs to, that is, each framed area is matched with the question block number one by one. At the same time, the coordinate position and area size of each framed area on the answer sheet image are recorded to obtain a frame selection template.
[0063] Step S303: The cropping module reads the answer sheet image stored in the scanning module and the frame selection template stored in the frame selection module, crops the answer sheet image according to the frame selection template, generates multiple sub-images, and marks the question block numbers corresponding to the sub-images.
[0064] Step S304: the image processing module reads the sub-image generated after the cropping by the cropping module, performs image processing on the sub-image, and marks the sub-image as a blank answer sub-image or a non-blank answer sub-image.
[0065] Specifically, step S304 also includes the following steps:
[0066] Step S3041: grayscale processing and binarization processing are performed on the sub-image to generate a grayscale image and a binarized image; specifically, the pixel values of the pixels of the generated binarized image are only 0 and 255.
[0067] Step S3042: Scan the binary image and record the number of points with a pixel value of 255 and the corresponding position coordinates.
[0068] Step S3043: Divide the binary image into an outer frame part and an inner region part;
[0069] Step S3044: Determine whether there is no answer content in the outer frame part and the inner area part. If so, execute step S3045; otherwise, execute step S307.
[0070] Specifically, the percentage A of the number of pixels with a pixel value of 255 in the outer frame part to the total number of pixels in the outer frame part is counted and the percentage A is compared with the first preset threshold. If A is greater than or equal to the first preset threshold, there is no candidate's answer in the outer frame part; if A is less than the first preset threshold, there is a candidate's answer in the outer frame part. The percentage B of the number of pixels with a pixel value of 255 in the inner region part to the total number of pixels in the inner region part is counted and the percentage B is compared with the second preset threshold. If B is greater than or equal to the second preset threshold, there is no candidate's answer in the inner region part; if B is less than the second preset threshold, there is a candidate's answer in the inner region part.
[0071] Furthermore, if there is no answer content in both the outer frame part and the inner area part, it means that the sub-image corresponding to the outer frame part and the inner area part has no answer content and is a blank answer sub-image; if at least one of the outer frame part and the inner area part has answer content, it means that the sub-image corresponding to the outer frame part and the inner area part has answer content and is not a blank answer sub-image.
[0072] Step S3045: creating a grayscale histogram of the sub-image corresponding to the outer frame portion and the inner region portion;
[0073] Step S3046: Match the grayscale histogram of the sub-image with a preset standard grayscale histogram. If the match is successful, execute step S3047; if the match is unsuccessful, execute step S3048;
[0074] Step S3047: Mark the sub-image as a blank answer sub-image;
[0075] Step S3048: marking the sub-image as a non-blank answer sub-image;
[0076] Step S305: the marking module obtains the sub-image processed by the image processing module, and determines whether the sub-image is marked as a blank answer sub-image. If so, step S306 is executed; otherwise, step S307 is executed.
[0077] Step S306: the marking module automatically scores the sub-image as 0 points.
[0078] Step S307: The marking module distributes the sub-images to marking teachers for marking.
[0079] Compared with the existing examination marking system, the patent of the present invention creates a blank answer detection system for examination marking, which can not only automatically detect whether the answer area of the examination is blank, and score the blank paper as zero, effectively reducing the workload of the marking teacher, but also can avoid the marking teacher from giving wrong points to the blank answer paper, greatly improving the accuracy of marking and scoring, thereby effectively improving the work efficiency of online marking. The terms and wordings used in the specification of the present invention are only for illustration and are not meant to constitute limitations. Those skilled in the art should understand that various changes can be made to the details in the above-mentioned embodiments without departing from the basic principles of the disclosed embodiments. Therefore, the scope of the present invention is determined only by the claims, and in the claims, unless otherwise specified, all terms should be understood in the broadest and most reasonable sense.
Claims
1. A blank answer detection method for examination marking, characterized in that: The method comprises: The answer sheet image is cut according to the question blocks to generate a plurality of sub-images of different question blocks; Performing grayscale processing and binarization processing on the sub-images one by one to generate corresponding grayscale images and binarization images; The binary image is divided into an outer frame part and an inner region part, and based on the number of pixels with a pixel value of 255 in the binary image, the percentage A of the number of pixels with a pixel value of 255 in the outer frame part to the total number of pixels in the outer frame part is counted, and the percentage A is compared with a first preset threshold value to determine whether the outer frame part is suspected to be a content without an answer by a candidate; Counting the percentage B of the number of pixels with a pixel value of 255 in the inner region to the total number of pixels in the inner region, and comparing the percentage B with a second preset threshold to determine whether the inner region is suspected to contain content without an answer from a candidate; If both the outer frame part and the inner area part are suspected to contain no answer content from the examinee, the sub-image corresponding to the binary image is determined to be a blank answer sub-image, and according to the grayscale image corresponding to the blank answer sub-image, the number of occurrences of each grayscale level in the grayscale image is counted, recorded as Num[i], where i represents the i-th grayscale level; The frequency of each gray level is counted according to the number of times each gray level appears. P[i] represents the frequency of the i-th gray level. P[i] = Num[i] / (W*H), where W is the width of the gray image and H is the height of the gray image. Creating a grayscale histogram of the blank answer sub-image according to the frequency of occurrence of each grayscale level; The grayscale histogram is matched with a preset standard grayscale histogram. If the match is successful, it is confirmed that the blank answer sub-image has no answer content.
2. A blank answer detection method for examination marking as claimed in claim 1, characterized in that: Before cutting the answer sheet image, the method further includes: Pre-read an answer sheet image; Frame each question block as a frame selection template; Mark the question block number corresponding to each framed area in the framed template.
3. A blank answer detection method for examination marking as claimed in claim 2, characterized in that: The cutting of the answer sheet image comprises: Cutting the answer sheet image according to the frame selection template to generate multiple sub-images; The title block number corresponding to the sub-image is marked according to the title block number corresponding to each frame selection area in the frame selection template.
4. A blank answer detection system for examination marking, characterized in that: The system includes: a scanning module, a cropping module, an image processing module, and a frame selection module, wherein: The scanning module is connected to the cutting module, and the scanning module is used to scan the test paper to generate an answer sheet image, and send the answer sheet image to the cutting module; The frame selection module is connected to the scanning module and the cutting module respectively, and the frame selection module is used to generate a frame selection template. The cutting module cuts the answer sheet image according to the frame selection template to divide the binary image into an outer frame part and an inner area part; The cutting module is connected to the scanning module and the image processing module respectively, and is used to cut the answer sheet image received from the scanning module into multiple sub-images and send the sub-images to the image processing module for processing; The image processing module is used to detect and process the sub-images one by one, determine whether the sub-images are sub-images without answer content, and perform grayscale processing and binarization processing on the sub-images one by one to generate corresponding grayscale images and binarization images; The image processing module counts the percentage A of the number of pixels with a pixel value of 255 in the outer frame part to the total number of pixels in the outer frame part based on the number of pixels with a pixel value of 255 in the binary image, and compares the percentage A with a first preset threshold to determine whether the outer frame part is suspected to be a content without an answer by a candidate; Counting the percentage B of the number of pixels with a pixel value of 255 in the inner region to the total number of pixels in the inner region, and comparing the percentage B with a second preset threshold to determine whether the inner region is suspected to contain content without an answer from a candidate; If both the outer frame part and the inner area part are suspected to contain no answer content from the examinee, the sub-image corresponding to the binary image is determined to be a blank answer sub-image, and according to the grayscale image corresponding to the blank answer sub-image, the number of occurrences of each grayscale level in the grayscale image is counted, recorded as Num[i], where i represents the i-th grayscale level; The frequency of each gray level is counted according to the number of times each gray level appears. P[i] represents the frequency of the i-th gray level. P[i] = Num[i] / (W*H), where W is the width of the gray image and H is the height of the gray image. A grayscale histogram of the blank answer sub-image is created according to the frequency of occurrence of each grayscale level.
5. A blank answer detection system for examination marking as claimed in claim 4, characterized in that: The system further comprises: a paper marking module, the paper marking module being connected to the image processing module; The marking module is used to obtain the sub-images processed by the image processing module, automatically score the question blocks corresponding to the sub-images marked as having no answer content as zero points, and distribute the sub-images marked as having answer content to marking teachers for scoring.
