Paper surface correction mark-remaining printing method, storage medium and equipment

By constructing scanning tasks and image matching algorithms, the problems of paper order and direction consistency in existing grading machines were solved, and unified grading and trace printing of test papers for multiple classes were achieved, which improved operational flexibility and accuracy.

CN120825548APending Publication Date: 2025-10-21读书郎教育科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510945922.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-09
Publication Date
2025-10-21

AI Technical Summary

Technical Problem

During the grading process, existing marking machines need to strictly ensure that the test papers are in the same order and direction. They cannot scan the test papers of multiple classes at one time and print the marks uniformly, and the operation requirements are high.

Method used

By constructing scanning tasks, the scanning order and the image data of the first and last pages of each paper are recorded. After grading, the teacher generates a correction label and determines the printing order and direction according to the matching scanning tasks when printing. It supports placing paper in both directions and uses the image similarity matching algorithm to confirm the correct position and direction.

Benefits of technology

It enables the one-time printing of grading labels for multiple class test papers, reduces operational errors, lowers restrictions on paper feeding direction, and improves the flexibility and accuracy of grading.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention discloses a paper surface correction mark-remaining printing method, a storage medium and equipment, and the method comprises the steps: building a scanning task, achieving the correspondence between a correction label and a paper surface to be subjected to correction mark-remaining printing through the retrieval of a corresponding scanning task during printing, and determining a printing sequence; therefore, after a teacher scans and corrects all batches of test papers at one time, mark-leaving printing can be carried out batch by batch in a unified mode, more flexibility is achieved, accurate correspondence of correction labels and paper surfaces can be guaranteed, and accuracy of mark-leaving printing is guaranteed. In addition, the paper feeding direction of the paper roll surface subjected to mark-leaving printing is supported to be positively placed, reversely placed or reversely placed, limitation on paper feeding in the printing process is reduced, the requirement for an operator is lowered, and the problem that marks are staggered is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent education technology, and in particular to a method, storage medium and device for printing test paper correction traces. Background Art

[0002] With the rapid development of information-based education, the powerful support of large-scale models has made intelligent grading of test papers / homework a reality. Grading traces for test papers / homeworks means that after students complete their work on paper test papers / homeworks, the teacher scans the paper test papers / homeworks to be graded into the grading system, completes the grading on the grading system, and finally prints the teacher's grading traces on the corresponding paper test papers / homeworks. Currently, there are grading machines on the market that have integrated grading traces for test papers / homeworks, but these grading machines have the following problems with grading trace printing:

[0003] 1. The scanning and correction of homework and the printing of the homework correction trace must ensure that the paper has the same order, front and back, and direction in order to accurately leave the trace. Otherwise, the trace will be uneven or incorrect.

[0004] 2. Usually a teacher will teach multiple classes. The current marking machine only supports scanning and marking the test papers / homework of a class and then printing the trace of the class immediately. It cannot scan and mark the test papers / homework of multiple classes at one time and then perform the trace printing operation uniformly, which is not flexible enough. Summary of the Invention

[0005] In view of the deficiencies in the prior art, the present invention aims to provide a method, storage medium and device for printing traces of paper corrections.

[0006] In order to achieve the above object, the present invention adopts the following technical solutions:

[0007] A method for printing a mark on a paper, comprising the following steps:

[0008] S1. Scan each paper roll in the current batch to obtain a corresponding roll image;

[0009] S2. Build scanning tasks:

[0010] S2.1. Record the scanning order of each roll image obtained in this batch of scans;

[0011] S2.2. Record the image data of the first page and the last page obtained in this batch of scans; the first page image data is the image data of the first side of the first paper roll scanned in this batch, and the last page image data is the image data of the second side of the last paper roll scanned in this batch;

[0012] S3. The teacher corrects the image of each paper-based test paper and generates correction marks left on each test paper image as correction labels corresponding to each test paper image; the correction labels include data of each correction mark and the relative position of each correction mark data on the homework image;

[0013] S5. Printing the correction label on the paper volume:

[0014] S5.1. Place the paper rolls of a batch that has been corrected into the paper inlet of the printer.

[0015] S5.2. Collect image data of the first side of the first paper roll placed in step S5.1 as the image to be matched;

[0016] S5.3. Retrieve a corresponding scan task based on the image to be matched, and confirm the printing order based on the retrieved scan task; if the image to be matched successfully matches the first page image data recorded in step S2.2, print it in the forward order according to the scan order recorded in step S2.1; if the image to be matched successfully matches the last page image data recorded in step S2.2, print it in the reverse order according to the scan order recorded in step S2.1;

[0017] S5.4. Print the correction label corresponding to each roll image in the retrieved scanning task on the corresponding side of each paper roll in the current batch according to the printing order confirmed in step S5.4; specifically, print each correction trace data in the correction label on the corresponding position on one side of the paper roll according to its relative position on the roll image.

[0018] Furthermore, the correction traces include symbols and / or evaluation statements used by teachers to correct the test papers.

[0019] Furthermore, in step S2, when constructing the scanning task, the task status is marked for each scanning task, and the task status includes a printed status and an unprinted status; in step S5.3, when retrieving the scanning task, only the scanning tasks in the unprinted status are retrieved, and after the printing of step S5.4 is completed, the task status of the corresponding scanning task is modified to a printed status.

[0020] Furthermore, in step S5.4, before printing, the paper feed direction of the current batch of paper rolls is confirmed according to the image to be matched, and the direction of each correction trace data in the correction label is adjusted according to the paper feed direction so that it is aligned with the direction of the paper roll before printing.

[0021] Furthermore, in step S5.3, the image to be matched is matched with the first page image data and the last page image data in each scanning task through an image similarity matching algorithm, and the scanning task where the image with the highest matching degree is located is used as the retrieval result.

[0022] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program implements the above method when executed by a processor.

[0023] The present invention also provides a computer device, comprising a processor and a memory, wherein the memory is used to store a computer program; and when the processor is used to execute the computer program, the above method is implemented.

[0024] The beneficial effects of the present invention are:

[0025] 1. The present invention constructs a scanning task. When printing, the corresponding scanning task can be retrieved to achieve the correspondence between the correction label and the paper roll currently to be corrected and printed, and the printing order can be determined. In this way, the teacher can scan and correct all batches of test papers at one time, and then uniformly print the traces one by one. This is not only more flexible, but also can ensure the precise correspondence between the correction label and the paper roll, and ensure the accuracy of the trace printing.

[0026] 2. The present invention supports the paper roll for trace printing to be placed in the correct, reverse or upside-down direction, which reduces the restrictions on paper feeding during printing, reduces the requirements for operators, and reduces the problem of staggered traces. DETAILED DESCRIPTION

[0027] The present invention will be further described below. It should be noted that this embodiment is based on the technical solution and provides a detailed implementation method and specific operation process, but the protection scope of the present invention is not limited to this embodiment.

[0028] This embodiment provides a method for printing a mark on a paper, including the following steps:

[0029] S1. Scan each paper roll in the current batch to obtain corresponding roll images. It should be noted that the batches of paper rolls can be divided according to needs, such as dividing paper rolls into multiple batches based on classes.

[0030] S2. Build scanning tasks:

[0031] S2.1. Record the scanning order of each roll image obtained in this batch of scans;

[0032] S2.2. Record the first page image data and last page image data obtained from the scans of this batch; the first page image data is the image data of the first side of the first paper roll scanned in this batch, and the last page image data is the image data of the second side of the last paper roll scanned in this batch. It should be noted that because student test papers may be placed upright or upside down, the first side of the paper roll may not be the front side when scanned, but may be the back side, and vice versa. Therefore, it is impossible to confirm whether the first and second sides of each paper roll are the front or back when scanned. Therefore, the terms "first side" and "second side" are used to describe the two sides of each paper roll.

[0033] S3. The teacher corrects each paper test image and generates a correction label corresponding to each test image based on the correction traces left by the teacher on each test image. The correction label includes the data of each correction trace and the relative position of each correction trace data on the work image. The correction trace is the symbols and / or evaluation statements used by the teacher to correct the test paper, such as any one or a combination of ticks, crosses, circles, slashes, reasons for errors, and answers.

[0034] S5. Printing the correction label on the paper volume:

[0035] S5.1. Place the paper rolls of a batch that has been corrected into the paper inlet of the printer.

[0036] S5.2. Collect image data of the first side of the first paper roll placed in step S5.1 as the image to be matched;

[0037] S5.3. Retrieve the corresponding scanning task based on the image to be matched, and confirm the printing order based on the retrieved scanning task; if the image to be matched successfully matches the first page image data recorded in step S2.2 (indicating that the placement method of the paper roll in step S5.1 is the same as that in step S1), print it in the forward order according to the scanning order recorded in step S2.1; if the image to be matched successfully matches the last page image data obtained by the step S2.2, print it in the reverse order according to the scanning order recorded in step S2.1.

[0038] S5.4. Print the correction label corresponding to each scanned image in the retrieved scan task on the corresponding side of each paper roll in the current batch according to the printing order determined in step S5.4. Specifically, print each correction trace data in the correction label at the corresponding position on the side of the paper roll according to its relative position on the paper roll image.

[0039] Furthermore, in step S2, when constructing a scan task, each scan task is annotated with a task status, including either a printed or unprinted state. In step S5.3, when searching for scan tasks, only unprinted scan tasks are searched. After printing is complete in step S5.4, the task status of the corresponding scan task is changed to a printed state. This is because already printed scan tasks generally do not need to be reprinted, eliminating the need for repeated searches and speeding up processing.

[0040] Furthermore, in step S5.4, before printing, the paper feed direction of the current batch of paper rolls is confirmed according to the image to be matched, and the direction of each correction trace data in the correction label is adjusted according to the paper feed direction so that it is aligned with the direction of the paper roll before printing.

[0041] Specifically, if the orientation of the image to be matched is exactly the same as the orientation of the document image during correction, there is no need to adjust the orientation of the correction trace data and it can be printed directly. During correction, the document image was placed upright, and the text in the document image was upright. If the orientation of the image to be matched is the same as the orientation of the document image during correction, then the document was also placed upright when the paper was loaded, and no adjustment is required.

[0042] If the orientation of the image to be matched is inconsistent with the orientation of the paper image during correction, the correction mark data in the correction label to be printed will be angle-corrected to align with the orientation of the image to be matched before printing. For example, if the paper was placed upside down when the paper was fed, the text will be reversed, so the correction mark data in the correction label will need to be rotated 180 degrees before printing to ensure correct printing.

[0043] Furthermore, in step S5.3, the image to be matched is matched with the first page image data and last page image data in each scanning task through image similarity matching algorithms such as SIFT algorithm, orb algorithm, gradient amplitude similarity GMS algorithm, etc., and the scanning task where the image with the highest matching degree is located is used as the retrieval result.

[0044] Those skilled in the art can make various corresponding changes and modifications based on the above technical solutions and concepts, and all of these changes and modifications should be included in the scope of protection of the claims of the present invention.

Claims

1. A method for printing marks on a paper, characterized in that: The steps include: S1. Scan each paper roll in the current batch to obtain a corresponding roll image; S2. Build scanning tasks: S2.

1. Record the scanning order of each roll image obtained in this batch of scans; S2.

2. Record the image data of the first page and the last page obtained in this batch of scans; the first page image data is the image data of the first side of the first paper roll scanned in this batch, and the last page image data is the image data of the second side of the last paper roll scanned in this batch; S3. The teacher corrects the image of each paper-based test paper and generates correction marks left on each test paper image as correction labels corresponding to each test paper image; the correction labels include data of each correction mark and the relative position of each correction mark data on the homework image; S5. Printing the correction label on the paper volume: S5.

1. Place the paper rolls of a batch that has been corrected into the paper inlet of the printer. S5.

2. Collect image data of the first side of the first paper roll placed in step S5.1 as the image to be matched; S5.

3. Retrieve a corresponding scan task based on the image to be matched, and confirm the printing order based on the retrieved scan task; if the image to be matched successfully matches the first page image data recorded in step S2.2, print it in the forward order according to the scan order recorded in step S2.1; if the image to be matched successfully matches the last page image data recorded in step S2.2, print it in the reverse order according to the scan order recorded in step S2.1; S5.

4. Print the correction label corresponding to each roll image in the retrieved scanning task on the corresponding side of each paper roll in the current batch according to the printing order confirmed in step S5.4; specifically, print each correction trace data in the correction label on the corresponding position on one side of the paper roll according to its relative position on the roll image.

2. The method according to claim 1, characterized in that The marking traces include symbols and / or evaluation statements used by teachers to mark the test papers.

3. The method according to claim 1, characterized in that In step S2, when constructing the scanning task, the task status is marked for each scanning task, and the task status includes the printed status and the unprinted status; in step S5.3, when retrieving the scanning task, only the scanning tasks in the unprinted status are retrieved. After the printing of step S5.4 is completed, the task status of the corresponding scanning task is modified to the printed status.

4. The method according to claim 1, wherein In step S5.4, before printing, the paper feed direction of the current batch of paper rolls is confirmed according to the image to be matched, and the direction of each correction mark data in the correction label is adjusted according to the paper feed direction so that it is aligned with the direction of the paper roll before printing.

5. The method according to claim 1, wherein In step S5.3, the image to be matched is matched with the first page image data and the last page image data in each scanning task through an image similarity matching algorithm, and the scanning task where the image with the highest matching degree is located is used as the retrieval result.

6. 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 a processor, the method according to any one of claims 1 to 5 is implemented.

7. A computer device, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store a computer program; and when the processor is used to execute the computer program, the method according to any one of claims 1 to 5 is implemented.