Examination data uploading method and device, electronic equipment and storage medium
By receiving the scanned paper test papers after the paper exam, obtaining the standard papers and processing them, and uploading them to the cloud platform, the problem of marking errors caused by scanning factors is solved, ensuring the accuracy of the candidate's scores and improving the efficiency of online marking.
Patent Information
- Application Number
- CN202510753973.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-06
- Publication Date
- 2025-07-25
AI Technical Summary
In the existing online marking system, marking errors caused by scanning factors affect the accuracy of candidates' scores, and the system is under great pressure and inefficient.
By receiving the scanned test papers after the paper exam, obtain the standard file, process the scanned file based on the standard file and upload it to the cloud platform, including image enhancement, layout analysis, text recognition and other steps to ensure the accurate data.
It avoids mistakes in marking papers caused by scanning factors, ensures the accuracy of the candidates' scores, reduces the pressure on the online marking system, and improves the efficiency of marking papers.
Smart Images

Figure CN120378425A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular, to a method, apparatus, electronic device, and storage medium for uploading examination data. Background Art
[0002] In the context of the informatization of education, as a product of the combination of education and the Internet, the online marking system has been widely used in various examinations. Online Marking (OMR) is a way of using digital technology and network platforms to mark test papers, and is widely used in scenarios such as the high school entrance examination, college entrance examination, qualification certification examinations, and school final examinations. Its core processes include test paper scanning, image processing, network transmission, marking management, score synthesis, etc. To ensure the security of online marking, it is necessary to provide guarantees from multiple aspects such as technology, management, and law. However, in the actual operation process, how to improve the efficiency of marking, ensure the accuracy of candidates' scores, and further improve the quality and efficiency of educational evaluation are the main challenges currently faced. Summary of the Invention
[0003] This application provides a method, apparatus, electronic device, and storage medium for uploading examination data, which avoids marking errors caused by factors such as scanning during subsequent online marking, and ensures the accuracy of candidates' scores.
[0004] In a first aspect, this application provides a method for uploading examination data, which includes:
[0005] Receiving a scanned copy of the test paper after paper-based examination;
[0006] Obtaining a standard copy of the paper-based examination according to the scanned copy;
[0007] Based on the standard copy, processing the scanned copy to obtain a processed scanned copy;
[0008] Uploading the processed scanned copy to a preset cloud platform.
[0009] In a second aspect, this application also provides an apparatus for uploading examination data, which includes:
[0010] A receiving unit, configured to receive a scanned copy of the test paper after paper-based examination;
[0011] An obtaining unit, configured to obtain a standard copy of the paper-based examination according to the scanned copy;
[0012] A processing unit, configured to process the scanned copy based on the standard copy to obtain a processed scanned copy;
[0013] An uploading unit, configured to upload the processed scanned copy to a preset cloud platform.
[0014] In a third aspect, an embodiment of the present invention further provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the method for uploading examination data provided in the first aspect above is implemented.
[0015] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the processor is caused to execute the method for uploading examination data provided in the first aspect above.
[0016] In a fifth aspect, an embodiment of the present application further provides a computer program product, including a computer program or instruction. When the computer program or instruction is executed by a processor, the method for uploading examination data provided in the first aspect is implemented.
[0017] An embodiment of the present invention provides a method, apparatus, electronic device, and storage medium for uploading examination data. After receiving a scanned copy of the paper-based examination paper, the method can obtain a standard copy of the paper-based examination according to the scanned copy, then process the scanned copy based on the standard copy to obtain a processed scanned copy, and finally upload the processed scanned copy to a preset cloud platform. Thus, the data of the candidates after the paper-based examination can be accurately uploaded without error, avoiding marking mistakes due to factors such as scanning during the subsequent online marking process, ensuring the accuracy of the candidates' scores, and at the same time reducing the pressure on the online marking system and greatly improving the efficiency of online marking. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0019] Figure 1 It is an architecture diagram of the method for uploading examination data provided by an embodiment of the present application;
[0020] Figure 2 It is a flowchart of the method for uploading examination data provided by an embodiment of the present application;
[0021] Figure 3 It is a schematic block diagram of the apparatus for uploading examination data provided by an embodiment of the present application;
[0022] Figure 4 It is a schematic block diagram of the electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0023] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without making creative efforts belong to the scope of protection of the present invention.
[0024] It should be understood that when used in this specification and the appended claims, the terms "comprises" and "comprising" indicate the presence of the described features, wholes, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their combinations.
[0025] It should also be understood that the terms used in this specification of the present invention are merely for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in this specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an", and "the" are intended to include the plural forms.
[0026] It should be further understood that the term "and / or" used in this specification of the present invention and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0027] Please refer to Figure 1 , Figure 1 , which is the architecture diagram of the method for uploading examination data provided by the embodiments of the present application. The method for uploading examination data provided by the embodiments of the present application is applied to the cloud box 103. The cloud box 103 is connected to the scanning device 101 and communicates therewith. The scanning device 101 can scan the test papers of the candidates after the paper-based examination to form scanned copies. At the same time, the candidates take the examination in the cloud computer room, and the examination items include paper-based examinations in the drawing category. During the drawing process, corresponding color drawings need to be made.
[0028] After the candidates complete the paper-based examination, the test papers of the paper-based examination are scanned by the scanning device 101 and sent to the cloud box 103. After receiving the scanned copies of the test papers of the candidates after the paper-based examination, the cloud box 103 can execute the method for uploading examination data provided by the present application, and then can accurately upload the data of the candidates after the paper-based examination to the cloud platform 102 without error. Subsequently, online marking can be carried out based on the cloud platform 102, which not only avoids marking errors due to factors such as scanning during the subsequent online marking process, but also ensures the accuracy of the candidates' scores. At the same time, it can also reduce the pressure on the online marking system and greatly improve the efficiency of online marking.
[0029] The cloud box 103 mentioned in this application can be an intelligent cloud box 103. The intelligent cloud box 103 is a device that combines cloud computing technology with local hardware devices, supports multiple connection methods, including Wi-Fi, Ethernet, and 5G, etc. At the same time, the intelligent cloud box 103 can be flexibly connected to the local network or the Internet. The VR device and the display device are connected by the cloud box 103. It can achieve an intranet connection or a cloud connection between the VR device and the display device, and at the same time, it can also provide flexible and efficient computing and data processing capabilities, which are applicable to various edge computing and Internet of Things application scenarios. At the same time, using the cloud box 103 can push the computing tasks from the cloud to the local, reducing latency and bandwidth requirements, and being able to provide a faster response speed and a better user experience.
[0030] It should be noted that the application scenarios described in the embodiments of this application below are for more clearly explaining the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. Those of ordinary skill in the art know that with the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are equally applicable to similar technical problems.
[0031] The following will detail the method for uploading examination data provided by this application.
[0032] As Figure 2 shown, this method includes the following steps S210 to S240.
[0033] S210. Receive the scanned copy of the paper-based examination paper after the paper-based examination;
[0034] S220. Obtain the standard copy of the paper-based examination according to the scanned copy;
[0035] S230. Process the scanned copy based on the standard copy to obtain the processed scanned copy;
[0036] S240. Upload the processed scanned copy to the preset cloud platform.
[0037] In this application, the scanned copy is the scanned copy formed after the paper-based examination paper of the candidate after the paper-based examination is scanned by a scanning device. It can be a scanned copy in PDF format, or a scanned copy in JPEG format, or a scanned copy in PNG format. The format of the scanned copy can be selected according to the actual application, and this application does not make specific limitations.
[0038] Specifically, after this application receives the scanned copy of the paper-based examination paper of the candidate after the paper-based examination, it can extract the candidate's data information from the scanned copy, such as identity information or examination question information, and then obtain the corresponding standard copy of the paper-based examination based on the identity information or question information. Among them, the standard copy can be understood as the data of the standard answers for the candidate's paper-based examination.
[0039] Furthermore, after obtaining the standard pieces of the paper-based exam, the present application can process the scanned pieces based on the standard pieces to extract the data of the examinees' answers from the scanned pieces, that is, the processed scanned pieces, and then the processed scanned pieces can be uploaded to the cloud platform to completely upload the data of the examinees' answers during the paper-based exam process to the cloud platform.
[0040] Among them, during the process of processing the scanned pieces based on the standard pieces, the standard pieces can also be used as a reference to solve problems such as noise during the scanning process of the scanning device, thereby avoiding marking errors due to factors such as scanning during subsequent online marking, ensuring the accuracy of the examinees' scores, reducing the pressure on the online marking system, and greatly improving the efficiency of online marking.
[0041] In some embodiments, in step S220, the target information of the paper-based exam can be extracted from the scanned pieces; based on the target information, the standard pieces of the paper-based exam can be obtained.
[0042] Specifically, during the process of extracting the target information of the paper-based exam from the scanned pieces, the scanned pieces can be subjected to image enhancement, layout analysis, and character recognition to extract the target information of the examinees, and then the standard pieces of the paper-based exam can be obtained based on this. The target information can be at least one of the ID number, admission ticket number, and name filled in by the examinees on the test paper.
[0043] Specifically, during the process of image enhancement, if there are problems such as inclination, black and white inversion, or noise in the scanned pieces, image processing tools such as Open CV can be used for correction and noise reduction. For example, after reading the image using the corresponding function in Open CV, it is converted into a binary image by setting a threshold, and then operations such as rotation and projection transformation are performed on the image to correct the inclination and black and white problems, and the noise is removed by median filtering and other methods.
[0044] During the process of layout analysis in the present application, the image after image enhancement can be subjected to layout analysis to determine the positions and boundaries of text regions, table regions, and other elements. Specifically, it can be achieved through methods such as connected component analysis and projection analysis, thereby providing more accurate region positioning for subsequent character recognition.
[0045] During the process of character recognition, optical character recognition (OCR) technology, such as tools like Tesseract, can be used to convert the text regions in the image into an editable text format, and extract the examinees' admission ticket numbers, names, genders, ID numbers, etc.
[0046] In some embodiments, extracting the target information of the paper-based exam from the scanned pieces includes: preprocessing the scanned pieces to obtain the preprocessed scanned pieces; extracting the target information of the paper-based exam from the first region of the preprocessed scanned pieces.
[0047] In this application, during the process of preprocessing the scanned document, a series of steps such as cropping, denoising, contrast enhancement, and format conversion can be performed on the scanned document, so as to ensure that the target information of the paper exam can be accurately extracted from the first region of the preprocessed scanned document subsequently. Among them, the first region can be understood as the region where the examinee fills in information such as the admission ticket number and ID number on the test paper.
[0048] In some embodiments, preprocessing the scanned document to obtain the preprocessed scanned document includes: performing a cropping process on the scanned document to obtain a cropped scanned document; performing a denoising process on the cropped scanned document to obtain a denoised scanned document; performing a format conversion on the denoised scanned document to obtain a format-converted scanned document; determining the first region from the format-converted scanned document, and extracting the target information from the first region, and the first region can be set in advance.
[0049] In this application, during the process of cropping the scanned document, the cropping region can be determined and the cropping operation can be performed to ensure that the target information of the paper exam can be accurately extracted from the first region of the preprocessed scanned document subsequently.
[0050] Among them, during the process of determining the cropping region, the effective region of the scanned document containing the examinee's information, such as the positions where the admission ticket number, name, photo, etc. are located, can be determined through the image viewing and marking functions in image processing software (such as Photoshop, GIMP, etc.) or programming languages (such as the OpenCV library of Python) for subsequent precise cropping.
[0051] During the process of performing the cropping operation, in the image processing software, the determined region can be manually cropped using the cropping tool; if programming libraries such as OpenCV are used, the image can be cropped by setting the coordinate parameters of the cropping region and using the corresponding cropping function to obtain a cropped scanned document that only contains the key information part of the examinee.
[0052] Meanwhile, in this application, during the process of denoising the cropped scanned document, a denoising algorithm can be preselected and then the denoising algorithm can be applied to denoise the cropped scanned image to obtain a denoised scanned document.
[0053] Among them, during the process of selecting the denoising algorithm, common ones include median filtering, Gaussian filtering, mean filtering, etc. Median filtering has a good effect on removing salt-and-pepper noise, Gaussian filtering is effective for removing Gaussian noise, and mean filtering is relatively simple but may blur the image edges. Therefore, this application can select a suitable algorithm according to the noise type and characteristics of the scanned document.
[0054] During the process of applying the denoising algorithm, in an image processing software, the corresponding filter can be searched for and applied for denoising; in a programming environment, filtering functions such as those in OpenCV (such as medianBlur() for median filtering, GaussianBlur() for Gaussian filtering, etc.) are used to perform denoising on the cropped scanned image to obtain the denoised scanned image.
[0055] During the process of format conversion of the denoised scanned image in this application, the target format can be determined in advance, and after determining the target format, the format conversion is performed. Among them, during the process of determining the target format, the image format to be converted can be determined according to the requirements of subsequent processing. Commonly used ones are JPEG, PNG, PDF, etc. For example, if OCR text recognition is to be performed, formats such as JPEG and PNG are more commonly used; if document integration is to be performed, the PDF format may be more suitable. And during the process of performing format conversion, the save or save as function of the image processing software can be used to save the denoised scanned image as the target format; in programming, with the help of the save() function in an image processing library (such as the Pillow library in Python), the corresponding format parameters are specified to perform format conversion to obtain the scanned image after format conversion.
[0056] Finally, during the process of extracting target information from the scanned image after format conversion in this application, a text recognition tool or technology can be selected, and then text recognition and information extraction are performed, and the target information can be obtained from the first area of the scanned image. Among them, during the process of selecting the text recognition tool or technology, commonly used ones are software such as Tesseract OCR and Adobe Acrobat, or corresponding OCR libraries are used in programming. These tools and technologies can recognize the text in the image and convert it into an editable text format.
[0057] During the process of text recognition and information extraction, the scanned image after format conversion can be loaded into the selected text recognition tool for text recognition operations. Among the recognized text results, by writing regular expressions or using the search function of the software, target information such as the admission ticket number (usually a string of numbers or alphanumeric combinations), name (Chinese character sequence), gender ("male" or "female", etc.), ID number (18-digit combination of numbers and letters), etc. are extracted and stored in a suitable data structure or database for subsequent association with the computer-based examination data for use.
[0058] In this application, when cropping a scanned document to obtain a cropped scanned document, and then denoising the cropped scanned document to obtain a denoised scanned document; performing format conversion on the denoised scanned document to obtain a format-converted scanned document, and finally extracting target information from the format-converted scanned document, it is necessary to adjust and optimize parameters according to the actual situation of different scanned documents to ensure the accuracy and effectiveness of the processing effect.
[0059] In some embodiments, performing format conversion on the denoised scanned document to obtain a format-converted scanned document includes: enhancing the contrast of the denoised scanned document to obtain a scanned document with enhanced contrast; performing format conversion on the scanned document with enhanced contrast to obtain a format-converted scanned document.
[0060] In this application, before performing format conversion on a scanned document, it is also necessary to enhance the contrast to improve the accuracy of extracting the target information of the paper exam from the first region of the preprocessed scanned document. For example, the contrast of the denoised scanned document can be enhanced to obtain a scanned document with enhanced contrast, and then format conversion is performed on the scanned document with enhanced contrast to obtain a format-converted scanned document.
[0061] Specifically, in the process of enhancing the contrast of the denoised scanned document, it is necessary to pre-select a contrast enhancement algorithm and then apply the contrast enhancement algorithm, and then it is possible to enhance the contrast of the denoised scanned document to obtain a scanned document with enhanced contrast.
[0062] Among them, in the process of selecting a contrast enhancement algorithm, histogram equalization or adaptive histogram equalization can be performed. Histogram equalization can redistribute the gray values of image pixels to make the gray histogram of the image evenly distributed, thereby enhancing the contrast of the image. Adaptive histogram equalization can better enhance the contrast for different regions of the image. It divides the image into multiple small blocks and then performs histogram equalization on each small block. In OpenCV, the cv2.createCLAHE() function can be used to implement adaptive histogram equalization.
[0063] At the same time, in the process of applying the contrast enhancement algorithm, if an image processing software (such as Photoshop) is used, the contrast can be manually enhanced by adjusting the brightness and contrast sliders of the image, or the curve adjustment tool can be used to increase the contrast of the image by changing the shape of the curve.
[0064] In some embodiments, the target information includes examinee information and a first examination item; based on the target information, a standard piece for paper-based examinations is obtained, including: based on the examinee information, a second examination item corresponding to the examinee is obtained, and the corresponding standard answer for the second examination item; if the first examination item matches the second examination item, the examination answer is used as the standard piece.
[0065] In this embodiment, the target information includes examinee information and a first examination item. The examinee information can be information such as the examinee's ID number, admission ticket number, etc. The first examination item can be the question information of this paper-based examination, such as a mathematics examination item, a Chinese language examination item, etc. Both the examinee information and the first examination item are extracted from the scanned document. After the examinee information and the first examination item are extracted, the second examination item corresponding to the examinee and the corresponding standard answer for the second examination item can be obtained based on the examinee information. The second examination item can be the question information that has been pre-stored and corresponds to the examinee information. Then, the first examination item can be matched with the second examination item. If they match, the examination answer can be directly used as the standard piece.
[0066] In some embodiments, based on the standard piece, the scanned document is processed to obtain a processed scanned document, including: extracting the examinee's answer information from the second area of the pre-processed scanned document; based on the standard piece, color palette calibration is performed on the answer information to obtain the examinee's target answer information.
[0067] Specifically, the present application can directly extract the examinee's answer information from the second area of the pre-processed scanned document. The second area can be understood as the answer area of the examinee on the paper-based examination paper. After the present application extracts the examinee's answer information from the second area of the pre-processed scanned document, color palette calibration is performed on the answer information based on the background color of the standard piece to eliminate the color difference caused by the scanning process, so as to avoid marking errors due to factors such as scanning in the subsequent online marking process, thereby ensuring the accuracy of the examinee's score. At the same time, it can also reduce the pressure on the online marking system and greatly improve the efficiency of online marking.
[0068] In the method for uploading examination data provided by the embodiments of the present invention, after receiving the scanned document of the paper-based examination paper, the standard piece for the paper-based examination can be obtained according to the scanned document, and then the scanned document is processed based on the standard piece to obtain a processed scanned document. Finally, the processed scanned document is uploaded to a pre-set cloud platform, so that the data of the examinee after the paper-based examination can be accurately uploaded without error, avoiding marking errors due to factors such as scanning in the subsequent online marking process, ensuring the accuracy of the examinee's score, and at the same time reducing the pressure on the online marking system and greatly improving the efficiency of online marking.
[0069] An embodiment of the present invention also provides an examination data uploading device 300, which is used to execute any embodiment of the foregoing examination data uploading method.
[0070] Specifically, please refer to Figure 3 , Figure 3 which is a schematic block diagram of the examination data uploading device 300 provided by an embodiment of the present invention.
[0071] As Figure 3 shown, the examination data uploading device 300 provided by the present application includes: a receiving unit 310, an obtaining unit 320, a processing unit 330, and an uploading unit 340.
[0072] The receiving unit 310 is configured to receive a scanned copy of the paper-based examination paper; the obtaining unit 320 is configured to obtain a standard copy of the paper-based examination according to the scanned copy; the processing unit 330 is configured to process the scanned copy based on the standard copy to obtain a processed scanned copy; the uploading unit 340 is configured to upload the processed scanned copy to a preset cloud platform.
[0073] In some embodiments, the obtaining unit 320 is further configured to extract target information of the paper-based examination from the scanned copy; and obtain a standard copy of the paper-based examination based on the target information.
[0074] In some embodiments, the obtaining unit 320 is further configured to preprocess the scanned copy to obtain a preprocessed scanned copy; and extract target information of the paper-based examination from a first area of the preprocessed scanned copy.
[0075] In some embodiments, the obtaining unit 320 is further configured to crop the scanned copy to obtain a cropped scanned copy; denoise the cropped scanned copy to obtain a denoised scanned copy; perform format conversion on the denoised scanned copy to obtain a format-converted scanned copy; determine a first area from the format-converted scanned copy, and extract target information from the first area.
[0076] In some embodiments, the obtaining unit 320 is further configured to enhance the contrast of the denoised scanned copy to obtain a contrast-enhanced scanned copy; and perform format conversion on the contrast-enhanced scanned copy to obtain a format-converted scanned copy.
[0077] In some embodiments, the target information includes candidate information and a first examination item; the obtaining unit 320 is further configured to obtain a second examination item corresponding to the candidate based on the candidate information, and a standard answer corresponding to the second examination item; if the first examination item matches the second examination item, use the examination answer as the standard copy.
[0078] In some embodiments, the processing unit 330 is further configured to extract the candidate's answer information from the second area of the preprocessed scanned document; and perform color palette calibration on the answer information based on the standard document to obtain the candidate's target answer information.
[0079] After receiving the scanned document of the paper-based exam, the exam data uploading device 300 provided by the embodiments of the present application can obtain the standard document of the paper-based exam according to the scanned document, then process the scanned document based on the standard document to obtain the processed scanned document, and finally upload the processed scanned document to a preset cloud platform. Thus, the data of the candidate after the paper-based exam can be accurately uploaded without error, avoiding marking mistakes due to factors such as scanning during the subsequent online marking process, ensuring the accuracy of the candidate's scores, and at the same time reducing the pressure on the online marking system and greatly improving the efficiency of online marking.
[0080] It should be noted that those skilled in the art can clearly understand that the specific implementation processes of the above-mentioned exam data uploading device 300 and each unit can refer to the corresponding descriptions in the foregoing method embodiments. For the sake of convenience and brevity of description, they will not be elaborated here.
[0081] The above-mentioned exam data uploading device 300 can be implemented in the form of a computer program, and this computer program can run on an electronic device as Figure 4 shown.
[0082] Please refer to Figure 4 , Figure 4 which is a schematic block diagram of the electronic device provided by the embodiments of the present invention.
[0083] Referring to Figure 4 , the device 400 includes a processor 402, a memory, and a network interface 405 connected through a system bus 401. Among them, the memory may include a storage medium 403 and an internal memory 404.
[0084] The storage medium 403 can store an operating system 4031 and a computer program 4032. When the computer program 4032 is executed, the processor 402 can be made to execute the exam data uploading method.
[0085] The processor 402 is used to provide computing and control capabilities to support the operation of the entire device 400.
[0086] The internal memory 404 provides an environment for the operation of the computer program 4032 in the non-volatile storage medium 403. When the computer program 4032 is executed by the processor 402, the processor 402 can be made to execute the exam data uploading method.
[0087] The network interface 405 is used for network communication, such as providing data information transmission, etc. Those skilled in the art can understand that Figure 4 The structure shown in Figure 4 is only a block diagram of some structures related to the solution of the present invention, and does not constitute a limitation on the device 400 to which the solution of the present invention is applied. The specific device 400 may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.
[0088] Among them, the processor 402 is used to run the computer program 4032 stored in the memory to implement the following functions: receiving the scanned copy of the paper exam; obtaining the standard parts of the paper exam according to the scanned copy; processing the scanned copy based on the standard parts to obtain the processed scanned copy; uploading the processed scanned copy to a pre-set cloud platform.
[0089] In some embodiments, when the processor 402 implements obtaining the standard parts of the paper exam according to the scanned copy, the following steps are specifically further implemented: extracting the target information of the paper exam from the scanned copy; obtaining the standard parts of the paper exam based on the target information.
[0090] In some embodiments, when the processor 402 implements extracting the target information of the paper exam from the scanned copy, the following steps are specifically further implemented: preprocessing the scanned copy to obtain the preprocessed scanned copy; extracting the target information of the paper exam from the first area of the preprocessed scanned copy.
[0091] In some embodiments, when the processor 402 implements preprocessing the scanned copy to obtain the preprocessed scanned copy, the following steps are specifically further implemented: performing cropping processing on the scanned copy to obtain the cropped scanned copy; performing denoising processing on the cropped scanned copy to obtain the denoised scanned copy; performing format conversion on the denoised scanned copy to obtain the format-converted scanned copy; determining the first area from the format-converted scanned copy and extracting the target information from the first area.
[0092] In some embodiments, when the processor 402 implements performing format conversion on the denoised scanned copy to obtain the format-converted scanned copy, the following steps are specifically further implemented: enhancing the contrast of the denoised scanned copy to obtain the contrast-enhanced scanned copy; performing format conversion on the contrast-enhanced scanned copy to obtain the format-converted scanned copy.
[0093] In some embodiments, the target information includes candidate information and the first exam item; when the processor 402 implements obtaining the standard parts of the paper exam based on the target information, the following steps are specifically further implemented: obtaining the second exam item corresponding to the candidate and the corresponding standard answer based on the candidate information; if the first exam item matches the second exam item, taking the exam answer as the standard part.
[0094] In some embodiments, when the processor 402 processes the scanned document based on the standard document to obtain the processed scanned document, the following steps are specifically implemented: extracting the candidate's answer information from the second area of the pre-processed scanned document; and performing color palette calibration on the answer information based on the standard document to obtain the candidate's target answer information.
[0095] Those skilled in the art can understand that Figure 4 The embodiments of the device 400 shown in do not constitute a limitation on the specific composition of the device 400. In other embodiments, the device 400 may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements. For example, in some embodiments, the device 400 may only include a memory and the processor 402. In such an embodiment, the structures and functions of the memory and the processor 402 are the same as those of Figure 4 the embodiments shown, and will not be elaborated herein.
[0096] It should be understood that in the embodiments of the present invention, the processor 402 may be a central processing unit (CPU), and the processor 402 may also be other general-purpose processors 402, digital signal processors 502 (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor 402 may be a microprocessor 402 or the processor 402 may also be any conventional processor 402, etc.
[0097] According to one aspect of the present application, a computer program product or a computer program is further provided. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions so that the electronic device implements the following steps: receiving a scanned document of the paper-based exam; obtaining a standard document of the paper-based exam according to the scanned document; processing the scanned document based on the standard document to obtain a processed scanned document; and uploading the processed scanned document to a preset cloud platform.
[0098] Those of ordinary skill in the art can understand that all or part of the processes in the methods of implementing the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program includes program instructions, and the computer program can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the embodiments of the above methods.
[0099] In another embodiment of the present invention, a computer storage medium is provided. The storage medium can be a non-volatile computer-readable storage medium or a volatile storage medium. The storage medium stores a computer program 4032, and when the computer program 4032 is executed by a processor 402, the following steps are implemented: receiving a scanned copy of the paper-based exam paper; obtaining a standard copy of the paper-based exam according to the scanned copy; processing the scanned copy based on the standard copy to obtain a processed scanned copy; and uploading the processed scanned copy to a pre-set cloud platform.
[0100] In some embodiments, when the processor executes the program instructions to obtain the standard copy of the paper-based exam according to the scanned copy, the following steps are specifically further implemented: extracting the target information of the paper-based exam from the scanned copy; and obtaining the standard copy of the paper-based exam based on the target information.
[0101] In some embodiments, when the processor executes the program instructions to extract the target information of the paper-based exam from the scanned copy, the following steps are specifically further implemented: preprocessing the scanned copy to obtain a preprocessed scanned copy; and extracting the target information of the paper-based exam from the first area of the preprocessed scanned copy.
[0102] In some embodiments, when the processor executes the program instructions to preprocess the scanned copy to obtain a preprocessed scanned copy, the following steps are specifically further implemented: performing a cropping process on the scanned copy to obtain a cropped scanned copy; performing a denoising process on the cropped scanned copy to obtain a denoised scanned copy; performing a format conversion on the denoised scanned copy to obtain a format-converted scanned copy; determining the first area from the format-converted scanned copy, and extracting the target information from the first area.
[0103] In some embodiments, when the processor executes the program instructions to perform a format conversion on the denoised scanned copy to obtain a format-converted scanned copy, the following steps are specifically further implemented: enhancing the contrast of the denoised scanned copy to obtain a contrast-enhanced scanned copy; and performing a format conversion on the contrast-enhanced scanned copy to obtain a format-converted scanned copy.
[0104] In some embodiments, the target information includes examinee information and a first examination item; when the processor executes program instructions to obtain a standard piece for paper-based examinations based on the target information, the following steps are specifically implemented: based on the examinee information, obtain a second examination item corresponding to the examinee and the corresponding standard answers; if the first examination item matches the second examination item, use the examination answers as the standard piece.
[0105] In some embodiments, when the processor executes program instructions to process a scanned piece based on the standard piece to obtain a processed scanned piece, the following steps are specifically implemented: extract the examinee's answer information from a second area of the preprocessed scanned piece; based on the standard piece, perform color palette calibration on the answer information to obtain the examinee's target answer information.
[0106] The storage medium can be various computer-readable storage media such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disc that can store program codes.
[0107] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.
[0108] In several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of each unit is only a logical function division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0109] The steps in the method embodiments of this application can be adjusted, combined, and deleted according to actual needs. The units in the device embodiments of this application can be combined, divided, and deleted according to actual needs. In addition, the functional units in each embodiment of this application can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit.
[0110] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to enable an electronic device (which can be a personal computer, a terminal, or a network device, etc.) to execute all or part of the steps of the methods provided in various embodiments of this application.
[0111] As mentioned above, the above is only the specific implementation manner of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art within the technical scope disclosed in this application can easily think of various equivalent modifications or substitutions, and these modifications or substitutions should all be covered within the protection scope of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.
Claims
1. A method for uploading examination data, characterized in that, Including: Receiving a scanned copy of the paper-based exam papers after the exam; Obtaining the standard piece of the paper-based exam according to the scanned copy; Based on the standard piece, processing the scanned copy to obtain a processed scanned copy; Uploading the processed scanned copy to a pre-set cloud platform.
2. The method for uploading examination data according to claim 1, wherein The obtaining the standard piece of the paper-based exam according to the scanned copy includes: Extracting the target information of the paper-based exam from the scanned copy; Based on the target information, obtaining the standard piece of the paper-based exam.
3. The method for uploading examination data according to claim 2, wherein The extracting the target information of the paper-based exam from the scanned copy includes: Preprocessing the scanned copy to obtain a preprocessed scanned copy; Extracting the target information of the paper-based exam from the first area of the preprocessed scanned copy.
4. The method for uploading examination data according to claim 3, wherein The preprocessing the scanned copy to obtain a preprocessed scanned copy includes: Performing a cropping process on the scanned copy to obtain a cropped scanned copy; Performing a denoising process on the cropped scanned copy to obtain a denoised scanned copy; Performing a format conversion on the denoised scanned copy to obtain a format-converted scanned copy; Determining the first area from the format-converted scanned copy and extracting the target information from the first area.
5. The method for uploading examination data according to claim 4, wherein The performing a format conversion on the denoised scanned copy to obtain a format-converted scanned copy includes: Performing a contrast enhancement on the denoised scanned copy to obtain a contrast-enhanced scanned copy; Performing a format conversion on the contrast-enhanced scanned copy to obtain a format-converted scanned copy.
6. The method for uploading examination data according to claim 2, wherein The target information includes candidate information and the first exam item; The obtaining the standard piece of the paper-based exam based on the target information includes: Based on the candidate information, obtaining the second exam item corresponding to the candidate and the standard answer corresponding to the second exam item; If the first exam item matches the second exam item, taking the exam answer as the standard piece.
7. The method for uploading examination data according to claim 3, characterized in that The processing the scanned copy based on the standard piece to obtain a processed scanned copy includes: Extracting the candidate's answer information from the second area of the preprocessed scanned copy; Based on the standard piece, performing color palette calibration on the answer information to obtain the candidate's target answer information.
8. An uploading device for examination data, characterized in that, Including: A receiving unit for receiving a scanned copy of the paper-based exam papers after the exam; An obtaining unit for obtaining the standard piece of the paper-based exam according to the scanned copy; A processing unit for processing the scanned copy based on the standard piece to obtain a processed scanned copy; An uploading unit for uploading the processed scanned copy to a pre-set cloud platform.
9. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the exam data uploading method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, it causes the processor to execute the exam data uploading method according to any one of claims 1 to 7.